3 writes to tokenHandle
System.ServiceModel.Activation (3)
System\ServiceModel\Activation\HostedImpersonationContext.cs (3)
39true, out tokenHandle, out error); 49tokenHandle = null; 124tokenHandle = null;
8 references to tokenHandle
System.ServiceModel.Activation (8)
System\ServiceModel\Activation\HostedImpersonationContext.cs (8)
48CloseInvalidOutSafeHandleCritical(tokenHandle); 91Fx.Assert(tokenHandle != null, "The token handle was incorrectly released earlier."); 93lock (tokenHandle) 95context = HostedInnerImpersonationContext.UnsafeCreate(tokenHandle.DangerousGetHandle()); 96GC.KeepAlive(tokenHandle); 117Fx.Assert(tokenHandle != null, "The token handle is incorrectly released earlier."); 121lock (tokenHandle) 123tokenHandle.Close();