public EasyMethod CreateAddOnMethod(MethodAttributes atts, params Type[] parameters) { if (m_addOnMethod == null) { m_addOnMethod = new EasyMethod(m_maintype, "add_" + Name, atts, new ReturnReferenceExpression(typeof(void)), ArgumentsUtil.ConvertToArgumentReference(parameters)); } return m_addOnMethod; }