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