/// <summary>
        /// Deep-clone the code object.
        /// </summary>
        public override CodeObject Clone()
        {
            IndexerDecl clone = (IndexerDecl)base.Clone();

            clone._parameters = ChildListHelpers.Clone(_parameters, clone);
            return(clone);
        }
示例#2
0
 /// <summary>
 /// Create an <see cref="IndexerRef"/>.
 /// </summary>
 public IndexerRef(IndexerDecl declaration)
     : base(declaration, false)
 {
 }
示例#3
0
 /// <summary>
 /// Create an <see cref="IndexerRef"/>.
 /// </summary>
 public IndexerRef(IndexerDecl declaration, bool isFirstOnLine)
     : base(declaration, isFirstOnLine)
 {
 }