[Mono-bugs] [Bug 63631][Nor] New - wrong CS0102

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Sun, 22 Aug 2004 17:28:12 -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 marek.safar@seznam.cz.

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

--- shadow/63631	2004-08-22 17:28:12.000000000 -0400
+++ shadow/63631.tmp.22051	2004-08-22 17:28:12.000000000 -0400
@@ -0,0 +1,47 @@
+Bug#: 63631
+Product: Mono: Compilers
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: C#
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: marek.safar@seznam.cz               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: wrong CS0102
+
+Description of Problem:
+
+using System;
+
+public class Test
+{
+	public static void Main () {}
+            
+	public string Value { set { } }
+	public void set_Value () { return; }
+        
+        void set_Item (int a, int b, bool c) {}
+        int this[int i] { set {} }             
+        bool this [bool i] { get { return false; } }
+       
+}
+
+Actual Results:
+
+This code should be compilable but reports CS0102 errors.
+
+Expected Results:
+
+No error.
+
+How often does this happen? 
+
+
+Additional Information: