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=82042 --- shadow/82042 2007-07-08 08:57:05.000000000 -0400 +++ shadow/82042.tmp.12207 2007-07-08 08:57:05.000000000 -0400 @@ -0,0 +1,37 @@ +Bug#: 82042 +Product: Mono: Compilers +Version: 1.2 +OS: All +OS Details: +Status: NEW +Resolution: +Severity: +Priority: Normal +Component: C# +AssignedTo: [EMAIL PROTECTED] +ReportedBy: [EMAIL PROTECTED] +QAContact: [EMAIL PROTECTED] +TargetMilestone: --- +URL: +Cc: +Summary: CS0469 not reported for internal fields that are never assigned to + +(g)mcs currently does not report CS0469 for internal fields that are never +assigned to. + +To reproduce, compile the following code snippet (using +mcs /target:library test.cs): + +class A +{ + internal string Name; +} + +Expected result: + +test1.cs(3,18): warning CS0649: Field 'A.Name' is never assigned to, and +will always have its default value null + +Actual result: + +No warning. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
