Merge pull request #9564 from tamasvajk/fix/diagnostic-query-metadata

C#: Change `kind` query metadata to `diagnostic` for compiler/extractor errors and messages
This commit is contained in:
Tamás Vajk
2022-06-20 09:02:35 +02:00
committed by GitHub
5 changed files with 8 additions and 12 deletions

View File

@@ -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
*/

View File

@@ -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
*/

View File

@@ -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
*/

View File

@@ -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
*/

View File

@@ -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`.