Exemple #1
0
        protected override Field Clone(CompositeType newParent)
        {
            CSharpField field = new CSharpField(newParent);

            field.CopyFrom(this);
            return(field);
        }
Exemple #2
0
        /// <exception cref="BadSyntaxException">
        /// The <paramref name="name"/> does not fit to the syntax.
        /// </exception>
        public override Field AddField()
        {
            Field field = new CSharpField(this);

            AddField(field);
            return(field);
        }