10 references to GCUtil
System.Web (10)
Hosting\HostingEnvironment.cs (2)
1599
return
GCUtil
.RootObject(state);
1603
var unwrappedState =
GCUtil
.UnrootObject(state);
Hosting\IIS7WorkerRequest.cs (1)
2263
return (IPrincipal)
GCUtil
.UnrootObject(pManagedPrincipal);
Hosting\IPipelineRuntime.cs (1)
452
return
GCUtil
.RootObject(principal);
HttpContext.cs (2)
590
_rootedPtr =
GCUtil
.RootObject(this);
594
GCUtil
.UnrootObject(_rootedPtr);
WebSockets\WebSocketPipe.cs (4)
59
IntPtr completionContext =
GCUtil
.RootObject(callback);
98
IntPtr completionContext =
GCUtil
.RootObject(callback);
160
IntPtr completionContext =
GCUtil
.RootObject(callback);
225
CompletionCallback callback = (CompletionCallback)
GCUtil
.UnrootObject(pvCompletionContext);