Пример #1
0
        public override Expression CloneExpressionOnly()
        {
            CastExpression result = new CastExpression(Expression.CloneExpressionOnly(), TargetType, null)
            {
                IsChecked = this.IsChecked,
                IsExplicitInterfaceCast = this.IsExplicitInterfaceCast,
                UnresolvedReferenceForAmbiguousCastToObject = this.UnresolvedReferenceForAmbiguousCastToObject
            };

            return(result);
        }
Пример #2
0
        public override Expression CloneExpressionOnly()
        {
            CastExpression result = new CastExpression(Expression.CloneExpressionOnly(), TargetType, null)
            {
                IsChecked = this.IsChecked,
                IsExplicitInterfaceCast = this.IsExplicitInterfaceCast,
                UnresolvedReferenceForAmbiguousCastToObject = this.UnresolvedReferenceForAmbiguousCastToObject,
                DynamicPositioningFlags = this.DynamicPositioningFlags != null ? (bool[])this.DynamicPositioningFlags.Clone() : null
            };

            return(result);
        }
        public override Expression CloneExpressionOnly()
        {
            YieldReturnExpression result = new YieldReturnExpression(Expression.CloneExpressionOnly(), null);

            return(result);
        }
        public override Expression CloneExpressionOnly()
        {
            CanCastExpression result = new CanCastExpression(Expression.CloneExpressionOnly(), TargetType, null);

            return(result);
        }
        public override Expression CloneExpressionOnly()
        {
            MakeRefExpression result = new MakeRefExpression(Expression.CloneExpressionOnly(), this.theType, null);

            return(result);
        }
        public override Expression CloneExpressionOnly()
        {
            SafeCastExpression result = new SafeCastExpression(Expression.CloneExpressionOnly(), this.TargetType, null);

            return(result);
        }
Пример #7
0
 public override Expression CloneExpressionOnly()
 {
     return(new SelectClause(Expression.CloneExpressionOnly(), null));
 }
Пример #8
0
        public override Expression CloneExpressionOnly()
        {
            StackAllocExpression result = new StackAllocExpression(Expression.CloneExpressionOnly(), this.ExpressionType, null);

            return(result);
        }