16 references to Weak
Microsoft.NET.StringTools (1)
WeakStringCache.cs (1)
80
weakHandle = GCHandle.Alloc(str, GCHandleType.
Weak
);
Microsoft.NET.StringTools.net35 (1)
WeakStringCache.cs (1)
80
weakHandle = GCHandle.Alloc(str, GCHandleType.
Weak
);
System.Net.Quic (5)
System\Net\Quic\QuicConnection.cs (2)
319
GCHandle context = GCHandle.Alloc(this, GCHandleType.
Weak
);
353
GCHandle context = GCHandle.Alloc(this, GCHandleType.
Weak
);
System\Net\Quic\QuicListener.cs (1)
123
GCHandle context = GCHandle.Alloc(this, GCHandleType.
Weak
);
System\Net\Quic\QuicStream.cs (2)
168
GCHandle context = GCHandle.Alloc(this, GCHandleType.
Weak
);
210
GCHandle context = GCHandle.Alloc(this, GCHandleType.
Weak
);
System.Private.CoreLib (7)
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\ComWrappers.cs (3)
590
_proxyHandle = GCHandle.Alloc(comProxy, GCHandleType.
Weak
);
698
_nativeObjectWrapperWeakHandle = GCHandle.Alloc(this, GCHandleType.
Weak
);
1311
rcwEntry = GCHandle.Alloc(wrapper, GCHandleType.
Weak
);
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\WeakGCHandle.T.cs (2)
14
/// <para>This type corresponds to <see cref="GCHandleType.
Weak
"/> or <see cref="GCHandleType.WeakTrackResurrection"/>.</para>
36
_handle = GCHandle.InternalAlloc(target, trackResurrection ? GCHandleType.WeakTrackResurrection : GCHandleType.
Weak
);
src\libraries\System.Private.CoreLib\src\System\WeakReference.cs (1)
83
nint h = GCHandle.InternalAlloc(target, trackResurrection ? GCHandleType.WeakTrackResurrection : GCHandleType.
Weak
);
src\libraries\System.Private.CoreLib\src\System\WeakReference.T.cs (1)
83
nint h = GCHandle.InternalAlloc(target, trackResurrection ? GCHandleType.WeakTrackResurrection : GCHandleType.
Weak
);
System.Windows.Forms (2)
System\Windows\Forms\NativeWindow.cs (2)
245
GCHandle root = GCHandle.Alloc(window, GCHandleType.
Weak
);
735
s_windowHandles[hwnd] = GCHandle.Alloc(window.PreviousWindow, GCHandleType.
Weak
);