public override void PrepareScope(PythonAst ast, System.Runtime.CompilerServices.ReadOnlyCollectionBuilder<MSAst.ParameterExpression> locals, List<MSAst.Expression> init) { locals.Add(PythonAst._globalArray); init.Add( Ast.Assign( PythonAst._globalArray, Ast.Call( typeof(PythonOps).GetMethod("GetGlobalArrayFromContext"), PythonAst._globalContext ) ) ); }