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