nickdodd79 / AutoBogus

A C# library complementing the Bogus generator by adding auto creation and population capabilities.
MIT License
431 stars 50 forks source link

Specify a type argument for the GetMethod reflection call #23

Closed rccampbe closed 4 years ago

rccampbe commented 4 years ago

Fix issue #22, avoid an AmbiguousMatchException.

FYI I was a little surprised that adding the ICollection argument didn't break the reflection call for a Dictionary and require further checks, but I tested and it didn't...