[Mono-bugs] [Bug 62983][Nor] New - Unhandled type crash
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Thu, 12 Aug 2004 19:14:49 -0400 (EDT)
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 marek.safar@seznam.cz.
http://bugzilla.ximian.com/show_bug.cgi?id=62983
--- shadow/62983 2004-08-12 19:14:49.000000000 -0400
+++ shadow/62983.tmp.21208 2004-08-12 19:14:49.000000000 -0400
@@ -0,0 +1,35 @@
+Bug#: 62983
+Product: Mono: Compilers
+Version: unspecified
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: C#
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: marek.safar@seznam.cz
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: Unhandled type crash
+
+This code crashes compiler with "unhandled type in custom attr"
+
+using System;
+using System.Reflection;
+
+[AttributeUsage (AttributeTargets.All)]
+public class My : Attribute {
+
+ public My (object o) {
+ }
+
+ [My((object)TypeCode.Empty)]
+ public class Test {
+ static public int Main() {
+ }
+ }
+}