mirror of
https://github.com/github/codeql.git
synced 2026-05-03 20:58:03 +02:00
15 lines
439 B
Plaintext
15 lines
439 B
Plaintext
import csharp
|
|
import semmle.code.csharp.commons.Diagnostics
|
|
|
|
query predicate extractorMessages(int c) { c = count(ExtractorMessage msg) }
|
|
|
|
query predicate compilerDiagnostics(int c) { c = count(Diagnostic diag) }
|
|
|
|
query predicate compilationInfo(string key, float value) {
|
|
exists(Compilation c, string infoValue |
|
|
infoValue = c.getInfo(key) and key.matches("Compiler diagnostic count for%")
|
|
|
|
|
value = infoValue.toFloat()
|
|
)
|
|
}
|