Files
codeql/csharp/ql/test/library-tests/controlflow/guards/AbstractValue.ql
Anders Schack-Mulligen 4f6528a9fb C#: Deprecate AbstractValue.
2025-10-31 14:23:23 +01:00

7 lines
194 B
Plaintext

import csharp
private import semmle.code.csharp.controlflow.Guards
query predicate abstractValue(GuardValue value, Expr e) {
Guards::InternalUtil::exprHasValue(e, value) and e.fromSource()
}