Improved support for generic method overloading by lostmsu · Pull Request #1657 · pythonnet/pythonnet

What does this implement/fix? Explain your changes.

Prior to this change if method had multiple generic overloads, only 1 of them could be matched (whichever one reflection would return first)

Now MethodBinder.MatchParameters returns all matching generic overloads, not just the first one.

Does this close any currently open issues?

fixes #1522

Checklist

Check all those that are applicable and complete.

  • Make sure to include one or more tests for your change