mirror of
https://github.com/github/codeql.git
synced 2025-12-20 02:44:30 +01:00
10 lines
308 B
Plaintext
10 lines
308 B
Plaintext
import csharp
|
|
|
|
query predicate disable(PragmaWarningDirective pragma) { pragma.isDisable() }
|
|
|
|
query predicate restore(PragmaWarningDirective pragma) { pragma.isRestore() }
|
|
|
|
query predicate errorCodes(PragmaWarningDirective pragma, string code) {
|
|
pragma.hasErrorCodes() and code = pragma.getAnErrorCode()
|
|
}
|