Browse Source

Fix ReadyToRunLanguage.WriteCommentLine

pull/2352/head
Siegfried Pammer 4 years ago
parent
commit
c2b4bb2fee
  1. 5
      ILSpy.ReadyToRun/ReadyToRunLanguage.cs

5
ILSpy.ReadyToRun/ReadyToRunLanguage.cs

@ -104,6 +104,11 @@ namespace ICSharpCode.ILSpy.ReadyToRun
get { return ".asm"; } get { return ".asm"; }
} }
public override void WriteCommentLine(ITextOutput output, string comment)
{
output.WriteLine("; " + comment);
}
public override ProjectId DecompileAssembly(LoadedAssembly assembly, ITextOutput output, DecompilationOptions options) public override ProjectId DecompileAssembly(LoadedAssembly assembly, ITextOutput output, DecompilationOptions options)
{ {
PEFile module = assembly.GetPEFileAsync().GetAwaiter().GetResult(); PEFile module = assembly.GetPEFileAsync().GetAwaiter().GetResult();

Loading…
Cancel
Save