25 references to EmptyToken
Microsoft.CodeAnalysis.VisualBasic (25)
Generated\Syntax.xml.Internal.Generated.vb (4)
34020Debug.Assert(empty IsNot Nothing AndAlso empty.Kind = SyntaxKind.EmptyToken) 43691Debug.Assert(empty IsNot Nothing AndAlso empty.Kind = SyntaxKind.EmptyToken) 46086Debug.Assert(empty IsNot Nothing AndAlso empty.Kind = SyntaxKind.EmptyToken) 55757Debug.Assert(empty IsNot Nothing AndAlso empty.Kind = SyntaxKind.EmptyToken)
Generated\Syntax.xml.Main.Generated.vb (5)
5694Case SyntaxKind.EmptyToken 5707Return SyntaxFactory.EmptyStatement(SyntaxFactory.Token(SyntaxKind.EmptyToken)) 36981Case SyntaxKind.EmptyToken 36994Return SyntaxFactory.OmittedArgument(SyntaxFactory.Token(SyntaxKind.EmptyToken)) 45245SyntaxKind.EmptyToken,
Parser\Parser.vb (4)
752Case SyntaxKind.EmptyToken 1174Case SyntaxKind.EmptyToken 1245Debug.Assert(CurrentToken.Kind = SyntaxKind.EmptyToken) 5779Debug.Assert(SyntaxFacts.IsTerminator(CurrentToken.Kind) OrElse CurrentToken.Kind = SyntaxKind.EmptyToken)
Parser\ParseScan.vb (5)
29If PeekToken(i + 1).Kind <> SyntaxKind.EmptyToken Then 41If t2.Kind <> SyntaxKind.EmptyToken Then 249If IsValidStatementTerminator(CurrentToken) OrElse CurrentToken.Kind = SyntaxKind.EmptyToken Then 421Return kind = SyntaxKind.EmptyToken OrElse kind = SyntaxKind.EndOfFileToken 425Return Not SyntaxFacts.IsTerminator(kind) AndAlso kind <> SyntaxKind.EmptyToken
Scanner\TokenFactories.vb (1)
467Return MakePunctuationToken(precedingTrivia, "", SyntaxKind.EmptyToken)
Syntax\InternalSyntax\SyntaxNodeExtensions.vb (1)
87Return token.Width = 0 AndAlso token.Kind <> SyntaxKind.EmptyToken
Syntax\InternalSyntax\SyntaxNodeFactories.vb (2)
475s_notMissingEmptyToken = New PunctuationSyntax(SyntaxKind.EmptyToken, "", Nothing, Nothing) 485s_missingEmptyToken = New PunctuationSyntax(SyntaxKind.EmptyToken, "", Nothing, Nothing)
Syntax\InternalSyntax\SyntaxToken.vb (1)
145If Text.Length = 0 AndAlso Kind <> SyntaxKind.EndOfFileToken AndAlso Kind <> SyntaxKind.EmptyToken Then
Syntax\SyntaxKindFacts.vb (1)
342SyntaxKind.EmptyToken
Syntax\SyntaxNormalizer.vb (1)
462If (token.Kind = SyntaxKind.CommaToken AndAlso (nextToken.Kind = SyntaxKind.EmptyToken OrElse token.Parent.Kind = SyntaxKind.InterpolationAlignmentClause)) OrElse