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

Member predicate Stmt::stripSingletonBlocks

Gets the singleton statement contained in this statement, by removing enclosing block statements.

For example converts { { return x; } } to return x;.

Stmt stripSingletonBlocks()