[Mono-bugs] [Bug 38606][Nor] New - ref parameters should not be callable with out

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
Mon, 24 Feb 2003 10:59:50 -0500 (EST)


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 mkestner@ximian.com.

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

--- shadow/38606	Mon Feb 24 10:59:50 2003
+++ shadow/38606.tmp.1780	Mon Feb 24 10:59:50 2003
@@ -0,0 +1,26 @@
+Bug#: 38606
+Product: Mono/MCS
+Version: unspecified
+OS: other
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: mkestner@ximian.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: ref parameters  should not be callable with out
+
+the following should not be allowed, and generates errors on csc:
+
+public void foo (ref int blah) {}
+
+public void bar (ref int baz)
+{
+    foo(out baz);
+}