Fix type inference for methodgroup arguments where one of methodgroup delegate parameter is generic type with dependant type parameter.
Add test which is now working