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