Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generic implementations with only open types are not returned #1

Open
gkinsman opened this issue Mar 23, 2015 · 0 comments
Open

Generic implementations with only open types are not returned #1

gkinsman opened this issue Mar 23, 2015 · 0 comments

Comments

@gkinsman
Copy link
Member

Given interface

public interface IBar<T1, T2>
{
    void Method(T1 t1, T2 t2);
}

and implementation:

public class Foo<T1, T2> : IBar<T1, T2>
{
    public void Method(T1 t1, T2 t2)
    {
        throw new NotImplementedException();
    }
}

We should be returning this implementation. It isn't because we exclude it if all types are still open.

gkinsman added a commit that referenced this issue Mar 23, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant