[Mono-bugs] [Bug 43632][Nor] New - CS1501 not reported

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
Sun, 25 May 2003 09:31:20 -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 gonzalo@ximian.com.

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

--- shadow/43632	Sun May 25 09:31:20 2003
+++ shadow/43632.tmp.30229	Sun May 25 09:31:20 2003
@@ -0,0 +1,39 @@
+Bug#: 43632
+Product: Mono/MCS
+Version: unspecified
+OS: All
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: gonzalo@ximian.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: CS1501 not reported
+
+Compile the following program with:
+
+mcs --target library -r NUnit.Framework ignorebug.cs
+
+-----
+using NUnit.Framework;
+
+class C
+{
+	[Ignore]
+	public void Method ()
+	{
+	}
+}
+-----
+
+Actual results:
+mcs compiles it and Method does not have IgnoreAttribute applied.
+
+Expected results:
+CS1501: No overload for mehod 'IgnoreAttribute' takes '0' arguments.