diff --git a/src/Mvc/Mvc.Core/src/ApplicationParts/ApplicationPartManager.cs b/src/Mvc/Mvc.Core/src/ApplicationParts/ApplicationPartManager.cs index 0dd8681fe1..796c430903 100644 --- a/src/Mvc/Mvc.Core/src/ApplicationParts/ApplicationPartManager.cs +++ b/src/Mvc/Mvc.Core/src/ApplicationParts/ApplicationPartManager.cs @@ -83,15 +83,15 @@ namespace Microsoft.AspNetCore.Mvc.ApplicationParts var assembliesFromAttributes = entryAssembly.GetCustomAttributes() .Select(name => Assembly.Load(name.AssemblyName)) .OrderBy(assembly => assembly.FullName, StringComparer.Ordinal) - .SelectMany(GetAsemblyClosure); + .SelectMany(GetAssemblyClosure); // The SDK will not include the entry assembly as an application part. We'll explicitly list it // and have it appear before all other assemblies \ ApplicationParts. - return GetAsemblyClosure(entryAssembly) + return GetAssemblyClosure(entryAssembly) .Concat(assembliesFromAttributes); } - private static IEnumerable GetAsemblyClosure(Assembly assembly) + private static IEnumerable GetAssemblyClosure(Assembly assembly) { yield return assembly;