public override Expression CloneExpressionOnly()
        {
			StackAllocExpression result = new StackAllocExpression(Expression.CloneExpressionOnly(), this.ExpressionType, null);
			return result;
        }
		public override void VisitStackAllocExpression(StackAllocExpression node)
		{
			WriteKeyword(KeyWordWriter.Stackalloc);
			WriteSpace();
			TypeReference exprType = (node.ExpressionType as PointerType).ElementType;
			WriteReference(exprType);
			WriteToken(IndexLeftBracket);
			Visit(node.Expression);
			WriteToken(IndexRightBracket);
		}
		public override Expression Clone()
		{
			StackAllocExpression result = new StackAllocExpression(Expression.Clone(), this.ExpressionType, this.instructions);
			return result;
        }
 public virtual void VisitStackAllocExpression(StackAllocExpression node)
 {
     Visit(node.Expression);
 }
 public override void VisitStackAllocExpression(StackAllocExpression node)
 {
     if (state == SearchState.Propagation)
     {
         canBePropagated = false;
         return;
     }
     base.VisitStackAllocExpression(node);
 }
Ejemplo n.º 6
0
        public override Expression CloneExpressionOnly()
        {
            StackAllocExpression result = new StackAllocExpression(Expression.CloneExpressionOnly(), this.ExpressionType, null);

            return(result);
        }
Ejemplo n.º 7
0
        public override Expression Clone()
        {
            StackAllocExpression result = new StackAllocExpression(Expression.Clone(), this.ExpressionType, this.instructions);

            return(result);
        }