Skip to content

Commit

Permalink
Fixing a typo for the method arguments for the Fakes utility method. (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
AbhitejJohn authored Apr 6, 2020
1 parent 8b8a972 commit 008f22a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ private static Func<IDictionary<string, FrameworkVersion>, DataCollectorSettings
{
Assembly assembly = Assembly.Load(FakesConfiguratorAssembly);
var type = assembly?.GetType(ConfiguratorAssemblyQualifiedName, false);
var method = type?.GetMethod(ConfiguratorMethodName, new Type[] { typeof(IEnumerable<string>), typeof(FrameworkVersion) });
var method = type?.GetMethod(ConfiguratorMethodName, new Type[] { typeof(IDictionary<string, FrameworkVersion>) });
if (method != null)
{
return (Func<IDictionary<string, FrameworkVersion>, DataCollectorSettings>)method.CreateDelegate(typeof(Func<IDictionary<string, FrameworkVersion>, DataCollectorSettings>));
Expand Down

0 comments on commit 008f22a

Please sign in to comment.