27 references to Alloc
mscorlib (1)
system\runtime\remoting\remotingservices.cs (1)
1809
return 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)
92
gcHandle = GCHandle.
Alloc
(this);
System (1)
net\System\Net\_TimerThread.cs (1)
313
m_ThisHandle = (IntPtr) GCHandle.
Alloc
(this);
System.IdentityModel (1)
System\IdentityModel\Tokens\RsaSecurityToken.cs (1)
61
this.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)
7154
mouseHookRoot = GCHandle.
Alloc
(hook);
winforms\Managed\System\WinForms\Timer.cs (1)
175
timerRoot = GCHandle.
Alloc
(this);
System.Workflow.Runtime (1)
DebugEngine\ProgramPublisher.cs (1)
70
this.gchWdeProgramNode = GCHandle.
Alloc
(this.wdeProgramNodeSingleton);
UIAutomationClient (4)
MS\Internal\Automation\EventListenerClientSide.cs (1)
43
_gch = GCHandle.
Alloc
(_callbackDelegate);
MS\Internal\Automation\HwndProxyElementProvider.cs (1)
1588
GCHandle 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)
364
GCHandle gch = GCHandle.
Alloc
(enumToolTipWindows);
MS\Internal\AutomationProxies\MSAAWinEventWrap.cs (1)
183
_gchThis = GCHandle.
Alloc
(_winEventProc);
MS\Internal\AutomationProxies\WinEventTracker.cs (1)
187
hp._procHookHandle = GCHandle.
Alloc
(proc);
WindowsBase (1)
Shared\MS\Win32\HwndSubclass.cs (1)
98
_gcHandle = GCHandle.
Alloc
(this);