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

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