Why not simply `Where` to collect all potential duplicates (although we should not have any). _Originally posted by @Evangelink in https://github.com/microsoft/testfx/pull/5717#discussion_r2140884803_