|
|
|
@ -18,6 +18,7 @@
@@ -18,6 +18,7 @@
|
|
|
|
|
|
|
|
|
|
using System; |
|
|
|
|
using System.ComponentModel; |
|
|
|
|
using System.Runtime.CompilerServices; |
|
|
|
|
using ICSharpCode.Decompiler.CSharp.OutputVisitor; |
|
|
|
|
|
|
|
|
|
namespace ICSharpCode.Decompiler |
|
|
|
@ -37,7 +38,7 @@ namespace ICSharpCode.Decompiler
@@ -37,7 +38,7 @@ namespace ICSharpCode.Decompiler
|
|
|
|
|
set { |
|
|
|
|
if (anonymousMethods != value) { |
|
|
|
|
anonymousMethods = value; |
|
|
|
|
OnPropertyChanged("AnonymousMethods"); |
|
|
|
|
OnPropertyChanged(); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
@ -52,7 +53,7 @@ namespace ICSharpCode.Decompiler
@@ -52,7 +53,7 @@ namespace ICSharpCode.Decompiler
|
|
|
|
|
set { |
|
|
|
|
if (anonymousTypes != value) { |
|
|
|
|
anonymousTypes = value; |
|
|
|
|
OnPropertyChanged("AnonymousTypes"); |
|
|
|
|
OnPropertyChanged(); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
@ -67,7 +68,7 @@ namespace ICSharpCode.Decompiler
@@ -67,7 +68,7 @@ namespace ICSharpCode.Decompiler
|
|
|
|
|
set { |
|
|
|
|
if (expressionTrees != value) { |
|
|
|
|
expressionTrees = value; |
|
|
|
|
OnPropertyChanged("ExpressionTrees"); |
|
|
|
|
OnPropertyChanged(); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
@ -82,7 +83,7 @@ namespace ICSharpCode.Decompiler
@@ -82,7 +83,7 @@ namespace ICSharpCode.Decompiler
|
|
|
|
|
set { |
|
|
|
|
if (yieldReturn != value) { |
|
|
|
|
yieldReturn = value; |
|
|
|
|
OnPropertyChanged("YieldReturn"); |
|
|
|
|
OnPropertyChanged(); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
@ -97,7 +98,7 @@ namespace ICSharpCode.Decompiler
@@ -97,7 +98,7 @@ namespace ICSharpCode.Decompiler
|
|
|
|
|
set { |
|
|
|
|
if (asyncAwait != value) { |
|
|
|
|
asyncAwait = value; |
|
|
|
|
OnPropertyChanged("AsyncAwait"); |
|
|
|
|
OnPropertyChanged(); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
@ -112,7 +113,7 @@ namespace ICSharpCode.Decompiler
@@ -112,7 +113,7 @@ namespace ICSharpCode.Decompiler
|
|
|
|
|
set { |
|
|
|
|
if (automaticProperties != value) { |
|
|
|
|
automaticProperties = value; |
|
|
|
|
OnPropertyChanged("AutomaticProperties"); |
|
|
|
|
OnPropertyChanged(); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
@ -127,7 +128,7 @@ namespace ICSharpCode.Decompiler
@@ -127,7 +128,7 @@ namespace ICSharpCode.Decompiler
|
|
|
|
|
set { |
|
|
|
|
if (automaticEvents != value) { |
|
|
|
|
automaticEvents = value; |
|
|
|
|
OnPropertyChanged("AutomaticEvents"); |
|
|
|
|
OnPropertyChanged(); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
@ -142,7 +143,7 @@ namespace ICSharpCode.Decompiler
@@ -142,7 +143,7 @@ namespace ICSharpCode.Decompiler
|
|
|
|
|
set { |
|
|
|
|
if (usingStatement != value) { |
|
|
|
|
usingStatement = value; |
|
|
|
|
OnPropertyChanged("UsingStatement"); |
|
|
|
|
OnPropertyChanged(); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
@ -157,7 +158,7 @@ namespace ICSharpCode.Decompiler
@@ -157,7 +158,7 @@ namespace ICSharpCode.Decompiler
|
|
|
|
|
set { |
|
|
|
|
if (forEachStatement != value) { |
|
|
|
|
forEachStatement = value; |
|
|
|
|
OnPropertyChanged("ForEachStatement"); |
|
|
|
|
OnPropertyChanged(); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
@ -172,7 +173,7 @@ namespace ICSharpCode.Decompiler
@@ -172,7 +173,7 @@ namespace ICSharpCode.Decompiler
|
|
|
|
|
set { |
|
|
|
|
if (lockStatement != value) { |
|
|
|
|
lockStatement = value; |
|
|
|
|
OnPropertyChanged("LockStatement"); |
|
|
|
|
OnPropertyChanged(); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
@ -184,7 +185,7 @@ namespace ICSharpCode.Decompiler
@@ -184,7 +185,7 @@ namespace ICSharpCode.Decompiler
|
|
|
|
|
set { |
|
|
|
|
if (switchStatementOnString != value) { |
|
|
|
|
switchStatementOnString = value; |
|
|
|
|
OnPropertyChanged("SwitchStatementOnString"); |
|
|
|
|
OnPropertyChanged(); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
@ -196,7 +197,7 @@ namespace ICSharpCode.Decompiler
@@ -196,7 +197,7 @@ namespace ICSharpCode.Decompiler
|
|
|
|
|
set { |
|
|
|
|
if (usingDeclarations != value) { |
|
|
|
|
usingDeclarations = value; |
|
|
|
|
OnPropertyChanged("UsingDeclarations"); |
|
|
|
|
OnPropertyChanged(); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
@ -208,7 +209,7 @@ namespace ICSharpCode.Decompiler
@@ -208,7 +209,7 @@ namespace ICSharpCode.Decompiler
|
|
|
|
|
set { |
|
|
|
|
if (queryExpressions != value) { |
|
|
|
|
queryExpressions = value; |
|
|
|
|
OnPropertyChanged("QueryExpressions"); |
|
|
|
|
OnPropertyChanged(); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
@ -220,7 +221,7 @@ namespace ICSharpCode.Decompiler
@@ -220,7 +221,7 @@ namespace ICSharpCode.Decompiler
|
|
|
|
|
set { |
|
|
|
|
if (fullyQualifyAmbiguousTypeNames != value) { |
|
|
|
|
fullyQualifyAmbiguousTypeNames = value; |
|
|
|
|
OnPropertyChanged("FullyQualifyAmbiguousTypeNames"); |
|
|
|
|
OnPropertyChanged(); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
@ -235,7 +236,7 @@ namespace ICSharpCode.Decompiler
@@ -235,7 +236,7 @@ namespace ICSharpCode.Decompiler
|
|
|
|
|
set { |
|
|
|
|
if (useDebugSymbols != value) { |
|
|
|
|
useDebugSymbols = value; |
|
|
|
|
OnPropertyChanged("UseDebugSymbols"); |
|
|
|
|
OnPropertyChanged(); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
@ -250,7 +251,7 @@ namespace ICSharpCode.Decompiler
@@ -250,7 +251,7 @@ namespace ICSharpCode.Decompiler
|
|
|
|
|
set { |
|
|
|
|
if (objectCollectionInitializers != value) { |
|
|
|
|
objectCollectionInitializers = value; |
|
|
|
|
OnPropertyChanged("ObjectCollectionInitializers"); |
|
|
|
|
OnPropertyChanged(); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
@ -265,7 +266,7 @@ namespace ICSharpCode.Decompiler
@@ -265,7 +266,7 @@ namespace ICSharpCode.Decompiler
|
|
|
|
|
set { |
|
|
|
|
if (showXmlDocumentation != value) { |
|
|
|
|
showXmlDocumentation = value; |
|
|
|
|
OnPropertyChanged("ShowXmlDocumentation"); |
|
|
|
|
OnPropertyChanged(); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
@ -277,7 +278,7 @@ namespace ICSharpCode.Decompiler
@@ -277,7 +278,7 @@ namespace ICSharpCode.Decompiler
|
|
|
|
|
set { |
|
|
|
|
if (foldBraces != value) { |
|
|
|
|
foldBraces = value; |
|
|
|
|
OnPropertyChanged("FoldBraces"); |
|
|
|
|
OnPropertyChanged(); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
@ -293,7 +294,7 @@ namespace ICSharpCode.Decompiler
@@ -293,7 +294,7 @@ namespace ICSharpCode.Decompiler
|
|
|
|
|
set { |
|
|
|
|
if (introduceIncrementAndDecrement != value) { |
|
|
|
|
introduceIncrementAndDecrement = value; |
|
|
|
|
OnPropertyChanged("IntroduceIncrementAndDecrement"); |
|
|
|
|
OnPropertyChanged(); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
@ -308,7 +309,7 @@ namespace ICSharpCode.Decompiler
@@ -308,7 +309,7 @@ namespace ICSharpCode.Decompiler
|
|
|
|
|
set { |
|
|
|
|
if (makeAssignmentExpressions != value) { |
|
|
|
|
makeAssignmentExpressions = value; |
|
|
|
|
OnPropertyChanged("MakeAssignmentExpressions"); |
|
|
|
|
OnPropertyChanged(); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
@ -323,7 +324,7 @@ namespace ICSharpCode.Decompiler
@@ -323,7 +324,7 @@ namespace ICSharpCode.Decompiler
|
|
|
|
|
set { |
|
|
|
|
if (alwaysGenerateExceptionVariableForCatchBlocks != value) { |
|
|
|
|
alwaysGenerateExceptionVariableForCatchBlocks = value; |
|
|
|
|
OnPropertyChanged("AlwaysGenerateExceptionVariableForCatchBlocks"); |
|
|
|
|
OnPropertyChanged(); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
@ -345,14 +346,14 @@ namespace ICSharpCode.Decompiler
@@ -345,14 +346,14 @@ namespace ICSharpCode.Decompiler
|
|
|
|
|
throw new ArgumentNullException(); |
|
|
|
|
if (csharpFormattingOptions != value) { |
|
|
|
|
csharpFormattingOptions = value; |
|
|
|
|
OnPropertyChanged("CSharpFormattingOptions"); |
|
|
|
|
OnPropertyChanged(); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public event PropertyChangedEventHandler PropertyChanged; |
|
|
|
|
|
|
|
|
|
protected virtual void OnPropertyChanged(string propertyName) |
|
|
|
|
protected virtual void OnPropertyChanged([CallerMemberName] string propertyName = null) |
|
|
|
|
{ |
|
|
|
|
if (PropertyChanged != null) { |
|
|
|
|
PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); |
|
|
|
|