5 writes to EvaluationCheckScope
Microsoft.Build (5)
BuildCheck\API\CheckConfiguration.cs (2)
23
EvaluationCheckScope
= BuildCheck.EvaluationCheckScope.ProjectFileOnly,
72
EvaluationCheckScope
= TryExtractEvaluationCheckScope(configDictionary),
BuildCheck\Checks\PropertiesUsageCheck.cs (3)
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 });
8 references to EvaluationCheckScope
Microsoft.Build (3)
BuildCheck\API\CheckConfiguration.cs (1)
15
/// The <see cref="
EvaluationCheckScope
"/> setting must be same for all rules in the same check (but can differ between projects)
BuildCheck\Infrastructure\CheckConfigurationEffective.cs (1)
26
new(string.Empty, CheckConfiguration.Default.
EvaluationCheckScope
!.Value,
BuildCheck\Infrastructure\ConfigurationProvider.cs (1)
266
evaluationCheckScope: GetConfigValue(editorConfig, defaultConfig, cfg => cfg.
EvaluationCheckScope
),
Microsoft.Build.BuildCheck.UnitTests (5)
CheckConfiguration_Test.cs (4)
21
buildConfig.
EvaluationCheckScope
.ShouldBeNull();
31
buildConfig.
EvaluationCheckScope
.ShouldBeNull();
56
buildConfig.
EvaluationCheckScope
.ShouldBeNull();
95
buildConfig.
EvaluationCheckScope
.ShouldBe(expected);
ConfigurationProvider_Tests.cs (1)
121
buildConfig.
EvaluationCheckScope
.ShouldBe(EvaluationCheckScope.ProjectFileOnly);