80 instantiations of SortedDictionary
Aspire.Cli.Tests (2)
Aspire.Dashboard (1)
dotnet-svcutil-lib (3)
GenerateTemplateManifest (1)
ILCompiler.Compiler (7)
parent\parent\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)
parent\parent\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.CodeAnalysis.VisualBasic (1)
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 (1)
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>();
Microsoft.NET.ProjectData.Tasks (1)
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)
163 references to SortedDictionary
Aspire.Cli.Tests (2)
Aspire.Dashboard (2)
Aspire.Hosting.Docker (1)
dotnet-svcutil-lib (3)
GenerateTemplateManifest (1)
ILCompiler.Compiler (8)
parent\parent\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)
parent\parent\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)
116var spanToDiagnostics = ConvertToMap(text, allDiagnostics);
121var spanToErrorDiagnostics = new SortedDictionary<TextSpan, List<DiagnosticData>>();
122var spanToOtherDiagnostics = new SortedDictionary<TextSpan, List<DiagnosticData>>();
128var preferredMap = diagnostic.Severity == DiagnosticSeverity.Error
148SortedDictionary<TextSpan, List<DiagnosticData>> spanToDiagnostics,
207var spanToDiagnostics = ConvertToMap(text, diagnostics);
226var spanToDiagnostics = ConvertToMap(text, diagnostics);
241private static SortedDictionary<TextSpan, List<DiagnosticData>> ConvertToMap(
248var spanToDiagnostics = new SortedDictionary<TextSpan, List<DiagnosticData>>();
297var spanToDiagnostics = new SortedDictionary<TextSpan, List<DiagnosticData>>
418SortedDictionary<TextSpan, List<DiagnosticData>> spanToDiagnostics,
Microsoft.CodeAnalysis.VisualBasic (4)
Microsoft.Data.Analysis (3)
Microsoft.Diagnostics.DataContractReader.Contracts (5)
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>();
Microsoft.NET.ProjectData.Tasks (1)
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 (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)