mirror of
https://github.com/github/codeql.git
synced 2025-12-24 20:56:33 +01:00
17 lines
481 B
Plaintext
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()
|