[Mono-bugs] [Bug 71602][Nor] New - invalid error 572 for nested types

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Sat, 22 Jan 2005 10:11:23 -0500 (EST)

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 pcgod@gmx.net.


--- shadow/71602	2005-01-22 10:11:23.000000000 -0500
+++ shadow/71602.tmp.18001	2005-01-22 10:11:23.000000000 -0500
@@ -0,0 +1,40 @@
+Bug#: 71602
+Product: Mono: Compilers
+Version: unspecified
+OS: All
+OS Details: 
+Status: NEW   
+Priority: Normal
+Component: C#
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: pcgod@gmx.net               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+Summary: invalid error 572 for nested types
+Description of Problem:
+mcs has trouble finding the type when there is a property with the same 
+name as the referenced class.
+Steps to reproduce the problem:
+1. try to compile the attached testcase
+Actual Results:
+test-1-1.cs(18) error CS0572: Can't reference type `NullEnumerable' 
+through an expression; try `A.Y+NullEnumerable' instead
+Expected Results:
+successful compile
+How often does this happen? 
+Additional Information: