OK, this kind of follows on from my previous question.
What I would really like to do is create some sort of attribute which allows me to decorate a method that will break the build. Much like the Obsolete("reason", true) attribute, but without falsely identifying obsolete code.
To clarify: I dont want it to break the build on ANY F6 (Build) press, I only want it to break the build if a method decorated with the attribute is called somewhere else in the code. Like I said, similar to obsolete, but not the same.
I know I am not alone in this, since other users want to use it for other reasons. I have never created custom attributes before so it is all new to me!