Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there.
Changed by [EMAIL PROTECTED] http://bugzilla.ximian.com/show_bug.cgi?id=80347 --- shadow/80347 2006-12-22 17:20:29.000000000 -0500 +++ shadow/80347.tmp.12363 2006-12-22 17:20:29.000000000 -0500 @@ -0,0 +1,34 @@ +Bug#: 80347 +Product: Mono: Compilers +Version: 1.2 +OS: +OS Details: +Status: NEW +Resolution: +Severity: +Priority: Normal +Component: C# +AssignedTo: [EMAIL PROTECTED] +ReportedBy: [EMAIL PROTECTED] +QAContact: [EMAIL PROTECTED] +TargetMilestone: --- +URL: +Cc: +Summary: unhandled exception + +This code kills mcs with an exception when it should just report the errror. + +public class Test { + static void Main (string [] args) + { + Bug (); + } + + public static unsafe void Bug () + { + Gdk.Pixbuf pixbuf = null; + //should be: + //byte *pix = (byte *)pixbuf.Pixels; + byte *pix = pixbuf.Pixels; + } +} _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
