string GetLocalMethodCode(PythonResolverContext resolverContext) { ScriptingLocalMethod localMethod = new ScriptingLocalMethod(resolverContext.FileContent); int beginLine = resolverContext.ExpressionRegion.BeginLine; return localMethod.GetCode(beginLine); }