|
|
|
@ -26,6 +26,7 @@ namespace ICSharpCode.Decompiler.IL
@@ -26,6 +26,7 @@ namespace ICSharpCode.Decompiler.IL
|
|
|
|
|
private bool useLogicOperationSugar; |
|
|
|
|
private bool useFieldSugar; |
|
|
|
|
private bool showILRanges; |
|
|
|
|
private bool showChildIndexInBlock; |
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Sugar for logic.not/and/or.
|
|
|
|
@ -66,6 +67,19 @@ namespace ICSharpCode.Decompiler.IL
@@ -66,6 +67,19 @@ namespace ICSharpCode.Decompiler.IL
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Show the child index of the instruction in ILAst output.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public bool ShowChildIndexInBlock { |
|
|
|
|
get { return showChildIndexInBlock; } |
|
|
|
|
set { |
|
|
|
|
if (showChildIndexInBlock != value) { |
|
|
|
|
showChildIndexInBlock = value; |
|
|
|
|
OnPropertyChanged(); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
protected virtual void OnPropertyChanged([CallerMemberName] string propertyName = null) |
|
|
|
|
{ |
|
|
|
|
OnPropertyChanged(new PropertyChangedEventArgs(propertyName)); |
|
|
|
|