S IAstVisitor <T, S> .VisitStackAllocExpression(StackAllocExpression stackAllocExpression, T data)
        {
            var handler = StackAllocExpressionVisited;

            if (handler != null)
            {
                handler(stackAllocExpression, data);
            }
            return(VisitChildren(stackAllocExpression, data));
        }
Пример #2
0
 public virtual S VisitStackAllocExpression(StackAllocExpression stackAllocExpression, T data)
 {
     return(VisitChildren(stackAllocExpression, data));
 }
        protected internal override bool DoMatch(AstNode other, PatternMatching.Match match)
        {
            StackAllocExpression o = other as StackAllocExpression;

            return(o != null && this.Type.DoMatch(o.Type, match) && this.CountExpression.DoMatch(o.CountExpression, match));
        }