I'm using the Obsolete attribute (as just suggested by fellow programmers) to show a warning if a certain method is used.
Is there a way to suppress the warning similar to CodeAnalysis' SuppressMessage at points where the use is justified?
This needs to work for [Obsolete("Some message")] which generates warning 618 and the plain [Obsolete] attribute with no message which generates warning 612.