* MulticastDelegate.cs: implemented GetInvocationList. I'll check later
if this is the correct order of invocation.
svn path=/trunk/mcs/; revision=9358
+2002-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+ * MulticastDelegate.cs: implemented GetInvocationList. I'll check later
+ if this is the correct order of invocation.
+
2002-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Type.cs: changed the signature of internal_from_name. Modified
// TODO: Remove Missing
//
+using System.Collections;
using System.Globalization;
namespace System {
// </summary>
public override Delegate[] GetInvocationList()
{
- throw new NotImplementedException();
+ ArrayList list = new ArrayList ();
+ list.Add (this);
+ MulticastDelegate d;
+ for (d = prev; d != null; d = d.prev)
+ list.Add (d);
+
+ return (Delegate []) list.ToArray (typeof (Delegate));
}
// <summary>