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