CSharpResolver WithContext(CSharpTypeResolveContext newContext) { return new CSharpResolver(compilation, conversions, newContext, checkForOverflow, isWithinLambdaExpression, currentTypeDefinitionCache, localVariableStack, objectInitializerStack); }