mirror of https://github.com/icsharpcode/ILSpy.git
10 changed files with 979 additions and 24 deletions
@ -0,0 +1,114 @@ |
|||||||
|
|
||||||
|
// Microsoft (R) .NET Framework IL Disassembler. Version 4.0.30319.18020 |
||||||
|
// Copyright (c) Microsoft Corporation. All rights reserved. |
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
// 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 cjszwdil |
||||||
|
{ |
||||||
|
.custom instance void [mscorlib]System.Runtime.CompilerServices.CompilationRelaxationsAttribute::.ctor(int32) = ( 01 00 08 00 00 00 00 00 ) |
||||||
|
.custom instance void [mscorlib]System.Runtime.CompilerServices.RuntimeCompatibilityAttribute::.ctor() = ( 01 00 01 00 54 02 16 57 72 61 70 4E 6F 6E 45 78 // ....T..WrapNonEx |
||||||
|
63 65 70 74 69 6F 6E 54 68 72 6F 77 73 01 ) // ceptionThrows. |
||||||
|
.permissionset reqmin |
||||||
|
= {[mscorlib]System.Security.Permissions.SecurityPermissionAttribute = {property bool 'SkipVerification' = bool(true)}} |
||||||
|
.hash algorithm 0x00008004 |
||||||
|
.ver 0:0:0:0 |
||||||
|
} |
||||||
|
.module cjszwdil.dll |
||||||
|
// MVID: {7ED95804-37F9-435D-95FF-BCC0F9019DEB} |
||||||
|
.custom instance void [mscorlib]System.Security.UnverifiableCodeAttribute::.ctor() = ( 01 00 00 00 ) |
||||||
|
.imagebase 0x10000000 |
||||||
|
.file alignment 0x00000200 |
||||||
|
.stackreserve 0x00100000 |
||||||
|
.subsystem 0x0003 // WINDOWS_CUI |
||||||
|
.corflags 0x00000001 // ILONLY |
||||||
|
// Image base: 0x00E00000 |
||||||
|
|
||||||
|
|
||||||
|
// =============== CLASS MEMBERS DECLARATION =================== |
||||||
|
|
||||||
|
.class public abstract auto ansi beforefieldinit ICSharpCode.Decompiler.Tests.TestCases.Pretty.ExceptionHandling |
||||||
|
extends [mscorlib]System.Object |
||||||
|
{ |
||||||
|
.method public hidebysig newslot abstract virtual |
||||||
|
instance bool B(int32 i) cil managed |
||||||
|
{ |
||||||
|
} // end of method ExceptionHandling::B |
||||||
|
|
||||||
|
.method public hidebysig newslot abstract virtual |
||||||
|
instance void M(int32 i) cil managed |
||||||
|
{ |
||||||
|
} // end of method ExceptionHandling::M |
||||||
|
|
||||||
|
.method public hidebysig instance bool |
||||||
|
ConditionalReturnInThrow() cil managed |
||||||
|
{ |
||||||
|
// Code size 43 (0x2b) |
||||||
|
.maxstack 2 |
||||||
|
.locals init (bool V_0, |
||||||
|
bool V_1) |
||||||
|
IL_0000: nop |
||||||
|
.try |
||||||
|
{ |
||||||
|
IL_0001: nop |
||||||
|
IL_0002: ldarg.0 |
||||||
|
IL_0003: ldc.i4.0 |
||||||
|
IL_0004: callvirt instance bool ICSharpCode.Decompiler.Tests.TestCases.Pretty.ExceptionHandling::B(int32) |
||||||
|
IL_0009: ldc.i4.0 |
||||||
|
IL_000a: ceq |
||||||
|
IL_000c: stloc.1 |
||||||
|
IL_000d: ldloc.1 |
||||||
|
IL_000e: brtrue.s IL_001b |
||||||
|
|
||||||
|
IL_0010: nop |
||||||
|
IL_0011: ldarg.0 |
||||||
|
IL_0012: ldc.i4.1 |
||||||
|
IL_0013: callvirt instance bool ICSharpCode.Decompiler.Tests.TestCases.Pretty.ExceptionHandling::B(int32) |
||||||
|
IL_0018: stloc.0 |
||||||
|
IL_0019: leave.s IL_0028 |
||||||
|
|
||||||
|
IL_001b: nop |
||||||
|
IL_001c: leave.s IL_0023 |
||||||
|
|
||||||
|
} // end .try |
||||||
|
catch [mscorlib]System.Object |
||||||
|
{ |
||||||
|
IL_001e: pop |
||||||
|
IL_001f: nop |
||||||
|
IL_0020: nop |
||||||
|
IL_0021: leave.s IL_0023 |
||||||
|
|
||||||
|
} // end handler |
||||||
|
IL_0023: nop |
||||||
|
IL_0024: ldc.i4.0 |
||||||
|
IL_0025: stloc.0 |
||||||
|
IL_0026: br.s IL_0028 |
||||||
|
|
||||||
|
IL_0028: nop |
||||||
|
IL_0029: ldloc.0 |
||||||
|
IL_002a: ret |
||||||
|
} // end of method ExceptionHandling::ConditionalReturnInThrow |
||||||
|
|
||||||
|
.method family hidebysig specialname rtspecialname |
||||||
|
instance void .ctor() cil managed |
||||||
|
{ |
||||||
|
// Code size 7 (0x7) |
||||||
|
.maxstack 8 |
||||||
|
IL_0000: ldarg.0 |
||||||
|
IL_0001: call instance void [mscorlib]System.Object::.ctor() |
||||||
|
IL_0006: ret |
||||||
|
} // end of method ExceptionHandling::.ctor |
||||||
|
|
||||||
|
} // end of class ICSharpCode.Decompiler.Tests.TestCases.Pretty.ExceptionHandling |
||||||
|
|
||||||
|
|
||||||
|
// ============================================================= |
||||||
|
|
||||||
|
// *********** DISASSEMBLY COMPLETE *********************** |
||||||
|
// WARNING: Created Win32 resource file ../../Tests/TestCases/Pretty\ExceptionHandling.res |
@ -0,0 +1,100 @@ |
|||||||
|
|
||||||
|
// Microsoft (R) .NET Framework IL Disassembler. Version 4.0.30319.18020 |
||||||
|
// Copyright (c) Microsoft Corporation. All rights reserved. |
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
// 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 cl4g010y |
||||||
|
{ |
||||||
|
.custom instance void [mscorlib]System.Runtime.CompilerServices.CompilationRelaxationsAttribute::.ctor(int32) = ( 01 00 08 00 00 00 00 00 ) |
||||||
|
.custom instance void [mscorlib]System.Runtime.CompilerServices.RuntimeCompatibilityAttribute::.ctor() = ( 01 00 01 00 54 02 16 57 72 61 70 4E 6F 6E 45 78 // ....T..WrapNonEx |
||||||
|
63 65 70 74 69 6F 6E 54 68 72 6F 77 73 01 ) // ceptionThrows. |
||||||
|
.permissionset reqmin |
||||||
|
= {[mscorlib]System.Security.Permissions.SecurityPermissionAttribute = {property bool 'SkipVerification' = bool(true)}} |
||||||
|
.hash algorithm 0x00008004 |
||||||
|
.ver 0:0:0:0 |
||||||
|
} |
||||||
|
.module cl4g010y.dll |
||||||
|
// MVID: {2A833493-111C-42B3-BEC8-7DD8D84E816F} |
||||||
|
.custom instance void [mscorlib]System.Security.UnverifiableCodeAttribute::.ctor() = ( 01 00 00 00 ) |
||||||
|
.imagebase 0x10000000 |
||||||
|
.file alignment 0x00000200 |
||||||
|
.stackreserve 0x00100000 |
||||||
|
.subsystem 0x0003 // WINDOWS_CUI |
||||||
|
.corflags 0x00000001 // ILONLY |
||||||
|
// Image base: 0x01160000 |
||||||
|
|
||||||
|
|
||||||
|
// =============== CLASS MEMBERS DECLARATION =================== |
||||||
|
|
||||||
|
.class public abstract auto ansi beforefieldinit ICSharpCode.Decompiler.Tests.TestCases.Pretty.ExceptionHandling |
||||||
|
extends [mscorlib]System.Object |
||||||
|
{ |
||||||
|
.method public hidebysig newslot abstract virtual |
||||||
|
instance bool B(int32 i) cil managed |
||||||
|
{ |
||||||
|
} // end of method ExceptionHandling::B |
||||||
|
|
||||||
|
.method public hidebysig newslot abstract virtual |
||||||
|
instance void M(int32 i) cil managed |
||||||
|
{ |
||||||
|
} // end of method ExceptionHandling::M |
||||||
|
|
||||||
|
.method public hidebysig instance bool |
||||||
|
ConditionalReturnInThrow() cil managed |
||||||
|
{ |
||||||
|
// Code size 28 (0x1c) |
||||||
|
.maxstack 2 |
||||||
|
.locals init (bool V_0) |
||||||
|
.try |
||||||
|
{ |
||||||
|
IL_0000: ldarg.0 |
||||||
|
IL_0001: ldc.i4.0 |
||||||
|
IL_0002: callvirt instance bool ICSharpCode.Decompiler.Tests.TestCases.Pretty.ExceptionHandling::B(int32) |
||||||
|
IL_0007: brfalse.s IL_0013 |
||||||
|
|
||||||
|
IL_0009: ldarg.0 |
||||||
|
IL_000a: ldc.i4.1 |
||||||
|
IL_000b: callvirt instance bool ICSharpCode.Decompiler.Tests.TestCases.Pretty.ExceptionHandling::B(int32) |
||||||
|
IL_0010: stloc.0 |
||||||
|
IL_0011: leave.s IL_001a |
||||||
|
|
||||||
|
IL_0013: leave.s IL_0018 |
||||||
|
|
||||||
|
} // end .try |
||||||
|
catch [mscorlib]System.Object |
||||||
|
{ |
||||||
|
IL_0015: pop |
||||||
|
IL_0016: leave.s IL_0018 |
||||||
|
|
||||||
|
} // end handler |
||||||
|
IL_0018: ldc.i4.0 |
||||||
|
IL_0019: ret |
||||||
|
|
||||||
|
IL_001a: ldloc.0 |
||||||
|
IL_001b: ret |
||||||
|
} // end of method ExceptionHandling::ConditionalReturnInThrow |
||||||
|
|
||||||
|
.method family hidebysig specialname rtspecialname |
||||||
|
instance void .ctor() cil managed |
||||||
|
{ |
||||||
|
// Code size 7 (0x7) |
||||||
|
.maxstack 8 |
||||||
|
IL_0000: ldarg.0 |
||||||
|
IL_0001: call instance void [mscorlib]System.Object::.ctor() |
||||||
|
IL_0006: ret |
||||||
|
} // end of method ExceptionHandling::.ctor |
||||||
|
|
||||||
|
} // end of class ICSharpCode.Decompiler.Tests.TestCases.Pretty.ExceptionHandling |
||||||
|
|
||||||
|
|
||||||
|
// ============================================================= |
||||||
|
|
||||||
|
// *********** DISASSEMBLY COMPLETE *********************** |
||||||
|
// WARNING: Created Win32 resource file ../../Tests/TestCases/Pretty\ExceptionHandling.opt.res |
Loading…
Reference in new issue