示例#1
0
        /// <summary>
        /// Deep-clone the code object.
        /// </summary>
        public override CodeObject Clone()
        {
            PropertyDeclBase clone = (PropertyDeclBase)base.Clone();

            clone.CloneField(ref clone._type, _type);
            clone.CloneField(ref clone._name, _name);
            return(clone);
        }
示例#2
0
 /// <summary>
 /// Create a <see cref="PropertyRef"/>.
 /// </summary>
 protected PropertyRef(PropertyDeclBase declaration, bool isFirstOnLine)
     : base(declaration, isFirstOnLine)
 {
 }