[Mono-dev] (IL) Fault handlers not working
Argiris Kirtzidis
akyrtzi at gmail.com
Sat Jan 6 14:00:26 EST 2007
> Possibly. You would have to file a bug with a test case that compiles
> (your sample is not complete).
>
Can you be more specific ? I'm using Mono's ILasm and it compiles fine..
Just for reference, this is the sample again:
.assembly Test { }
.assembly extern mscorlib { }
.method public static void Main()
{
.entrypoint
.try
{
newobj instance void [mscorlib]System.Exception::.ctor()
throw
leave.s exitTry
}
fault
{
ldstr "Fault handler executed"
call void [mscorlib]System.Console::WriteLine(string)
endfault
}
exitTry: ret
}
More information about the Mono-devel-list
mailing list