[Mono-bugs] [Bug 57014][Nor] New - mcs doesn't emit code for a function with try catch and if

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Wed, 14 Apr 2004 13:12:32 -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 pcgod@gmx.net.

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

--- shadow/57014	2004-04-14 13:12:32.000000000 -0400
+++ shadow/57014.tmp.14224	2004-04-14 13:12:32.000000000 -0400
@@ -0,0 +1,35 @@
+Bug#: 57014
+Product: Mono: Compilers
+Version: unspecified
+OS: All
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: Unknown
+Priority: Normal
+Component: C#
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: pcgod@gmx.net               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: mcs doesn't emit code for a function with try catch and if
+
+Steps to reproduce the problem:
+1. compile the testcase
+2. use monodis and peverify to see that the SL method contains nothing but 
+the local variable
+
+Actual Results:
+no code is emitted
+
+Expected Results:
+function should have code
+
+How often does this happen? 
+always
+
+Additional Information:
+you can even remove the ServerName variable completly and mcs wont report 
+any errors