5 references to GetCurrentWI
mscorlib (5)
system\security\principal\windowsidentity.cs (1)
771
return SecurityContext.
GetCurrentWI
(Thread.CurrentThread.GetExecutionContextReader());
system\security\securitycontext.cs (4)
365
if (
GetCurrentWI
(Thread.CurrentThread.GetExecutionContextReader()) != null)
373
Contract.Assert(
GetCurrentWI
(Thread.CurrentThread.GetExecutionContextReader()) == null);
589
WindowsIdentity currentIdentity =
GetCurrentWI
(currThreadEC);
702
return (IsDefaultThreadSecurityInfo() &&
GetCurrentWI
(threadEC) == null);