17 references to IsToken
Microsoft.CodeAnalysis (17)
Syntax\GreenNode.cs (1)
654
if (currentNode.
IsToken
)
Syntax\GreenNode.NodeEnumerable.cs (1)
69
if (!_current.
IsToken
)
Syntax\InternalSyntax\SeparatedSyntaxList.cs (2)
28
Debug.Assert(!item.
IsToken
, "even elements of a separated list must be nodes");
32
Debug.Assert(item.
IsToken
, "odd elements of a separated list must be tokens");
Syntax\InternalSyntax\SyntaxDiagnosticInfoList.cs (1)
110
if (node.
IsToken
)
Syntax\InternalSyntax\SyntaxList.WithManyChildren.cs (1)
83
if (this.GetSlot(i).
IsToken
== ((i & 1) == 0))
Syntax\SeparatedSyntaxList.cs (1)
153
Debug.Assert(green.
IsToken
);
Syntax\SyntaxNode.cs (2)
240
if (!green.
IsToken
)
469
if (current.
IsToken
)
Syntax\SyntaxNodeOrToken.cs (1)
56
Debug.Assert(token == null || token.
IsToken
, "token must be a token");
Syntax\SyntaxNodeOrTokenList.cs (2)
150
if (green.
IsToken
)
353
if (newGreen.
IsToken
)
Syntax\SyntaxNodeOrTokenListBuilder.cs (2)
43
if (innerNode.
IsToken
== true)
137
if (_nodes[0]!.
IsToken
)
Syntax\SyntaxToken.cs (2)
31
Debug.Assert(token == null || token.
IsToken
, "token must be a token");
41
Debug.Assert(token == null || token.
IsToken
, "token must be a token");
Syntax\SyntaxTokenList.cs (1)
32
Debug.Assert(tokenOrList == null || (tokenOrList.
IsToken
) || (tokenOrList.IsList));