public static MarkLocalVariableAsConstWalker GetInstance() { MarkLocalVariableAsConstWalker walker = _cachedInstance; if (walker != null) { _cachedInstance = null; walker.Clear(); return(walker); } return(new MarkLocalVariableAsConstWalker()); }
public static void Free(MarkLocalVariableAsConstWalker walker) { walker.Clear(); _cachedInstance = walker; }