protected bool Equals(NewObjectArrayNode other) { return Equals(TypeSignature, other.TypeSignature) && Type == other.Type && Equals(Size, other.Size); }
protected bool Equals(NewObjectArrayNode other) { return(Equals(TypeSignature, other.TypeSignature) && Type == other.Type && Equals(Size, other.Size)); }
/// <summary> /// new_objarray_line = type "[" line_expr "]" /// </summary> private NewObjectArrayNode parseNewObjArrayLine() { var type = attempt(parseType); if (type == null) return null; if (!check(LexemType.SquareOpen)) return null; var node = new NewObjectArrayNode(); node.TypeSignature = type; node.Size = ensure(parseLineExpr, ParserMessages.ExpressionExpected); ensure(LexemType.SquareClose, ParserMessages.SymbolExpected, "]"); return node; }