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

Member predicate AssignableDefinition::getSource

Gets the assigned expression, if any. For example, the expression assigned in x = 0 is 0. The value may not always exists, for example in assignments via out/ref parameters.

Expr getSource()