70 instantiations of SortedDictionary
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.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.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 (1)
Microsoft.ML.LightGbm (1)
Microsoft.ML.TimeSeries (2)
Microsoft.ML.Tokenizers (3)
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 (1)
System.Collections.Immutable (2)
System.Formats.Tar (1)
System.IO.Packaging (1)
System.Resources.Extensions (2)
System.Resources.Writer (2)
System.Speech (2)
148 references to SortedDictionary
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.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.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 (2)
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)
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)
Shared.Tests (2)
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)