I\'m using the Obsolete attribute (as just suggested by fellow programmers) to show a warning if a certain method is used.
Obsolete
Is there a way to suppress the
You're looking for the #pragma warning disable directive
#pragma
Essentially you add the following command above the call site in the .cs file.
#pragma warning disable 612 SomeMethodCall
612 is the error message ID for calling obsolete methods