Question:
Is there a way to add a hyperlink to an ObsoleteAttribute
's message
such that it is clickable in Visual Studio's IntelliSense tooltip?
Background:
I know that for XML documentation comments, you can do something like this:
public void Main()
{
MethodWithHyperlinkInXmlDocsIntelliSense();
}
/// <summary>
/// This is a math function I found. <see href="http://stackoverflow.com">HERE</see>
/// </summary>
public void MethodWithHyperlinkInXmlDocsIntelliSense()
{
}
However, neither of the below options show the hyperlink as clickable in Visual Studio 2019 (16.8.3) IntelliSense tooltips.
[Obsolete("This is a math function I found. <see href="http://stackoverflow.com">HERE</see>")]
[Obsolete("This is a math function I found. See http://stackoverflow.com")]