27 references to Alloc
mscorlib (1)
system\runtime\remoting\remotingservices.cs (1)
1809return System.Runtime.InteropServices.GCHandle.Alloc(delegateCallToken);
PresentationFramework (2)
src\Framework\System\Windows\Documents\WinEventHandler.cs (1)
52_gchThis = GCHandle.Alloc(_winEventProc.Value);
src\Framework\System\Windows\Standard\MessageWindow.cs (1)
92gcHandle = GCHandle.Alloc(this);
System (1)
net\System\Net\_TimerThread.cs (1)
313m_ThisHandle = (IntPtr) GCHandle.Alloc(this);
System.IdentityModel (1)
System\IdentityModel\Tokens\RsaSecurityToken.cs (1)
61this.rsaHandle = GCHandle.Alloc(rsa);
System.Runtime.Caching (1)
System\Caching\SRef.cs (1)
90_handle = GCHandle.Alloc(t);
System.Web (10)
FileChangesMonitor.cs (1)
444_rootCallback = GCHandle.Alloc(myCallback);
Hosting\ISAPIWorkerRequest.cs (4)
2359_rootedThis = GCHandle.Alloc(this); // root for the duration of IO 2377_rootedThis = GCHandle.Alloc(this); // root for the duration of IO 2623_rootedThis = GCHandle.Alloc(this); // root for duration of async operation 2716_rootedThis = GCHandle.Alloc(this); // root for the duration of ExecuteUrl
RootedObjects.cs (1)
39_handle = GCHandle.Alloc(this);
Util\AspCompat.cs (1)
349_rootedThis = GCHandle.Alloc(this);
Util\GCUtil.cs (2)
21? (IntPtr)GCHandle.Alloc(obj) 48_handle = GCHandle.Alloc(t);
Util\WorkItem.cs (1)
84_rootedThis = GCHandle.Alloc(this);
System.Windows.Forms (2)
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (1)
7154mouseHookRoot = GCHandle.Alloc(hook);
winforms\Managed\System\WinForms\Timer.cs (1)
175timerRoot = GCHandle.Alloc(this);
System.Workflow.Runtime (1)
DebugEngine\ProgramPublisher.cs (1)
70this.gchWdeProgramNode = GCHandle.Alloc(this.wdeProgramNodeSingleton);
UIAutomationClient (4)
MS\Internal\Automation\EventListenerClientSide.cs (1)
43_gch = GCHandle.Alloc(_callbackDelegate);
MS\Internal\Automation\HwndProxyElementProvider.cs (1)
1588GCHandle gch = GCHandle.Alloc(enumWindows);
MS\Internal\Automation\UiaCoreAPI.cs (1)
1556_gchandle = GCHandle.Alloc(onGetProviderDelegate);
MS\Internal\Automation\WinEventWrap.cs (1)
266_gchThis = GCHandle.Alloc(_winEventProc);
UIAutomationClientsideProviders (3)
MS\Internal\AutomationProxies\Misc.cs (1)
364GCHandle gch = GCHandle.Alloc(enumToolTipWindows);
MS\Internal\AutomationProxies\MSAAWinEventWrap.cs (1)
183_gchThis = GCHandle.Alloc(_winEventProc);
MS\Internal\AutomationProxies\WinEventTracker.cs (1)
187hp._procHookHandle = GCHandle.Alloc (proc);
WindowsBase (1)
Shared\MS\Win32\HwndSubclass.cs (1)
98_gcHandle = GCHandle.Alloc(this);