73 references to Reverse
Aspire.Dashboard (1)
Components\Controls\Chart\MetricTable.razor.cs (1)
29private IQueryable<MetricViewBase> _metricsView => _metrics.Values.AsEnumerable().Reverse().ToList().AsQueryable();
illink (2)
installer.tasks (4)
StaticFileRegeneration\TpnDocument.cs (2)
38.Reverse() 40.Reverse())
StaticFileRegeneration\TpnSectionHeader.cs (2)
133.Reverse() 135.Reverse()
Microsoft.Arcade.Test.Common (1)
DiffUtil.cs (1)
54foreach (var edit in GetEdits(sequenceA, sequenceA.Count, sequenceB, sequenceB.Count).Reverse())
Microsoft.AspNetCore.App.Analyzers (2)
RouteEmbeddedLanguage\Infrastructure\SyntaxNodeExtensions.cs (1)
130foreach (var trivia in Enumerable.Reverse(triviaList))
RouteHandlers\DetectMisplacedLambdaAttribute.cs (1)
73foreach (var op in Enumerable.Reverse(blockOperation.ChildOperations))
Microsoft.AspNetCore.Connections.Abstractions (2)
ConnectionBuilder.cs (1)
45foreach (var component in Enumerable.Reverse(_components))
MultiplexedConnectionBuilder.cs (1)
45foreach (var component in Enumerable.Reverse(_components))
Microsoft.AspNetCore.Diagnostics (1)
DeveloperExceptionPage\DeveloperExceptionPageMiddlewareImpl.cs (1)
70foreach (var filter in Enumerable.Reverse(filters))
Microsoft.AspNetCore.Grpc.JsonTranscoding (1)
src\Grpc\JsonTranscoding\src\Shared\Server\MethodOptions.cs (1)
119foreach (var options in Enumerable.Reverse(serviceOptions))
Microsoft.AspNetCore.Hosting (3)
GenericHost\GenericWebHostService.cs (1)
135foreach (var filter in Enumerable.Reverse(StartupFilters))
Internal\StartupLoader.cs (1)
225foreach (var filter in Enumerable.Reverse(filters))
Internal\WebHost.cs (1)
217foreach (var filter in Enumerable.Reverse(startupFilters))
Microsoft.AspNetCore.OpenApi (1)
Extensions\JsonNodeSchemaExtensions.cs (1)
214foreach (var constraint in Enumerable.Reverse(constraints))
Microsoft.AspNetCore.Server.Kestrel.Core (2)
Internal\KestrelServerImpl.cs (2)
57_transportFactories = Enumerable.Reverse(transportFactories).ToList(); 58_multiplexedTransportFactories = Enumerable.Reverse(multiplexedFactories).ToList();
Microsoft.AspNetCore.WebUtilities.Tests (1)
FileBufferingReadStreamTests.cs (1)
491var data = Enumerable.Reverse(Enumerable.Range(0, bufferSize * mostExpectedWrites).Select(b => (byte)b)).ToArray();
Microsoft.Build (1)
Evaluation\Expander.cs (1)
2700return itemsOfType.Reverse();
Microsoft.CodeAnalysis (2)
InternalUtilities\EnumerableExtensions.cs (1)
891public static IEnumerable<T> Reverse<T>(this T[] source) => Enumerable.Reverse(source);
TreeDumper.cs (1)
267foreach (var child in currentNode.Children.Where(x => x != null).Reverse())
Microsoft.CodeAnalysis.CodeStyle (2)
src\Compilers\Core\Portable\InternalUtilities\EnumerableExtensions.cs (1)
891public static IEnumerable<T> Reverse<T>(this T[] source) => Enumerable.Reverse(source);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\INamedTypeSymbolExtensions.cs (1)
544var baseTypes = containingType.GetBaseTypes().Reverse();
Microsoft.CodeAnalysis.CSharp.Features (3)
CodeRefactorings\InlineTemporary\InlineTemporaryCodeRefactoringProvider.cs (1)
326.Reverse()
CodeRefactorings\UseRecursivePatterns\UseRecursivePatternsCodeRefactoringProvider.cs (1)
602foreach (var originalNode in nodes.Reverse())
UseExpressionBody\UseExpressionBodyCodeRefactoringProvider.cs (1)
247foreach (var declaration in declarationsToFix.Reverse())
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (6)
Semantics\UnsafeTests.cs (6)
10177var declarators = tree.GetCompilationUnitRoot().DescendantNodes().OfType<VariableDeclaratorSyntax>().Reverse().Take(3).Reverse().ToArray(); 10223var declarators = tree.GetCompilationUnitRoot().DescendantNodes().OfType<VariableDeclaratorSyntax>().Reverse().Take(numSymbols).Reverse().ToArray(); 10297var declarators = tree.GetCompilationUnitRoot().DescendantNodes().OfType<VariableDeclaratorSyntax>().Reverse().Take(numSymbols).Reverse().ToArray();
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (2)
Syntax\SyntaxNodeTests.cs (2)
991var list1 = children.AsEnumerable().Reverse().ToList(); 1319var reversed = children.AsEnumerable().Reverse().ToList();
Microsoft.CodeAnalysis.Features (7)
CodeFixes\Suppression\AbstractSuppressionCodeFixProvider.RemoveSuppressionCodeAction_Pragma.cs (1)
130filteredTriviaList = filteredTriviaList.Reverse();
CodeRefactorings\MoveType\AbstractMoveTypeService.cs (1)
262.Reverse();
ExtractMethod\MethodExtractor.TriviaResult.cs (1)
168return stack.Reverse();
InvertIf\AbstractInvertIfCodeRefactoringProvider.cs (4)
625return GetTriviaAfterSpace(syntaxTrivias.Reverse()).Reverse(); 630return GetLeadingSpace(syntaxTrivias.Reverse()).Reverse();
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Handler\DocumentChanges\DidChangeHandler.cs (1)
70var newChanges = contentChanges.Reverse().SelectAsArray(change => ProtocolConversions.ContentChangeEventToTextChange(change, text));
Microsoft.CodeAnalysis.Test.Utilities (1)
Assert\DiffUtil.cs (1)
57foreach (var edit in GetEdits(sequenceA, sequenceA.Count, sequenceB, sequenceB.Count).Reverse())
Microsoft.CodeAnalysis.UnitTests (6)
Collections\ImmutableListTestBase.cs (2)
405ImmutableSegmentedList<int>.Empty.AddRange(Enumerable.Range(1, 50).Reverse()), 475var reverseSorted = System.Collections.Immutable.ImmutableArray.CreateRange(Enumerable.Range(1, 150).Select(n => n * 2).Reverse());
Collections\ImmutableSegmentedListBuilderTest.cs (2)
230mutable.Reverse(); 231Assert.Equal(Enumerable.Range(1, 3).Reverse(), mutable);
Collections\List\IList.Generic.Tests.cs (1)
585Assert.All(Enumerable.Range(0, count).Reverse(), index =>
Collections\List\IList.NonGeneric.Tests.cs (1)
1057Assert.All(Enumerable.Range(0, count).Reverse(), index =>
Microsoft.CodeAnalysis.Workspaces (2)
src\Compilers\Core\Portable\InternalUtilities\EnumerableExtensions.cs (1)
891public static IEnumerable<T> Reverse<T>(this T[] source) => Enumerable.Reverse(source);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\INamedTypeSymbolExtensions.cs (1)
544var baseTypes = containingType.GetBaseTypes().Reverse();
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (1)
src\Compilers\Core\Portable\InternalUtilities\EnumerableExtensions.cs (1)
891public static IEnumerable<T> Reverse<T>(this T[] source) => Enumerable.Reverse(source);
Microsoft.DotNet.AsmDiff (1)
DiffCSharpWriter.cs (1)
233var commentSet = _diffComments.Where((c) => c.DocId == docId).Reverse().ToArray();
Microsoft.DotNet.NuGetRepack.Tests (1)
TestHelpers\DiffUtil.cs (1)
54foreach (var edit in GetEdits(sequenceA, sequenceA.Count, sequenceB, sequenceB.Count).Reverse())
Microsoft.DotNet.PackageTesting (1)
VerifyClosure.cs (1)
304var cycle = depStack.Reverse().ToArray();
Microsoft.DotNet.SharedFramework.Sdk (1)
src\Microsoft.DotNet.PackageTesting\VerifyClosure.cs (1)
304var cycle = depStack.Reverse().ToArray();
Microsoft.Extensions.Configuration (1)
ConfigurationSectionDebugView.cs (1)
73foreach (IConfigurationProvider provider in root.Providers.Reverse())
Microsoft.Extensions.Configuration.Abstractions (1)
ConfigurationRootExtensions.cs (1)
85foreach (IConfigurationProvider provider in root.Providers.Reverse())
Microsoft.Extensions.Hosting (2)
Internal\Host.cs (2)
244IEnumerable<IHostedService> reversedServices = _hostedServices.Reverse(); 245IEnumerable<IHostedLifecycleService>? reversedLifetimeServices = _hostedLifecycleServices?.Reverse();
Microsoft.ML.AutoML (1)
PipelineSuggesters\PipelineSuggester.cs (1)
104sortedHistory = sortedHistory.Reverse();
Microsoft.ML.Data (1)
Commands\ShowSchemaCommand.cs (1)
92foreach (var view in viewChainReversed.Reverse())
Microsoft.ML.Tokenizers (5)
Model\BPETokenizer.cs (1)
566foreach ((int Offset, int Length) split in splits.Reverse())
Model\CodeGenTokenizer.cs (1)
978foreach ((int Offset, int Length) split in splits.Reverse())
Model\EnglishRobertaTokenizer.cs (1)
570foreach ((int Offset, int Length) split in splits.Reverse())
Model\TiktokenTokenizer.cs (1)
685foreach ((int Offset, int Length) split in splits.Reverse())
Model\WordPieceTokenizer.cs (1)
643splits = splits.Reverse();
System.ComponentModel.Composition (1)
Microsoft\Internal\Collections\CollectionServices.cs (1)
204return new Stack<T>(stack.Reverse());
System.Linq.Parallel (1)
System\Linq\Parallel\QueryOperators\Unary\ReverseQueryOperator.cs (1)
87return wrappedChild.Reverse();
xunit.console (1)
CommandLine.cs (1)
201foreach (var arg in args.Reverse<string>())