internal CodeBlockExpression(CodeBlock /*!*/ block, bool forceWrapperMethod, bool stronglyTyped, bool isDeclarative, Type delegateType)
            : base(AstNodeType.CodeBlockExpression)
        {
            Assert.NotNull(block);

            if (isDeclarative)
            {
                block.DeclarativeReferenceAdded();
            }

            _block = block;
            _forceWrapperMethod = forceWrapperMethod;
            _stronglyTyped      = stronglyTyped;
            _isDeclarative      = isDeclarative;
            _delegateType       = delegateType;
        }
        internal CodeBlockExpression(CodeBlock /*!*/ block, bool forceWrapperMethod, bool stronglyTyped, bool isDeclarative, Type delegateType)
            : base(AstNodeType.CodeBlockExpression)
        {
            Assert.NotNull(block);

            if (isDeclarative) {
                block.DeclarativeReferenceAdded();
            }

            _block = block;
            _forceWrapperMethod = forceWrapperMethod;
            _stronglyTyped = stronglyTyped;
            _isDeclarative = isDeclarative;
            _delegateType = delegateType;
        }