You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add tests verifying null is passed through to keySelector
- KeySelectorPassesNullToSelector: verifies null flows to keySelector
in both Equals and GetHashCode (not short-circuited), with call counting.
- KeySelectorReturnsNullKey: verifies correct behavior when keySelector
maps an input to a null key (GetHashCode returns 0, Equals uses
key-level null comparison).
- KeySelectorNotHandlingNull_Throws: verifies NullReferenceException
propagates when keySelector doesn't guard against null.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
0 commit comments