[Mono-list] Suppressing "The private method `xxxxx' is never used" warnings

Nikki Locke nikki at trumphurst.com
Wed Oct 18 13:15:30 EDT 2006

I have a lot of private methods in a set of state machine classes that are 
only called using Reflection. This gives rise to a lot of "The private 
method `xxxxx' is never used" warnings when compiling under Mono.

Is there are way (using an Attribute, probably) to flag these methods as 
called from Reflection, so the compiler doesn't give these warnings?

Nikki Locke, Trumphurst Ltd.      PC & Unix consultancy & programming

More information about the Mono-list mailing list