I\'m having lots of Funcy fun (fun intended) with generic methods. In most cases C# type inference is smart enough to find out what generic arguments it must use on my gener
It doesn't use constraints to infer types. Rather it infers types (when possible) and then checks constraints.
Therefore, while the only possible TResult that could be used with a SomeQuery parameter, it won't see this.
Note also, that it would be perfectly possible for SomeQuery to also implement IQuery, which is one reason why this is limitation on the compiler may not be a bad idea.