G
Guest
The behavior of the function MulticastDelegate.GetHashCode() has changed from
..NET 1.1 to 2.0.
With 1.1 it returns different hashs if the methods stored in the delgate are
different. This is as expected because the delgates are completely different
and should also deliver different hashs.
With 2.0 this behavior has changed. The delegates with different methods
deliver the same hashs. So identifying the delegates by this hash will fail
now...
....very annoying, because it gives no exception or compilation error, only
the application fails if it deals with the hashs.
I'm currently starting to lose confidence in .NET 2.0 because this is the
second bug which I found in only 3 days of trying to use my 1.1 project with
2.0 now. When will I found the next issue, and will I really found all before
next release of my package??
..NET 1.1 to 2.0.
With 1.1 it returns different hashs if the methods stored in the delgate are
different. This is as expected because the delgates are completely different
and should also deliver different hashs.
With 2.0 this behavior has changed. The delegates with different methods
deliver the same hashs. So identifying the delegates by this hash will fail
now...
....very annoying, because it gives no exception or compilation error, only
the application fails if it deals with the hashs.
I'm currently starting to lose confidence in .NET 2.0 because this is the
second bug which I found in only 3 days of trying to use my 1.1 project with
2.0 now. When will I found the next issue, and will I really found all before
next release of my package??