CSharpResolver WithLocalVariableStack(ImmutableStack<IVariable> stack) { return new CSharpResolver(compilation, conversions, context, checkForOverflow, isWithinLambdaExpression, currentTypeDefinitionCache, stack, objectInitializerStack); }