[Mono-bugs] [Bug 75941][Nor] Changed - CS0165 when type name =
local variable name and static invocation on initialization
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Fri Sep 2 05:12:27 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 rharinath at novell.com.
http://bugzilla.ximian.com/show_bug.cgi?id=75941
--- shadow/75941 2005-08-30 16:01:08.000000000 -0400
+++ shadow/75941.tmp.8243 2005-09-02 05:12:27.000000000 -0400
@@ -1,17 +1,17 @@
Bug#: 75941
Product: Mono: Compilers
Version: 1.1
-OS:
+OS: unknown
OS Details:
Status: NEW
Resolution:
-Severity:
+Severity: Unknown
Priority: Normal
Component: C#
-AssignedTo: mono-bugs at ximian.com
+AssignedTo: rharinath at novell.com
ReportedBy: atsushi at ximian.com
QAContact: mono-bugs at ximian.com
TargetMilestone: ---
URL:
Cc:
Summary: CS0165 when type name = local variable name and static invocation on initialization
@@ -48,6 +48,28 @@
type-local-static.cs(17,13): error CS0165: Use of unassigned local variable
`Foo'
Expected Results:
no CS0165 error.
+
+------- Additional Comments From rharinath at novell.com 2005-09-02 05:12 -------
+Here's a simplified version:
+
+-------------------
+class Foo
+{
+ static public Foo x;
+}
+
+class Test
+{
+ public void Baz ()
+ {
+ Foo Foo;
+ Foo = Foo.x;
+ }
+}
+-------------------
+
+One more of the 'identical name and type name' bugs :-(
+
More information about the mono-bugs
mailing list