CodeQL library for C#
codeql/csharp-all 0.7.5 ( 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 ( )