11 references to Error
Microsoft.Build (4)
BuildCheck\API\BuildCheckResult.cs (1)
33CheckResultSeverity.Error => new BuildCheckResultError(this, CheckRule.Id),
BuildCheck\API\CheckConfiguration.cs (1)
119return CheckResultSeverity.Error;
BuildCheck\Infrastructure\CheckWrapper.cs (1)
141case CheckResultSeverity.Error:
BuildCheck\Utilities\CheckResultSeverityExtensions.cs (1)
27CheckResultSeverity.Error => DiagnosticSeverity.Error,
Microsoft.Build.BuildCheck.UnitTests (7)
CheckConfiguration_Test.cs (2)
35[InlineData("error", CheckResultSeverity.Error)] 36[InlineData("ERROR", CheckResultSeverity.Error)]
CheckConfigurationEffectiveTests.cs (2)
17[InlineData("ruleId", EvaluationCheckScope.ProjectFileOnly, CheckResultSeverity.Error, false)] 40[InlineData(CheckResultSeverity.Error, true)]
ConfigurationProvider_Tests.cs (3)
120buildConfig.Severity.ShouldBe(CheckResultSeverity.Error); 220[InlineData(CheckResultSeverity.Error, CheckResultSeverity.Error, true)]