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));
        }
Beispiel #2
0
 void IAstVisitor.VisitObjectCreateExpression(ObjectCreateExpression objectCreateExpression)
 {
     Visit(EnterObjectCreateExpression, LeaveObjectCreateExpression, objectCreateExpression);
 }