89 instantiations of SortedDictionary
Aspire.Dashboard (1)
Components\Controls\Chart\MetricTable.razor.cs (1)
154var percentiles = new SortedDictionary<int, (string Name, double? Value, ValueDirectionChange Direction)>();
dotnet-svcutil-lib (4)
Shared\MSBuildProj.cs (1)
58public SortedDictionary<string, string> _resolvedProperties = new SortedDictionary<string, string>();
Shared\Options\ApplicationOptions.cs (1)
52this.PropertyBag = new SortedDictionary<string, OptionBase>();
Shared\TargetFrameworkHelper.cs (2)
16public static ReadOnlyDictionary<Version, Version> NetStandardToNetCoreVersionMap { get; } = new ReadOnlyDictionary<Version, Version>(new SortedDictionary<Version, Version> 27internal static SortedDictionary<Version, List<ProjectDependency>> NetCoreVersionReferenceTable = new SortedDictionary<Version, List<ProjectDependency>>
Microsoft.AspNetCore.Authentication.Twitter (2)
TwitterHandler.cs (2)
185var authorizationParts = new SortedDictionary<string, string>(extraOAuthPairs ?? new Dictionary<string, string>()) 199var signatureParts = new SortedDictionary<string, string>(authorizationParts);
Microsoft.AspNetCore.Components.Endpoints.Tests (1)
Binding\FormDataMapperTests.cs (1)
976var expected = new SortedDictionary<int, int>() { [0] = 10, [1] = 11, [2] = 12, [3] = 13, [4] = 14, [5] = 15, [6] = 16, [7] = 17, [8] = 18, [9] = 19, };
Microsoft.AspNetCore.Identity.EntityFrameworkCore.Test (1)
src\Identity\test\Shared\PriorityOrderer.cs (1)
46var sortedMethods = new SortedDictionary<int, List<XunitTestCase>>();
Microsoft.AspNetCore.Identity.InMemory.Test (1)
src\Identity\test\Shared\PriorityOrderer.cs (1)
46var sortedMethods = new SortedDictionary<int, List<XunitTestCase>>();
Microsoft.AspNetCore.Identity.Test (1)
src\Identity\test\Shared\PriorityOrderer.cs (1)
46var sortedMethods = new SortedDictionary<int, List<XunitTestCase>>();
Microsoft.AspNetCore.Mvc.Core.Test (1)
ModelBinding\Binders\DictionaryModelBinderTest.cs (1)
385var expectedDictionary = new SortedDictionary<string, string>(dictionary);
Microsoft.AspNetCore.Mvc.TagHelpers.Test (2)
FormActionTagHelperTest.cs (2)
179new SortedDictionary<string, string>(StringComparer.Ordinal) 184new SortedDictionary<string, object>(StringComparer.Ordinal)
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (7)
DefaultValidationHtmlAttributeProviderTest.cs (7)
29var attributes = new SortedDictionary<string, string>(StringComparer.Ordinal); 64var attributes = new SortedDictionary<string, string>(StringComparer.Ordinal); 100var attributes = new SortedDictionary<string, string>(StringComparer.Ordinal); 123var attributes = new SortedDictionary<string, string>(StringComparer.Ordinal); 164var attributes = new SortedDictionary<string, string>(StringComparer.Ordinal); 198var attributes = new SortedDictionary<string, string>(StringComparer.Ordinal); 236var attributes = new SortedDictionary<string, string>(StringComparer.Ordinal);
Microsoft.Build (4)
BackEnd\Components\RequestBuilder\TargetUpToDateChecker.cs (2)
1264(s_sortInputsOutputs ? (IDictionary<string, object>)new SortedDictionary<string, object>(StringComparer.OrdinalIgnoreCase) : (IDictionary<string, object>)new Dictionary<string, object>(StringComparer.OrdinalIgnoreCase)); 1270(s_sortInputsOutputs ? (IDictionary<string, object>)new SortedDictionary<string, object>(StringComparer.OrdinalIgnoreCase) : (IDictionary<string, object>)new Dictionary<string, object>(StringComparer.OrdinalIgnoreCase));
Definition\Toolset.cs (1)
488SortedDictionary<Version, string> subToolsetsWithVersion = new SortedDictionary<Version, string>();
VersionUtilities.cs (1)
33SortedDictionary<Version, List<string>> versionValues = new SortedDictionary<Version, List<string>>(ReverseVersionGenericComparer.Comparer);
Microsoft.Build.CommandLine.UnitTests (1)
VersionUtilities.cs (1)
33SortedDictionary<Version, List<string>> versionValues = new SortedDictionary<Version, List<string>>(ReverseVersionGenericComparer.Comparer);
Microsoft.Build.Tasks.Core (3)
AssemblyFoldersEx.cs (1)
365SortedDictionary<Version, List<string>> targetFrameworkVersionToRegistryVersions = new SortedDictionary<Version, List<string>>(ReverseVersionGenericComparer.Comparer);
ResolveSDKReference.cs (1)
1343var architectureLocations = new SortedDictionary<string, string>(StringComparer.InvariantCultureIgnoreCase);
VersionUtilities.cs (1)
33SortedDictionary<Version, List<string>> versionValues = new SortedDictionary<Version, List<string>>(ReverseVersionGenericComparer.Comparer);
Microsoft.Build.Utilities.Core (2)
AssemblyFoldersEx.cs (1)
365SortedDictionary<Version, List<string>> targetFrameworkVersionToRegistryVersions = new SortedDictionary<Version, List<string>>(ReverseVersionGenericComparer.Comparer);
VersionUtilities.cs (1)
33SortedDictionary<Version, List<string>> versionValues = new SortedDictionary<Version, List<string>>(ReverseVersionGenericComparer.Comparer);
Microsoft.CodeAnalysis.CSharp (1)
FlowAnalysis\NullableWalker.SnapshotManager.cs (1)
160private readonly SortedDictionary<int, Snapshot> _incrementalSnapshots = new SortedDictionary<int, Snapshot>();
Microsoft.CodeAnalysis.CSharp.Scripting.UnitTests (1)
ObjectFormatterTests.cs (1)
650var obj = new SortedDictionary<int, int>();
Microsoft.CodeAnalysis.Features (2)
CodeFixes\Configuration\ConfigureSeverity\ConfigureSeverityLevelCodeFixProvider.cs (1)
56var analyzerDiagnosticsByCategory = new SortedDictionary<string, ArrayBuilder<Diagnostic>>();
ExtractMethod\MethodExtractor.Analyzer.cs (1)
188var sortedMap = new SortedDictionary<int, ITypeParameterSymbol>();
Microsoft.CodeAnalysis.LanguageServer.Protocol (4)
Features\CodeFixes\CodeFixService.cs (4)
124var spanToErrorDiagnostics = new SortedDictionary<TextSpan, List<DiagnosticData>>(); 125var spanToOtherDiagnostics = new SortedDictionary<TextSpan, List<DiagnosticData>>(); 263var spanToDiagnostics = new SortedDictionary<TextSpan, List<DiagnosticData>>(); 304var spanToDiagnostics = new SortedDictionary<TextSpan, List<DiagnosticData>>
Microsoft.Data.Analysis (2)
DataFrameColumns\StringDataFrameColumn.cs (1)
240SortedDictionary<string, List<ValueTuple<int, int>>> heapOfValueAndListOfTupleOfSortAndBufferIndex = new SortedDictionary<string, List<ValueTuple<int, int>>>(comparer);
PrimitiveDataFrameColumn.Sort.cs (1)
81SortedDictionary<T, List<ValueTuple<int, int>>> heapOfValueAndListOfTupleOfSortAndBufferIndex = new SortedDictionary<T, List<ValueTuple<int, int>>>(comparer);
Microsoft.DotNet.Build.Tasks.Packaging (5)
PackageIndex.cs (5)
24public SortedDictionary<string, PackageInfo> Packages { get; set; } = new SortedDictionary<string, PackageInfo>(); 26public SortedDictionary<string, string> ModulesToPackages { get; set; } = new SortedDictionary<string, string>(); 388public SortedDictionary<Version, Version> AssemblyVersionInPackageVersion { get; set; } = new SortedDictionary<Version, Version>(); 490private SortedDictionary<string, SortedDictionary<Version, Version>> inboxVersions = new SortedDictionary<string, SortedDictionary<Version, Version>>(); 503inboxVersions[frameworkKey] = mappings = new SortedDictionary<Version, Version>();
Microsoft.DotNet.VersionTools (1)
BuildManifest\VersionIdentifier.cs (1)
26new SortedDictionary<string, string>
Microsoft.Extensions.ApiDescription.Client.Tests (28)
GetCurrentOpenApiReferenceTest.cs (2)
26var expectedMetadata = new SortedDictionary<string, string>(StringComparer.Ordinal) 48var orderedMetadata = new SortedDictionary<string, string>(StringComparer.Ordinal);
GetOpenApiReferenceMetadataTest.cs (18)
30var expectedMetadata = new SortedDictionary<string, string>(StringComparer.Ordinal) 57var orderedMetadata = new SortedDictionary<string, string>(StringComparer.Ordinal); 88var expectedMetadata = new SortedDictionary<string, string>(StringComparer.Ordinal) 115var orderedMetadata = new SortedDictionary<string, string>(StringComparer.Ordinal); 146var expectedMetadata = new SortedDictionary<string, string>(StringComparer.Ordinal) 173var orderedMetadata = new SortedDictionary<string, string>(StringComparer.Ordinal); 204var expectedMetadata = new SortedDictionary<string, string>(StringComparer.Ordinal) 231var orderedMetadata = new SortedDictionary<string, string>(StringComparer.Ordinal); 354var expectedMetadata = new SortedDictionary<string, string>(StringComparer.Ordinal) 381var orderedMetadata = new SortedDictionary<string, string>(StringComparer.Ordinal); 417var expectedMetadata = new SortedDictionary<string, string>(StringComparer.Ordinal) 444var orderedMetadata = new SortedDictionary<string, string>(StringComparer.Ordinal); 484var expectedMetadata1 = new SortedDictionary<string, string>(StringComparer.Ordinal) 499var expectedMetadata2 = new SortedDictionary<string, string>(StringComparer.Ordinal) 514var expectedMetadata3 = new SortedDictionary<string, string>(StringComparer.Ordinal) 542var orderedMetadata = new SortedDictionary<string, string>(StringComparer.Ordinal); 554var orderedMetadata = new SortedDictionary<string, string>(StringComparer.Ordinal); 566var orderedMetadata = new SortedDictionary<string, string>(StringComparer.Ordinal);
MetadataSerializerTest.cs (8)
111var expectedMetadata = new SortedDictionary<string, string>(StringComparer.Ordinal) 130var orderedMetadata = new SortedDictionary<string, string>(StringComparer.Ordinal); 176var metadata = new SortedDictionary<string, string>(StringComparer.Ordinal) 207var metadata = new SortedDictionary<string, string>(StringComparer.Ordinal) { { "Value", escapedValue } }; 222var metadata = new SortedDictionary<string, string>(StringComparer.Ordinal) { { "Value", "a value" } }; 238var metadata = new SortedDictionary<string, string>(StringComparer.Ordinal) 275var metadata = new SortedDictionary<string, string>(StringComparer.Ordinal) { { "Value", value } }; 298var metadata = new SortedDictionary<string, string>(StringComparer.Ordinal) { { "Value", "a value" } };
Microsoft.ML.LightGbm (1)
LightGbmTrainerBase.cs (1)
894var sortedIVPair = new SortedDictionary<int, float>(ivPair);
Microsoft.ML.TimeSeries (2)
RootCauseAnalyzer.cs (2)
250SortedDictionary<BestDimension, double> entropyGainMap = new SortedDictionary<BestDimension, double>(); 292SortedDictionary<BestDimension, double> entropyMap = new SortedDictionary<BestDimension, double>();
Microsoft.ML.Tokenizers (2)
Model\BPETokenizer.cs (1)
249VocabReverse = new();
Utils\TokenizerExtensions.cs (1)
51SortedDictionary<TValue, TKey> dictionary = new SortedDictionary<TValue, TKey>();
RunTests (1)
AssemblyScheduler.cs (1)
196var currentFilters = new SortedDictionary<AssemblyInfo, List<TestMethodInfo>>();
System.Collections.Immutable (2)
System\Collections\Immutable\ImmutableSortedDictionary_2.cs (2)
847dictionary = new SortedDictionary<TKey, TValue>(itemsAsDictionary, this.KeyComparer); 851dictionary = new SortedDictionary<TKey, TValue>(this.KeyComparer);
System.Formats.Tar (1)
System\Formats\Tar\TarHelpers.Unix.cs (1)
53=> new SortedDictionary<string, UnixFileMode>(s_reverseStringComparer);
System.IO.Packaging (1)
System\IO\Packaging\ZipPackage.cs (1)
1063contentTypeStreamPieces ??= new SortedDictionary<ZipPackagePartPiece, ZipArchiveEntry>();
System.Resources.Extensions (2)
src\libraries\Common\src\System\Resources\ResourceWriter.cs (2)
57_resourceList = new SortedDictionary<string, object?>(FastResourceComparer.Default); 79_resourceList = new SortedDictionary<string, object?>(FastResourceComparer.Default);
System.Resources.Writer (2)
src\libraries\Common\src\System\Resources\ResourceWriter.cs (2)
57_resourceList = new SortedDictionary<string, object?>(FastResourceComparer.Default); 79_resourceList = new SortedDictionary<string, object?>(FastResourceComparer.Default);
146 references to SortedDictionary
Aspire.Dashboard (1)
Components\Controls\Chart\MetricTable.razor.cs (1)
154var percentiles = new SortedDictionary<int, (string Name, double? Value, ValueDirectionChange Direction)>();
dotnet-svcutil-lib (3)
Shared\MSBuildProj.cs (1)
58public SortedDictionary<string, string> _resolvedProperties = new SortedDictionary<string, string>();
Shared\Options\ApplicationOptions.cs (1)
22private SortedDictionary<string, OptionBase> PropertyBag { get; set; }
Shared\TargetFrameworkHelper.cs (1)
27internal static SortedDictionary<Version, List<ProjectDependency>> NetCoreVersionReferenceTable = new SortedDictionary<Version, List<ProjectDependency>>
Microsoft.Analyzers.Extra.Tests (1)
CallAnalysis\ArraysTests.cs (1)
121Assembly.GetAssembly(typeof(SortedDictionary<,>))!,
Microsoft.AspNetCore.Authentication.Twitter (2)
TwitterHandler.cs (2)
185var authorizationParts = new SortedDictionary<string, string>(extraOAuthPairs ?? new Dictionary<string, string>()) 199var signatureParts = new SortedDictionary<string, string>(authorizationParts);
Microsoft.AspNetCore.Components.Endpoints (3)
FormMapping\Factories\Dictionary\TypedDictionaryConverterFactory.cs (3)
54var _ when type == (typeof(SortedDictionary<TKey, TValue>)) => true, 136var _ when type == (typeof(SortedDictionary<TKey, TValue>)) => 137ConcreteTypeDictionaryConverterFactory<SortedDictionary<TKey, TValue>, TKey, TValue>.Instance.CreateConverter(type, options),
Microsoft.AspNetCore.Components.Endpoints.Tests (3)
Binding\FormDataMapperTests.cs (3)
976var expected = new SortedDictionary<int, int>() { [0] = 10, [1] = 11, [2] = 12, [3] = 13, [4] = 14, [5] = 15, [6] = 16, [7] = 17, [8] = 18, [9] = 19, }; 977CanDeserialize_Dictionary<SortedDictionary<int, int>, SortedDictionary<int, int>, int, int>(expected);
Microsoft.AspNetCore.Http.Extensions (3)
src\Components\Endpoints\src\FormMapping\Factories\Dictionary\TypedDictionaryConverterFactory.cs (3)
54var _ when type == (typeof(SortedDictionary<TKey, TValue>)) => true, 136var _ when type == (typeof(SortedDictionary<TKey, TValue>)) => 137ConcreteTypeDictionaryConverterFactory<SortedDictionary<TKey, TValue>, TKey, TValue>.Instance.CreateConverter(type, options),
Microsoft.AspNetCore.Identity.EntityFrameworkCore.Test (1)
src\Identity\test\Shared\PriorityOrderer.cs (1)
46var sortedMethods = new SortedDictionary<int, List<XunitTestCase>>();
Microsoft.AspNetCore.Identity.InMemory.Test (1)
src\Identity\test\Shared\PriorityOrderer.cs (1)
46var sortedMethods = new SortedDictionary<int, List<XunitTestCase>>();
Microsoft.AspNetCore.Identity.Test (1)
src\Identity\test\Shared\PriorityOrderer.cs (1)
46var sortedMethods = new SortedDictionary<int, List<XunitTestCase>>();
Microsoft.AspNetCore.Mvc.Core.Test (5)
ModelBinding\Binders\DictionaryModelBinderTest.cs (5)
385var expectedDictionary = new SortedDictionary<string, string>(dictionary); 408var resultDictionary = Assert.IsAssignableFrom<SortedDictionary<string, string>>(bindingContext.Result.Model); 596{ typeof(SortedDictionary<int, int>), true }, 698public SortedDictionary<string, string> CustomDictionaryProperty { get; set; }
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (7)
DefaultValidationHtmlAttributeProviderTest.cs (7)
29var attributes = new SortedDictionary<string, string>(StringComparer.Ordinal); 64var attributes = new SortedDictionary<string, string>(StringComparer.Ordinal); 100var attributes = new SortedDictionary<string, string>(StringComparer.Ordinal); 123var attributes = new SortedDictionary<string, string>(StringComparer.Ordinal); 164var attributes = new SortedDictionary<string, string>(StringComparer.Ordinal); 198var attributes = new SortedDictionary<string, string>(StringComparer.Ordinal); 236var attributes = new SortedDictionary<string, string>(StringComparer.Ordinal);
Microsoft.AspNetCore.Razor.Runtime.Test (1)
Runtime\TagHelpers\TestTagHelpers\TagHelperDescriptorFactoryTagHelpers.cs (1)
355public SortedDictionary<string, int> SortedDictionaryProperty { get; set; }
Microsoft.Build (3)
Definition\Toolset.cs (1)
488SortedDictionary<Version, string> subToolsetsWithVersion = new SortedDictionary<Version, string>();
VersionUtilities.cs (2)
31internal static SortedDictionary<Version, List<string>> GatherVersionStrings(Version targetPlatformVersion, IEnumerable versions) 33SortedDictionary<Version, List<string>> versionValues = new SortedDictionary<Version, List<string>>(ReverseVersionGenericComparer.Comparer);
Microsoft.Build.CommandLine.UnitTests (2)
VersionUtilities.cs (2)
31internal static SortedDictionary<Version, List<string>> GatherVersionStrings(Version targetPlatformVersion, IEnumerable versions) 33SortedDictionary<Version, List<string>> versionValues = new SortedDictionary<Version, List<string>>(ReverseVersionGenericComparer.Comparer);
Microsoft.Build.Tasks.Core (5)
AssemblyFoldersEx.cs (2)
365SortedDictionary<Version, List<string>> targetFrameworkVersionToRegistryVersions = new SortedDictionary<Version, List<string>>(ReverseVersionGenericComparer.Comparer); 456private static void AddCandidateVersion(SortedDictionary<Version, List<string>> targetFrameworkVersionToRegistryVersions, string version, Version candidateVersion)
ResolveSDKReference.cs (1)
1343var architectureLocations = new SortedDictionary<string, string>(StringComparer.InvariantCultureIgnoreCase);
VersionUtilities.cs (2)
31internal static SortedDictionary<Version, List<string>> GatherVersionStrings(Version targetPlatformVersion, IEnumerable versions) 33SortedDictionary<Version, List<string>> versionValues = new SortedDictionary<Version, List<string>>(ReverseVersionGenericComparer.Comparer);
Microsoft.Build.Utilities.Core (6)
AssemblyFoldersEx.cs (2)
365SortedDictionary<Version, List<string>> targetFrameworkVersionToRegistryVersions = new SortedDictionary<Version, List<string>>(ReverseVersionGenericComparer.Comparer); 456private static void AddCandidateVersion(SortedDictionary<Version, List<string>> targetFrameworkVersionToRegistryVersions, string version, Version candidateVersion)
ToolLocationHelper.cs (2)
2600SortedDictionary<Version, List<string>> versionsInRoot = VersionUtilities.GatherVersionStrings(null, rootPathWithIdentifier.GetDirectories().Select<DirectoryInfo, string>(directory => directory.Name)); 2709SortedDictionary<Version, List<string>> sortedVersions = VersionUtilities.GatherVersionStrings(null, versions);
VersionUtilities.cs (2)
31internal static SortedDictionary<Version, List<string>> GatherVersionStrings(Version targetPlatformVersion, IEnumerable versions) 33SortedDictionary<Version, List<string>> versionValues = new SortedDictionary<Version, List<string>>(ReverseVersionGenericComparer.Comparer);
Microsoft.CodeAnalysis.CSharp (1)
FlowAnalysis\NullableWalker.SnapshotManager.cs (1)
160private readonly SortedDictionary<int, Snapshot> _incrementalSnapshots = new SortedDictionary<int, Snapshot>();
Microsoft.CodeAnalysis.CSharp.Scripting.UnitTests (1)
ObjectFormatterTests.cs (1)
650var obj = new SortedDictionary<int, int>();
Microsoft.CodeAnalysis.Features (6)
CodeFixes\Configuration\ConfigureSeverity\ConfigureSeverityLevelCodeFixProvider.cs (1)
56var analyzerDiagnosticsByCategory = new SortedDictionary<string, ArrayBuilder<Diagnostic>>();
ExtractMethod\MethodExtractor.Analyzer.cs (5)
188var sortedMap = new SortedDictionary<int, ITypeParameterSymbol>(); 766private static void AppendMethodTypeParameterFromConstraint(SortedDictionary<int, ITypeParameterSymbol> sortedMap) 812SortedDictionary<int, ITypeParameterSymbol> sortedMap) 824private static void AppendTypeParametersInConstraintsUsedByConstructedTypeWithItsOwnConstraints(SortedDictionary<int, ITypeParameterSymbol> sortedMap) 902private static IEnumerable<ITypeParameterSymbol> GetMethodTypeParametersInDeclaration(ITypeSymbol returnType, SortedDictionary<int, ITypeParameterSymbol> sortedMap)
Microsoft.CodeAnalysis.LanguageServer.Protocol (11)
Features\CodeFixes\CodeFixService.cs (11)
119var spanToDiagnostics = ConvertToMap(text, allDiagnostics); 124var spanToErrorDiagnostics = new SortedDictionary<TextSpan, List<DiagnosticData>>(); 125var spanToOtherDiagnostics = new SortedDictionary<TextSpan, List<DiagnosticData>>(); 131var preferredMap = diagnostic.Severity == DiagnosticSeverity.Error 151SortedDictionary<TextSpan, List<DiagnosticData>> spanToDiagnostics, 210var spanToDiagnostics = ConvertToMap(text, diagnostics); 229var spanToDiagnostics = ConvertToMap(text, diagnostics); 256private static SortedDictionary<TextSpan, List<DiagnosticData>> ConvertToMap( 263var spanToDiagnostics = new SortedDictionary<TextSpan, List<DiagnosticData>>(); 304var spanToDiagnostics = new SortedDictionary<TextSpan, List<DiagnosticData>> 437SortedDictionary<TextSpan, List<DiagnosticData>> spanToDiagnostics,
Microsoft.Data.Analysis (3)
DataFrameColumn.cs (1)
469protected static void PopulateColumnSortIndicesWithHeap<T>(SortedDictionary<T, List<ValueTuple<int, int>>> heapOfValueAndListOfTupleOfSortAndBufferIndex,
DataFrameColumns\StringDataFrameColumn.cs (1)
240SortedDictionary<string, List<ValueTuple<int, int>>> heapOfValueAndListOfTupleOfSortAndBufferIndex = new SortedDictionary<string, List<ValueTuple<int, int>>>(comparer);
PrimitiveDataFrameColumn.Sort.cs (1)
81SortedDictionary<T, List<ValueTuple<int, int>>> heapOfValueAndListOfTupleOfSortAndBufferIndex = new SortedDictionary<T, List<ValueTuple<int, int>>>(comparer);
Microsoft.DotNet.Build.Tasks.Packaging (9)
PackageIndex.cs (9)
24public SortedDictionary<string, PackageInfo> Packages { get; set; } = new SortedDictionary<string, PackageInfo>(); 26public SortedDictionary<string, string> ModulesToPackages { get; set; } = new SortedDictionary<string, string>(); 388public SortedDictionary<Version, Version> AssemblyVersionInPackageVersion { get; set; } = new SortedDictionary<Version, Version>(); 490private SortedDictionary<string, SortedDictionary<Version, Version>> inboxVersions = new SortedDictionary<string, SortedDictionary<Version, Version>>(); 500SortedDictionary<Version, Version> mappings; 587SortedDictionary<Version, Version> mappings; 602SortedDictionary<Version, Version> mappings;
Microsoft.DotNet.VersionTools (1)
BuildManifest\VersionIdentifier.cs (1)
25private static readonly SortedDictionary<string, string> _sequencesToReplace =
Microsoft.Extensions.ApiDescription.Client.Tests (28)
GetCurrentOpenApiReferenceTest.cs (2)
26var expectedMetadata = new SortedDictionary<string, string>(StringComparer.Ordinal) 48var orderedMetadata = new SortedDictionary<string, string>(StringComparer.Ordinal);
GetOpenApiReferenceMetadataTest.cs (18)
30var expectedMetadata = new SortedDictionary<string, string>(StringComparer.Ordinal) 57var orderedMetadata = new SortedDictionary<string, string>(StringComparer.Ordinal); 88var expectedMetadata = new SortedDictionary<string, string>(StringComparer.Ordinal) 115var orderedMetadata = new SortedDictionary<string, string>(StringComparer.Ordinal); 146var expectedMetadata = new SortedDictionary<string, string>(StringComparer.Ordinal) 173var orderedMetadata = new SortedDictionary<string, string>(StringComparer.Ordinal); 204var expectedMetadata = new SortedDictionary<string, string>(StringComparer.Ordinal) 231var orderedMetadata = new SortedDictionary<string, string>(StringComparer.Ordinal); 354var expectedMetadata = new SortedDictionary<string, string>(StringComparer.Ordinal) 381var orderedMetadata = new SortedDictionary<string, string>(StringComparer.Ordinal); 417var expectedMetadata = new SortedDictionary<string, string>(StringComparer.Ordinal) 444var orderedMetadata = new SortedDictionary<string, string>(StringComparer.Ordinal); 484var expectedMetadata1 = new SortedDictionary<string, string>(StringComparer.Ordinal) 499var expectedMetadata2 = new SortedDictionary<string, string>(StringComparer.Ordinal) 514var expectedMetadata3 = new SortedDictionary<string, string>(StringComparer.Ordinal) 542var orderedMetadata = new SortedDictionary<string, string>(StringComparer.Ordinal); 554var orderedMetadata = new SortedDictionary<string, string>(StringComparer.Ordinal); 566var orderedMetadata = new SortedDictionary<string, string>(StringComparer.Ordinal);
MetadataSerializerTest.cs (8)
111var expectedMetadata = new SortedDictionary<string, string>(StringComparer.Ordinal) 130var orderedMetadata = new SortedDictionary<string, string>(StringComparer.Ordinal); 176var metadata = new SortedDictionary<string, string>(StringComparer.Ordinal) 207var metadata = new SortedDictionary<string, string>(StringComparer.Ordinal) { { "Value", escapedValue } }; 222var metadata = new SortedDictionary<string, string>(StringComparer.Ordinal) { { "Value", "a value" } }; 238var metadata = new SortedDictionary<string, string>(StringComparer.Ordinal) 275var metadata = new SortedDictionary<string, string>(StringComparer.Ordinal) { { "Value", value } }; 298var metadata = new SortedDictionary<string, string>(StringComparer.Ordinal) { { "Value", "a value" } };
Microsoft.ML.LightGbm (1)
LightGbmTrainerBase.cs (1)
894var sortedIVPair = new SortedDictionary<int, float>(ivPair);
Microsoft.ML.TimeSeries (3)
RootCauseAnalyzer.cs (3)
250SortedDictionary<BestDimension, double> entropyGainMap = new SortedDictionary<BestDimension, double>(); 292SortedDictionary<BestDimension, double> entropyMap = new SortedDictionary<BestDimension, double>(); 478private IEnumerable<BestDimension> OrderDimensions(SortedDictionary<BestDimension, double> valueMap, Dictionary<BestDimension, double> valueRatioMap, double meanGain, bool isLeavesLevel = true)
Microsoft.ML.Tokenizers (8)
Model\BPETokenizer.cs (1)
800internal SortedDictionary<int, string> VocabReverse { get; }
Model\EnglishRobertaTokenizer.cs (1)
25private readonly SortedDictionary<int, StringSpanOrdinalKey> _vocabReverse;
Model\Word.cs (1)
292public void ToTokens(SortedDictionary<int, string> vocabReverse, List<EncodedToken> tokens, int offset)
Utils\TokenizerExtensions.cs (5)
49public static SortedDictionary<TValue, TKey> ReverseSorted<TKey, TValue>(this IReadOnlyDictionary<TKey, TValue> source) where TKey : notnull where TValue : notnull 51SortedDictionary<TValue, TKey> dictionary = new SortedDictionary<TValue, TKey>(); 64internal class DictReversingConverter : JsonConverter<SortedDictionary<int, string>> 66public override SortedDictionary<int, string>? Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) => null; 68public override void Write(Utf8JsonWriter writer, SortedDictionary<int, string> value, JsonSerializerOptions options)
netstandard (1)
netstandard.cs (1)
130[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Collections.Generic.SortedDictionary<,>))]
RunTests (1)
AssemblyScheduler.cs (1)
196var currentFilters = new SortedDictionary<AssemblyInfo, List<TestMethodInfo>>();
System (1)
src\libraries\shims\System\ref\System.cs (1)
138[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Collections.Generic.SortedDictionary<,>))]
System.Collections (10)
System\Collections\Generic\SortedDictionary.cs (10)
37if (dictionary is SortedDictionary<TKey, TValue> sortedDictionary && 412internal Enumerator(SortedDictionary<TKey, TValue> dictionary, int getEnumeratorRetType) 519private readonly SortedDictionary<TKey, TValue> _dictionary; 521public KeyCollection(SortedDictionary<TKey, TValue> dictionary) 631private SortedDictionary<TKey, TValue>.Enumerator _dictEnum; 633internal Enumerator(SortedDictionary<TKey, TValue> dictionary) 680private readonly SortedDictionary<TKey, TValue> _dictionary; 682public ValueCollection(SortedDictionary<TKey, TValue> dictionary) 792private SortedDictionary<TKey, TValue>.Enumerator _dictEnum; 794internal Enumerator(SortedDictionary<TKey, TValue> dictionary)
System.Collections.Immutable (2)
System\Collections\Immutable\ImmutableSortedDictionary_2.cs (1)
844SortedDictionary<TKey, TValue> dictionary;
System\Collections\Immutable\ImmutableSortedDictionary_2.Node.cs (1)
231internal static Node NodeTreeFromSortedDictionary(SortedDictionary<TKey, TValue> dictionary)
System.Formats.Tar (7)
System\Formats\Tar\TarEntry.cs (2)
303internal void ExtractRelativeToDirectory(string destinationDirectoryPath, bool overwrite, SortedDictionary<string, UnixFileMode>? pendingModes, Stack<(string, DateTimeOffset)> directoryModificationTimes) 321internal Task ExtractRelativeToDirectoryAsync(string destinationDirectoryPath, bool overwrite, SortedDictionary<string, UnixFileMode>? pendingModes, Stack<(string, DateTimeOffset)> directoryModificationTimes, CancellationToken cancellationToken)
System\Formats\Tar\TarFile.cs (2)
460SortedDictionary<string, UnixFileMode>? pendingModes = TarHelpers.CreatePendingModesDictionary(); 502SortedDictionary<string, UnixFileMode>? pendingModes = TarHelpers.CreatePendingModesDictionary();
System\Formats\Tar\TarHelpers.Unix.cs (3)
52internal static SortedDictionary<string, UnixFileMode>? CreatePendingModesDictionary() 55internal static void CreateDirectory(string fullPath, UnixFileMode? mode, SortedDictionary<string, UnixFileMode>? pendingModes) 102internal static void SetPendingModes(SortedDictionary<string, UnixFileMode>? pendingModes)
System.IO.Packaging (1)
System\IO\Packaging\ZipPackage.cs (1)
1048SortedDictionary<ZipPackagePartPiece, ZipArchiveEntry>? contentTypeStreamPieces = null;
System.Resources.Extensions (1)
src\libraries\Common\src\System\Resources\ResourceWriter.cs (1)
39private SortedDictionary<string, object?>? _resourceList;
System.Resources.Writer (1)
src\libraries\Common\src\System\Resources\ResourceWriter.cs (1)
39private SortedDictionary<string, object?>? _resourceList;
System.Xaml (1)
System\Xaml\InfosetObjects\XamlObjectWriter.cs (1)
1422openGeneric == typeof(SortedDictionary<,>) ||