I was digging around in ILDASM and Reflector as found that:
- == is compiled to the "ceq" MSIL command
- object.Equals is left as is
- object.Equals calls object.InternalEquals
This question showed me how to find out how InternalEquals might be implemented i.e. in .cpp class (or whatever, somewhere in the CLR).
My question is:
What does ceq become? Another method in a different .cpp class? I.e. they are completely different peices of code? So although the default behaviour of == and Equals appears to be the same, it is different code?