15 references to IsAnyToken
Microsoft.CodeAnalysis.CSharp (12)
Parser\Blender.Cursor.cs (1)
182for (var node = cursor.CurrentNodeOrToken; node.Kind() != SyntaxKind.None && !SyntaxFacts.IsAnyToken(node.Kind()); node = cursor.CurrentNodeOrToken)
Parser\SyntaxParser.cs (7)
523Debug.Assert(SyntaxFacts.IsAnyToken(kind)); 539Debug.Assert(SyntaxFacts.IsAnyToken(expected)); 583Debug.Assert(SyntaxFacts.IsAnyToken(kind)); 597Debug.Assert(SyntaxFacts.IsAnyToken(kind)); 611Debug.Assert(SyntaxFacts.IsAnyToken(kind)); 630Debug.Assert(SyntaxFacts.IsAnyToken(kind)); 644Debug.Assert(SyntaxFacts.IsAnyToken(kind));
Syntax\InternalSyntax\SyntaxFactory.cs (1)
136Debug.Assert(SyntaxFacts.IsAnyToken(kind));
Syntax\InternalSyntax\SyntaxToken.cs (2)
74if (!SyntaxFacts.IsAnyToken(kind)) 89if (!SyntaxFacts.IsAnyToken(kind))
Syntax\SyntaxFactory.cs (1)
262if (!SyntaxFacts.IsAnyToken(kind))
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (3)
Syntax\SyntaxFactoryTests.cs (2)
193if (!SyntaxFacts.IsAnyToken(kind)) continue; 210if (!SyntaxFacts.IsAnyToken(kind)) continue;
Syntax\SyntaxTests.cs (1)
229Assert.True(SyntaxFacts.IsAnyToken(kind));