2 instantiations of Enumerator
Microsoft.CodeAnalysis (2)
Syntax\ChildSyntaxList.Reversed.cs (2)
30
return new
Enumerator
(_node, _count);
109
_enumerator = new
Enumerator
(node, count);
9 references to Enumerator
Microsoft.CodeAnalysis (6)
Syntax\ChildSyntaxList.Reversed.cs (2)
27
public
Enumerator
GetEnumerator()
105
private
Enumerator
_enumerator;
Syntax\SyntaxNavigator.cs (4)
138
private static readonly ObjectPool<Stack<ChildSyntaxList.Reversed.
Enumerator
>> s_childReversedEnumeratorStackPool
139
= new ObjectPool<Stack<ChildSyntaxList.Reversed.
Enumerator
>>(() => new Stack<ChildSyntaxList.Reversed.
Enumerator
>(), 10);
150
var
en = stack.Pop();
Microsoft.CodeAnalysis.Workspaces (3)
Classification\SyntaxClassification\SyntacticChangeRangeComputer.cs (3)
39
private static readonly ObjectPool<Stack<ChildSyntaxList.Reversed.
Enumerator
>> s_reversedEnumeratorPool = new(() => new());
259
private static bool TryGetStackTopNodeOrToken(Stack<ChildSyntaxList.Reversed.
Enumerator
> stack, out SyntaxNodeOrToken syntaxNodeOrToken)
261
while (stack.TryPop(out
var
topEnumerator))