public override MethodInfo[] GetOtherMethods (bool nonPublic)
{
if (evt.other_methods == null)
return new MethodInfo [0];
ArrayList ar = new ArrayList ();
foreach (MethodInfo method in evt.other_methods) {
if (nonPublic || method.IsPublic)
ar.Add (TypeBuilder.GetMethod (instantiation, method));
}
MethodInfo[] res = new MethodInfo [ar.Count];
ar.CopyTo (res, 0);
return res;
}
#endif