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