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