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
Here's how to get the warning/error number in the first place:
C:\Users\Username\Documents\Visual Studio 2010\Projects\Projectname\Classname.cs(203,7): warning CS
0162
: Unreachable code detected
CS
".(Better always proceed as Jon Skeet says…)