[Mono-bugs] [Bug 77204][Wis] Changed - mcs permits calling instance methods on items with type void

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Jan 11 08:26:39 EST 2006

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 rharinath at novell.com.


--- shadow/77204	2006-01-10 19:58:59.000000000 -0500
+++ shadow/77204.tmp.15783	2006-01-11 08:26:39.000000000 -0500
@@ -1,14 +1,14 @@
 Bug#: 77204
 Product: Mono: Compilers
 Version: 1.1
+OS: unknown
 OS Details: 
 Status: NEW   
+Severity: Unknown
 Priority: Wishlist
 Component: C#
 AssignedTo: rharinath at novell.com                            
 ReportedBy: mathpup at mylinuxisp.com               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
@@ -74,6 +74,13 @@
     IL_0005:  box        [mscorlib]System.Void 
     IL_000a:  call       instance string 
     IL_000f:  call       void [mscorlib]System.Console::WriteLine(string) 
     IL_0014:  ret 
   } // end of method Testing::Main
+------- Additional Comments From rharinath at novell.com  2006-01-11 08:26 -------
+CSC reports:
+bug77204.cs(9,22): error CS0023: Operator '.' cannot be applied to
+operand of type 'void'

More information about the mono-bugs mailing list