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

Member predicate AssignableDefinitions::PatternDefinition::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()