[Mono-bugs] [Bug 59082][Cri] New - [REGRESSION] Lookup of type vs method

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Tue, 25 May 2004 21:25:38 -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 bmaurer@users.sf.net.

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

--- shadow/59082	2004-05-25 21:25:38.000000000 -0400
+++ shadow/59082.tmp.3997	2004-05-25 21:25:38.000000000 -0400
@@ -0,0 +1,38 @@
+Bug#: 59082
+Product: Mono: Compilers
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Critical
+Component: C#
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: bmaurer@users.sf.net               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Summary: [REGRESSION] Lookup of type vs method
+
+namespace n1 {
+	class Attribute {}
+}
+
+namespace n3 {
+	using n1;
+	using System;
+	class A {
+		void Attribute () {
+		}
+		void X ()
+		{
+			Attribute ();
+		}
+		static void Main () {
+			new A ().X ();
+		}
+	}
+}
+
+Should compile, it does not right now.