[Mono-dev] Incorrect error string (?)

Marek Safar marek.safar at seznam.cz
Tue Mar 14 13:12:48 EST 2006


Hello Robert,
> I just got kinda confusing error string with mcs:
>
> ServerLink.cs(35,24): error CS0118: `ServerLink.System.Net.Dns' is a 
> `type' but a `type' was expected
>
> the line has an error, but this error string isn't very helpful, 
> neither is logical. The bad line was:
>
> IPAddress addr = new Dns.Resolve( "localhost" );
Please fill  a bug report.

Thanks
Marek




More information about the Mono-devel-list mailing list