I'd like to be able to provide developers hints when they use a method (class ...) - a wavy line highlight the code, and some text appear on mouseover. This is the effect you get using the Obsolete attribute at the moment - but sometimes the code isn't obsolete, you just want to highlight that it may be used incorrectly.
E.g. [Hint("For performance reasons consider <other method>")]
Using Custom Patterns with a suitable warning allows this, but that's rather clunky to define, and hidden from the code - it'd be great to have an attribute that allowed the same effect.
Is there a way to do this that I haven't spotted?