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 [EMAIL PROTECTED]

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

--- shadow/78935        2006-07-23 18:10:22.000000000 -0400
+++ shadow/78935.tmp.19866      2006-07-23 18:10:22.000000000 -0400
@@ -0,0 +1,67 @@
+Bug#: 78935
+Product: Mono: Compilers
+Version: 1.1
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: C#
+AssignedTo: [EMAIL PROTECTED]                            
+ReportedBy: [EMAIL PROTECTED]               
+QAContact: [EMAIL PROTECTED]
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: mcs does not resolve collision between private base member and public 
global type with same name
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+
+mcs does not resolve colision between private base member and public global
+type with same name
+
+Steps to reproduce the problem:
+1. 
+class A
+{
+       private int Thread
+       {
+               get
+               {
+                       return 0;
+               }
+       }
+}
+
+class Thread
+{
+       public static void Foo ()
+       {
+       }
+}
+
+class B : A
+{
+       public static void Main ()
+       {
+               Thread.Foo ();
+       }
+}
+
+Actual Results:
+
+bug.cs(23,3): error CS0120: `A.Thread': An object reference is required for
+the nonstatic field, method or property
+bug.cs(23,3): error CS0117: `object' does not contain a definition for `Foo'
+
+Expected Results:
+
+No error.
+
+How often does this happen? 
+
+
+Additional Information:
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to