mirror of https://github.com/icsharpcode/ILSpy.git
5 changed files with 57 additions and 1 deletions
@ -0,0 +1,12 @@
@@ -0,0 +1,12 @@
|
||||
namespace ICSharpCode.Decompiler.Tests.TestCases.ILPretty |
||||
{ |
||||
internal class Issue959 |
||||
{ |
||||
public void Test(bool arg) |
||||
{ |
||||
switch (arg) { |
||||
|
||||
} |
||||
} |
||||
} |
||||
} |
@ -0,0 +1,36 @@
@@ -0,0 +1,36 @@
|
||||
// Metadata version: v4.0.30319 |
||||
.assembly extern mscorlib |
||||
{ |
||||
.publickeytoken = (B7 7A 5C 56 19 34 E0 89 ) // .z\V.4.. |
||||
.ver 4:0:0:0 |
||||
} |
||||
.assembly ConsoleApp11 |
||||
{ |
||||
.ver 1:0:0:0 |
||||
} |
||||
.module ConsoleApp11.exe |
||||
// MVID: {B973FCD6-A9C4-48A9-8291-26DDC248E208} |
||||
.imagebase 0x00400000 |
||||
.file alignment 0x00000200 |
||||
.stackreserve 0x00100000 |
||||
.subsystem 0x0003 // WINDOWS_CUI |
||||
.corflags 0x00020003 // ILONLY 32BITPREFERRED |
||||
// Image base: 0x000001C4B6C90000 |
||||
|
||||
.class private auto ansi beforefieldinit ICSharpCode.Decompiler.Tests.TestCases.ILPretty.Issue959 |
||||
extends [mscorlib]System.Object |
||||
{ |
||||
.method public hidebysig instance void Test( |
||||
bool arg |
||||
) cil managed |
||||
{ |
||||
// Code size 18 (0x12) |
||||
.maxstack 8 |
||||
IL_0000: ldarg.1 |
||||
IL_0001: brfalse IL_000b |
||||
IL_0006: br IL_0011 |
||||
IL_000b: ldarg.1 |
||||
IL_000c: brtrue IL_0011 |
||||
IL_0011: ret |
||||
} // end of method Program::Test |
||||
} |
Loading…
Reference in new issue