protected TypeDeclaration() { CustomAttributes = new CodeObjectCollection <CustomAttribute>(this); CommentsBefore = new CommentCollection(this); CommentsAfter = new CommentCollection(this); XmlComments = new XmlCommentCollection(this); }
protected MemberDeclaration(string name) { CustomAttributes = new CodeObjectCollection <CustomAttribute>(this); Implements = new CodeObjectCollection <MemberReferenceExpression>(this); CommentsBefore = new CommentCollection(this); CommentsAfter = new CommentCollection(this); XmlComments = new XmlCommentCollection(this); Name = name; }