[Mono-bugs] [Bug 74484][Nor] New - Attribute/namespace lookup problem

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Thu, 7 Apr 2005 09:37:03 -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 sebastien@ximian.com.

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

--- shadow/74484	2005-04-07 09:37:03.000000000 -0400
+++ shadow/74484.tmp.9503	2005-04-07 09:37:03.000000000 -0400
@@ -0,0 +1,49 @@
+Bug#: 74484
+Product: Mono: Compilers
+Version: 1.1
+OS: All
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: C#
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: sebastien@ximian.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Attribute/namespace lookup problem
+
+Description of Problem:
+The file /cecil/lib/Mono.Cecil.Metadata/RIdAttribute.cs doesn't compile
+with MCS SVN.
+
+Steps to reproduce the problem:
+
+1. Compile Cecil from SVN revision 42632
+
+% make
+mcs @Mono.Cecil.dll.sources /target:library /out:Mono.Cecil.dll
+
+
+Actual Results:
+./Mono.Cecil.Metadata/RIdAttribute.cs(17) error CS0103: The name
+`AttributeTargets' could not be found in `Mono.Cecil.Metadata.ParamTable'
+
+
+Expected Results:
+Success
+
+
+How often does this happen? 
+Always
+
+
+Additional Information:
+
+The revision R42633 fix the problem by changing:
+
+-    [AttributeUsage (AttributeTargets.Class)]
++    [System.AttributeUsage (System.AttributeTargets.Class)]