13 references to Weak
Microsoft.NET.StringTools (1)
WeakStringCache.cs (1)
93
WeakHandle = GCHandle.Alloc(str, GCHandleType.
Weak
);
Microsoft.NET.StringTools.net35 (1)
WeakStringCache.cs (1)
93
WeakHandle = GCHandle.Alloc(str, GCHandleType.
Weak
);
System.Net.Quic (5)
System\Net\Quic\QuicConnection.cs (2)
318
GCHandle context = GCHandle.Alloc(this, GCHandleType.
Weak
);
352
GCHandle context = GCHandle.Alloc(this, GCHandleType.
Weak
);
System\Net\Quic\QuicListener.cs (1)
121
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 (4)
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
);