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

Member predicate BindingPatternExpr::getVariableDeclExpr

Gets the local variable declaration of this pattern, if any. For example, string s in string { Length: 5 } s.

LocalVariableDeclExpr getVariableDeclExpr()