51 references to new
Aspire.Hosting.RemoteHost (1)
AssemblyLoader.cs (1)
68var assemblyNames = new SortedSet<string>(StringComparer.OrdinalIgnoreCase);
GenerateDocumentationAndConfigFiles (1)
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\PooledSortedSet.cs (1)
25: base(comparer)
ILCompiler.Compiler (24)
Compiler\MetadataManager.cs (19)
66private readonly SortedSet<NonGCStaticsNode> _cctorContextsGenerated = new SortedSet<NonGCStaticsNode>(CompilerComparer.Instance); 67private readonly SortedSet<MetadataType> _typesWithGCStaticsGenerated = new SortedSet<MetadataType>(CompilerComparer.Instance); 68private readonly SortedSet<MetadataType> _typesWithNonGCStaticsGenerated = new SortedSet<MetadataType>(CompilerComparer.Instance); 69private readonly SortedSet<MetadataType> _typesWithThreadStaticsGenerated = new SortedSet<MetadataType>(CompilerComparer.Instance); 70private readonly SortedSet<TypeDesc> _typesWithEETypesGenerated = new SortedSet<TypeDesc>(TypeSystemComparer.Instance); 71private readonly SortedSet<TypeDesc> _typesWithConstructedEETypesGenerated = new SortedSet<TypeDesc>(TypeSystemComparer.Instance); 72private readonly SortedSet<MethodDesc> _methodsGenerated = new SortedSet<MethodDesc>(TypeSystemComparer.Instance); 73private readonly SortedSet<MethodDesc> _reflectableMethods = new SortedSet<MethodDesc>(TypeSystemComparer.Instance); 74private readonly SortedSet<GenericDictionaryNode> _genericDictionariesGenerated = new SortedSet<GenericDictionaryNode>(CompilerComparer.Instance); 75private readonly SortedSet<IMethodBodyNode> _methodBodiesGenerated = new SortedSet<IMethodBodyNode>(CompilerComparer.Instance); 76private readonly SortedSet<FrozenObjectNode> _frozenObjects = new SortedSet<FrozenObjectNode>(CompilerComparer.Instance); 78= new SortedSet<TypeGVMEntriesNode>(Comparer<TypeGVMEntriesNode>.Create((a, b) => TypeSystemComparer.Instance.Compare(a.AssociatedType, b.AssociatedType))); 79private readonly SortedSet<DefType> _typesWithDelegateMarshalling = new SortedSet<DefType>(TypeSystemComparer.Instance); 80private readonly SortedSet<DefType> _typesWithStructMarshalling = new SortedSet<DefType>(TypeSystemComparer.Instance); 82private readonly SortedSet<TypeDesc> _typeTemplates = new SortedSet<TypeDesc>(TypeSystemComparer.Instance); 83private readonly SortedSet<MetadataType> _typesWithGenericStaticBaseInfo = new SortedSet<MetadataType>(TypeSystemComparer.Instance); 84private readonly SortedSet<MethodDesc> _genericMethodHashtableEntries = new SortedSet<MethodDesc>(TypeSystemComparer.Instance); 85private readonly SortedSet<MethodDesc> _exactMethodHashtableEntries = new SortedSet<MethodDesc>(TypeSystemComparer.Instance); 1065var allTypes = new SortedSet<MetadataType>(CompilerComparer.Instance);
Compiler\UsageBasedMetadataManager.cs (1)
53private readonly SortedSet<ModuleDesc> _modulesWithMetadata = new SortedSet<ModuleDesc>(CompilerComparer.Instance);
Compiler\UsageBasedTypeMapManager.cs (4)
62private readonly SortedSet<IExternalTypeMapNode> _externalTypeMaps = new SortedSet<IExternalTypeMapNode>(CompilerComparer.Instance); 63private readonly SortedSet<IProxyTypeMapNode> _proxyTypeMaps = new SortedSet<IProxyTypeMapNode>(CompilerComparer.Instance); 107SortedSet<TypeDesc> generatedMaps = new(TypeSystemComparer.Instance); 126SortedSet<TypeDesc> generatedMaps = new(TypeSystemComparer.Instance);
Microsoft.AspNetCore.HttpLogging (1)
W3CLoggerOptions.cs (1)
115public ISet<string> AdditionalRequestHeaders { get; } = new SortedSet<string>(StringComparer.OrdinalIgnoreCase);
Microsoft.AspNetCore.Mvc.Core (1)
Infrastructure\ActionSelectionTable.cs (1)
113var routeKeys = new SortedSet<string>(StringComparer.OrdinalIgnoreCase);
Microsoft.Build (2)
Evaluation\Expander.cs (1)
2667SortedSet<string> directories = new SortedSet<string>(StringComparer.OrdinalIgnoreCase);
Graph\ProjectGraph.cs (1)
757var seenTargets = new SortedSet<string>(StringComparer.OrdinalIgnoreCase);
Microsoft.CodeAnalysis.Analyzers (1)
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\PooledSortedSet.cs (1)
25: base(comparer)
Microsoft.CodeAnalysis.AnalyzerUtilities (1)
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\PooledSortedSet.cs (1)
25: base(comparer)
Microsoft.CodeAnalysis.ResxSourceGenerator (1)
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\PooledSortedSet.cs (1)
25: base(comparer)
Microsoft.DotNet.XliffTasks (1)
Tasks\EnsureAllResourcesTranslated.cs (1)
26SortedSet<string> untranslatedResourceSet = new(StringComparer.Ordinal);
Microsoft.ML.Sweeper (1)
Algorithms\KdoSweeper.cs (1)
105_alreadySeenConfigs = new SortedSet<float[]>(new FloatArrayComparer());
NuGet.Commands (5)
RestoreCommand\RestoreRequest.cs (2)
136public ISet<string> RequestedRuntimes { get; } = new SortedSet<string>(StringComparer.Ordinal); 143public ISet<string> FallbackRuntimes { get; } = new SortedSet<string>(StringComparer.Ordinal);
RestoreCommand\Utility\BuildAssetsUtils.cs (1)
785var allLanguages = new SortedSet<string>(StringComparer.OrdinalIgnoreCase);
Utility\MSBuildProjectFrameworkUtility.cs (1)
138var frameworks = new SortedSet<string>(StringComparer.OrdinalIgnoreCase);
Utility\RequestRuntimeUtility.cs (1)
24var runtimes = new SortedSet<string>(StringComparer.Ordinal);
NuGet.Packaging (1)
PackageCreation\Authoring\PackageBuilder.cs (1)
970var extensions = new SortedSet<string>(StringComparer.OrdinalIgnoreCase);
NuGet.ProjectModel (2)
DependencyGraphSpec.cs (2)
29private readonly SortedSet<string> _restore = new(PathUtility.GetStringComparerBasedOnOS()); 173var added = new SortedSet<string>(PathUtility.GetStringComparerBasedOnOS());
NuGet.Resolver (2)
ResolverInputSort.cs (2)
49var parentsForId = new SortedSet<string>(StringComparer.OrdinalIgnoreCase); 64var childrenOfLastId = new SortedSet<string>(StringComparer.OrdinalIgnoreCase);
Roslyn.Diagnostics.Analyzers (1)
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\PooledObjects\PooledSortedSet.cs (1)
25: base(comparer)
System.CodeDom (2)
Microsoft\CSharp\CSharpCodeGenerator.cs (1)
2442var importList = new SortedSet<string>(StringComparer.Ordinal);
Microsoft\VisualBasic\VBCodeGenerator.cs (1)
2233var importList = new SortedSet<string>(StringComparer.OrdinalIgnoreCase);
System.Collections (3)
System\Collections\Generic\SortedDictionary.cs (1)
884public TreeSet(IComparer<T>? comparer) : base(comparer) { }
System\Collections\Generic\SortedSet.cs (1)
85: this(comparer)
System\Collections\Generic\SortedSet.TreeSubSet.cs (1)
39: base(Underlying.Comparer)