Skip to content

Commit

Permalink
Fixed variable name typo (#3085)
Browse files Browse the repository at this point in the history
  • Loading branch information
DynamicField committed Mar 16, 2020
1 parent 8d0fa05 commit 5bcbaa2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Shared/src/ActivatorUtilities/ActivatorUtilities.cs
Original file line number Diff line number Diff line change
Expand Up @@ -111,10 +111,10 @@ public static ObjectFactory CreateFactory(Type instanceType, Type[] argumentType
var argumentArray = Expression.Parameter(typeof(object[]), "argumentArray");
var factoryExpressionBody = BuildFactoryExpression(constructor, parameterMap, provider, argumentArray);

var factoryLamda = Expression.Lambda<Func<IServiceProvider, object[], object>>(
var factoryLambda = Expression.Lambda<Func<IServiceProvider, object[], object>>(
factoryExpressionBody, provider, argumentArray);

var result = factoryLamda.Compile();
var result = factoryLambda.Compile();
return result.Invoke;
}

Expand Down

0 comments on commit 5bcbaa2

Please sign in to comment.