Fix typo in ReflectionUtilities

This commit is contained in:
Stephan
2018-11-18 11:05:14 +01:00
parent 752ae16c1b
commit 5b39e5e5c7
4 changed files with 11 additions and 11 deletions

View File

@@ -295,7 +295,7 @@ namespace Umbraco.Core
/// <exception cref="InvalidOperationException">Occurs when the constructor does not exist and <paramref name="mustExist"/> is <c>true</c>.</exception>
/// <exception cref="ArgumentException">Occurs when <typeparamref name="TLambda"/> is not a Func or when <paramref name="declaring"/>
/// is specified and does not match the function's returned type.</exception>
public static TLambda EmitConstuctor<TLambda>(bool mustExist = true, Type declaring = null)
public static TLambda EmitConstructor<TLambda>(bool mustExist = true, Type declaring = null)
{
var (_, lambdaParameters, lambdaReturned) = AnalyzeLambda<TLambda>(true, true);