Skip to content

Fix NoSingleSpaceAfterTripleSlash analyzer

Compare
Choose a tag to compare
@maroontress-tomohisa maroontress-tomohisa released this 13 Aug 17:11
· 4 commits to main since this release
5519b78

Requirements to run

  • Visual Studio 2022 (17.10.5) or .NET 8 (SDK 8.0.303)

Requirements to build

  • Visual Studio 2022 (17.10.5) or .NET 8 (SDK 8.0.303)

Changed

  • Fix NoSingleSpaceAfterTripleSlash analyzer not to issue diagnostics when there are characters that start with a whitespace character and contain a non-whitespace character between /// and an XML element, as in the following code:

    /// Hello <summary>World.</summary>
    /// See <seealso cref="Bad"/>
    public static void Bad()
    {
    }

    Note that StrayText analyzer still issues diagnostics against the Hello and See in the example.