33 references to Reverse
Microsoft.CodeAnalysis (6)
SourceGeneration\Nodes\SyntaxValueProvider_ForAttributeWithSimpleName.cs (1)
283foreach (var child in node.ChildNodesAndTokens().Reverse())
Syntax\SyntaxNavigator.cs (4)
146stack.Push(current.ChildNodesAndTokens().Reverse().GetEnumerator()); 171stack.Push(child.AsNode()!.ChildNodesAndTokens().Reverse().GetEnumerator()); 490foreach (var child in node.Parent.ChildNodesAndTokens().Reverse()) 602foreach (var child in current.Parent.ChildNodesAndTokens().Reverse())
Syntax\SyntaxNodeOrToken.cs (1)
971foreach (var child in this.Parent.ChildNodesAndTokens().Reverse())
Microsoft.CodeAnalysis.CodeStyle (4)
src\Analyzers\Core\Analyzers\UseExplicitTupleName\UseExplicitTupleNameDiagnosticAnalyzer.cs (1)
58var nameNode = memberAccessSyntax.ChildNodesAndTokens().Reverse().FirstOrDefault().AsNode();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ChildSyntaxListExtensions.cs (1)
26foreach (var syntaxNodeOrToken in childSyntaxList.Reverse())
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxNodeOrTokenExtensions.cs (1)
38foreach (var child in current.ChildNodesAndTokens().Reverse())
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Services\SyntaxFacts\ISyntaxFactsExtensions.cs (1)
71foreach (var child in childNodesAndTokens.Reverse())
Microsoft.CodeAnalysis.CSharp (1)
Syntax\CSharpSyntaxNode.cs (1)
272foreach (var child in this.ChildNodesAndTokens().Reverse())
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (5)
Syntax\ChildSyntaxListTests.cs (2)
34EqualityTesting.AssertEqual(new ChildSyntaxList(node1).Reverse(), new ChildSyntaxList(node1).Reverse());
Syntax\SyntaxListTests.cs (2)
358foreach (var child in node.ChildNodesAndTokens().Reverse()) 372foreach (var node in parseAndGetInitializer(source).ChildNodesAndTokens().Reverse())
Syntax\SyntaxNodeTests.cs (1)
992var list2 = children.Reverse().ToList();
Microsoft.CodeAnalysis.EditorFeatures (1)
TextStructureNavigation\AbstractTextStructureNavigatorProvider.TextStructureNavigator.cs (1)
272.Reverse()
Microsoft.CodeAnalysis.Features (1)
src\Analyzers\Core\Analyzers\UseExplicitTupleName\UseExplicitTupleNameDiagnosticAnalyzer.cs (1)
58var nameNode = memberAccessSyntax.ChildNodesAndTokens().Reverse().FirstOrDefault().AsNode();
Microsoft.CodeAnalysis.VisualBasic (1)
Syntax\VisualBasicSyntaxNode.vb (1)
362For Each child In Me.ChildNodesAndTokens().Reverse
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\SyntaxTreeExtensions.vb (1)
127For Each child In nodeOrToken.ChildNodesAndTokens().Reverse()
Microsoft.CodeAnalysis.VisualBasic.Features (1)
LineSeparators\VisualBasicLineSeparatorService.vb (1)
155Dim lastToken = node.ChildNodesAndTokens().Reverse().First()
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (2)
TestSyntaxNodes.vb (2)
104For Each i In children.Reverse 126Dim enumeratorr = children.Reverse.GetEnumerator
Microsoft.CodeAnalysis.VisualBasic.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\SyntaxTreeExtensions.vb (1)
127For Each child In nodeOrToken.ChildNodesAndTokens().Reverse()
Microsoft.CodeAnalysis.Workspaces (8)
Classification\SyntaxClassification\SyntacticChangeRangeComputer.cs (4)
180oldStack.Push(oldRoot.ChildNodesAndTokens().Reverse().GetEnumerator()); 181newStack.Push(newRoot.ChildNodesAndTokens().Reverse().GetEnumerator()); 222oldStack.Push(currentOld.AsNode()!.ChildNodesAndTokens().Reverse().GetEnumerator()); 223newStack.Push(currentNew.AsNode()!.ChildNodesAndTokens().Reverse().GetEnumerator());
FindSymbols\FindReferences\FindReferenceCache.cs (1)
166foreach (var child in currentNode.ChildNodesAndTokens().Reverse())
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ChildSyntaxListExtensions.cs (1)
26foreach (var syntaxNodeOrToken in childSyntaxList.Reverse())
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxNodeOrTokenExtensions.cs (1)
38foreach (var child in current.ChildNodesAndTokens().Reverse())
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Services\SyntaxFacts\ISyntaxFactsExtensions.cs (1)
71foreach (var child in childNodesAndTokens.Reverse())
System.Text.Json.SourceGeneration (1)
src\libraries\Common\src\Roslyn\SyntaxValueProvider_ForAttributeWithSimpleName.cs (1)
346foreach (var child in childNodesAndTokens.Reverse())