[Mono-devel-list] [Patch] mcs, Error instead of warning CS0105
js at hotfeet.ch
Mon Oct 4 19:25:19 EDT 2004
I will cook up a test and add it.
On Tue, 2004-10-05 at 00:58, marek safar wrote:
> Hello Juraj,
> Could you also add a new errors/cs0105 tests ?
> > On Mon, 2004-10-04 at 18:56 +0200, Juraj Skripsky wrote:
> > > Yes, CS0105 is a level 3 warning. That's not the issue. Try compiling
> > > the test I attached. It will stop with the following error:
> > >
> > > [js at funnyfarm js]$ mcs using_twice.cs
> > > using_twice.cs(6) error CS0103: The name `Console.WriteLine' could not
> > > be found in `Test'
> > > Compilation failed: 1 error(s), 0 warnings
> > Hello,
> > > This is definitely wrong. Csc handles this correctly. With my patch
> > > applied, the behavior is consistent with csc.
> > ah, now I understand what's going on ;-)
> > I thought you just wanted to make it always report that warning, but
> > indeed that check is always needed to avoid this compilation error (so
> > we'll always check, but just not report the warning).
> > Patch looks good, please commit (HEAD and 1.0).
> > Martin
> > _______________________________________________
> > Mono-devel-list mailing list
> > Mono-devel-list at lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/mono-devel-list
More information about the Mono-devel-list