mirror of
https://github.com/github/codeql.git
synced 2025-12-20 18:56:32 +01:00
C#: Change kind query metadata to diagnostic for compiler/extractor errors and messages
This commit is contained in:
@@ -1,9 +1,7 @@
|
||||
/**
|
||||
* @name Compilation error
|
||||
* @description A compilation error can cause extraction problems, and could lead to inaccurate results.
|
||||
* @kind problem
|
||||
* @problem.severity recommendation
|
||||
* @precision high
|
||||
* @kind diagnostic
|
||||
* @id cs/compilation-error
|
||||
* @tags internal non-attributable
|
||||
*/
|
||||
|
||||
@@ -1,9 +1,7 @@
|
||||
/**
|
||||
* @name Compilation message
|
||||
* @description A message emitted by the compiler, including warnings and errors.
|
||||
* @kind problem
|
||||
* @problem.severity recommendation
|
||||
* @precision high
|
||||
* @kind diagnostic
|
||||
* @id cs/compilation-message
|
||||
* @tags internal non-attributable
|
||||
*/
|
||||
|
||||
@@ -3,9 +3,7 @@
|
||||
* @description An error message reported by the extractor, limited to those files where there are no
|
||||
* compilation errors. This indicates a bug or limitation in the extractor, and could lead
|
||||
* to inaccurate results.
|
||||
* @kind problem
|
||||
* @problem.severity recommendation
|
||||
* @precision high
|
||||
* @kind diagnostic
|
||||
* @id cs/extraction-error
|
||||
* @tags internal non-attributable
|
||||
*/
|
||||
|
||||
@@ -1,9 +1,7 @@
|
||||
/**
|
||||
* @name Extraction message
|
||||
* @description An error message reported by the extractor. This could lead to inaccurate results.
|
||||
* @kind problem
|
||||
* @problem.severity recommendation
|
||||
* @precision high
|
||||
* @kind diagnostic
|
||||
* @id cs/extraction-message
|
||||
* @tags internal non-attributable
|
||||
*/
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
---
|
||||
category: queryMetadata
|
||||
---
|
||||
* The `kind` query metadata was changed to `diagnostic` on `cs/compilation-error`, `cs/compilation-message`, `cs/extraction-error`, and `cs/extraction-message`.
|
||||
Reference in New Issue
Block a user