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 [EMAIL PROTECTED] 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: [EMAIL PROTECTED] +AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] QAContact: [EMAIL PROTECTED] 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 [EMAIL PROTECTED] 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 :-( + _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
