CodeQL library for C#
Search

Module Cached

Import path

import semmle.code.csharp.ExprOrStmtParent

Predicates

bestLocation
enclosingBody

Holds if the enclosing body of cfe is body.

enclosingCallable

Holds if the enclosing callable of cfe is c.

enclosingStmt

Holds if the enclosing statement of expression e is s.

expr_parent_adjusted

The expr_parent() relation adjusted for expandable assignments. For example, the assignment x += y is extracted as

expr_parent_top_level_adjusted

INTERNAL: Do not use.