System.Reflection.Emit.EventOnTypeBuilderInst.GetOtherMethods C# (CSharp) Method

GetOtherMethods() public method

public GetOtherMethods ( bool nonPublic ) : System.Reflection.MethodInfo[]
nonPublic bool
return System.Reflection.MethodInfo[]
		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