[Mono-devel-list] MCS bug?

David Sheldon dave-monolist at earth.li
Mon Feb 9 17:35:38 EST 2004


On Mon, Feb 09, 2004 at 10:12:26PM +0100, Martin Baulig wrote:
> On Mon, 2004-02-09 at 21:59, David Sheldon wrote:
> > The fact that it is recursive is not something that the compiler should
> > check, however csc does give the warning 
> >    
> >    "test.cs(5,13): warning CS0169: The private field
> >    'TestProperty.prop' is never used"
> > 
> > Which mono does not. Should this be reported as a bug in mcs in its own
> > right?
> 
> Have you tried this with a higher warning level in mcs ?  If I remember
> correctly, csc and mcs have different default warning levels and you
> only get this warning in level 3 or 4.

Oh, nice. I hadn't seen that before. Yes, with warning on 3 or 4, mcs
reports two warnings. 

The other is:
 warning CS0219: The variable `i' is assigned but its value is never
 used

David
-- 
I wish my keyboard had a SMITE key
    -- J-P Stacey



More information about the Mono-devel-list mailing list