1 instantiation of Reversed
Microsoft.CodeAnalysis (1)
Syntax\SyntaxTokenList.cs (1)
252return new Reversed(this);
8 references to Reversed
Microsoft.CodeAnalysis (5)
Syntax\SyntaxTokenList.cs (2)
249/// <returns><see cref="Reversed"/> which contains all elements of <see cref="SyntaxTokenList"/> in reversed order</returns> 250public Reversed Reverse()
Syntax\SyntaxTokenList.Reversed.cs (3)
20public readonly struct Reversed : IEnumerable<SyntaxToken>, IEquatable<Reversed> 56return obj is Reversed r && Equals(r); 59public bool Equals(Reversed other)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (3)
Syntax\SyntaxTokenListTests.cs (3)
55Assert.Throws<NotSupportedException>(() => default(SyntaxTokenList.Reversed.Enumerator).GetHashCode()); 56Assert.Throws<NotSupportedException>(() => default(SyntaxTokenList.Reversed.Enumerator).Equals(default(SyntaxTokenList.Reversed.Enumerator)));