Files
codeql/csharp/ql/src/Diagnostics/CompilerError.ql
2019-05-24 14:56:58 +01:00

17 lines
481 B
Plaintext

/**
* @name Compilation error
* @description A compilation error can cause extraction problems, and could lead to inaccurate results.
* @kind problem
* @problem.severity recommendation
* @precision high
* @id cs/compilation-error
* @tags internal non-attributable
*/
import csharp
import semmle.code.csharp.commons.Diagnostics
from CompilerError diagnostic
select diagnostic,
diagnostic.getSeverityText() + " " + diagnostic.getTag() + " " + diagnostic.getFullMessage()