[Mono-bugs] [Bug 28640][Nor] New - mcs does not generate code for attribute

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
7 Aug 2002 01:02:29 -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 gonzalo@ximian.com.


--- shadow/28640	Tue Aug  6 21:02:29 2002
+++ shadow/28640.tmp.18222	Tue Aug  6 21:02:29 2002
@@ -0,0 +1,48 @@
+Bug#: 28640
+Product: Mono/MCS
+Version: unspecified
+OS: All
+OS Details: 
+Status: NEW   
+Priority: Normal
+Component: Misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: gonzalo@ximian.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+Summary: mcs does not generate code for attribute
+Description of Problem:
+There is a struct, System.Guid, and an attribute,
+When using the attribute, no code is generated for it and no errors nor
+warnings issued.
+Steps to reproduce the problem:
+1. Compile this with csc and mcs and check with ildasm
+using System;
+using System.Runtime.InteropServices;
+[Guid ("00000000-0000-0000-0000-000000000000")]
+public interface IGonzalo
+        void One ();
+Actual Results:
+Compilation successful.
+... but no code for the attribute generated
+Expected Results:
+the attribute should be applied to the interface
+How often does this happen? 
+Additional Information: