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

Member predicate DataFlowType::getADelegateCreation

Gets an expression that creates a delegate of this type.

For methods used as method groups in calls there can be multiple creations associated with the same type.

ControlFlowElement getADelegateCreation()