public GlobalReferences(IProvideVBScriptCompatFunctionalityToIndividualRequests compatLayer, EnvironmentReferences env)
 {
     if (compatLayer == null)
     {
         throw new ArgumentNullException("compatLayer");
     }
     if (env == null)
     {
         throw new ArgumentNullException("env");
     }
     _      = compatLayer;
     _env   = env;
     _outer = this;
     i      = null;
 }
        public void Go(EnvironmentReferences env)
        {
            if (env == null)
            {
                throw new ArgumentNullException("env");
            }

            var _env   = env;
            var _outer = new GlobalReferences(_, _env);

            // Test
            for (_outer.i = (Int16)1; _.StrictLTE(_outer.i, 10); _outer.i = _.ADD(_outer.i, (Int16)1))
            {
                _.CALL(this, _env.wscript, "Echo", _.ARGS.Val(_.CONCAT("Item", _outer.i)));
            }
        }