44 references to Reverse
Microsoft.CodeAnalysis (2)
Syntax\SyntaxNavigator.cs (2)
213foreach (var trivia in list.Reverse()) 411foreach (var trivia in list.Reverse())
Microsoft.CodeAnalysis.CodeStyle (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxNodeExtensions.cs (1)
577foreach (var trivia in triviaList.Reverse())
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxTreeExtensions.cs (1)
148foreach (var trivia in triviaList.Reverse())
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Editing\AddParameterEditor.cs (1)
131foreach (var trivia in node.GetLeadingTrivia().Reverse())
Microsoft.CodeAnalysis.CSharp (3)
DocumentationComments\SourceDocumentationCommentUtils.cs (1)
64foreach (var trivia in syntaxNode.GetLeadingTrivia().Reverse())
Syntax\CSharpSyntaxNode.cs (1)
289foreach (var tr in token.LeadingTrivia.Reverse())
Syntax\DirectiveTriviaSyntax.cs (1)
104foreach (var tr in token.LeadingTrivia.Reverse())
Microsoft.CodeAnalysis.CSharp.Features (2)
CodeRefactorings\InlineTemporary\InlineTemporaryCodeRefactoringProvider.cs (1)
324.Reverse()
QuickInfo\CSharpSyntacticQuickInfoProvider.cs (1)
102var searchListAbove = openBrace.LeadingTrivia.Reverse();
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (10)
Syntax\SyntaxTriviaListTests.cs (10)
41EqualityTesting.AssertEqual(new SyntaxTriviaList(node1, node1.Node, 0, 0).Reverse(), new SyntaxTriviaList(node1, node1.Node, 0, 0).Reverse()); 42EqualityTesting.AssertNotEqual(new SyntaxTriviaList(node1, node1.Node, 0, 1).Reverse(), new SyntaxTriviaList(node1, node1.Node, 0, 0).Reverse()); 43EqualityTesting.AssertNotEqual(new SyntaxTriviaList(node1, node2.Node, 0, 0).Reverse(), new SyntaxTriviaList(node1, node1.Node, 0, 0).Reverse()); 44EqualityTesting.AssertNotEqual(new SyntaxTriviaList(node2, node1.Node, 0, 0).Reverse(), new SyntaxTriviaList(node1, node1.Node, 0, 0).Reverse()); 47EqualityTesting.AssertEqual(new SyntaxTriviaList(node1, node1.Node, 1, 0).Reverse(), new SyntaxTriviaList(node1, node1.Node, 0, 0).Reverse());
Microsoft.CodeAnalysis.VisualBasic (2)
Syntax\SyntaxNodePartials.vb (1)
57For Each tr In token.LeadingTrivia.Reverse()
Syntax\VisualBasicSyntaxNode.vb (1)
371For Each tr In token.LeadingTrivia.Reverse()
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (5)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\SyntaxTreeExtensions.vb (2)
133For Each trivia In child.GetTrailingTrivia.Reverse 139For Each trivia In child.GetLeadingTrivia.Reverse
src\Workspaces\VisualBasic\Portable\Formatting\DefaultOperationProvider.vb (2)
162For Each trivia In triviaListPair.Item2.Reverse() 168For Each trivia In triviaListPair.Item1.Reverse()
src\Workspaces\VisualBasic\Portable\Formatting\Rules\BaseFormattingRule.vb (1)
60For Each trivia In nextToken.LeadingTrivia.Reverse()
Microsoft.CodeAnalysis.VisualBasic.Features (1)
CodeRefactorings\InlineTemporary\VisualBasicInlineTemporaryCodeRefactoringProvider.vb (1)
295.Reverse() _
Microsoft.CodeAnalysis.VisualBasic.Workspaces (5)
Formatting\DefaultOperationProvider.vb (2)
162For Each trivia In triviaListPair.Item2.Reverse() 168For Each trivia In triviaListPair.Item1.Reverse()
Formatting\Rules\BaseFormattingRule.vb (1)
60For Each trivia In nextToken.LeadingTrivia.Reverse()
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\SyntaxTreeExtensions.vb (2)
133For Each trivia In child.GetTrailingTrivia.Reverse 139For Each trivia In child.GetLeadingTrivia.Reverse
Microsoft.CodeAnalysis.Workspaces (3)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxNodeExtensions.cs (1)
577foreach (var trivia in triviaList.Reverse())
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxTreeExtensions.cs (1)
148foreach (var trivia in triviaList.Reverse())
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Editing\AddParameterEditor.cs (1)
131foreach (var trivia in node.GetLeadingTrivia().Reverse())
Microsoft.VisualStudio.LanguageServices.CSharp (4)
CodeModel\CSharpCodeModelService.cs (4)
1314foreach (var trivia in newTriviaList.Reverse()) 1332.Reverse() 1436foreach (var triviaElement in newTriviaList.Reverse()) 2851foreach (var trivia in node.GetLeadingTrivia().Reverse())
Microsoft.VisualStudio.LanguageServices.VisualBasic (4)
CodeModel\VisualBasicCodeModelService.vb (4)
1283For Each trivia In node.GetLeadingTrivia().Reverse() 2288For Each triviaElement In newTriviaList.Reverse() 2461.Reverse() _ 2527For Each triviaElement In triviaList.Reverse()