[Mono-bugs] [Bug 31920][Nor] New - mcs allows arguments of type "void"

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
8 Oct 2002 11:38:34 -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 vladimir@pobox.com.

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

--- shadow/31920	Tue Oct  8 07:38:34 2002
+++ shadow/31920.tmp.28916	Tue Oct  8 07:38:34 2002
@@ -0,0 +1,27 @@
+Bug#: 31920
+Product: Mono/MCS
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: vladimir@pobox.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: mcs allows arguments of type "void"
+
+public class Foo {
+    void Frob (void abc) {
+    }
+
+    public static void Main () { }
+}
+
+
+compiles under mcs, gives a "Invalid parameter type 'void'" under csc.