3 instantiations of WeakReferenceCollection
System.ComponentModel.Composition (3)
System\ComponentModel\Composition\Hosting\ImportEngine.RecompositionManager.cs (3)
20private readonly WeakReferenceCollection<PartManager> _partsToIndex = new WeakReferenceCollection<PartManager>(); 21private readonly WeakReferenceCollection<PartManager> _partsToUnindex = new WeakReferenceCollection<PartManager>(); 86indexEntries = new WeakReferenceCollection<PartManager>();
7 references to WeakReferenceCollection
System.ComponentModel.Composition (7)
System\ComponentModel\Composition\Hosting\ImportEngine.RecompositionManager.cs (7)
20private readonly WeakReferenceCollection<PartManager> _partsToIndex = new WeakReferenceCollection<PartManager>(); 21private readonly WeakReferenceCollection<PartManager> _partsToUnindex = new WeakReferenceCollection<PartManager>(); 22private readonly Dictionary<string, WeakReferenceCollection<PartManager>> _partManagerIndex = new Dictionary<string, WeakReferenceCollection<PartManager>>(); 72if (!_partManagerIndex.TryGetValue(contractName, out WeakReferenceCollection<PartManager>? partManagerList)) 84if (!_partManagerIndex.TryGetValue(contractName, out WeakReferenceCollection<PartManager>? indexEntries)) 101if (_partManagerIndex.TryGetValue(contractName, out WeakReferenceCollection<PartManager>? indexEntries))