protected ConstructorInitializer(IEnumerable <Expression>?codeExpressions) { CommentsBefore = new CommentCollection(this); CommentsAfter = new CommentCollection(this); Arguments = new CodeObjectCollection <Expression>(this); if (codeExpressions != null) { foreach (var codeExpression in codeExpressions) { Arguments.Add(codeExpression); } } }
protected Expression() { CommentsBefore = new CommentCollection(this, CommentType.InlineComment); CommentsAfter = new CommentCollection(this, CommentType.InlineComment); }
public virtual void VisitCommentCollection(CommentCollection commentCollection) { VisitCollection(commentCollection); }