From c2b4bb2feec9b57a1456be1471bd293d8a04308f Mon Sep 17 00:00:00 2001 From: Siegfried Pammer Date: Sun, 21 Mar 2021 09:34:53 +0100 Subject: [PATCH] Fix ReadyToRunLanguage.WriteCommentLine --- ILSpy.ReadyToRun/ReadyToRunLanguage.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ILSpy.ReadyToRun/ReadyToRunLanguage.cs b/ILSpy.ReadyToRun/ReadyToRunLanguage.cs index 7e074d17d..037cb7903 100644 --- a/ILSpy.ReadyToRun/ReadyToRunLanguage.cs +++ b/ILSpy.ReadyToRun/ReadyToRunLanguage.cs @@ -104,6 +104,11 @@ namespace ICSharpCode.ILSpy.ReadyToRun get { return ".asm"; } } + public override void WriteCommentLine(ITextOutput output, string comment) + { + output.WriteLine("; " + comment); + } + public override ProjectId DecompileAssembly(LoadedAssembly assembly, ITextOutput output, DecompilationOptions options) { PEFile module = assembly.GetPEFileAsync().GetAwaiter().GetResult();