-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
bugSomething isn't workingSomething isn't working

Description
Describe the bug
MethodProxy.Create<TDel>
throws AmbiguousMatchException
when tries to search target method
To Reproduce
Steps to reproduce the behavior:
- Make two methods with same name
- Try to create a proxy from one of these
- Get
AmbiguousMatchException
Expected behavior
Searching should include other TDel
generic types as method arguments and get valid target method.
Additional context
I guess it's can be fixed by using method overload with Type[] types
here
var targetMethod = ownerType.GetMethod(methodName, BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.Static); |
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working