17 references to Instance
ILCompiler.Compiler (15)
Compiler\DependencyAnalysis\InterfaceDispatchCellSectionNode.cs (1)
107private readonly CompilerComparer _comparer = CompilerComparer.Instance;
Compiler\DependencyAnalysis\NodeFactory.cs (2)
1640new SortableDependencyNode.ObjectNodeComparer(CompilerComparer.Instance)); 1644new SortableDependencyNode.EmbeddedObjectNodeComparer(CompilerComparer.Instance));
Compiler\ILScanner.cs (1)
923threadStaticNodes.Sort(CompilerComparer.Instance);
Compiler\MetadataManager.cs (8)
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); 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); 1059var allTypes = new SortedSet<MetadataType>(CompilerComparer.Instance);
Compiler\UsageBasedMetadataManager.cs (1)
53private readonly SortedSet<ModuleDesc> _modulesWithMetadata = new SortedSet<ModuleDesc>(CompilerComparer.Instance);
Compiler\UsageBasedTypeMapManager.cs (2)
62private readonly SortedSet<IExternalTypeMapNode> _externalTypeMaps = new SortedSet<IExternalTypeMapNode>(CompilerComparer.Instance); 63private readonly SortedSet<IProxyTypeMapNode> _proxyTypeMaps = new SortedSet<IProxyTypeMapNode>(CompilerComparer.Instance);
ILCompiler.RyuJit (2)
Compiler\RyuJitCompilationBuilder.cs (1)
153DependencyAnalyzerBase<NodeFactory> graph = CreateDependencyGraph(factory, new ObjectNode.ObjectNodeComparer(CompilerComparer.Instance));
src\runtime\src\coreclr\tools\aot\ILCompiler.ReadyToRun\Compiler\FileLayoutOptimizer.cs (1)
116newNodesArray.MergeSortAllowDuplicates(new SortableDependencyNode.ObjectNodeComparer(CompilerComparer.Instance));