示例#1
0
 public override BaseCommentObject Clone()
 {
     VBCommentObject newCom = new VBCommentObject();
     newCom.PreceedingComments.AddRange(PreceedingComments);
     newCom.TrailingComment = TrailingComment;
     return newCom;
 }
示例#2
0
        public override BaseCommentObject Clone()
        {
            VBCommentObject newCom = new VBCommentObject();

            newCom.PreceedingComments.AddRange(PreceedingComments);
            newCom.TrailingComment = TrailingComment;
            return(newCom);
        }