Hi,
there are attributes in .NET (e.g. ObsoleteAttribute
) which are able to prevent compilation or at least throw compile time warnings depending on their configuration.
How to write an attribute that is able to interfere with compilation? Is there a way to do this from outside Microsoft?