[Mono-list] Problem naming _AppDomain

Duco Fijma duco@lorentz.xs4all.nl
06 Jan 2002 22:28:20 +0100


Hi,

I thought this one would be easy, but there is this little detail I can
use some help with. I was about to commit my "definition" of the
System._AppDomain interface when I discovered that the thing refuses to
compile when using the NAnt corlib.build file: "error CS3008: Identifier
'System._AppDomain' is not CLS-compliant". 

What suprises me is that I *don't* get this error when I compile the
single source from the command line. I get a nice little "test.dll"
that, as ildasm.exe shows, contains the expected _AppDomain interface.

Anybody knows how to get a public interface with a "_" prefixed to its
name in corlib.dll?

Duco