53 references to Sort
Aspire.Dashboard (1)
Otlp\Model\OtlpResourceView.cs (1)
37Array.Sort(properties, (p1, p2) => string.Compare(p1.Key, p2.Key, StringComparisons.OtlpAttribute));
dotnet-svcutil-lib (3)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\OperationGenerator.cs (1)
986Array.Sort<MemberInfo>(publicMembers,
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\TypeLoader.cs (1)
1546Array.Sort<MessagePartDescription>(partDescriptions, CompareMessagePartDescriptions);
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\FaultFormatter.cs (1)
169Array.Sort<FaultContractInfo>(temp,
ILAssembler (1)
VTableExportPEBuilder.cs (1)
521Array.Sort(sortedExports, (a, b) => string.CompareOrdinal(a.Name, b.Name));
ILCompiler.Compiler (3)
Compiler\DependencyAnalysis\DehydratedDataNode.cs (1)
86Array.Sort(relocSort, (x, y) => y.Value.CompareTo(x.Value));
Compiler\DependencyAnalysis\DictionaryLayoutNode.cs (1)
298Array.Sort(layout, comparer.Compare);
Compiler\ReachabilityInstrumentationProvider.cs (1)
175Array.Sort(useInfos, (a, b) => TypeSystemComparer.Instance.Compare(a.Key, b.Key));
ILCompiler.ReadyToRun (9)
Compiler\DependencyAnalysis\ReadyToRun\ManifestMetadataTableNode.cs (1)
283Array.Sort(moduleArray, (EcmaModule moduleA, EcmaModule moduleB) => moduleA.CompareTo(moduleB));
Compiler\DependencyAnalysis\ReadyToRun\TypeValidationChecker.cs (1)
30Array.Sort(typeLoadValidationErrors, (ValueTuple<TypeDesc, string> left, ValueTuple<TypeDesc, string> right) =>
Compiler\ReadyToRunCodegenCompilation.cs (1)
838Array.Sort(mutableMethodBodyNeedList, comparison);
ObjectWriter\MapFileBuilder.cs (1)
170Array.Sort(relocTypeCounts, (a, b) => b.Value.CompareTo(a.Value));
src\runtime\src\coreclr\tools\Common\JitInterface\CorInfoImpl.cs (5)
448Array.Sort(relocs, (x, y) => (x.Offset - y.Offset)); 485Array.Sort(relocs2, (x, y) => (x.Offset - y.Offset)); 511Array.Sort(inlineeArray, TypeSystemComparer.Instance.Compare); 602Array.Sort(relocs, (x, y) => (x.Offset - y.Offset)); 619Array.Sort(relocs, (x, y) => (x.Offset - y.Offset));
ILCompiler.RyuJit (3)
src\runtime\src\coreclr\tools\Common\JitInterface\CorInfoImpl.cs (3)
448Array.Sort(relocs, (x, y) => (x.Offset - y.Offset)); 602Array.Sort(relocs, (x, y) => (x.Offset - y.Offset)); 619Array.Sort(relocs, (x, y) => (x.Offset - y.Offset));
ILCompiler.TypeSystem (1)
src\runtime\src\coreclr\tools\Common\TypeSystem\IL\Stubs\ILEmitter.cs (1)
830Array.Sort(exceptionRegions, (a, b) =>
Microsoft.AspNetCore.Routing (5)
Matching\AcceptsMatcherPolicy.cs (1)
272Array.Sort(ordered, static (left, right) => GetScore(left.mediaType).CompareTo(GetScore(right.mediaType)));
Matching\HostMatcherPolicy.cs (1)
308Array.Sort(ordered, static (left, right) => GetScore(left.host).CompareTo(GetScore(right.host)));
Matching\ILEmitTrieFactory.cs (3)
111Array.Sort(groups, static (a, b) => a.Key.CompareTo(b.Key)); 336Array.Sort(groups, static (a, b) => unchecked((long)a.Key).CompareTo(unchecked((long)b.Key))); 461Array.Sort(groups, static (a, b) => (a.Key | 0x20).CompareTo(b.Key | 0x20));
Microsoft.Build (2)
BackEnd\Components\Communications\NodeProviderOutOfProcBase.cs (1)
789Array.Sort(processes, (left, right) => left.Id.CompareTo(right.Id));
BackEnd\Components\RequestBuilder\RequestBuilder.cs (1)
1057Array.Sort(resultsArray, (left, right) => left.NodeRequestId.CompareTo(right.NodeRequestId));
Microsoft.CodeAnalysis (1)
CodeGen\SwitchIntegralJumpTableEmitter.cs (1)
70Array.Sort(caseLabels, CompareIntegralSwitchLabels);
Microsoft.Extensions.Compliance.Abstractions (1)
Classification\DataClassificationSet.cs (1)
115Array.Sort(a, (x, y) =>
Microsoft.ML.Data (4)
DataLoadSave\Database\DatabaseLoader.cs (1)
425Array.Sort(order, (x, y) => segs[x].Min.CompareTo(segs[y].Min));
DataLoadSave\Text\TextLoader.cs (1)
641Array.Sort(order, (x, y) => segs[x].Min.CompareTo(segs[y].Min));
Evaluators\RankingEvaluator.cs (1)
1041Array.Sort(permutation, GetCompareItems(queryLabels, queryOutputs));
Transforms\ValueToKeyMappingTransformerImpl.cs (1)
126Array.Sort(perm, comp);
Microsoft.ML.TimeSeries (1)
TrajectoryMatrix.cs (1)
244Array.Sort(ind, (a, b) => sVal[b].CompareTo(sVal[a]));
Microsoft.NET.Sdk.StaticWebAssets.Tasks (7)
Data\StaticWebAssetEndpoint.cs (1)
204Array.Sort(result, (a, b) => (a.Route, b.Route) switch
DefineStaticWebAssetEndpoints.cs (1)
70Array.Sort(result, (x, y) => x.Priority.CompareTo(y.Priority));
GenerateStaticWebAssetsDevelopmentManifest.cs (1)
82Array.Sort(discoveryPatternsByBasePath, (x, y) =>
GenerateStaticWebAssetsManifest.cs (2)
52Array.Sort(assets, (l, r) => string.CompareOrdinal(l.Identity, r.Identity)); 55Array.Sort(endpoints, (l, r) => string.CompareOrdinal(l.Route, r.Route) switch
MergeStaticWebAssets.cs (1)
31Array.Sort(assets, (a, b) => string.CompareOrdinal(a.Identity, b.Identity));
ServiceWorker\GenerateServiceWorkerAssetsManifest.cs (1)
54Array.Sort(entries, (a, b) =>
PresentationFramework (1)
System\Windows\Markup\Primitives\ElementMarkupObject.cs (1)
503Array.Sort(entries, delegate(DictionaryEntry one, DictionaryEntry two)
ReachFramework (2)
AlphaFlattener\SegmentTree.cs (2)
222Array.Sort(_xCoord, (x, y) => x.value.CompareTo(y.value)); 225Array.Sort(_yCoord, (x, y) => x.value.CompareTo(y.value));
System.Collections.Immutable (1)
System\Collections\Immutable\ImmutableList_1.Node.cs (1)
579Array.Sort(array, comparison);
System.Diagnostics.DiagnosticSource (1)
System\Diagnostics\Metrics\AggregatorStore.cs (1)
335Array.Sort(instructions, (LabelInstruction a, LabelInstruction b) => string.CompareOrdinal(a.LabelName, b.LabelName));
System.Private.CoreLib (1)
src\runtime\src\libraries\System.Private.CoreLib\src\System\TimeZoneInfo.cs (1)
794Array.Sort(array, static (x, y) =>
System.Private.DataContractSerialization (1)
System\Runtime\Serialization\CollectionDataContract.cs (1)
1326Array.Sort(parentInterfaceTypes, (x, y) => string.Compare(x.FullName, y.FullName));
System.Reflection.Metadata (2)
System\Reflection\Internal\Utilities\EnumerableExtensions.cs (1)
34Array.Sort(map, (int left, int right) =>
System\Reflection\Internal\Utilities\MemoryBlock.cs (1)
827Array.Sort(ptrTable, (int a, int b) => { return unsortedReferences[a - 1].CompareTo(unsortedReferences[b - 1]); });
System.ServiceModel.Primitives (2)
System\ServiceModel\Description\TypeLoader.cs (1)
1603Array.Sort(partDescriptions, CompareMessagePartDescriptions);
System\ServiceModel\Dispatcher\FaultFormatter.cs (1)
186Array.Sort(temp,