hope this Question is on depleting of a method.
Start with obselete attribute
[Obsolete("Use othermethod instead of .thisMethod()", false)] // warning to client app
In youe next to next release make it
[Obsolete("Use othermethod instead of .thisMethod()", true)] // make it compiler error