[Mono-bugs] [Bug 42264][Min] Changed - typeof(System.Void) is not allowed

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
Sun, 4 May 2003 21:08:29 -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 miguel@ximian.com.

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

--- shadow/42264	Fri May  2 13:19:20 2003
+++ shadow/42264.tmp.31350	Sun May  4 21:08:29 2003
@@ -2,13 +2,13 @@
 Product: Mono/MCS
 Version: unspecified
 OS: other
 OS Details: 
 Status: NEW   
 Resolution: 
-Severity: 
+Severity: Unknown
 Priority: Minor
 Component: Misc
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: lupus@ximian.com               
 QAContact: mono-bugs@ximian.com
 TargetMilestone: ---
@@ -23,6 +23,17 @@
 class T {
 
 	static System.Void Main () {
 		System.Type t = typeof (System.Void);
 	}
 }
+
+------- Additional Comments From miguel@ximian.com  2003-05-04 21:08 -------
+I believe this is a problem with the Microsoft C# compiler, because
+the suggested approach to get a handle on System.Void is
+"typeof(void)", but  if I try that with CSC, i get the same error.
+
+Even the documentation states that.
+
+Where is this problem showing up in our code?
+
+Miguel.