[Mono-devel-list] Predefined symbols?

Michi Henning michi at zeroc.com
Wed May 5 04:11:28 EDT 2004


Hi,

simple question: does the C# preprocessor define a Mono-specific
symbol? I'm writing code that has to compile on both Visual C#
and mcs and want to use conditional compilation.

In my particular case, I need to work around an mcs bug that prevents
me from defining a class member, so reflection along the lines of

	if (Type.GetType("Mono.Runtime", false) != null)

doesn't help me.

Thanks,

Michi.




More information about the Mono-devel-list mailing list