5 references to IsWarningAsError
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation (1)
CompilationFailedExceptionFactory.cs (1)
54
.Where(diagnostic => diagnostic.
IsWarningAsError
|| diagnostic.Severity == DiagnosticSeverity.Error)
Microsoft.CodeAnalysis (2)
CommandLine\CommonCompiler.cs (1)
1648
errors = diagnostics.ToReadOnlyAndFree().SelectAsArray(diag => new DiagnosticInfo(messageProvider, diag.
IsWarningAsError
, diag.Code, (object[])diag.Arguments));
Diagnostic\Diagnostic.cs (1)
328
/// To determine if this is a warning treated as an error, use <see cref="
IsWarningAsError
"/>.
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (1)
Diagnostics\DiagnosticAnalyzerTests.cs (1)
408
Assert.Equal(1, effectiveDiags.Count(d => d.
IsWarningAsError
));
Microsoft.CodeAnalysis.Test.Utilities (1)
Diagnostics\DiagnosticDescription.cs (1)
126
_isWarningAsError = d.
IsWarningAsError
;