23 references to EvaluationCheckScope
Microsoft.Build (23)
BuildCheck\API\CheckConfiguration.cs (6)
23EvaluationCheckScope = BuildCheck.EvaluationCheckScope.ProjectFileOnly, 37public EvaluationCheckScope? EvaluationCheckScope { get; init; } 76private static EvaluationCheckScope? TryExtractEvaluationCheckScope(Dictionary<string, string>? config) 88return BuildCheck.EvaluationCheckScope.ProjectFileOnly; 90return BuildCheck.EvaluationCheckScope.WorkTreeImports; 92return BuildCheck.EvaluationCheckScope.All;
BuildCheck\Checks\NoEnvironmentVariablePropertyCheck.cs (1)
32private EvaluationCheckScope _scope;
BuildCheck\Checks\PropertiesUsageCheck.cs (6)
20new CheckConfiguration() { RuleId = "BC0201", Severity = CheckResultSeverity.Warning, EvaluationCheckScope = EvaluationCheckScope.ProjectFileOnly }); 25new CheckConfiguration() { RuleId = "BC0202", Severity = CheckResultSeverity.Warning, EvaluationCheckScope = EvaluationCheckScope.ProjectFileOnly }); 30new CheckConfiguration() { RuleId = "BC0203", Severity = CheckResultSeverity.None, EvaluationCheckScope = EvaluationCheckScope.ProjectFileOnly }); 41private EvaluationCheckScope _uninitializedReadScope; 42private EvaluationCheckScope _unusedPropertyScope; 43private EvaluationCheckScope _initializedAfterUseScope;
BuildCheck\Infrastructure\CheckConfigurationEffective.cs (2)
13public CheckConfigurationEffective(string ruleId, EvaluationCheckScope evaluationCheckScope, CheckResultSeverity severity) 31public EvaluationCheckScope EvaluationCheckScope { get; }
BuildCheck\Infrastructure\CheckScopeClassifier.cs (8)
22public static Func<EvaluationCheckScope, bool> IsScopingReady => (scope) => (scope is EvaluationCheckScope.ProjectFileOnly or EvaluationCheckScope.All) || IsScopingInitialized; 33EvaluationCheckScope scope, 47EvaluationCheckScope scope, 51EvaluationCheckScope.ProjectFileOnly => filePathOfEvent == projectFileFullPath, 52EvaluationCheckScope.WorkTreeImports => filePathOfEvent != null 55EvaluationCheckScope.All => true,