20 references to Warning
Microsoft.Build (8)
BuildCheck\API\BuildCheckResult.cs (1)
32CheckResultSeverity.Warning => new BuildCheckResultWarning(this, CheckRule.Id),
BuildCheck\API\CheckConfiguration.cs (1)
117return CheckResultSeverity.Warning;
BuildCheck\Checks\DoubleWritesCheck.cs (1)
29new CheckConfiguration() { Severity = CheckResultSeverity.Warning });
BuildCheck\Checks\PropertiesUsageCheck.cs (2)
22new CheckConfiguration() { Severity = CheckResultSeverity.Warning, EvaluationCheckScope = EvaluationCheckScope.ProjectFileOnly }); 27new CheckConfiguration() { Severity = CheckResultSeverity.Warning, EvaluationCheckScope = EvaluationCheckScope.ProjectFileOnly });
BuildCheck\Checks\SharedOutputPathCheck.cs (1)
22new CheckConfiguration() { RuleId = RuleId, Severity = CheckResultSeverity.Warning });
BuildCheck\Infrastructure\CheckWrapper.cs (1)
138case 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 });