51 references to new
Aspire.Hosting.RemoteHost (1)
AssemblyLoader.cs (1)
68
var 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)
66
private readonly SortedSet<NonGCStaticsNode> _cctorContextsGenerated = new
SortedSet
<NonGCStaticsNode>(CompilerComparer.Instance);
67
private readonly SortedSet<MetadataType> _typesWithGCStaticsGenerated = new
SortedSet
<MetadataType>(CompilerComparer.Instance);
68
private readonly SortedSet<MetadataType> _typesWithNonGCStaticsGenerated = new
SortedSet
<MetadataType>(CompilerComparer.Instance);
69
private readonly SortedSet<MetadataType> _typesWithThreadStaticsGenerated = new
SortedSet
<MetadataType>(CompilerComparer.Instance);
70
private readonly SortedSet<TypeDesc> _typesWithEETypesGenerated = new
SortedSet
<TypeDesc>(TypeSystemComparer.Instance);
71
private readonly SortedSet<TypeDesc> _typesWithConstructedEETypesGenerated = new
SortedSet
<TypeDesc>(TypeSystemComparer.Instance);
72
private readonly SortedSet<MethodDesc> _methodsGenerated = new
SortedSet
<MethodDesc>(TypeSystemComparer.Instance);
73
private readonly SortedSet<MethodDesc> _reflectableMethods = new
SortedSet
<MethodDesc>(TypeSystemComparer.Instance);
74
private readonly SortedSet<GenericDictionaryNode> _genericDictionariesGenerated = new
SortedSet
<GenericDictionaryNode>(CompilerComparer.Instance);
75
private readonly SortedSet<IMethodBodyNode> _methodBodiesGenerated = new
SortedSet
<IMethodBodyNode>(CompilerComparer.Instance);
76
private 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)));
79
private readonly SortedSet<DefType> _typesWithDelegateMarshalling = new
SortedSet
<DefType>(TypeSystemComparer.Instance);
80
private readonly SortedSet<DefType> _typesWithStructMarshalling = new
SortedSet
<DefType>(TypeSystemComparer.Instance);
82
private readonly SortedSet<TypeDesc> _typeTemplates = new
SortedSet
<TypeDesc>(TypeSystemComparer.Instance);
83
private readonly SortedSet<MetadataType> _typesWithGenericStaticBaseInfo = new
SortedSet
<MetadataType>(TypeSystemComparer.Instance);
84
private readonly SortedSet<MethodDesc> _genericMethodHashtableEntries = new
SortedSet
<MethodDesc>(TypeSystemComparer.Instance);
85
private readonly SortedSet<MethodDesc> _exactMethodHashtableEntries = new
SortedSet
<MethodDesc>(TypeSystemComparer.Instance);
1065
var allTypes = new
SortedSet
<MetadataType>(CompilerComparer.Instance);
Compiler\UsageBasedMetadataManager.cs (1)
53
private readonly SortedSet<ModuleDesc> _modulesWithMetadata = new
SortedSet
<ModuleDesc>(CompilerComparer.Instance);
Compiler\UsageBasedTypeMapManager.cs (4)
62
private readonly SortedSet<IExternalTypeMapNode> _externalTypeMaps = new
SortedSet
<IExternalTypeMapNode>(CompilerComparer.Instance);
63
private readonly SortedSet<IProxyTypeMapNode> _proxyTypeMaps = new
SortedSet
<IProxyTypeMapNode>(CompilerComparer.Instance);
107
SortedSet<TypeDesc> generatedMaps =
new
(TypeSystemComparer.Instance);
126
SortedSet<TypeDesc> generatedMaps =
new
(TypeSystemComparer.Instance);
Microsoft.AspNetCore.HttpLogging (1)
W3CLoggerOptions.cs (1)
115
public ISet<string> AdditionalRequestHeaders { get; } = new
SortedSet
<string>(StringComparer.OrdinalIgnoreCase);
Microsoft.AspNetCore.Mvc.Core (1)
Infrastructure\ActionSelectionTable.cs (1)
113
var routeKeys = new
SortedSet
<string>(StringComparer.OrdinalIgnoreCase);
Microsoft.Build (2)
Evaluation\Expander.cs (1)
2667
SortedSet<string> directories = new
SortedSet
<string>(StringComparer.OrdinalIgnoreCase);
Graph\ProjectGraph.cs (1)
757
var 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)
26
SortedSet<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)
136
public ISet<string> RequestedRuntimes { get; } = new
SortedSet
<string>(StringComparer.Ordinal);
143
public ISet<string> FallbackRuntimes { get; } = new
SortedSet
<string>(StringComparer.Ordinal);
RestoreCommand\Utility\BuildAssetsUtils.cs (1)
785
var allLanguages = new
SortedSet
<string>(StringComparer.OrdinalIgnoreCase);
Utility\MSBuildProjectFrameworkUtility.cs (1)
138
var frameworks = new
SortedSet
<string>(StringComparer.OrdinalIgnoreCase);
Utility\RequestRuntimeUtility.cs (1)
24
var runtimes = new
SortedSet
<string>(StringComparer.Ordinal);
NuGet.Packaging (1)
PackageCreation\Authoring\PackageBuilder.cs (1)
970
var extensions = new
SortedSet
<string>(StringComparer.OrdinalIgnoreCase);
NuGet.ProjectModel (2)
DependencyGraphSpec.cs (2)
29
private readonly SortedSet<string> _restore =
new
(PathUtility.GetStringComparerBasedOnOS());
173
var added = new
SortedSet
<string>(PathUtility.GetStringComparerBasedOnOS());
NuGet.Resolver (2)
ResolverInputSort.cs (2)
49
var parentsForId = new
SortedSet
<string>(StringComparer.OrdinalIgnoreCase);
64
var 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)
2442
var importList = new
SortedSet
<string>(StringComparer.Ordinal);
Microsoft\VisualBasic\VBCodeGenerator.cs (1)
2233
var importList = new
SortedSet
<string>(StringComparer.OrdinalIgnoreCase);
System.Collections (3)
System\Collections\Generic\SortedDictionary.cs (1)
884
public 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)