来自过时属性的 IntelliSense 工具提示中的可单击超链接

Clickable hyperlink in IntelliSense tooltip from Obsolete Attribute

问题:

有没有办法向 ObsoleteAttributemessage 添加超链接,以便在 Visual Studio 的 IntelliSense 工具提示中可以点击它?

背景:

我知道对于 XML 文档注释,您可以 something like this:

public void Main()
{
    MethodWithHyperlinkInXmlDocsIntelliSense();
}

/// <summary>
/// This is a math function I found. <see href="http://whosebug.com">HERE</see>
/// </summary>
public void MethodWithHyperlinkInXmlDocsIntelliSense()
{
}

但是,在 Visual Studio 2019 (16.8.3) IntelliSense 工具提示中,以下选项均未将超链接显示为可点击。

[Obsolete("This is a math function I found. <see href=\"http://whosebug.com\">HERE</see>")]

[Obsolete("This is a math function I found. See http://whosebug.com")]

实际上ObsoleteAttribute class 的 IntelliSense 工具提示不支持超链接作为 XML 文档注释。我已经测试了好几次了。

所以为了帮助改进这张票,我举报了the issue on our DC Forum

如果我没有详细描述问题,您可以投票并添加任何评论,这样它会得到更多 Microsoft 的关注。也希望团队能给您一个满意的答复