[Mono-dev] Incorrect error string (?)

Robert Nasiadek robzon at cpnet.pl
Mon Mar 13 19:41:41 EST 2006


Hi there.

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" );

peace

-- 
robzon
Network Administrator

[ http://ubuntu.com/ ]
_____________________
(\ /)
(O.o)
(> <)
This is Bunny. Copy Bunny into your signature to help him on his way to world domination.




More information about the Mono-devel-list mailing list