[Mono-bugs] [Bug 75086][Nor] Changed - No error when placing access modifier on get or set part of property

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sun May 29 13:35:59 EDT 2005


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 jonpryor at vt.edu.

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

--- shadow/75086	2005-05-29 07:35:11.000000000 -0400
+++ shadow/75086.tmp.22860	2005-05-29 13:35:59.000000000 -0400
@@ -1,14 +1,14 @@
 Bug#: 75086
 Product: Mono: Compilers
 Version: 1.1
 OS: All
 OS Details: 
-Status: NEW   
-Resolution: 
-Severity: 
+Status: RESOLVED   
+Resolution: NOTABUG
+Severity: Unknown
 Priority: Normal
 Component: C#
 AssignedTo: mono-bugs at ximian.com                            
 ReportedBy: jo at lumumba.luc.ac.be               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
@@ -34,6 +34,16 @@
 Always
 
 ------- Additional Comments From jo at lumumba.luc.ac.be  2005-05-29 07:35 -------
 Created an attachment (id=15234)
 Testcase
 
+
+------- Additional Comments From jonpryor at vt.edu  2005-05-29 13:35 -------
+Access specifiers on property/event accessors are legal in C# 2.0, and
+mcs by default enables many C# 2.0 features.
+
+To restrict the compiler to using C# 1.1, use the -langversion:ISO-1
+mcs option, e.g.:
+
+  mcs -langversion:ISO-1 myfile.cs
+


More information about the mono-bugs mailing list