18 references to SecurityContextDisableFlow
mscorlib (18)
system\security\securitycontext.cs (17)
180
internal volatile
SecurityContextDisableFlow
_disableFlow =
SecurityContextDisableFlow
.Nothing;
200
public bool IsFlowSuppressed(
SecurityContextDisableFlow
flags)
280
return SuppressFlow(
SecurityContextDisableFlow
.All);
286
return SuppressFlow(
SecurityContextDisableFlow
.WI);
290
internal static AsyncFlowControl SuppressFlow(
SecurityContextDisableFlow
flags)
309
if (sc == null || sc._disableFlow ==
SecurityContextDisableFlow
.Nothing)
313
sc._disableFlow =
SecurityContextDisableFlow
.Nothing;
318
return SecurityContext.IsFlowSuppressed(
SecurityContextDisableFlow
.All);
323
return (_LegacyImpersonationPolicy|| SecurityContext.IsFlowSuppressed(
SecurityContextDisableFlow
.WI));
327
internal static bool IsFlowSuppressed(
SecurityContextDisableFlow
flags)
455
SecurityContextDisableFlow
_capturedFlowState = sc._disableFlow;
456
sc._disableFlow =
SecurityContextDisableFlow
.Nothing;
484
else if ( ((_capturedFlowState &
SecurityContextDisableFlow
.WI) == 0)
569
if (currThreadEC.SecurityContext.IsFlowSuppressed(
SecurityContextDisableFlow
.All))
595
sc._disableFlow =
SecurityContextDisableFlow
.WI;
612
sc._disableFlow =
SecurityContextDisableFlow
.WI;
system\threading\executioncontext.cs (1)
398
internal void Setup(
SecurityContextDisableFlow
flags)