made ForEachVariable IResolveInfo
made hiding for Variables based on IVariableDeclaration instead of VariableDeclaration