diff --git a/ICSharpCode.Decompiler.Tests/TestCases/Pretty/CS6_StringInterpolation.cs b/ICSharpCode.Decompiler.Tests/TestCases/Pretty/CS6_StringInterpolation.cs index 6cd3964b2..6c4cec64f 100644 --- a/ICSharpCode.Decompiler.Tests/TestCases/Pretty/CS6_StringInterpolation.cs +++ b/ICSharpCode.Decompiler.Tests/TestCases/Pretty/CS6_StringInterpolation.cs @@ -4,6 +4,10 @@ namespace ICSharpCode.Decompiler.Tests.TestCases.Pretty { internal class CS6_StringInterpolation { + public static void Main(string[] args) + { + } + public static void General(string[] args) { Console.WriteLine($"{args.Length}"); diff --git a/ICSharpCode.Decompiler.Tests/TestCases/Pretty/CS6_StringInterpolation.opt.roslyn.il b/ICSharpCode.Decompiler.Tests/TestCases/Pretty/CS6_StringInterpolation.opt.roslyn.il index 1da7e6a41..bde1c8905 100644 --- a/ICSharpCode.Decompiler.Tests/TestCases/Pretty/CS6_StringInterpolation.opt.roslyn.il +++ b/ICSharpCode.Decompiler.Tests/TestCases/Pretty/CS6_StringInterpolation.opt.roslyn.il @@ -24,15 +24,15 @@ .hash algorithm 0x00008004 .ver 0:0:0:0 } -.module CS6_StringInterpolation.dll -// MVID: {E5F8B296-2C38-455C-B3AC-4CF5B5014FFB} +.module CS6_StringInterpolation.exe +// MVID: {EAC42E43-E444-4B60-84F6-6239B79599C4} .custom instance void [mscorlib]System.Security.UnverifiableCodeAttribute::.ctor() = ( 01 00 00 00 ) -.imagebase 0x10000000 +.imagebase 0x00400000 .file alignment 0x00000200 .stackreserve 0x00100000 .subsystem 0x0003 // WINDOWS_CUI .corflags 0x00000001 // ILONLY -// Image base: 0x01330000 +// Image base: 0x03670000 // =============== CLASS MEMBERS DECLARATION =================== @@ -40,6 +40,14 @@ .class private auto ansi beforefieldinit ICSharpCode.Decompiler.Tests.TestCases.Pretty.CS6_StringInterpolation extends [mscorlib]System.Object { + .method public hidebysig static void Main(string[] args) cil managed + { + .entrypoint + // Code size 1 (0x1) + .maxstack 8 + IL_0000: ret + } // end of method CS6_StringInterpolation::Main + .method public hidebysig static void General(string[] args) cil managed { // Code size 232 (0xe8) diff --git a/ICSharpCode.Decompiler.Tests/TestCases/Pretty/CS6_StringInterpolation.roslyn.il b/ICSharpCode.Decompiler.Tests/TestCases/Pretty/CS6_StringInterpolation.roslyn.il index c2f5192db..ced263e95 100644 --- a/ICSharpCode.Decompiler.Tests/TestCases/Pretty/CS6_StringInterpolation.roslyn.il +++ b/ICSharpCode.Decompiler.Tests/TestCases/Pretty/CS6_StringInterpolation.roslyn.il @@ -24,15 +24,15 @@ .hash algorithm 0x00008004 .ver 0:0:0:0 } -.module CS6_StringInterpolation.dll -// MVID: {13226DB1-4F60-403F-8874-DA41699044FA} +.module CS6_StringInterpolation.exe +// MVID: {AA7B0A68-2032-492A-914B-49D8291C620F} .custom instance void [mscorlib]System.Security.UnverifiableCodeAttribute::.ctor() = ( 01 00 00 00 ) -.imagebase 0x10000000 +.imagebase 0x00400000 .file alignment 0x00000200 .stackreserve 0x00100000 .subsystem 0x0003 // WINDOWS_CUI .corflags 0x00000001 // ILONLY -// Image base: 0x00DD0000 +// Image base: 0x00C60000 // =============== CLASS MEMBERS DECLARATION =================== @@ -40,6 +40,15 @@ .class private auto ansi beforefieldinit ICSharpCode.Decompiler.Tests.TestCases.Pretty.CS6_StringInterpolation extends [mscorlib]System.Object { + .method public hidebysig static void Main(string[] args) cil managed + { + .entrypoint + // Code size 2 (0x2) + .maxstack 8 + IL_0000: nop + IL_0001: ret + } // end of method CS6_StringInterpolation::Main + .method public hidebysig static void General(string[] args) cil managed { // Code size 241 (0xf1)