[Mono-bugs] [Bug 73485][Min] Changed - Flow analysis missing on anonymous methods.

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue May 17 11:48:32 EDT 2005


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 martin at ximian.com.

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

--- shadow/73485	2005-05-17 11:44:39.000000000 -0400
+++ shadow/73485.tmp.17504	2005-05-17 11:48:32.000000000 -0400
@@ -186,6 +186,25 @@
 Passing to Martin.
 
 ------- Additional Comments From martin at ximian.com  2005-05-17 11:44 -------
 So the bug in here is that we are not reporting the CS0165, right ?
 I think that's easy, I'll have a look at it tomorrow.
 
+
+------- Additional Comments From martin at ximian.com  2005-05-17 11:48 -------
+I think the reasoning behind the CS0165 is to be consistent with
+
+=====
+public class X
+{
+	public static X Foo (X x)
+	{
+		return x;
+	}
+
+	public static void Main()
+	{
+		X x = Foo (x);
+	}
+}
+====
+


More information about the mono-bugs mailing list