qtil
advanced-security/qtil-csharp 0.0.3
Search

Member predicate LocalConstantDeclExpr::getVariable

Gets the local variable being declared, if any. The only case where no variable is declared is when a discard symbol is used, for example

if (int.TryParse(s, out var _))
    ...
LocalConstant getVariable()