[Mono-dev] (IL) Fault handlers not working
Argiris Kirtzidis
akyrtzi at gmail.com
Sat Jan 6 08:03:39 EST 2007
Hi all,
I have this IL sample:
.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
}
When I compile it and test it on mono, the fault handler doesn't get executed, is this a bug ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20070106/43b59784/attachment.html
More information about the Mono-devel-list
mailing list