S IAstVisitor <T, S> .VisitObjectCreateExpression(ObjectCreateExpression objectCreateExpression, T data) { var handler = ObjectCreateExpressionVisited; if (handler != null) { handler(objectCreateExpression, data); } return(VisitChildren(objectCreateExpression, data)); }
void IAstVisitor.VisitObjectCreateExpression(ObjectCreateExpression objectCreateExpression) { Visit(EnterObjectCreateExpression, LeaveObjectCreateExpression, objectCreateExpression); }
protected internal override bool DoMatch(AstNode other, PatternMatching.Match match) { ObjectCreateExpression o = other as ObjectCreateExpression; return(o != null && this.Type.DoMatch(o.Type, match) && this.Arguments.DoMatch(o.Arguments, match) && this.Initializer.DoMatch(o.Initializer, match)); }