52 references to Alloc
libmscordaccore_universal (1)
Entrypoints.cs (1)
147GCHandle gcHandle = GCHandle.Alloc(new CdacHandle(target, new Lock()));
Microsoft.AspNetCore.Server.IIS (4)
Core\IISHttpContext.cs (1)
159_thisHandle = GCHandle.Alloc(this);
Core\IISHttpServer.cs (1)
98_httpServerHandle = GCHandle.Alloc(this);
Core\IO\WebSocketsAsyncIOEngine.Read.cs (1)
36_thisHandle = GCHandle.Alloc(this);
Core\IO\WebSocketsAsyncIOEngine.Write.cs (1)
31_thisHandle = GCHandle.Alloc(this);
Microsoft.Diagnostics.DataContractReader.Legacy (12)
Dbi\DacDbiImpl.cs (4)
823GCHandle dacHandle = GCHandle.Alloc(dacAssemblies); 1055GCHandle dacHandle = GCHandle.Alloc(dacThreads); 2432GCHandle dacHandle = GCHandle.Alloc(dacFrames); 3360GCHandle dacHandle = GCHandle.Alloc(dacFields);
Dbi\DacDbiImpl.NativeCodeInfo.cs (1)
135GCHandle dacHandle = GCHandle.Alloc(dacData);
Dbi\Helpers\StackWalkHandleData.cs (1)
49GCHandle gcHandle = GCHandle.Alloc(this);
IEnum.cs (1)
14GCHandle gcHandle = GCHandle.Alloc(this);
MetaDataImportImpl.cs (1)
75GCHandle handle = GCHandle.Alloc(e);
NativeStringHolder.cs (1)
35_delegateHandle = GCHandle.Alloc(assignCopy);
SOSDacImpl.cs (3)
4818GCHandle expectedHandle = GCHandle.Alloc(expected); 4978void* tokenDebug = GCHandle.ToIntPtr(GCHandle.Alloc(expectedElements)).ToPointer(); 5038GCHandle expectedElementsHandle = GCHandle.Alloc(expectedElements);
Microsoft.Private.Windows.Core (5)
Windows\Win32\PInvokeCore.EnumChildWindows.cs (1)
23GCHandle gcHandle = GCHandle.Alloc(callback);
Windows\Win32\PInvokeCore.EnumDisplayMonitors.cs (1)
19GCHandle gcHandle = GCHandle.Alloc(callBack);
Windows\Win32\PInvokeCore.EnumThreadWindows.cs (1)
25GCHandle gcHandle = GCHandle.Alloc(callback);
Windows\Win32\PInvokeCore.EnumWindows.cs (1)
22GCHandle gcHandle = GCHandle.Alloc(callback);
Windows\Win32\System\Com\Lifetime.cs (1)
58wrapper->_handle = (void*)GCHandle.ToIntPtr(GCHandle.Alloc(@object));
PresentationFramework (2)
System\Windows\Documents\WinEventHandler.cs (1)
33_gchThis = GCHandle.Alloc(_winEventProc);
System\Windows\Standard\MessageWindow.cs (1)
59gcHandle = GCHandle.Alloc(this);
System.Net.Http.WinHttpHandler (1)
System\Net\Http\WinHttpRequestState.cs (1)
49_operationHandle = GCHandle.Alloc(this);
System.Net.Quic (5)
System\Net\Quic\Internal\ResettableValueTaskSource.cs (2)
102_keepAlive = GCHandle.Alloc(keepAlive); 324GCHandle handle = GCHandle.Alloc(keepAlive);
System\Net\Quic\Internal\ValueTaskSource.cs (1)
85_keepAlive = GCHandle.Alloc(keepAlive);
System\Net\Quic\QuicConnection.cs (1)
572GCHandle keepObject = GCHandle.Alloc(this);
System\Net\Quic\QuicListener.cs (1)
182GCHandle keepObject = GCHandle.Alloc(this);
System.Net.Requests (1)
System\Net\TimerThread.cs (1)
207_thisHandle = (IntPtr)GCHandle.Alloc(this);
System.Net.Security (1)
src\runtime\src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.SslCtx.cs (1)
172_gch = GCHandle.Alloc(this);
System.Private.CoreLib (1)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Overlapped.cs (1)
161GCHandleRef(pNativeOverlapped, 0) = GCHandle.Alloc(this);
System.Private.TypeLoader (1)
Internal\Runtime\TypeLoader\LockFreeObjectInterner.cs (1)
58return GCHandle.Alloc(key);
System.Private.Windows.Core (5)
Windows\Win32\PInvokeCore.EnumChildWindows.cs (1)
23GCHandle gcHandle = GCHandle.Alloc(callback);
Windows\Win32\PInvokeCore.EnumDisplayMonitors.cs (1)
19GCHandle gcHandle = GCHandle.Alloc(callBack);
Windows\Win32\PInvokeCore.EnumThreadWindows.cs (1)
25GCHandle gcHandle = GCHandle.Alloc(callback);
Windows\Win32\PInvokeCore.EnumWindows.cs (1)
22GCHandle gcHandle = GCHandle.Alloc(callback);
Windows\Win32\System\Com\Lifetime.cs (1)
58wrapper->_handle = (void*)GCHandle.ToIntPtr(GCHandle.Alloc(@object));
System.Runtime.Caching (1)
System\Runtime\Caching\SRef.cs (1)
36_handle = GCHandle.Alloc(t);
System.Speech (1)
Internal\Synthesis\AudioBase.cs (1)
55GCHandle gc = GCHandle.Alloc(buffer);
System.Windows.Forms (3)
System\Windows\Forms\Components\Timer.cs (1)
114_timerRoot = GCHandle.Alloc(this);
System\Windows\Forms\Dialogs\CommonDialogs\FolderBrowserDialog.cs (1)
453GCHandle handle = GCHandle.Alloc(this);
System\Windows\Forms\Dialogs\TaskDialog\TaskDialog.cs (1)
559var instanceHandle = GCHandle.Alloc(this);
System.Windows.Forms.Primitives (1)
Windows\Win32\PInvoke.SendMessageCallback.cs (1)
19GCHandle gcHandle = GCHandle.Alloc(callback);
UIAutomationClient (4)
MS\Internal\Automation\EventListenerClientSide.cs (1)
32_gch = GCHandle.Alloc(_callbackDelegate);
MS\Internal\Automation\HwndProxyElementProvider.cs (1)
1576GCHandle gch = GCHandle.Alloc(enumWindows);
MS\Internal\Automation\UiaCoreApi.cs (1)
1560_gchandle = GCHandle.Alloc(onGetProviderDelegate);
MS\Internal\Automation\WinEventWrap.cs (1)
240_gchThis = GCHandle.Alloc(_winEventProc);
UIAutomationClientSideProviders (3)
MS\Internal\AutomationProxies\Misc.cs (1)
349GCHandle gch = GCHandle.Alloc(enumToolTipWindows);
MS\Internal\AutomationProxies\MSAAWinEventWrap.cs (1)
171_gchThis = GCHandle.Alloc(_winEventProc);
MS\Internal\AutomationProxies\WinEventTracker.cs (1)
173hp._procHookHandle = GCHandle.Alloc (proc);