7 references to WeakReference
Microsoft.ML.Transforms (1)
Text\WordEmbeddingsExtractor.cs (1)
720_vocab[_modelFileNameWithPath] = new WeakReference<Model>(model, false);
System.Private.CoreLib (5)
src\runtime\src\coreclr\nativeaot\Common\src\System\Collections\Concurrent\ConcurrentUnifierW.cs (2)
225_entries[idx]._weakValue = new WeakReference<V>(value, trackResurrection: false); 237_entries[newEntryIdx]._weakValue = new WeakReference<V>(value, trackResurrection: false);
src\runtime\src\coreclr\nativeaot\Common\src\System\Collections\Concurrent\ConcurrentUnifierWKeyed.cs (1)
219_entries[newEntryIdx]._weakValue = new WeakReference<V>(value, trackResurrection: false);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\Loader\AssemblyLoadContext.cs (1)
111allContexts.Add(_id, new WeakReference<AssemblyLoadContext>(this, true));
src\runtime\src\libraries\System.Private.CoreLib\src\System\WeakReference.T.cs (1)
30: this(target, false)
System.Runtime.InteropServices.JavaScript (1)
System\Runtime\InteropServices\JavaScript\JSProxyContext.cs (1)
467ThreadCsOwnedObjects[jsHandle] = new WeakReference<JSObject>(res, trackResurrection: true);