21 references to Warning
Microsoft.Build (9)
BuildCheck\API\BuildCheckResult.cs (1)
34CheckResultSeverity.Warning => new BuildCheckResultWarning(this),
BuildCheck\API\CheckConfiguration.cs (1)
117return CheckResultSeverity.Warning;
BuildCheck\Checks\DoubleWritesCheck.cs (1)
26new CheckConfiguration() { Severity = CheckResultSeverity.Warning });
BuildCheck\Checks\PreferProjectReferenceCheck.cs (1)
18new CheckConfiguration() { RuleId = RuleId, Severity = CheckResultSeverity.Warning });
BuildCheck\Checks\PropertiesUsageCheck.cs (2)
20new CheckConfiguration() { RuleId = "BC0201", Severity = CheckResultSeverity.Warning, EvaluationCheckScope = EvaluationCheckScope.ProjectFileOnly }); 25new CheckConfiguration() { RuleId = "BC0202", Severity = CheckResultSeverity.Warning, EvaluationCheckScope = EvaluationCheckScope.ProjectFileOnly });
BuildCheck\Checks\SharedOutputPathCheck.cs (1)
18new CheckConfiguration() { RuleId = RuleId, Severity = CheckResultSeverity.Warning });
BuildCheck\Infrastructure\CheckWrapper.cs (1)
135case CheckResultSeverity.Warning:
BuildCheck\Utilities\CheckResultSeverityExtensions.cs (1)
26CheckResultSeverity.Warning => DiagnosticSeverity.Warning,
Microsoft.Build.BuildCheck.UnitTests (12)
CheckConfiguration_Test.cs (2)
39[InlineData("warning", CheckResultSeverity.Warning)] 40[InlineData("WARNING", CheckResultSeverity.Warning)]
CheckConfigurationEffectiveTests.cs (4)
15[InlineData("ruleId", EvaluationCheckScope.ProjectFileOnly, CheckResultSeverity.Warning, true)] 16[InlineData("ruleId2", EvaluationCheckScope.ProjectFileOnly, CheckResultSeverity.Warning, true)] 27severity: CheckResultSeverity.Warning); 38[InlineData(CheckResultSeverity.Warning, true)]
ConfigurationProvider_Tests.cs (5)
219[InlineData(CheckResultSeverity.Warning, CheckResultSeverity.Warning, true)] 221[InlineData(CheckResultSeverity.Default, CheckResultSeverity.Warning, true)] 224[InlineData(null, CheckResultSeverity.Warning, true)] 235Severity = CheckResultSeverity.Warning
TaskInvocationAnalysisDataTests.cs (1)
28new CheckConfiguration() { Severity = CheckResultSeverity.Warning });