[Mono-devel-list] [Patch] mcs, Error instead of warning CS0105
Juraj Skripsky
js at hotfeet.ch
Mon Oct 4 12:56:16 EDT 2004
Hello Martin,
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
This is definitely wrong. Csc handles this correctly. With my patch
applied, the behavior is consistent with csc.
- Juraj
On Mon, 2004-10-04 at 18:35, Martin Baulig wrote:
> On Mon, 2004-10-04 at 17:45 +0200, Juraj Skripsky wrote:
>
> > Mcs doesn't compile the attached test case with warning level < 3. Csc
> > does. The attached patch fixes this.
> >
> > May I commit to head and/or 1.0?
>
> Hello,
>
> this is wrong, CS0105 is a level 3 warning, just checked to be sure.
>
> Martin
>
More information about the Mono-devel-list
mailing list