5 writes to EvaluationCheckScope
Microsoft.Build (5)
BuildCheck\API\CheckConfiguration.cs (2)
23EvaluationCheckScope = BuildCheck.EvaluationCheckScope.ProjectFileOnly, 72EvaluationCheckScope = TryExtractEvaluationCheckScope(configDictionary),
BuildCheck\Checks\PropertiesUsageCheck.cs (3)
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 });
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)
26new(string.Empty, CheckConfiguration.Default.EvaluationCheckScope!.Value,
BuildCheck\Infrastructure\ConfigurationProvider.cs (1)
266evaluationCheckScope: GetConfigValue(editorConfig, defaultConfig, cfg => cfg.EvaluationCheckScope),
Microsoft.Build.BuildCheck.UnitTests (5)
CheckConfiguration_Test.cs (4)
21buildConfig.EvaluationCheckScope.ShouldBeNull(); 31buildConfig.EvaluationCheckScope.ShouldBeNull(); 56buildConfig.EvaluationCheckScope.ShouldBeNull(); 95buildConfig.EvaluationCheckScope.ShouldBe(expected);
ConfigurationProvider_Tests.cs (1)
121buildConfig.EvaluationCheckScope.ShouldBe(EvaluationCheckScope.ProjectFileOnly);