31 references to Order
Aspire.Dashboard.Tests (1)
TelemetryRepositoryTests\MetricsTests.cs (1)
622Assert.Collection(knownValues.Value.Order(),
Microsoft.CodeAnalysis (1)
CommandLine\AnalyzerConfigSet.cs (1)
541foreach (var sectionName in _values.Keys.Order())
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (3)
CommandLineTests.cs (3)
8859AssertEx.Equal(new[] { "Lib.cs", "Lib.dll", "Lib.pdb" }, Directory.GetFiles(dir.Path).Select(p => Path.GetFileName(p)).Order()); 8916AssertEx.Equal(new[] { "Lib.cs", "Lib.dll", "Lib.pdb" }, Directory.GetFiles(dir.Path).Select(p => Path.GetFileName(p)).Order()); 8957AssertEx.Equal(new[] { "Lib.cs", "Lib.dll" }, Directory.GetFiles(dir.Path).Select(p => Path.GetFileName(p)).Order());
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (4)
Emit\EmitMetadataTests.cs (4)
3438privateImplDetails.GetMembers().OfType<FieldSymbol>().Select(f => f.ToTestDisplayString()).Order().Join("\n")); 3478privateImplDetails.GetMembers().OfType<FieldSymbol>().Select(f => f.ToTestDisplayString()).Order().Join("\n")); 3523.OfType<FieldSymbol>().Select(f => f.ToTestDisplayString()).Order().Join("\n")); 3559.OfType<FieldSymbol>().Select(f => f.ToTestDisplayString()).Order().Join("\n"));
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (1)
Semantics\ObjectAndCollectionInitializerTests.cs (1)
3532symbolInfo.CandidateSymbols.Select(s => s.ToTestDisplayString()).Order().ToArray());
Microsoft.CodeAnalysis.Features (3)
ExtractMethod\MethodExtractor.Analyzer.cs (1)
149var allVariableInfos = symbolMap.Values.Order().ToImmutableArray();
FullyQualify\AbstractFullyQualifyService.cs (1)
311.Order();
SpellCheck\AbstractSpellCheckCodeFixProvider.cs (1)
174.SelectMany(kvp => kvp.Value.Order())
Microsoft.CodeAnalysis.Features.Test.Utilities (2)
EditAndContinue\EditAndContinueWorkspaceTestBase.cs (2)
242=> actual.SelectMany(pd => pd.Diagnostics.Select(d => $"{pd.ProjectId.DebugName}: {InspectDiagnostic(d)}")).Order(); 245=> diagnostics.SelectMany(pd => pd.diagnostics.Select(d => $"{pd.project.DebugName}: {InspectDiagnostic(d)}")).Order();
Microsoft.CodeAnalysis.Features.UnitTests (1)
EditAndContinue\EmitSolutionUpdateResultsTests.cs (1)
62.Select(kvp => $"{kvp.Key.DebugName}: [{string.Join(",", kvp.Value.Select(id => id.DebugName).Order())}]");
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Handler\SemanticTokens\SemanticTokensSchema.cs (1)
113.Order()
Microsoft.CodeAnalysis.Test.Utilities (3)
Diagnostics\CommonDiagnosticAnalyzers.cs (3)
2032var symbolsStartedStr = string.Join(", ", SymbolsStarted.Select(s => s.ToDisplayString().Order())); 2033var symbolsEndedStr = string.Join(", ", symbolsEnded.Select(s => s.ToDisplayString().Order())); 2417public string GetSortedSymbolCallbacksString() => string.Join(", ", _symbolCallbacks.Select(s => s.Name).Order());
Microsoft.CodeAnalysis.Workspaces (2)
FindSymbols\SymbolTree\SymbolTreeInfo.cs (1)
443var orderedKeys1 = _inheritanceMap.Keys.Order().ToList();
Serialization\SerializerService.cs (1)
182foreach (var key in options.Keys.Order())
RunTests (1)
AssemblyScheduler.cs (1)
223.Order()
System.Linq.Queryable (8)
System\Linq\Queryable.cs (8)
685/// calling <see cref="Enumerable.Order{T}(IEnumerable{T})"/> itself as a constructed generic method. 692/// that represents calling <see cref="Enumerable.Order{T}(IEnumerable{T})"/> 722/// calling <see cref="Enumerable.Order{T}(IEnumerable{T})"/> itself as a constructed generic method. 729/// that represents calling <see cref="Enumerable.Order{T}(IEnumerable{T})"/> 784/// calling <see cref="Enumerable.Order{T}(IEnumerable{T})"/> itself as a constructed generic method. 791/// that represents calling <see cref="Enumerable.Order{T}(IEnumerable{T})"/> 821/// calling <see cref="Enumerable.Order{T}(IEnumerable{T})"/> itself as a constructed generic method. 828/// that represents calling <see cref="Enumerable.Order{T}(IEnumerable{T})"/>