Skip to content

Commit f9ee790

Browse files
Fix typo in a private method name (#20589)
`ApplicationPartManager` has a private method named `GetAsemblyClosure` containing a typo. It should be named `GetAssemblyClosure`.
1 parent f05b5c8 commit f9ee790

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Mvc/Mvc.Core/src/ApplicationParts/ApplicationPartManager.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,15 +83,15 @@ private static IEnumerable<Assembly> GetApplicationPartAssemblies(string entryAs
8383
var assembliesFromAttributes = entryAssembly.GetCustomAttributes<ApplicationPartAttribute>()
8484
.Select(name => Assembly.Load(name.AssemblyName))
8585
.OrderBy(assembly => assembly.FullName, StringComparer.Ordinal)
86-
.SelectMany(GetAsemblyClosure);
86+
.SelectMany(GetAssemblyClosure);
8787

8888
// The SDK will not include the entry assembly as an application part. We'll explicitly list it
8989
// and have it appear before all other assemblies \ ApplicationParts.
90-
return GetAsemblyClosure(entryAssembly)
90+
return GetAssemblyClosure(entryAssembly)
9191
.Concat(assembliesFromAttributes);
9292
}
9393

94-
private static IEnumerable<Assembly> GetAsemblyClosure(Assembly assembly)
94+
private static IEnumerable<Assembly> GetAssemblyClosure(Assembly assembly)
9595
{
9696
yield return assembly;
9797

0 commit comments

Comments
 (0)