Fixed equality operators, removed SPLock-s

They are now declared static, so they are not overridden in C#