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

Member predicate LockStmt::getLockVariable

Gets the variable being locked, if any.

Variable getLockVariable()