[Mono-bugs] [Bug 77918][Nor] New - Unassigned `out' argument is not
detected
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Sun Mar 26 09:35:38 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=77918
--- shadow/77918 2006-03-26 09:35:37.000000000 -0500
+++ shadow/77918.tmp.17419 2006-03-26 09:35:37.000000000 -0500
@@ -0,0 +1,57 @@
+Bug#: 77918
+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: Unassigned `out' argument is not detected
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+
+
+Steps to reproduce the problem:
+1.
+
+
+class A {
+
+ public void test (int i, out int a)
+ {
+ switch (i) {
+ default:
+ goto k_1;
+ a = 5;
+ break;
+ k_1:
+ break;
+ }
+ }
+
+ static void Main () {}
+}
+
+Actual Results:
+
+No error.
+
+Expected Results:
+
+0.cs(4,14): error CS0177: The out parameter `a' must be assigned to before
+ control leaves the current method
+
+How often does this happen?
+
+
+Additional Information:
More information about the mono-bugs
mailing list