Skip to content
This repository was archived by the owner on Jul 12, 2022. It is now read-only.

Commit 122ba74

Browse files
committed
Respond to PR feedback
1 parent 5c2a312 commit 122ba74

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Microsoft.DotNet.CodeFormatting/Rules/PrivateFieldNamingRule.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ public override SyntaxNode Visit(SyntaxNode node)
137137

138138
public override SyntaxToken VisitToken(SyntaxToken token)
139139
{
140+
token = base.VisitToken(token);
140141
if (token.ContainsAnnotations && token.GetAnnotations(RenameAnnotationName).Any())
141142
{
142143
token = token.WithoutAnnotations(RenameAnnotationName);

0 commit comments

Comments
 (0)