[Mono-bugs] [Bug 41657][Nor] New - MCS fails when testing if an "out" variable is assigned or not

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
Mon, 21 Apr 2003 13:49:39 -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 yoros@wanadoo.es.

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

--- shadow/41657	Mon Apr 21 13:49:39 2003
+++ shadow/41657.tmp.27548	Mon Apr 21 13:49:39 2003
@@ -0,0 +1,34 @@
+Bug#: 41657
+Product: Mono/MCS
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: yoros@wanadoo.es               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: MCS fails when testing if an "out" variable is assigned or not
+
+Description of Problem:
+    MCS doesn't treat correctly the assignment of "out" params.
+
+Actual Results:
+    error CS0177: The out parameter `value' must be assigned before control
+leave the current method.
+
+Expected Results:
+    Compilation succeeded
+
+How often does this happen?
+    Always
+
+Additional Information:
+    I think that it could be that the assignments are not considered in the
+try-catch block.