Skip to content

Commit

Permalink
Add more cases
Browse files Browse the repository at this point in the history
  • Loading branch information
josefpihrt authored and JochemHarmes committed Oct 30, 2023
1 parent 0747811 commit 1379589
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/CSharp/CSharp/Extensions/SyntaxExtensions.cs
Expand Up @@ -3223,6 +3223,8 @@ internal static bool IsPartOfDocumentationComment(this SyntaxNode node)
case SyntaxKind.IfDirectiveTrivia:
case SyntaxKind.ElifDirectiveTrivia:
case SyntaxKind.WhenClause:
case SyntaxKind.BaseConstructorInitializer:
case SyntaxKind.ThisConstructorInitializer:
{
return false;
}
Expand Down

0 comments on commit 1379589

Please sign in to comment.