[Mono-bugs] [Bug 33180][Wis] Changed - mcs doesn't report cs0572: cannot reference a type through an expression

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
16 Nov 2002 23:10:17 -0000


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 martin@ximian.com.

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

--- shadow/33180	Sat Nov  2 09:43:16 2002
+++ shadow/33180.tmp.10589	Sat Nov 16 18:10:17 2002
@@ -1,23 +1,23 @@
 Bug#: 33180
 Product: Mono/MCS
 Version: unspecified
-OS: 
+OS: unknown
 OS Details: 
 Status: NEW   
 Resolution: 
-Severity: 
+Severity: Unknown
 Priority: Wishlist
 Component: Misc
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: carlosga@telefonica.net               
 QAContact: mono-bugs@ximian.com
 TargetMilestone: ---
 URL: 
 Cc: 
-Summary: Problem accesing to an enum inside a class
+Summary: mcs doesn't report cs0572: cannot reference a type through an expression
 
 Hello:
 
 i´m trying to build a little programa with mcs and csc under windows
 the example have a class with an enum called Type
 there are a example program that try to acces to the enum through a
@@ -77,6 +77,11 @@
 
 Best regards
 Carlos Guzmán Álvarez
 Vigo-Spain
 
 P.D.: Sorry for sending this two times.
+
+------- Additional Comments From martin@ximian.com  2002-11-16 18:10 -------
+This missing error is:
+A.cs(15,53): error CS0572: 'Type': cannot reference a type through an expression; try 'Test.TestClass.Type' instead
+