[Mono-bugs] [Bug 34412][Min] New - need to check the value of a Guid attribute is correct
bugzilla-daemon@rocky.ximian.com
bugzilla-daemon@rocky.ximian.com
21 Nov 2002 14:50:43 -0000
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 lupus@ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=34412
--- shadow/34412 Thu Nov 21 09:50:43 2002
+++ shadow/34412.tmp.14932 Thu Nov 21 09:50:43 2002
@@ -0,0 +1,33 @@
+Bug#: 34412
+Product: Mono/MCS
+Version: unspecified
+OS: other
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Minor
+Component: Misc
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: lupus@ximian.com
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: need to check the value of a Guid attribute is correct
+
+mcs compiles the following program, but it should not:
+csc gives the following error:
+guid.cs(5,2): error CS0647: Error emitting
+'System.Runtime.InteropServices.GuidAttribute' attribute -- 'Incorrect uuid
+format.'
+
+using System;
+using System.Runtime.InteropServices;
+
+//[Guid ("00000000-0000-0000-0000-000000000000")]
+[Guid ("")]
+class T {static void Main() {}}
+
+A correct uuid value looks like the one commented out. The numbers are in
+hex format, IIRC.