* Delegate.cs: Fix the NullReferenceException in Combine(Delegate[]).
svn path=/trunk/mcs/; revision=28807
+2004-06-03 Sebastien Pouliot <sebastien@ximian.com>
+
+ * Delegate.cs: Fix the NullReferenceException in Combine(Delegate[]).
+
2004-06-02 Sebastien Pouliot <sebastien@ximian.com>
* TimeSpan.cs: Fixed overflow issues when delaing with big (days) time
2004-06-02 Sebastien Pouliot <sebastien@ximian.com>
* TimeSpan.cs: Fixed overflow issues when delaing with big (days) time
/// </symmary>
public static Delegate Combine (Delegate[] delegates)
{
/// </symmary>
public static Delegate Combine (Delegate[] delegates)
{
+ if (delegates == null)
+ return null;
+
Delegate retval = null;
foreach (Delegate next in delegates)
Delegate retval = null;
foreach (Delegate next in delegates)