Files
codeql/csharp/ql/src/Diagnostics/CompilerMessage.ql

15 lines
407 B
Plaintext

/**
* @name Compilation message
* @description A message emitted by the compiler, including warnings and errors.
* @kind diagnostic
* @id cs/compilation-message
* @tags internal non-attributable
*/
import csharp
import semmle.code.csharp.commons.Diagnostics
from Diagnostic diagnostic
select diagnostic,
diagnostic.getSeverityText() + " " + diagnostic.getTag() + " " + diagnostic.getFullMessage()