Rework MulticastDelegate.Equals to use a loop instead of recursion.
authorRolf Bjarne Kvinge <rolf@xamarin.com>
Mon, 22 Apr 2013 21:40:59 +0000 (23:40 +0200)
committerRolf Bjarne Kvinge <rolf@xamarin.com>
Mon, 22 Apr 2013 21:58:31 +0000 (23:58 +0200)
commitc5bb3a92a8f0dff3d8beed13023136f5449fd69d
tree49904c204f21acd8721a7a98c62a89c68409c20b
parentc00c3f14824d50955ba1096fae550657f5f057e5
Rework MulticastDelegate.Equals to use a loop instead of recursion.

This should aid in tracking down bugs such as #11871 (or possibly even
fixing them) - if the problem still exists the process will run into
an infinite loop, which is a lot easier to debug (at least on iOS, and
likely other platforms too) than a stackoverflow.
mcs/class/corlib/System/Delegate.cs
mcs/class/corlib/System/MulticastDelegate.cs