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

GetSigniature fails on nested generic types #30

Open
ZacharyPatten opened this issue Jan 7, 2020 · 0 comments
Open

GetSigniature fails on nested generic types #30

ZacharyPatten opened this issue Jan 7, 2020 · 0 comments

Comments

@ZacharyPatten
Copy link

ZacharyPatten commented Jan 7, 2020

Description

This is the same as #29 but for the GetSigniature extension method.

class A
{
    class B<D>
    {
        class C<E> {  }
    }
}

typeof(A.B<int>.C<string>).GetSigniature();
typeof(A.B<>.C<>).GetSigniature();

It either throws an InvalidOperationException or returns too many generics for the nested generic signiature.

@ZacharyPatten ZacharyPatten changed the title Type.GetSigniature fails on nested generic types GetSigniature fails on nested generic types Jan 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant