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

Ensure that complex generic cases are handled in name generation #4

Closed
vbfox opened this issue Sep 18, 2015 · 1 comment
Closed

Ensure that complex generic cases are handled in name generation #4

vbfox opened this issue Sep 18, 2015 · 1 comment
Labels
Milestone

Comments

@vbfox
Copy link
Owner

vbfox commented Sep 18, 2015

Complex generic / Non generic nesting should work :

class NestedTyped<T1>
{
    public class DoubleNestedTyped<T2>
    {
        public bool NormalMethod(T1 t1, T2 t2)
        {
            return default(bool);
        }

        public T3 GenericMethod<T3>(T1 t1, T2 t2, T3 t3, string otherArg)
        {
            return t3;
        }
    }

    public class DoubleNested
    {
        public bool NormalMethod()
        {
            return default(bool);
        }

        public T2 GenericMethod<T2>(T1 t1, T2 t2, string otherArg)
        {
            return t2;
        }
    }

    public bool NormalMethod(T1 t1)
    {
        return default(bool);
    }

    public T2 GenericMethod<T2>(T1 t1, T2 t2, string otherArg)
    {
        return t2;
    }
}
@vbfox
Copy link
Owner Author

vbfox commented Sep 20, 2015

Fixed by f6ec206

@vbfox vbfox closed this as completed Sep 20, 2015
@vbfox vbfox modified the milestone: 2.0 Sep 21, 2015
@vbfox vbfox added the bug label Sep 21, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant