Say I have a class and I want to deprecate a method. Is it possible to have that method not show up in intellisense so that people won’t be temped to use it? I just want existing code that uses it to continue compiling but hide the method from view at the same time.
Share
The EditorBrowsableAttribute attribute can be used to hide members from intellisense:
http://msdn.microsoft.com/en-us/library/system.componentmodel.editorbrowsableattribute.aspx