89 instantiations of SortedDictionary
Aspire.Dashboard (1)
dotnet-svcutil-lib (4)
Microsoft.AspNetCore.Authentication.Twitter (2)
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)
Microsoft.AspNetCore.Identity.InMemory.Test (1)
Microsoft.AspNetCore.Identity.Test (1)
Microsoft.AspNetCore.Mvc.Core.Test (1)
Microsoft.AspNetCore.Mvc.TagHelpers.Test (2)
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (7)
Microsoft.Build (4)
Microsoft.Build.CommandLine.UnitTests (1)
Microsoft.Build.Tasks.Core (3)
Microsoft.Build.Utilities.Core (2)
Microsoft.CodeAnalysis.CSharp (1)
Microsoft.CodeAnalysis.CSharp.Scripting.UnitTests (1)
Microsoft.CodeAnalysis.Features (2)
Microsoft.CodeAnalysis.LanguageServer.Protocol (4)
Microsoft.Data.Analysis (2)
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)
Microsoft.Extensions.ApiDescription.Client.Tests (28)
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)
Microsoft.ML.TimeSeries (2)
Microsoft.ML.Tokenizers (2)
RunTests (1)
System.Collections.Immutable (2)
System.Formats.Tar (1)
System.IO.Packaging (1)
System.Resources.Extensions (2)
System.Resources.Writer (2)
146 references to SortedDictionary
Aspire.Dashboard (1)
dotnet-svcutil-lib (3)
Microsoft.Analyzers.Extra.Tests (1)
Microsoft.AspNetCore.Authentication.Twitter (2)
Microsoft.AspNetCore.Components.Endpoints (3)
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)
Microsoft.AspNetCore.Identity.EntityFrameworkCore.Test (1)
Microsoft.AspNetCore.Identity.InMemory.Test (1)
Microsoft.AspNetCore.Identity.Test (1)
Microsoft.AspNetCore.Mvc.Core.Test (5)
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (7)
Microsoft.AspNetCore.Razor.Runtime.Test (1)
Microsoft.Build (3)
Microsoft.Build.CommandLine.UnitTests (2)
Microsoft.Build.Tasks.Core (5)
Microsoft.Build.Utilities.Core (6)
Microsoft.CodeAnalysis.CSharp (1)
Microsoft.CodeAnalysis.CSharp.Scripting.UnitTests (1)
Microsoft.CodeAnalysis.Features (6)
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)
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)
Microsoft.Extensions.ApiDescription.Client.Tests (28)
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)
Microsoft.ML.TimeSeries (3)
Microsoft.ML.Tokenizers (8)
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)
RunTests (1)
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)
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.Formats.Tar (7)
System.IO.Packaging (1)
System.Resources.Extensions (1)
System.Resources.Writer (1)
System.Xaml (1)