[Mono-bugs] [Bug 75086][Nor] New - 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 07:33:22 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 jo at lumumba.luc.ac.be.
http://bugzilla.ximian.com/show_bug.cgi?id=75086
--- shadow/75086 2005-05-29 07:33:22.000000000 -0400
+++ shadow/75086.tmp.18297 2005-05-29 07:33:22.000000000 -0400
@@ -0,0 +1,34 @@
+Bug#: 75086
+Product: Mono: Compilers
+Version: 1.1
+OS: All
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: C#
+AssignedTo: mono-bugs at ximian.com
+ReportedBy: jo at lumumba.luc.ac.be
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: No error when placing access modifier on get or set part of property
+
+Description of Problem:
+The Mono C# compiler does not report a problem when trying to place an access modifier on the
+get {} or set {} part of a property. The MS C# compiler does, this should be error CS1609.
+
+Steps to reproduce the problem:
+1. Try setting an access modifier on a get or set part of a property
+2. Compile the class
+
+Actual Results:
+Compilation succeeds
+
+Expected Results:
+Error CS1609: Modifiers cannot be placed on property or event accessor declarations
+
+How often does this happen?
+Always
More information about the mono-bugs
mailing list