From 7d6a511790c2bebb6d4ec606e399eb4f5b4e24c2 Mon Sep 17 00:00:00 2001 From: Georg Jung Date: Tue, 13 Jul 2021 14:38:20 +0200 Subject: [PATCH] Fix SA1629 "... should end with a period" in generated xml docs Also, ... is generated like: /// Learn more about this API from docs.microsoft.com. while the end of is generated as: /// Read more on docs.microsoft.com. thus, beeing SA1629 compliant. --- src/Microsoft.Windows.CsWin32/Generator.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Microsoft.Windows.CsWin32/Generator.cs b/src/Microsoft.Windows.CsWin32/Generator.cs index 6a1a34eb..1acb5dd1 100644 --- a/src/Microsoft.Windows.CsWin32/Generator.cs +++ b/src/Microsoft.Windows.CsWin32/Generator.cs @@ -2020,7 +2020,7 @@ private T AddApiDocumentation(string api, T memberDeclaration) else if (docs.HelpLink is object) { docCommentsBuilder.AppendLine(); - docCommentsBuilder.AppendLine($@"/// Learn more about this API from docs.microsoft.com."); + docCommentsBuilder.AppendLine($@"/// Learn more about this API from docs.microsoft.com."); docCommentsBuilder.Append("/// "); }