/// <exception cref="BadSyntaxException"> /// The <paramref name="name"/> does not fit to the syntax. /// </exception> public override Method AddMethod() { Method method = new CSharpMethod(this); AddOperation(method); return(method); }
public override Operation Clone(CompositeType newParent) { CSharpMethod method = new CSharpMethod(newParent); method.CopyFrom(this); return(method); }
/// <exception cref="BadSyntaxException"> /// The <paramref name="name"/> does not fit to the syntax. /// </exception> public override Method AddMethod() { Method method = new CSharpMethod(this); method.AccessModifier = AccessModifier.Public; AddOperation(method); return(method); }