78 instantiations of SortedDictionary
aspire (1)
Aspire.Dashboard (1)
dotnet-svcutil-lib (3)
ILCompiler.Compiler (7)
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\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.AspNetCore.Authentication.Twitter (2)
Microsoft.Build (3)
Microsoft.Build.Framework (1)
Microsoft.Build.Tasks.Core (2)
Microsoft.Build.Utilities.Core (1)
Microsoft.CodeAnalysis.CSharp (1)
Microsoft.CodeAnalysis.Features (6)
Microsoft.Data.Analysis (2)
Microsoft.Diagnostics.DataContractReader.Contracts (2)
Microsoft.DotNet.Build.Manifest (1)
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 (2)
Microsoft.ML.LightGbm (1)
Microsoft.ML.TimeSeries (2)
Microsoft.ML.Tokenizers (4)
Microsoft.ML.Tokenizers.Tests (1)
Microsoft.NET.HostModel (6)
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)
NuGet.Protocol (2)
NuGet.Resolver (1)
Shared.Tests (2)
System.Collections.Immutable (2)
System.Formats.Tar (1)
System.IO.Packaging (1)
System.Resources.Extensions (2)
System.Resources.Writer (2)
System.Speech (2)
178 references to SortedDictionary
aspire (1)
Aspire.Dashboard (2)
Aspire.Hosting.Docker (1)
dotnet-svcutil-lib (3)
ILCompiler.Compiler (8)
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 (9)
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.Analyzers.Extra.Tests (1)
Microsoft.AspNetCore.Authentication.Twitter (2)
Microsoft.AspNetCore.Components.Endpoints (3)
Microsoft.AspNetCore.Http.Extensions (3)
Microsoft.Build (1)
Microsoft.Build.Framework (2)
Microsoft.Build.Tasks.Core (3)
Microsoft.Build.Utilities.Core (4)
Microsoft.CodeAnalysis.CSharp (1)
Microsoft.CodeAnalysis.Features (17)
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,
Microsoft.Data.Analysis (3)
Microsoft.Diagnostics.DataContractReader.Contracts (7)
Microsoft.DotNet.Build.Manifest (1)
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 (12)
Generated\361d1da7f942c932\TestTypesContext.SortedDictionaryInt32String.g.cs (9)
15private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.SortedDictionary<int, string>>? _SortedDictionaryInt32String;
21public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.SortedDictionary<int, string>> SortedDictionaryInt32String
24get => _SortedDictionaryInt32String ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.SortedDictionary<int, string>>)Options.GetTypeInfo(typeof(global::System.Collections.Generic.SortedDictionary<int, string>));
27private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.SortedDictionary<int, string>> Create_SortedDictionaryInt32String(global::System.Text.Json.JsonSerializerOptions options)
29if (!TryGetTypeInfoForRuntimeCustomConverter<global::System.Collections.Generic.SortedDictionary<int, string>>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.SortedDictionary<int, string>> jsonTypeInfo))
31var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::System.Collections.Generic.SortedDictionary<int, string>>
37jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateIDictionaryInfo<global::System.Collections.Generic.SortedDictionary<int, string>, int, string>(options, info);
Microsoft.ML.LightGbm (1)
Microsoft.ML.TimeSeries (3)
Microsoft.ML.Tokenizers (12)
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)
Microsoft.NET.HostModel (7)
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>();
netstandard (1)
NuGet.ProjectModel (2)
NuGet.Protocol (12)
RemoteRepositories\PluginFindPackageByIdResource.cs (12)
28private readonly ConcurrentDictionary<string, AsyncLazy<SortedDictionary<NuGetVersion, PackageInfo>>> _packageInfoCache =
29new ConcurrentDictionary<string, AsyncLazy<SortedDictionary<NuGetVersion, PackageInfo>>>(StringComparer.OrdinalIgnoreCase);
203var packageInfos = await EnsurePackagesAsync(id, cacheContext, cancellationToken);
268var packageInfos = await EnsurePackagesAsync(id, cacheContext, cancellationToken);
363var packageInfos = await EnsurePackagesAsync(id, cacheContext, cancellationToken);
378private async Task<SortedDictionary<NuGetVersion, PackageInfo>> EnsurePackagesAsync(
383AsyncLazy<SortedDictionary<NuGetVersion, PackageInfo>> result;
385Func<string, AsyncLazy<SortedDictionary<NuGetVersion, PackageInfo>>> findPackages =
386(keyId) => new AsyncLazy<SortedDictionary<NuGetVersion, PackageInfo>>(
405private async Task<SortedDictionary<NuGetVersion, PackageInfo>> FindPackagesByIdAsync(
454private SortedDictionary<NuGetVersion, PackageInfo> ParsePackageVersions(
459var results = new SortedDictionary<NuGetVersion, PackageInfo>();
NuGet.Resolver (1)
Shared.Tests (12)
Generated\361d1da7f942c932\TestTypesContext.SortedDictionaryInt32String.g.cs (9)
15private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.SortedDictionary<int, string>>? _SortedDictionaryInt32String;
21public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.SortedDictionary<int, string>> SortedDictionaryInt32String
24get => _SortedDictionaryInt32String ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.SortedDictionary<int, string>>)Options.GetTypeInfo(typeof(global::System.Collections.Generic.SortedDictionary<int, string>));
27private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.SortedDictionary<int, string>> Create_SortedDictionaryInt32String(global::System.Text.Json.JsonSerializerOptions options)
29if (!TryGetTypeInfoForRuntimeCustomConverter<global::System.Collections.Generic.SortedDictionary<int, string>>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.SortedDictionary<int, string>> jsonTypeInfo))
31var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::System.Collections.Generic.SortedDictionary<int, string>>
37jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateIDictionaryInfo<global::System.Collections.Generic.SortedDictionary<int, string>, int, string>(options, info);
System (1)
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.Formats.Tar (7)
System.IO.Packaging (1)
System.Resources.Extensions (1)
System.Resources.Writer (1)
System.Speech (6)
System.Xaml (1)