18 references to SAC_State
Microsoft.Build (3)
BackEnd\BuildManager\BuildManager.cs (3)
1070
var
sacState = NativeMethodsShared.GetSACState();
1072
_buildTelemetry.SACEnabled = sacState == NativeMethodsShared.
SAC_State
.Evaluation || sacState == NativeMethodsShared.
SAC_State
.Enforcement;
Microsoft.Build.Framework (12)
NativeMethods.cs (12)
667
private static
SAC_State
? s_sacState;
673
internal static
SAC_State
GetSACState()
680
internal static
SAC_State
GetSACStateInternal()
690
return
SAC_State
.Missing;
694
return
SAC_State
.NotApplicable;
698
private static
SAC_State
GetSACStateRegistry()
700
SAC_State
SACState =
SAC_State
.Missing;
709
0 =>
SAC_State
.Off,
710
1 =>
SAC_State
.Enforcement,
711
2 =>
SAC_State
.Evaluation,
712
_ =>
SAC_State
.Missing,
MSBuild (3)
XMake.cs (3)
1775
NativeMethodsShared.
SAC_State
SAC_State = NativeMethodsShared.GetSACState();
1776
if (SAC_State != NativeMethodsShared.
SAC_State
.NotApplicable && SAC_State != NativeMethodsShared.
SAC_State
.Missing)