[ create a new paste ] login | about

Link: http://codepad.org/pFCwpCPD    [ raw code | fork ]

C, pasted on Feb 21:
.class public auto ansi beforefieldinit NoReturn
    extends [mscorlib]System.Object
{
    .method public hidebysig specialname rtspecialname instance void .ctor() cil managed
    {
        .maxstack 1
        L_0000: ldarg.0 
        L_0001: call instance void [mscorlib]System.Object::.ctor()
        L_0006: ret 
    }

    .method public hidebysig static int32 Another() cil managed
    {
        .maxstack 1
        L_0000: call void NoReturn::DoesNotReturn()
        L_0005: ldc.i4.0 
        L_0006: ret 
    }

    .method public hidebysig static void DoesNotReturn() cil managed
    {
        .maxstack 1
        L_0000: newobj instance void [mscorlib]System.Exception::.ctor()
        L_0005: throw 
        L_0006: ret 
    }

}

 


Create a new paste based on this one


Comments: