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

[BUG] 🐞 IsAssignableToGenericType inheritance fails #8

Closed
candoumbe opened this issue May 30, 2021 · 0 comments
Closed

[BUG] 🐞 IsAssignableToGenericType inheritance fails #8

candoumbe opened this issue May 30, 2021 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@candoumbe
Copy link
Owner

Usage Information

Package version :
0.5.3

Relevant Code / Invocations**

public record MyId : StrongId<Guid>();

public record StrongId<T>();

bool actual  = typeof(MyId).IsAssignableToGenericType(typeof(StrongId<Guid>));

Expected Behavior

Expected actual to be true

@candoumbe candoumbe added the bug Something isn't working label May 30, 2021
@candoumbe candoumbe self-assigned this May 30, 2021
@candoumbe candoumbe changed the title [BUG] IsAssignableToGenericType inheritance fails [BUG] 🐞 IsAssignableToGenericType inheritance fails May 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant