7 references to SemicolonToken
Microsoft.CodeAnalysis.CSharp (7)
_generated\0\Syntax.xml.Main.Generated.cs (1)
1873=> node.Update(VisitList(node.AttributeLists), VisitToken(node.SemicolonToken));
_generated\2\Syntax.xml.Syntax.Generated.cs (2)
6979if (attributeLists != this.AttributeLists || semicolonToken != this.SemicolonToken) 6990public new EmptyStatementSyntax WithAttributeLists(SyntaxList<AttributeListSyntax> attributeLists) => Update(attributeLists, this.SemicolonToken);
Binder\Binder_Statements.cs (2)
359if (!emptyStatement.SemicolonToken.IsMissing) 370if (emptyStatement.SemicolonToken.GetNextToken().Kind() != SyntaxKind.OpenBraceToken)
Declarations\DeclarationTreeBuilder.cs (1)
197bag.Add(ErrorCode.ERR_SimpleProgramIsEmpty, ((EmptyStatementSyntax)firstGlobalStatement.Statement).SemicolonToken.GetLocation());
Syntax\LookupPosition.cs (1)
391return ((EmptyStatementSyntax)statement).SemicolonToken;