[Mono-bugs] [Bug 58590][Nor] New - Crash when object attribute property = 0
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Mon, 17 May 2004 05:05:47 -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=58590
--- shadow/58590 2004-05-17 05:05:46.000000000 -0400
+++ shadow/58590.tmp.4962 2004-05-17 05:05:46.000000000 -0400
@@ -0,0 +1,61 @@
+Bug#: 58590
+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: Crash when object attribute property = 0
+
+Steps to reproduce the problem:
+1. compile this program
+
+using System;
+
+[AttributeUsage( AttributeTargets.Property, AllowMultiple=false,
+Inherited=true )]
+public class TableColumn : Attribute
+{
+ public object MagicValue
+ {
+ get { return null; }
+ set { }
+ }
+}
+
+class Bug
+{
+ [TableColumn(MagicValue=0)]
+ public int TInt
+ {
+ get { return 0; }
+ }
+
+ public static void Main () {}
+}
+
+Actual Results:
+
+Compiler crash
+
+
+Expected Results:
+
+Compilation succeeded
+
+
+How often does this happen?
+
+Always
+
+
+Additional Information: