12 references to GetAllNodesAndTokens
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (12)
Syntax\SyntaxAnnotationTests.vb (12)
147
Dim node =
GetAllNodesAndTokens
(tree.GetRoot()).First(Function(t) t.IsNode).AsNode()
178
Dim token =
GetAllNodesAndTokens
(tree.GetRoot()).First(Function(t) t.IsToken).AsToken()
266
Dim firstNode =
GetAllNodesAndTokens
(tree.GetRoot()).First(Function(t) t.IsNode).AsNode()
277
Dim firstNodeInNewTree =
GetAllNodesAndTokens
(newRoot).First(Function(t) t.IsNode).AsNode()
327
Dim actualNodesOrTokens =
GetAllNodesAndTokens
(oldRoot).OrderBy(Function(x) x.SpanStart)
400
Dim sourceTreeNodeOrTokenEnumerator =
GetAllNodesAndTokens
(sourceTreeRoot).GetEnumerator()
401
Dim destTreeNodeOrTokenEnumerator =
GetAllNodesAndTokens
(destTreeRoot).GetEnumerator()
439
Dim count =
GetAllNodesAndTokens
(currentRoot).Count
450
Dim item =
GetAllNodesAndTokens
(currentRoot)(randomGenerator.Next(count - 1))
467
Dim candidatePool =
GetAllNodesAndTokens
(tree.GetRoot())
482
Dim secondItem =
GetAllNodesAndTokens
(newRoot)(randomGenerator.Next(numberOfCandidates - 1))
531
For Each nodeOrToken In
GetAllNodesAndTokens
(tree.GetRoot())