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 committed Apr 6, 2020
1 parent 8b8a972 commit 008f22a
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -208,7 +208,7 @@ private static void EnsureSettingsNode(XmlDocument settings, TestRunSettings set
{
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.