Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of git://github.com/icsharpcode/ILSpy into Debu…
…gger
- Loading branch information
Showing
11 changed files
with
253 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
.assembly extern mscorlib | ||
{ | ||
.publickeytoken = (B7 7A 5C 56 19 34 E0 89 ) | ||
.ver 4:0:0:0 | ||
} | ||
.assembly BooleanConsumedAsInteger | ||
{ | ||
.hash algorithm 0x00008004 | ||
.ver 1:0:0:0 | ||
} | ||
.module BooleanConsumedAsInteger.exe | ||
.imagebase 0x00400000 | ||
.file alignment 0x00000200 | ||
.stackreserve 0x00100000 | ||
.subsystem 0x0003 // WINDOWS_CUI | ||
.corflags 0x00000003 // ILONLY 32BITREQUIRED | ||
|
||
.class private auto ansi beforefieldinit BooleanConsumedAsInteger.Program extends [mscorlib]System.Object | ||
{ | ||
.method public hidebysig static void Main(string[] args) cil managed | ||
{ | ||
.entrypoint | ||
.maxstack 8 | ||
|
||
ret | ||
} | ||
|
||
.method public hidebysig static int32 ReturnBoolAsInt() cil managed | ||
{ | ||
ldnull | ||
ldnull | ||
call bool [mscorlib] System.Object::Equals(object, object) | ||
ret | ||
} | ||
|
||
.method public hidebysig static int32 BitwiseOperationOnBool() cil managed | ||
{ | ||
ldnull | ||
ldnull | ||
call bool [mscorlib] System.Object::Equals(object, object) | ||
ldc.i4 255 | ||
and | ||
ret | ||
} | ||
|
||
.method public 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 Program::.ctor | ||
|
||
} // end of class StackTests.Program | ||
|
||
|
||
// ============================================================= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt) | ||
// This code is distributed under MIT X11 license (for details please see \doc\license.txt) | ||
|
||
using System; | ||
|
||
public class ExceptionHandling | ||
{ | ||
public void MethodEndingWithEndFinally() | ||
{ | ||
try { | ||
throw null; | ||
} finally { | ||
Console.WriteLine(); | ||
} | ||
} | ||
|
||
public void MethodEndingWithRethrow() | ||
{ | ||
try { | ||
throw null; | ||
} catch { | ||
throw; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.