112 references to Reverse
Aspire.Dashboard (1)
Components\Controls\Chart\MetricTable.razor.cs (1)
30private IQueryable<MetricViewBase> _metricsView => _metrics.Values.AsEnumerable().Reverse().ToList().AsQueryable();
GenerateDocumentationAndConfigFiles (2)
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (1)
1006public static IEnumerable<T> Reverse<T>(this T[] source) => Enumerable.Reverse(source);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\INamedTypeSymbolExtensions.cs (1)
547var baseTypes = containingType.GetBaseTypes().Reverse();
illink (2)
installer.tasks (4)
StaticFileRegeneration\TpnDocument.cs (2)
38.Reverse() 40.Reverse())
StaticFileRegeneration\TpnSectionHeader.cs (2)
133.Reverse() 135.Reverse()
Metrics (2)
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (1)
1006public static IEnumerable<T> Reverse<T>(this T[] source) => Enumerable.Reverse(source);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\INamedTypeSymbolExtensions.cs (1)
547var baseTypes = containingType.GetBaseTypes().Reverse();
Metrics.Legacy (2)
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (1)
1006public static IEnumerable<T> Reverse<T>(this T[] source) => Enumerable.Reverse(source);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\INamedTypeSymbolExtensions.cs (1)
547var baseTypes = containingType.GetBaseTypes().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)
125foreach (var options in serviceOptions.Reverse())
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)
218foreach (var filter in Enumerable.Reverse(startupFilters))
Microsoft.AspNetCore.OpenApi (1)
Extensions\JsonNodeSchemaExtensions.cs (1)
230foreach (var constraint in Enumerable.Reverse(constraints))
Microsoft.AspNetCore.Server.Kestrel.Core (2)
Internal\KestrelServerImpl.cs (2)
59_transportFactories = Enumerable.Reverse(transportFactories).ToList(); 60_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.CodeAnalysis (2)
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (1)
1006public static IEnumerable<T> Reverse<T>(this T[] source) => Enumerable.Reverse(source);
TreeDumper.cs (1)
268foreach (var child in currentNode.Children.Where(x => x != null).Reverse())
Microsoft.CodeAnalysis.Analyzers (2)
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (1)
1006public static IEnumerable<T> Reverse<T>(this T[] source) => Enumerable.Reverse(source);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\INamedTypeSymbolExtensions.cs (1)
547var baseTypes = containingType.GetBaseTypes().Reverse();
Microsoft.CodeAnalysis.AnalyzerUtilities (2)
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (1)
1006public static IEnumerable<T> Reverse<T>(this T[] source) => Enumerable.Reverse(source);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\INamedTypeSymbolExtensions.cs (1)
547var baseTypes = containingType.GetBaseTypes().Reverse();
Microsoft.CodeAnalysis.BannedApiAnalyzers (2)
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (1)
1006public static IEnumerable<T> Reverse<T>(this T[] source) => Enumerable.Reverse(source);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\INamedTypeSymbolExtensions.cs (1)
547var baseTypes = containingType.GetBaseTypes().Reverse();
Microsoft.CodeAnalysis.CodeStyle (2)
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (1)
1006public static IEnumerable<T> Reverse<T>(this T[] source) => Enumerable.Reverse(source);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\INamedTypeSymbolExtensions.cs (1)
547var baseTypes = containingType.GetBaseTypes().Reverse();
Microsoft.CodeAnalysis.Collections.Package (1)
Extensions\IEnumerableExtensions.cs (1)
1006public static IEnumerable<T> Reverse<T>(this T[] source) => Enumerable.Reverse(source);
Microsoft.CodeAnalysis.CSharp.CodeStyle (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxNodeExtensions.cs (2)
312.Reverse() 320.Reverse()
Microsoft.CodeAnalysis.CSharp.EditorFeatures (1)
SplitStringLiteral\SplitStringLiteralCommandHandler.cs (1)
89foreach (var span in spans.Reverse())
Microsoft.CodeAnalysis.CSharp.Features (2)
CodeRefactorings\InlineTemporary\InlineTemporaryCodeRefactoringProvider.cs (1)
395.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.CSharp.Workspaces (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxNodeExtensions.cs (2)
312.Reverse() 320.Reverse()
Microsoft.CodeAnalysis.EditorFeatures (2)
InlineRename\UndoManagerServiceFactory.cs (1)
114foreach (var state in this.RedoStack.Reverse())
Shared\Utilities\HACK_TextUndoTransactionThatRollsBackProperly.cs (1)
84foreach (var primitive in _innerTransaction.UndoPrimitives.Reverse())
Microsoft.CodeAnalysis.Extensions.Package (2)
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (1)
1006public static IEnumerable<T> Reverse<T>(this T[] source) => Enumerable.Reverse(source);
Symbols\INamedTypeSymbolExtensions.cs (1)
547var baseTypes = containingType.GetBaseTypes().Reverse();
Microsoft.CodeAnalysis.Features (9)
CodeFixes\Suppression\AbstractSuppressionCodeFixProvider.RemoveSuppressionCodeAction_Pragma.cs (1)
130filteredTriviaList = filteredTriviaList.Reverse();
CodeRefactorings\MoveType\AbstractMoveTypeService.cs (1)
259.Reverse();
ExtractMethod\MethodExtractor.TriviaResult.cs (1)
172return stack.Reverse();
GenerateEqualsAndGetHashCodeFromMembers\GenerateEqualsAndGetHashCodeFromMembersCodeRefactoringProvider.cs (1)
101.Reverse()
InvertIf\AbstractInvertIfCodeRefactoringProvider.cs (4)
635return GetTriviaAfterSpace(syntaxTrivias.Reverse()).Reverse(); 640return GetLeadingSpace(syntaxTrivias.Reverse()).Reverse();
ValueTracking\ValueTracker.OperationCollector.cs (1)
197.Reverse(); // ProgressCollector uses a Stack, and we want to maintain the order by arguments, so reverse
Microsoft.CodeAnalysis.InteractiveHost (1)
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (1)
1006public static IEnumerable<T> Reverse<T>(this T[] source) => Enumerable.Reverse(source);
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (2)
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (1)
1006public static IEnumerable<T> Reverse<T>(this T[] source) => Enumerable.Reverse(source);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\INamedTypeSymbolExtensions.cs (1)
547var baseTypes = containingType.GetBaseTypes().Reverse();
Microsoft.CodeAnalysis.PublicApiAnalyzers (2)
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (1)
1006public static IEnumerable<T> Reverse<T>(this T[] source) => Enumerable.Reverse(source);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\INamedTypeSymbolExtensions.cs (1)
547var baseTypes = containingType.GetBaseTypes().Reverse();
Microsoft.CodeAnalysis.ResxSourceGenerator (2)
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (1)
1006public static IEnumerable<T> Reverse<T>(this T[] source) => Enumerable.Reverse(source);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\INamedTypeSymbolExtensions.cs (1)
547var baseTypes = containingType.GetBaseTypes().Reverse();
Microsoft.CodeAnalysis.Test.Utilities (1)
Assert\DiffUtil.cs (1)
57foreach (var edit in GetEdits(sequenceA, sequenceA.Count, sequenceB, sequenceB.Count).Reverse())
Microsoft.CodeAnalysis.Threading.Package (1)
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (1)
1006public static IEnumerable<T> Reverse<T>(this T[] source) => Enumerable.Reverse(source);
Microsoft.CodeAnalysis.UnitTests (5)
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 (1)
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 (3)
Rename\ConflictEngine\RenamedSpansTracker.cs (1)
71foreach (var c in documentComplexifiedSpans.Reverse())
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (1)
1006public static IEnumerable<T> Reverse<T>(this T[] source) => Enumerable.Reverse(source);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\INamedTypeSymbolExtensions.cs (1)
547var baseTypes = containingType.GetBaseTypes().Reverse();
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (1)
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (1)
1006public static IEnumerable<T> Reverse<T>(this T[] source) => Enumerable.Reverse(source);
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)
243IEnumerable<IHostedService> reversedServices = _hostedServices.Reverse(); 244IEnumerable<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)
715foreach ((int Offset, int Length) split in splits.Reverse())
Model\CodeGenTokenizer.cs (1)
981foreach ((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();
Microsoft.VisualStudio.LanguageServices (1)
InlineRename\InlineRenameUndoManager.cs (1)
188foreach (var state in this.RedoStack.Reverse())
Roslyn.Diagnostics.Analyzers (2)
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (1)
1006public static IEnumerable<T> Reverse<T>(this T[] source) => Enumerable.Reverse(source);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\INamedTypeSymbolExtensions.cs (1)
547var baseTypes = containingType.GetBaseTypes().Reverse();
Roslyn.Diagnostics.CSharp.Analyzers (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxNodeExtensions.cs (2)
312.Reverse() 320.Reverse()
Roslyn.VisualStudio.Next.UnitTests (2)
Services\AssetProviderTests.cs (2)
172var textChecksumsReversed = new ChecksumCollection([.. textChecksums.Children.Reverse()]); 183Assert.True(documents.Select(d => d.ContentChecksum).SequenceEqual(documentsReversed.Reverse().Select(d => d.ContentChecksum)));
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();
Test.Utilities (2)
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (1)
1006public static IEnumerable<T> Reverse<T>(this T[] source) => Enumerable.Reverse(source);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\INamedTypeSymbolExtensions.cs (1)
547var baseTypes = containingType.GetBaseTypes().Reverse();
Text.Analyzers (2)
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (1)
1006public static IEnumerable<T> Reverse<T>(this T[] source) => Enumerable.Reverse(source);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\INamedTypeSymbolExtensions.cs (1)
547var baseTypes = containingType.GetBaseTypes().Reverse();
xunit.console (1)
CommandLine.cs (1)
201foreach (var arg in args.Reverse<string>())