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

Fix matching generic calls with AnyType when the generic argument is also a generic argument in return type, out or ref parameter #862

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

JMolenkamp
Copy link

Allow matching the following methods with use of Arg.AnyType:

IEnumerable<T> SomeMethod<T>()
void SomeMethod<T>(out IEnumerable<T> result)
void SomeMethod<T>(ref IEnumerable<T> result)

@JMolenkamp
Copy link
Author

Split off from #855 which contained both fixes and a feature request. This one only contains fixes.

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

Successfully merging this pull request may close these issues.

1 participant