Can I apply the Deprecated Attribute to system classes or methods? If so, how? If not, can I instruct Visual Studio to warn specific code templates?
In particular, I would like to note the use of Session / Session ["key"] as deprecated in favor of a possible singlet.
It is not possible to mark types defined in other assemblies as obselete. ObsoleteAttributecan only be applied to the types of source code you are compiling.
ObsoleteAttribute
Visual Studio, , . , , , FxCop, .