Skip to content

Commit 008f22a

Browse files
authored
Fixing a typo for the method arguments for the Fakes utility method. (#2385)
1 parent 8b8a972 commit 008f22a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Microsoft.TestPlatform.Common/Utilities/FakesUtilities.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ private static Func<IDictionary<string, FrameworkVersion>, DataCollectorSettings
208208
{
209209
Assembly assembly = Assembly.Load(FakesConfiguratorAssembly);
210210
var type = assembly?.GetType(ConfiguratorAssemblyQualifiedName, false);
211-
var method = type?.GetMethod(ConfiguratorMethodName, new Type[] { typeof(IEnumerable<string>), typeof(FrameworkVersion) });
211+
var method = type?.GetMethod(ConfiguratorMethodName, new Type[] { typeof(IDictionary<string, FrameworkVersion>) });
212212
if (method != null)
213213
{
214214
return (Func<IDictionary<string, FrameworkVersion>, DataCollectorSettings>)method.CreateDelegate(typeof(Func<IDictionary<string, FrameworkVersion>, DataCollectorSettings>));

0 commit comments

Comments
 (0)