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