Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Avoiding an ambiguous match exception

People also ask

What is ambiguous match?

Device was not migrated due to partial or ambiguous match is an error that usually occurs after updating Windows. This issue usually happens due to some drivers that were not updated and are not recognized. To solve it, you have several solutions at hand, such as updating the drivers or using a tool to do that for you.

What is AmbiguousMatchException?

An AmbiguousMatchException is thrown when a member is invoked late-bound and multiple overloads satisfy the binding criteria, or when more than one member matches the binding criteria passed to a reflection method that can return only a single result (for example, Type. GetMethod or Type.


Use this overload and use

returnType.GetMethod("Parse", new [] {typeof(string)})