12 references to WeakReference
System.Data.Odbc (2)
src\libraries\Common\src\System\Data\ProviderBase\DbConnectionInternal.cs (1)
22
private readonly WeakReference _owningObject = new
WeakReference
(null, false); // [usage must be thread safe] the owning object, when not in the pool. (both Pooled and Non-Pooled connections)
src\libraries\Common\src\System\Data\ProviderBase\DbReferenceCollection.cs (1)
29
_weak = new
WeakReference
(target, false);
System.Private.CoreLib (1)
src\libraries\System.Private.CoreLib\src\System\WeakReference.cs (1)
46
:
this
(target, false)
System.Transactions.Local (3)
System\Transactions\TransactionManager.cs (1)
600
weakRef = new
WeakReference
(tx, false);
System\Transactions\TransactionState.cs (2)
2227
WeakReference weakRef = new
WeakReference
(tx._outcomeSource, false);
3325
WeakReference weakRef = new
WeakReference
(tx._outcomeSource, false);
System.Windows.Forms (4)
System\Windows\Forms\DataBinding\BindingContext.cs (2)
112
_listManagers[GetKey(dataSource, string.Empty)] = new
WeakReference
(listManager, false);
278
_listManagers.Add(key, new
WeakReference
(bindingManagerBase, false));
System\Windows\Forms\DataBinding\BindingContext.HashKey.cs (1)
23
_wRef = new
WeakReference
(dataSource, false);
System\Windows\Forms\DataBinding\Command.cs (1)
17
:
base
(target, false)
System.Windows.Forms.Tests (1)
System\Windows\Forms\ListViewTests.cs (1)
1105
return new
WeakReference
(listView, true);
WindowsFormsIntegration (1)
System\Windows\Integration\ApplicationInterop.cs (1)
359
WeakReference newItem = new
WeakReference
(obj, false);