[Mono-bugs] [Bug 26190] New - Obsolete and ConditionalAttribute on TypeBuilders

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
13 Jun 2002 03:59:27 -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=26190

--- shadow/26190	Wed Jun 12 23:59:27 2002
+++ shadow/26190.tmp.14624	Wed Jun 12 23:59:27 2002
@@ -0,0 +1,39 @@
+Bug#: 26190
+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: Obsolete and ConditionalAttribute on TypeBuilders
+
+The new code does not support ConditionalAttribute and ObsoleteAttribute on
+TypeBuilders:
+
+From typemanager.cs:
+
++
+static public MethodFlags GetMethodFlags (MethodBase mb)
++
+	if (mb.DeclaringType is TypeBuilder){
++
+		//
++
+		// FIXME: Support lookups of Obsolete and ConditionalAttribute
++
+		// on MethodBuilders.   
++
+		//
++
+		return 0;
++
+	}