5 writes to EvaluationCheckScope
Microsoft.Build (5)
BuildCheck\API\CheckConfiguration.cs (2)
24EvaluationCheckScope = BuildCheck.EvaluationCheckScope.ProjectFileOnly, 73EvaluationCheckScope = TryExtractEvaluationCheckScope(configDictionary),
BuildCheck\Checks\PropertiesUsageCheck.cs (3)
22new CheckConfiguration() { Severity = CheckResultSeverity.Warning, EvaluationCheckScope = EvaluationCheckScope.ProjectFileOnly }); 27new CheckConfiguration() { Severity = CheckResultSeverity.Warning, EvaluationCheckScope = EvaluationCheckScope.ProjectFileOnly }); 32new CheckConfiguration() { Severity = CheckResultSeverity.Suggestion, EvaluationCheckScope = EvaluationCheckScope.ProjectFileOnly });
8 references to EvaluationCheckScope
Microsoft.Build (3)
BuildCheck\API\CheckConfiguration.cs (1)
16/// 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)
27new(string.Empty, CheckConfiguration.Default.EvaluationCheckScope!.Value,
BuildCheck\Infrastructure\ConfigurationProvider.cs (1)
267evaluationCheckScope: 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);