/// <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)
 {
 }