1 instantiation of Reversed
Microsoft.CodeAnalysis (1)
Syntax\ChildSyntaxList.cs (1)
409
return new
Reversed
(_node, _count);
12 references to Reversed
Microsoft.CodeAnalysis (8)
Syntax\ChildSyntaxList.cs (2)
405
/// <returns><see cref="
Reversed
"/> which contains all children of <see cref="ChildSyntaxList"/> in reversed order</returns>
406
public
Reversed
Reverse()
Syntax\ChildSyntaxList.Reversed.cs (3)
16
public readonly partial struct Reversed : IEnumerable<SyntaxNodeOrToken>, IEquatable<
Reversed
>
60
return (obj is
Reversed
r) && Equals(r);
63
public bool Equals(
Reversed
other)
Syntax\SyntaxNavigator.cs (3)
138
private static readonly ObjectPool<Stack<ChildSyntaxList.
Reversed
.Enumerator>> s_childReversedEnumeratorStackPool
139
= new ObjectPool<Stack<ChildSyntaxList.
Reversed
.Enumerator>>(() => new Stack<ChildSyntaxList.
Reversed
.Enumerator>(), 10);
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (2)
Syntax\ChildSyntaxListTests.cs (2)
33
EqualityTesting.AssertEqual(default(ChildSyntaxList.
Reversed
), default(ChildSyntaxList.
Reversed
));
Microsoft.CodeAnalysis.Workspaces (2)
Classification\SyntaxClassification\SyntacticChangeRangeComputer.cs (2)
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)