Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Youssef1313 authored Apr 22, 2021
1 parent 626fc66 commit 4c351d8
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -246,8 +246,7 @@ private static bool CanHaveSemicolon(SyntaxNode currentNode)
return true;
}

if (currentNode is RecordDeclarationSyntax { OpenBraceToken: { IsMissing: true } } ||
currentNode is RecordStructDeclarationSyntax { OpenBraceToken: { IsMissing: true } })
if (currentNode is RecordDeclarationSyntax { OpenBraceToken: { IsMissing: true } })
{
return true;
}
Expand Down

0 comments on commit 4c351d8

Please sign in to comment.