示例#1
0
        public ForeachStmt(Text.Span span, Expression /*!*/ enumeree, ForeachVar key, ForeachVar /*!*/ value,
                           Statement /*!*/ body)
            : base(span)
        {
            Debug.Assert(enumeree != null && value != null && body != null);

            this.enumeree      = enumeree;
            this.keyVariable   = key;
            this.valueVariable = value;
            this.body          = body;
        }
示例#2
0
		public ForeachStmt(Position position, Expression/*!*/ enumeree, ForeachVar key, ForeachVar/*!*/ value,
		  Statement/*!*/ body)
			: base(position)
		{
			Debug.Assert(enumeree != null && value != null && body != null);

			this.enumeree = enumeree;
			this.keyVariable = key;
			this.valueVariable = value;
			this.body = body;
		}