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)
111
allContexts.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)
467
ThreadCsOwnedObjects[jsHandle] = new
WeakReference
<JSObject>(res, trackResurrection: true);