24 instantiations of SortedList
Aspire.Dashboard (1)
Components\Controls\Chart\MetricTable.razor.cs (1)
114var newMetrics = new SortedList<DateTimeOffset, MetricViewBase>();
CodeStyleConfigFileGenerator (1)
Program.cs (1)
52var allRulesById = new SortedList<string, DiagnosticDescriptor>();
dotnet-svcutil-lib (2)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\UniqueCodeIdentifierScope.cs (1)
23_names = new SortedList<string, string>(StringComparer.Ordinal);
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\WsdlExporter.cs (1)
720SortedList<string, string> policyKeys = new SortedList<string, string>();
GenerateRulesMissingDocumentation (1)
Program.cs (1)
142var allRulesById = new SortedList<string, DiagnosticDescriptor>();
Microsoft.AspNetCore.Components.Endpoints.Tests (1)
Binding\FormDataMapperTests.cs (1)
968var expected = new SortedList<int, int>() { [0] = 10, [1] = 11, [2] = 12, [3] = 13, [4] = 14, [5] = 15, [6] = 16, [7] = 17, [8] = 18, [9] = 19, };
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\SniOptionsSelector.cs (1)
29private readonly SortedList<string, SniOptions> _wildcardPrefixOptions = new SortedList<string, SniOptions>(LongestStringFirstComparer.Instance);
Microsoft.Build.Tasks.Core (1)
system.design\stronglytypedresourcebuilder.cs (1)
722new SortedList<string, ResourceData>(StringComparer.InvariantCultureIgnoreCase)
Microsoft.CodeAnalysis.CSharp.Scripting.UnitTests (2)
ObjectFormatterTests.cs (2)
632var obj = new SortedList<int, int>(); 640var obj2 = new SortedList<int[], int[]>();
Microsoft.DotNet.XliffTasks (1)
Model\XlfDocument.cs (1)
235SortedList<string, XElement> sortedTransUnits = new(comparer);
Microsoft.ML.FastTree (1)
Utils\BufferPoolManager.cs (1)
153_bufferPools[type] = new SortedList<int, List<Array>>();
Microsoft.ML.Sweeper (2)
Algorithms\NelderMead.cs (2)
119_simplexVertices = new SortedList<IRunResult, float[]>(new SimplexVertexComparer()); 351var newSimplexVertices = new SortedList<IRunResult, float[]>(new SimplexVertexComparer());
Microsoft.VisualStudio.LanguageServices.CSharp (1)
CodeModel\ModifierFlagsExtensions.cs (1)
17private static readonly SortedList<ModifierFlags, SyntaxKind> s_modifierDefinitions = new()
PresentationCore (1)
System\Windows\Media\Animation\AnimationStorage.cs (1)
728propertyTriggerLayers = new SortedList<Int64, AnimationLayer>(1);
PresentationFramework (2)
System\Windows\Documents\TextContainerChangedEventArgs.cs (2)
32_changes = new SortedList<int, TextChange>(); 332SortedList<int, TextChange> newChanges = new SortedList<int, TextChange>(Changes.Count);
System.ComponentModel.TypeConverter (2)
System\ComponentModel\ComponentResourceManager.cs (2)
231sd = new SortedList<string, object?>(StringComparer.OrdinalIgnoreCase); 235sd = new SortedList<string, object?>(StringComparer.Ordinal);
System.IO.Packaging (2)
System\IO\Packaging\Package.cs (2)
36_partList = new SortedList<PackUriHelper.ValidatedPartUri, PackagePart>(); // initial default is zero 1214_partList = new SortedList<PackUriHelper.ValidatedPartUri, PackagePart>(partDictionary.Count);
System.Windows.Forms.Design (2)
System\ComponentModel\Design\DesignerActionList.cs (1)
26var items = new SortedList<string, DesignerActionItem>();
System\Resources\Tools\StronglyTypedResourceBuilder.cs (1)
866SortedList<string, ResourceData> cleanedResourceList = new(resourceList.Count, StringComparer.InvariantCultureIgnoreCase);
68 references to SortedList
Aspire.Dashboard (3)
Components\Controls\Chart\MetricTable.razor.cs (3)
20private SortedList<DateTimeOffset, MetricViewBase> _metrics = []; 112private SortedList<DateTimeOffset, MetricViewBase> UpdateMetrics(out ISet<DateTimeOffset> addedXValues, List<ChartTrace> traces, List<DateTimeOffset> xValues, List<ChartExemplar> exemplars) 114var newMetrics = new SortedList<DateTimeOffset, MetricViewBase>();
CodeStyleConfigFileGenerator (3)
Program.cs (3)
52var allRulesById = new SortedList<string, DiagnosticDescriptor>(); 87SortedList<string, DiagnosticDescriptor> sortedRulesById) 96static string GetGlobalconfigText(AnalysisMode analysisMode, SortedList<string, DiagnosticDescriptor> sortedRulesById)
dotnet-svcutil-lib (2)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\UniqueCodeIdentifierScope.cs (1)
17private SortedList<string, string> _names;
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\WsdlExporter.cs (1)
720SortedList<string, string> policyKeys = new SortedList<string, string>();
GenerateRulesMissingDocumentation (3)
Program.cs (3)
56var allRulesById = getAllRulesById(binDirectory, configuration); 140static SortedList<string, DiagnosticDescriptor> getAllRulesById(string binDirectory, string configuration) 142var allRulesById = new SortedList<string, DiagnosticDescriptor>();
Microsoft.AspNetCore.Components.Endpoints (3)
FormMapping\Factories\Dictionary\TypedDictionaryConverterFactory.cs (3)
53var _ when type == (typeof(SortedList<TKey, TValue>)) => true, 134var _ when type == (typeof(SortedList<TKey, TValue>)) => 135ConcreteTypeDictionaryConverterFactory<SortedList<TKey, TValue>, TKey, TValue>.Instance.CreateConverter(type, options),
Microsoft.AspNetCore.Components.Endpoints.Tests (3)
Binding\FormDataMapperTests.cs (3)
968var expected = new SortedList<int, int>() { [0] = 10, [1] = 11, [2] = 12, [3] = 13, [4] = 14, [5] = 15, [6] = 16, [7] = 17, [8] = 18, [9] = 19, }; 969CanDeserialize_Dictionary<SortedList<int, int>, SortedList<int, int>, int, int>(expected);
Microsoft.AspNetCore.Http.Extensions (3)
src\Components\Endpoints\src\FormMapping\Factories\Dictionary\TypedDictionaryConverterFactory.cs (3)
53var _ when type == (typeof(SortedList<TKey, TValue>)) => true, 134var _ when type == (typeof(SortedList<TKey, TValue>)) => 135ConcreteTypeDictionaryConverterFactory<SortedList<TKey, TValue>, TKey, TValue>.Instance.CreateConverter(type, options),
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\SniOptionsSelector.cs (1)
29private readonly SortedList<string, SniOptions> _wildcardPrefixOptions = new SortedList<string, SniOptions>(LongestStringFirstComparer.Instance);
Microsoft.Build.Tasks.Core (3)
system.design\stronglytypedresourcebuilder.cs (3)
156SortedList<string, ResourceData> cleanedResourceList = VerifyResourceNames(resourceList, codeProvider, errors, out Dictionary<string, string> reverseFixupTable); 714private static SortedList<string, ResourceData> VerifyResourceNames( 721var cleanedResourceList =
Microsoft.CodeAnalysis.CSharp.Scripting.UnitTests (2)
ObjectFormatterTests.cs (2)
632var obj = new SortedList<int, int>(); 640var obj2 = new SortedList<int[], int[]>();
Microsoft.DotNet.XliffTasks (1)
Model\XlfDocument.cs (1)
235SortedList<string, XElement> sortedTransUnits = new(comparer);
Microsoft.ML.FastTree (5)
Utils\BufferPoolManager.cs (5)
30private static readonly ConcurrentDictionary<Type, SortedList<int, List<Array>>> _bufferPools = new ConcurrentDictionary<Type, SortedList<int, List<Array>>>(); 41SortedList<int, List<Array>> availableBuffers = null; 83SortedList<int, List<Array>> availableBuffers = null; 112SortedList<int, List<Array>> availableBuffers = null;
Microsoft.ML.Sweeper (2)
Algorithms\NelderMead.cs (2)
71private SortedList<IRunResult, float[]> _simplexVertices; 351var newSimplexVertices = new SortedList<IRunResult, float[]>(new SimplexVertexComparer());
Microsoft.VisualStudio.LanguageServices.CSharp (1)
CodeModel\ModifierFlagsExtensions.cs (1)
17private static readonly SortedList<ModifierFlags, SyntaxKind> s_modifierDefinitions = new()
netstandard (1)
netstandard.cs (1)
131[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Collections.Generic.SortedList<,>))]
PresentationCore (2)
System\Windows\Media\Animation\AnimationStorage.cs (2)
724SortedList<Int64, AnimationLayer> propertyTriggerLayers = storage._propertyTriggerLayers; 1165private SortedList<Int64, AnimationLayer> _propertyTriggerLayers;
PresentationFramework (3)
System\Windows\Documents\TextContainerChangedEventArgs.cs (3)
164internal SortedList<int, TextChange> Changes 332SortedList<int, TextChange> newChanges = new SortedList<int, TextChange>(Changes.Count); 504private SortedList<int, TextChange> _changes;
System (1)
src\libraries\shims\System\ref\System.cs (1)
139[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Collections.Generic.SortedList<,>))]
System.Collections (13)
System\Collections\Generic\SortedList.cs (13)
521/// <param name="index">The zero-based index of the value within the entire <see cref="SortedList{TKey, TValue}"/>.</param> 534/// <param name="index">The zero-based index of the value within the entire <see cref="SortedList{TKey, TValue}"/>.</param> 558/// <param name="index">The zero-based index of the key within the entire <see cref="SortedList{TKey, TValue}"/>.</param> 752private readonly SortedList<TKey, TValue> _sortedList; 762internal Enumerator(SortedList<TKey, TValue> sortedList, int getEnumeratorRetType) 873private readonly SortedList<TKey, TValue> _sortedList; 878internal SortedListKeyEnumerator(SortedList<TKey, TValue> sortedList) 937private readonly SortedList<TKey, TValue> _sortedList; 942internal SortedListValueEnumerator(SortedList<TKey, TValue> sortedList) 1004private readonly SortedList<TKey, TValue> _dict; // Do not rename (binary serialization) 1006internal KeyList(SortedList<TKey, TValue> dictionary) 1118private readonly SortedList<TKey, TValue> _dict; // Do not rename (binary serialization) 1120internal ValueList(SortedList<TKey, TValue> dictionary)
System.ComponentModel.TypeConverter (5)
System\ComponentModel\ComponentResourceManager.cs (5)
20private Dictionary<CultureInfo, SortedList<string, object?>?>? _resourceSets; 105SortedList<string, object?>? resources; 109_resourceSets = new Dictionary<CultureInfo, SortedList<string, object?>?>(); 215private SortedList<string, object?> FillResources(CultureInfo culture, out ResourceSet? resourceSet) 217SortedList<string, object?> sd;
System.IO.Packaging (3)
System\IO\Packaging\Package.cs (1)
1241private SortedList<PackUriHelper.ValidatedPartUri, PackagePart> _partList;
System\IO\Packaging\PackagePartCollection.cs (2)
52internal PackagePartCollection(SortedList<PackUriHelper.ValidatedPartUri, PackagePart> partList) 62private readonly SortedList<PackUriHelper.ValidatedPartUri, PackagePart> _partList;
System.Windows.Forms.Design (4)
System\ComponentModel\Design\DesignerActionList.cs (1)
26var items = new SortedList<string, DesignerActionItem>();
System\Resources\Tools\StronglyTypedResourceBuilder.cs (3)
322var cleanedResourceList = VerifyResourceNames(resourceList, codeProvider, errors, out Dictionary<string, string> reverseFixupTable); 859private static SortedList<string, ResourceData> VerifyResourceNames( 866SortedList<string, ResourceData> cleanedResourceList = new(resourceList.Count, StringComparer.InvariantCultureIgnoreCase);
System.Xaml (1)
System\Xaml\InfosetObjects\XamlObjectWriter.cs (1)
1423openGeneric == typeof(SortedList<,>) ||