Data type(s) of the type parameter(s) in extension method '|2' defined in '|3' cannot be inferred from these arguments because ...

Data type(s) of the type parameter(s) in extension method '|2' defined in '|3' cannot be inferred from these arguments because more than one type is possible. Specifying the data type(s) explicitly might correct this error.