We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b0a3f2a commit 5334515Copy full SHA for 5334515
DocumentationAnalyzers/DocumentationAnalyzers/RefactoringRules/DOC901ConvertToDocumentationComment.cs
@@ -71,13 +71,7 @@ private void HandleDocumentedNode(SyntaxNodeAnalysisContext context)
71
switch (leadingTrivia[i].Kind())
72
{
73
case SyntaxKind.WhitespaceTrivia:
74
- if (isAtEndOfLine)
75
- {
76
- // Multiple newlines
77
- break;
78
- }
79
-
80
- // Ignore indentation
+ // Ignore indentation and/or trailing whitespace
81
continue;
82
83
case SyntaxKind.EndOfLineTrivia:
0 commit comments