We should replace them with an extension method that handles `Locations` being an empty array: `FirstOrNone()`. Relates to https://github.com/dotnet/roslyn/pull/29180