== How to fix it The `Find` method is defined on the collection class, and it has the same signature as `FirstOrDefault` extension method. The function can be replaced in place.