[Mono-list] Wrong error message given by mcs

Richard Torkar richard.torkar@htu.se
10 May 2002 13:09:46 +0200


On Fri, 2002-05-10 at 12:13, Detlev Offenbach wrote:
> Hello,
> 
> I am starting to learn C# using mono. The attached example taken from 
> "Programming C#" doesn't compile as expected. However, the errormessage 
> given by mcs (version 0.11) is not correct as it doesn't indicate the 
> real problem of the code. The error I got was
> 
> ./ex2-4.cs(5) error CS0103: The name `WriteLine' could not be found in 
> `Hello'
> 
> What I expected was something saying that using is only allowed with 
> namespaces and that Console is a class.
> 


Thanks for the info Detlev, but I think we would all appreciate it if
you could file it in bugzilla as well?
http://bugzilla.ximian.com/

/Richard