[Mono-bugs] [Bug 77763][Nor] New - mcs fails to report CS0188

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sat Mar 11 10:23:14 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 marek.safar at seznam.cz.

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

--- shadow/77763	2006-03-11 10:23:13.000000000 -0500
+++ shadow/77763.tmp.30008	2006-03-11 10:23:14.000000000 -0500
@@ -0,0 +1,55 @@
+Bug#: 77763
+Product: Mono: Compilers
+Version: 1.1
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: C#
+AssignedTo: rharinath at novell.com                            
+ReportedBy: marek.safar at seznam.cz               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: mcs fails to report CS0188
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+
+
+Steps to reproduce the problem:
+
+	public struct Padding {
+
+		int bottom;
+
+		public Padding (int all) {
+			Bottom = all;
+			bottom = all;
+		}
+
+		public int Bottom {
+			get { return bottom; }
+			set { bottom = value; }
+		}
+		
+		static void Main () {}
+	}
+
+Actual Results:
+
+No error.
+
+Expected Results:
+
+cs0171-x.cs(6,4): error CS0188: The `this' object cannot be used before all
+of its fields are assigned to
+
+How often does this happen? 
+
+
+Additional Information:


More information about the mono-bugs mailing list