It works when compiled with MS csc, but mcs seems to generates invalid
code. I will add a bugzilla entry for that.

- Dietmar


On Mon, 2002-09-30 at 05:18, Weiqi Gao wrote:
> Just been trying to compile and run a bit of silly code:
> 
> ==========8<==========8<==========8<==========
> using System;
> 
> class Foo {
>   static void Main() {
>     try {
>       throw new Exception();
>     } catch {
>       throw;
>     }
>   }
> }
> ==========8<==========8<==========8<==========
> 
> with the latest CVS mcs.  It compiles OK but when I run it, it seems to
> hang for a long time.  It should have caused an unhandled exception.
> 
> -- 
> Weiqi Gao
> [EMAIL PROTECTED]
> 
> 
> _______________________________________________
> Mono-list maillist  -  [EMAIL PROTECTED]
> http://lists.ximian.com/mailman/listinfo/mono-list



_______________________________________________
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to