|
|
|
@ -39,6 +39,7 @@ namespace ICSharpCode.ILSpy.ReadyToRun
@@ -39,6 +39,7 @@ namespace ICSharpCode.ILSpy.ReadyToRun
|
|
|
|
|
s.DisassemblyFormat = ReadyToRunOptions.GetDisassemblyFormat(settings); |
|
|
|
|
s.IsShowUnwindInfo = ReadyToRunOptions.GetIsShowUnwindInfo(settings); |
|
|
|
|
s.IsShowDebugInfo = ReadyToRunOptions.GetIsShowDebugInfo(settings); |
|
|
|
|
s.IsShowGCInfo = ReadyToRunOptions.GetIsShowGCInfo(settings); |
|
|
|
|
|
|
|
|
|
this.DataContext = s; |
|
|
|
|
} |
|
|
|
@ -51,7 +52,7 @@ namespace ICSharpCode.ILSpy.ReadyToRun
@@ -51,7 +52,7 @@ namespace ICSharpCode.ILSpy.ReadyToRun
|
|
|
|
|
public void Save(XElement root) |
|
|
|
|
{ |
|
|
|
|
Options s = (Options)this.DataContext; |
|
|
|
|
ReadyToRunOptions.SetDisassemblyOptions(root, s.DisassemblyFormat, s.IsShowUnwindInfo, s.IsShowDebugInfo); |
|
|
|
|
ReadyToRunOptions.SetDisassemblyOptions(root, s.DisassemblyFormat, s.IsShowUnwindInfo, s.IsShowDebugInfo, s.IsShowGCInfo); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -86,6 +87,18 @@ namespace ICSharpCode.ILSpy.ReadyToRun
@@ -86,6 +87,18 @@ namespace ICSharpCode.ILSpy.ReadyToRun
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private bool isShowGCInfo; |
|
|
|
|
|
|
|
|
|
public bool IsShowGCInfo { |
|
|
|
|
get { |
|
|
|
|
return isShowGCInfo; |
|
|
|
|
} |
|
|
|
|
set { |
|
|
|
|
isShowGCInfo = value; |
|
|
|
|
OnPropertyChanged(nameof(IsShowGCInfo)); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private string disassemblyFormat; |
|
|
|
|
|
|
|
|
|
public string DisassemblyFormat { |
|
|
|
|