70 instantiations of SortedDictionary
Aspire.Dashboard (1)
Components\Controls\Chart\MetricTable.razor.cs (1)
160var percentiles = new SortedDictionary<int, (string Name, double? Value, ValueDirectionChange Direction)>();
dotnet-svcutil-lib (3)
Shared\MSBuildProj.cs (1)
60public SortedDictionary<string, string> _resolvedProperties = new SortedDictionary<string, string>();
Shared\Options\ApplicationOptions.cs (1)
52this.PropertyBag = new SortedDictionary<string, OptionBase>();
Shared\TargetFrameworkHelper.cs (1)
21internal static SortedDictionary<string, List<ProjectDependency>> NetCoreVersionReferenceTable = new SortedDictionary<string, List<ProjectDependency>>
ILCompiler.Compiler (7)
src\runtime\src\coreclr\tools\Common\Compiler\ObjectWriter\PEObjectWriter.cs (1)
79private readonly SortedDictionary<uint, List<ushort>> _baseRelocMap = new();
src\runtime\src\coreclr\tools\Common\Compiler\Win32Resources\ResourceData.cs (1)
197SortedDictionary<string, List<ObjectDataBuilder.Reservation>> nameTable = new SortedDictionary<string, List<ObjectDataBuilder.Reservation>>();
src\runtime\src\coreclr\tools\Common\Compiler\Win32Resources\ResourceData.ResourcesDataModel.cs (5)
15private readonly SortedDictionary<ushort, ResType> _resTypeHeadID = new SortedDictionary<ushort, ResType>(); 16private readonly SortedDictionary<string, ResType> _resTypeHeadName = new SortedDictionary<string, ResType>(StringComparer.Ordinal); 31public SortedDictionary<ushort, ResLanguage> Languages = new SortedDictionary<ushort, ResLanguage>(); 36public SortedDictionary<string, ResName> NameHeadName = new SortedDictionary<string, ResName>(StringComparer.Ordinal); 37public SortedDictionary<ushort, ResName> NameHeadID = new SortedDictionary<ushort, ResName>();
ILCompiler.ReadyToRun (8)
src\runtime\src\coreclr\tools\Common\Compiler\ObjectWriter\PEObjectWriter.cs (1)
79private readonly SortedDictionary<uint, List<ushort>> _baseRelocMap = new();
src\runtime\src\coreclr\tools\Common\Compiler\ObjectWriter\WasmObjectWriter.cs (1)
754SortedDictionary<uint, List<ushort>> _baseRelocMap = new();
src\runtime\src\coreclr\tools\Common\Compiler\Win32Resources\ResourceData.cs (1)
197SortedDictionary<string, List<ObjectDataBuilder.Reservation>> nameTable = new SortedDictionary<string, List<ObjectDataBuilder.Reservation>>();
src\runtime\src\coreclr\tools\Common\Compiler\Win32Resources\ResourceData.ResourcesDataModel.cs (5)
15private readonly SortedDictionary<ushort, ResType> _resTypeHeadID = new SortedDictionary<ushort, ResType>(); 16private readonly SortedDictionary<string, ResType> _resTypeHeadName = new SortedDictionary<string, ResType>(StringComparer.Ordinal); 31public SortedDictionary<ushort, ResLanguage> Languages = new SortedDictionary<ushort, ResLanguage>(); 36public SortedDictionary<string, ResName> NameHeadName = new SortedDictionary<string, ResName>(StringComparer.Ordinal); 37public SortedDictionary<ushort, ResName> NameHeadID = new SortedDictionary<ushort, ResName>();
Microsoft.Build (3)
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)
444SortedDictionary<Version, string> subToolsetsWithVersion = new SortedDictionary<Version, string>();
Microsoft.Build.Framework (1)
Utilities\VersionUtilities.cs (1)
33SortedDictionary<Version, List<string>> versionValues = new SortedDictionary<Version, List<string>>(ReverseVersionGenericComparer.Comparer);
Microsoft.Build.Tasks.Core (2)
ResolveSDKReference.cs (1)
1347var architectureLocations = new SortedDictionary<string, string>(StringComparer.InvariantCultureIgnoreCase);
src\msbuild\src\Shared\AssemblyFolders\AssemblyFoldersEx.cs (1)
365SortedDictionary<Version, List<string>> targetFrameworkVersionToRegistryVersions = new SortedDictionary<Version, List<string>>(ReverseVersionGenericComparer.Comparer);
Microsoft.Build.Utilities.Core (1)
src\msbuild\src\Shared\AssemblyFolders\AssemblyFoldersEx.cs (1)
365SortedDictionary<Version, List<string>> targetFrameworkVersionToRegistryVersions = 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.Features (6)
CodeFixes\Configuration\ConfigureSeverity\ConfigureSeverityLevelCodeFixProvider.cs (1)
56var analyzerDiagnosticsByCategory = new SortedDictionary<string, ArrayBuilder<Diagnostic>>();
CodeFixes\Service\CodeFixService.cs (4)
125var spanToErrorDiagnostics = new SortedDictionary<TextSpan, List<DiagnosticData>>(); 126var spanToOtherDiagnostics = new SortedDictionary<TextSpan, List<DiagnosticData>>(); 267var spanToDiagnostics = new SortedDictionary<TextSpan, List<DiagnosticData>>(); 316var spanToDiagnostics = new SortedDictionary<TextSpan, List<DiagnosticData>>
ExtractMethod\MethodExtractor.Analyzer.cs (1)
126var sortedMap = new SortedDictionary<int, ITypeParameterSymbol>();
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.Manifest (1)
VersionIdentifier.cs (1)
27new SortedDictionary<string, string>
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.Extensions.AI.Abstractions.Tests (1)
test\Shared\JsonSchemaExporter\TestTypes.cs (1)
835Value: new() { [1] = "one", [2] = "two", [3] = "three" },
Microsoft.ML.LightGbm (1)
LightGbmTrainerBase.cs (1)
918var 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 (3)
Model\BPETokenizer.cs (1)
345VocabReverse = new();
Model\SentencePieceUnigramModel.cs (1)
29_vocab = new SortedDictionary<string, int>(OrdinalUtf8StringComparer.Instance);
Utils\TokenizerExtensions.cs (1)
51SortedDictionary<TValue, TKey> dictionary = new SortedDictionary<TValue, TKey>();
Microsoft.ML.Tokenizers.Tests (1)
DoubleArrayTrieTest.cs (1)
53SortedDictionary<string, int> dict = new SortedDictionary<string, int>(OrdinalUtf8StringComparer.Instance);
Microsoft.NET.HostModel (6)
src\runtime\src\coreclr\tools\Common\Compiler\Win32Resources\ResourceData.cs (1)
197SortedDictionary<string, List<ObjectDataBuilder.Reservation>> nameTable = new SortedDictionary<string, List<ObjectDataBuilder.Reservation>>();
src\runtime\src\coreclr\tools\Common\Compiler\Win32Resources\ResourceData.ResourcesDataModel.cs (5)
15private readonly SortedDictionary<ushort, ResType> _resTypeHeadID = new SortedDictionary<ushort, ResType>(); 16private readonly SortedDictionary<string, ResType> _resTypeHeadName = new SortedDictionary<string, ResType>(StringComparer.Ordinal); 31public SortedDictionary<ushort, ResLanguage> Languages = new SortedDictionary<ushort, ResLanguage>(); 36public SortedDictionary<string, ResName> NameHeadName = new SortedDictionary<string, ResName>(StringComparer.Ordinal); 37public SortedDictionary<ushort, ResName> NameHeadID = new SortedDictionary<ushort, ResName>();
NuGet.ProjectModel (1)
DependencyGraphSpec.cs (1)
30private readonly SortedDictionary<string, PackageSpec> _projects = new(PathUtility.GetStringComparerBasedOnOS());
NuGet.Protocol (2)
RemoteRepositories\PluginFindPackageByIdResource.cs (2)
442return new SortedDictionary<NuGetVersion, PackageInfo>(); 461var results = new SortedDictionary<NuGetVersion, PackageInfo>();
NuGet.Resolver (1)
ResolverPackage.cs (1)
47_dependencyIds = new SortedDictionary<string, VersionRange>(StringComparer.OrdinalIgnoreCase);
Shared.Tests (1)
JsonSchemaExporter\TestTypes.cs (1)
835Value: new() { [1] = "one", [2] = "two", [3] = "three" },
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\runtime\src\libraries\Common\src\System\Resources\ResourceWriter.cs (2)
54_resourceList = new SortedDictionary<string, object?>(FastResourceComparer.Default); 73_resourceList = new SortedDictionary<string, object?>(FastResourceComparer.Default);
System.Resources.Writer (2)
src\runtime\src\libraries\Common\src\System\Resources\ResourceWriter.cs (2)
54_resourceList = new SortedDictionary<string, object?>(FastResourceComparer.Default); 73_resourceList = new SortedDictionary<string, object?>(FastResourceComparer.Default);
System.Speech (2)
Internal\GrammarBuilding\BuilderElements.cs (1)
64SortedDictionary<int, Collection<BuilderElements?>> dict = new();
Internal\SrgsCompiler\BackEnd.cs (1)
815SortedDictionary<int, Rule> ruleFirstArcs = new();
148 references to SortedDictionary
Aspire.Dashboard (2)
Components\Controls\Chart\MetricTable.razor.cs (2)
160var percentiles = new SortedDictionary<int, (string Name, double? Value, ValueDirectionChange Direction)>(); 305public required SortedDictionary<int, (string Name, double? Value, ValueDirectionChange Direction)> Percentiles { get; init; }
Aspire.Hosting.Docker (1)
EnvFile.cs (1)
15internal SortedDictionary<string, EnvEntry> Entries { get; } = [];
dotnet-svcutil-lib (3)
Shared\MSBuildProj.cs (1)
60public SortedDictionary<string, string> _resolvedProperties = new SortedDictionary<string, string>();
Shared\Options\ApplicationOptions.cs (1)
22private SortedDictionary<string, OptionBase> PropertyBag { get; set; }
Shared\TargetFrameworkHelper.cs (1)
21internal static SortedDictionary<string, List<ProjectDependency>> NetCoreVersionReferenceTable = new SortedDictionary<string, List<ProjectDependency>>
ILCompiler.Compiler (8)
src\runtime\src\coreclr\tools\Common\Compiler\ObjectWriter\PEObjectWriter.cs (1)
79private readonly SortedDictionary<uint, List<ushort>> _baseRelocMap = new();
src\runtime\src\coreclr\tools\Common\Compiler\Win32Resources\ResourceData.cs (1)
197SortedDictionary<string, List<ObjectDataBuilder.Reservation>> nameTable = new SortedDictionary<string, List<ObjectDataBuilder.Reservation>>();
src\runtime\src\coreclr\tools\Common\Compiler\Win32Resources\ResourceData.ResourcesDataModel.cs (5)
15private readonly SortedDictionary<ushort, ResType> _resTypeHeadID = new SortedDictionary<ushort, ResType>(); 16private readonly SortedDictionary<string, ResType> _resTypeHeadName = new SortedDictionary<string, ResType>(StringComparer.Ordinal); 31public SortedDictionary<ushort, ResLanguage> Languages = new SortedDictionary<ushort, ResLanguage>(); 36public SortedDictionary<string, ResName> NameHeadName = new SortedDictionary<string, ResName>(StringComparer.Ordinal); 37public SortedDictionary<ushort, ResName> NameHeadID = new SortedDictionary<ushort, ResName>();
src\runtime\src\coreclr\tools\Common\Compiler\Win32Resources\ResourceData.Win32Structs.cs (1)
58public static ObjectDataBuilder.Reservation Write(ref ObjectDataBuilder dataBuilder, string name, SortedDictionary<string, List<ObjectDataBuilder.Reservation>> nameTable)
ILCompiler.ReadyToRun (9)
src\runtime\src\coreclr\tools\Common\Compiler\ObjectWriter\PEObjectWriter.cs (1)
79private readonly SortedDictionary<uint, List<ushort>> _baseRelocMap = new();
src\runtime\src\coreclr\tools\Common\Compiler\ObjectWriter\WasmObjectWriter.cs (1)
754SortedDictionary<uint, List<ushort>> _baseRelocMap = new();
src\runtime\src\coreclr\tools\Common\Compiler\Win32Resources\ResourceData.cs (1)
197SortedDictionary<string, List<ObjectDataBuilder.Reservation>> nameTable = new SortedDictionary<string, List<ObjectDataBuilder.Reservation>>();
src\runtime\src\coreclr\tools\Common\Compiler\Win32Resources\ResourceData.ResourcesDataModel.cs (5)
15private readonly SortedDictionary<ushort, ResType> _resTypeHeadID = new SortedDictionary<ushort, ResType>(); 16private readonly SortedDictionary<string, ResType> _resTypeHeadName = new SortedDictionary<string, ResType>(StringComparer.Ordinal); 31public SortedDictionary<ushort, ResLanguage> Languages = new SortedDictionary<ushort, ResLanguage>(); 36public SortedDictionary<string, ResName> NameHeadName = new SortedDictionary<string, ResName>(StringComparer.Ordinal); 37public SortedDictionary<ushort, ResName> NameHeadID = new SortedDictionary<ushort, ResName>();
src\runtime\src\coreclr\tools\Common\Compiler\Win32Resources\ResourceData.Win32Structs.cs (1)
58public static ObjectDataBuilder.Reservation Write(ref ObjectDataBuilder dataBuilder, string name, SortedDictionary<string, List<ObjectDataBuilder.Reservation>> nameTable)
Microsoft.Analyzers.Extra.Tests (1)
CallAnalysis\ArraysTests.cs (1)
121Assembly.GetAssembly(typeof(SortedDictionary<,>))!,
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.Http.Extensions (3)
src\aspnetcore\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.Build (1)
Definition\Toolset.cs (1)
444SortedDictionary<Version, string> subToolsetsWithVersion = new SortedDictionary<Version, string>();
Microsoft.Build.Framework (2)
Utilities\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 (3)
ResolveSDKReference.cs (1)
1347var architectureLocations = new SortedDictionary<string, string>(StringComparer.InvariantCultureIgnoreCase);
src\msbuild\src\Shared\AssemblyFolders\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)
Microsoft.Build.Utilities.Core (4)
src\msbuild\src\Shared\AssemblyFolders\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)
2606SortedDictionary<Version, List<string>> versionsInRoot = VersionUtilities.GatherVersionStrings(null, rootPathWithIdentifier.GetDirectories().Select<DirectoryInfo, string>(directory => directory.Name)); 2715SortedDictionary<Version, List<string>> sortedVersions = VersionUtilities.GatherVersionStrings(null, versions);
Microsoft.CodeAnalysis.CSharp (1)
FlowAnalysis\NullableWalker.SnapshotManager.cs (1)
160private readonly SortedDictionary<int, Snapshot> _incrementalSnapshots = new SortedDictionary<int, Snapshot>();
Microsoft.CodeAnalysis.Features (17)
CodeFixes\Configuration\ConfigureSeverity\ConfigureSeverityLevelCodeFixProvider.cs (1)
56var analyzerDiagnosticsByCategory = new SortedDictionary<string, ArrayBuilder<Diagnostic>>();
CodeFixes\Service\CodeFixService.cs (11)
120var spanToDiagnostics = ConvertToMap(text, allDiagnostics); 125var spanToErrorDiagnostics = new SortedDictionary<TextSpan, List<DiagnosticData>>(); 126var spanToOtherDiagnostics = new SortedDictionary<TextSpan, List<DiagnosticData>>(); 132var preferredMap = diagnostic.Severity == DiagnosticSeverity.Error 152SortedDictionary<TextSpan, List<DiagnosticData>> spanToDiagnostics, 214var spanToDiagnostics = ConvertToMap(text, diagnostics); 233var spanToDiagnostics = ConvertToMap(text, diagnostics); 260private static SortedDictionary<TextSpan, List<DiagnosticData>> ConvertToMap( 267var spanToDiagnostics = new SortedDictionary<TextSpan, List<DiagnosticData>>(); 316var spanToDiagnostics = new SortedDictionary<TextSpan, List<DiagnosticData>> 437SortedDictionary<TextSpan, List<DiagnosticData>> spanToDiagnostics,
ExtractMethod\MethodExtractor.Analyzer.cs (5)
126var sortedMap = new SortedDictionary<int, ITypeParameterSymbol>(); 755private void AppendMethodTypeParameterFromConstraint(SortedDictionary<int, ITypeParameterSymbol> sortedMap) 787SortedDictionary<int, ITypeParameterSymbol> sortedMap) 799private void AppendTypeParametersInConstraintsUsedByConstructedTypeWithItsOwnConstraints(SortedDictionary<int, ITypeParameterSymbol> sortedMap) 860private ImmutableArray<ITypeParameterSymbol> GetMethodTypeParametersInDeclaration(ITypeSymbol returnType, SortedDictionary<int, ITypeParameterSymbol> sortedMap)
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.Manifest (1)
VersionIdentifier.cs (1)
26private static readonly SortedDictionary<string, string> _sequencesToReplace =
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.Extensions.AI.Abstractions.Tests (2)
test\Shared\JsonSchemaExporter\TestTypes.cs (2)
834yield return new TestData<SortedDictionary<int, string>>( 1308[JsonSerializable(typeof(SortedDictionary<int, string>))]
Microsoft.ML.LightGbm (1)
LightGbmTrainerBase.cs (1)
918var 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 (12)
Model\BPETokenizer.cs (1)
1126internal SortedDictionary<int, string> VocabReverse { get; }
Model\EnglishRobertaTokenizer.cs (1)
25private readonly SortedDictionary<int, StringSpanOrdinalKey> _vocabReverse;
Model\SentencePieceUnigramModel.cs (1)
20private readonly SortedDictionary<string, int> _vocab;
Model\Word.cs (1)
292public void ToTokens(SortedDictionary<int, string> vocabReverse, List<EncodedToken> tokens, int offset, ReadOnlySpan<int> mapping)
Utils\DoubleArrayTrie.cs (3)
737internal unsafe void BuildDawg(SortedDictionary<string, int> dictionary, DawgBuilder dawgBuilder) 1022public void Build(SortedDictionary<string, int> dictionary) 1045public DoubleArrayTrie(SortedDictionary<string, int> dictionary)
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)
Microsoft.ML.Tokenizers.Tests (4)
DoubleArrayTrieTest.cs (1)
53SortedDictionary<string, int> dict = new SortedDictionary<string, int>(OrdinalUtf8StringComparer.Instance);
src\Microsoft.ML.Tokenizers\Utils\DoubleArrayTrie.cs (3)
737internal unsafe void BuildDawg(SortedDictionary<string, int> dictionary, DawgBuilder dawgBuilder) 1022public void Build(SortedDictionary<string, int> dictionary) 1045public DoubleArrayTrie(SortedDictionary<string, int> dictionary)
Microsoft.NET.HostModel (7)
src\runtime\src\coreclr\tools\Common\Compiler\Win32Resources\ResourceData.cs (1)
197SortedDictionary<string, List<ObjectDataBuilder.Reservation>> nameTable = new SortedDictionary<string, List<ObjectDataBuilder.Reservation>>();
src\runtime\src\coreclr\tools\Common\Compiler\Win32Resources\ResourceData.ResourcesDataModel.cs (5)
15private readonly SortedDictionary<ushort, ResType> _resTypeHeadID = new SortedDictionary<ushort, ResType>(); 16private readonly SortedDictionary<string, ResType> _resTypeHeadName = new SortedDictionary<string, ResType>(StringComparer.Ordinal); 31public SortedDictionary<ushort, ResLanguage> Languages = new SortedDictionary<ushort, ResLanguage>(); 36public SortedDictionary<string, ResName> NameHeadName = new SortedDictionary<string, ResName>(StringComparer.Ordinal); 37public SortedDictionary<ushort, ResName> NameHeadID = new SortedDictionary<ushort, ResName>();
src\runtime\src\coreclr\tools\Common\Compiler\Win32Resources\ResourceData.Win32Structs.cs (1)
58public static ObjectDataBuilder.Reservation Write(ref ObjectDataBuilder dataBuilder, string name, SortedDictionary<string, List<ObjectDataBuilder.Reservation>> nameTable)
netstandard (1)
netstandard.cs (1)
130[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Collections.Generic.SortedDictionary<,>))]
NuGet.ProjectModel (2)
DependencyGraphSpec.cs (2)
30private readonly SortedDictionary<string, PackageSpec> _projects = new(PathUtility.GetStringComparerBasedOnOS()); 202private static IEnumerable<string> GetProjectReferenceNames(PackageSpec spec, SortedDictionary<string, PackageSpec> projectsByUniqueName)
NuGet.Protocol (12)
RemoteRepositories\PluginFindPackageByIdResource.cs (12)
30private readonly ConcurrentDictionary<string, AsyncLazy<SortedDictionary<NuGetVersion, PackageInfo>>> _packageInfoCache = 31new ConcurrentDictionary<string, AsyncLazy<SortedDictionary<NuGetVersion, PackageInfo>>>(StringComparer.OrdinalIgnoreCase); 205var packageInfos = await EnsurePackagesAsync(id, cacheContext, cancellationToken); 270var packageInfos = await EnsurePackagesAsync(id, cacheContext, cancellationToken); 365var packageInfos = await EnsurePackagesAsync(id, cacheContext, cancellationToken); 380private async Task<SortedDictionary<NuGetVersion, PackageInfo>> EnsurePackagesAsync( 385AsyncLazy<SortedDictionary<NuGetVersion, PackageInfo>> result = null; 387Func<string, AsyncLazy<SortedDictionary<NuGetVersion, PackageInfo>>> findPackages = 388(keyId) => new AsyncLazy<SortedDictionary<NuGetVersion, PackageInfo>>( 407private async Task<SortedDictionary<NuGetVersion, PackageInfo>> FindPackagesByIdAsync( 456private SortedDictionary<NuGetVersion, PackageInfo> ParsePackageVersions( 461var results = new SortedDictionary<NuGetVersion, PackageInfo>();
NuGet.Resolver (1)
ResolverPackage.cs (1)
24private readonly SortedDictionary<string, VersionRange> _dependencyIds;
Shared.Tests (2)
JsonSchemaExporter\TestTypes.cs (2)
834yield return new TestData<SortedDictionary<int, string>>( 1308[JsonSerializable(typeof(SortedDictionary<int, string>))]
System (1)
src\runtime\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) 517private readonly SortedDictionary<TKey, TValue> _dictionary; 519public KeyCollection(SortedDictionary<TKey, TValue> dictionary) 629private SortedDictionary<TKey, TValue>.Enumerator _dictEnum; 631internal Enumerator(SortedDictionary<TKey, TValue> dictionary) 678private readonly SortedDictionary<TKey, TValue> _dictionary; 680public ValueCollection(SortedDictionary<TKey, TValue> dictionary) 790private SortedDictionary<TKey, TValue>.Enumerator _dictEnum; 792internal 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)
320internal void ExtractRelativeToDirectory(string destinationDirectoryPath, bool overwrite, SortedDictionary<string, UnixFileMode>? pendingModes, Stack<(string, DateTimeOffset)> directoryModificationTimes, TarHardLinkMode hardLinkMode) 338internal Task ExtractRelativeToDirectoryAsync(string destinationDirectoryPath, bool overwrite, SortedDictionary<string, UnixFileMode>? pendingModes, Stack<(string, DateTimeOffset)> directoryModificationTimes, TarHardLinkMode hardLinkMode, CancellationToken cancellationToken)
System\Formats\Tar\TarFile.cs (2)
657SortedDictionary<string, UnixFileMode>? pendingModes = TarHelpers.CreatePendingModesDictionary(); 702SortedDictionary<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\runtime\src\libraries\Common\src\System\Resources\ResourceWriter.cs (1)
39private SortedDictionary<string, object?>? _resourceList;
System.Resources.Writer (1)
src\runtime\src\libraries\Common\src\System\Resources\ResourceWriter.cs (1)
39private SortedDictionary<string, object?>? _resourceList;
System.Speech (6)
Internal\GrammarBuilding\BuilderElements.cs (3)
64SortedDictionary<int, Collection<BuilderElements?>> dict = new(); 227private void GetDictionaryElements(SortedDictionary<int, Collection<BuilderElements?>> dict) 250private void RemoveDictionaryElements(SortedDictionary<int, Collection<BuilderElements?>> dict)
Internal\SrgsCompiler\BackEnd.cs (3)
815SortedDictionary<int, Rule> ruleFirstArcs = new(); 832SortedDictionary<int, Rule>.Enumerator ieFirstArcs = ruleFirstArcs.GetEnumerator(); 1089private CfgGrammar.CfgHeader BuildRulesFromBinaryGrammar(CfgGrammar.CfgHeader header, State?[] apStateTable, SortedDictionary<int, Rule> ruleFirstArcs, int previousCfgLastRules)
System.Xaml (1)
System\Xaml\InfosetObjects\XamlObjectWriter.cs (1)
1461openGeneric == typeof(SortedDictionary<,>) ||