[Mono-bugs] [Bug 25365] New - Support Method Attributes on MethodBuilders.

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
28 May 2002 02:06:33 -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 miguel@ximian.com.

http://bugzilla.ximian.com/show_bug.cgi?id=25365

--- shadow/25365	Mon May 27 22:06:33 2002
+++ shadow/25365.tmp.22740	Mon May 27 22:06:33 2002
@@ -0,0 +1,31 @@
+Bug#: 25365
+Product: Mono/MCS
+Version: unspecified
+OS: other
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: Misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: miguel@ximian.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Support Method Attributes on MethodBuilders.
+
+The compiler should support looking up attributes for MethodBuilders.
+The only two attributes the compiler cares about are Obsolete and
+Conditional.  
+
+The problem with Conditional is that it takes a string as an argument,
+for example:
+
+[Conditional ("TEST")] or [Conditional("DEBUG")]
+
+And that has to be matched with the command-line defines or the 
+defines from the source code.
+
+It works for "baked" types though