CodeQL library for C#
codeql/csharp-all 1.0.1 (changelog, source)
Search

Predicate Cached::expr_parent_top_level_adjusted

INTERNAL: Do not use.

The expr_parent_top_level() relation extended to include a relation between getters and expression bodies in properties such as int P => 0.

Import path

import semmle.code.csharp.ExprOrStmtParent
predicate expr_parent_top_level_adjusted(Expr child, int i, @top_level_exprorstmt_parent parent)