21 references to Warning
Microsoft.Build (9)
BuildCheck\API\BuildCheckResult.cs (1)
34
CheckResultSeverity.
Warning
=> new BuildCheckResultWarning(this),
BuildCheck\API\CheckConfiguration.cs (1)
117
return CheckResultSeverity.
Warning
;
BuildCheck\Checks\DoubleWritesCheck.cs (1)
26
new CheckConfiguration() { Severity = CheckResultSeverity.
Warning
});
BuildCheck\Checks\PreferProjectReferenceCheck.cs (1)
18
new CheckConfiguration() { RuleId = RuleId, Severity = CheckResultSeverity.
Warning
});
BuildCheck\Checks\PropertiesUsageCheck.cs (2)
20
new CheckConfiguration() { RuleId = "BC0201", Severity = CheckResultSeverity.
Warning
, EvaluationCheckScope = EvaluationCheckScope.ProjectFileOnly });
25
new CheckConfiguration() { RuleId = "BC0202", Severity = CheckResultSeverity.
Warning
, EvaluationCheckScope = EvaluationCheckScope.ProjectFileOnly });
BuildCheck\Checks\SharedOutputPathCheck.cs (1)
18
new CheckConfiguration() { RuleId = RuleId, Severity = CheckResultSeverity.
Warning
});
BuildCheck\Infrastructure\CheckWrapper.cs (1)
135
case CheckResultSeverity.
Warning
:
BuildCheck\Utilities\CheckResultSeverityExtensions.cs (1)
26
CheckResultSeverity.
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)]
27
severity: 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)]
235
Severity = CheckResultSeverity.
Warning
TaskInvocationAnalysisDataTests.cs (1)
28
new CheckConfiguration() { Severity = CheckResultSeverity.
Warning
});