1 instantiation of Closure
System.Linq.Expressions (1)
System\Linq\Expressions\Compiler\LambdaCompiler.cs (1)
265
return _method.CreateDelegate(_lambda.Type, new
Closure
(_boundConstants.ToArray(), null));
6 references to Closure
System.Linq.Expressions (6)
System\Linq\Expressions\Common\CachedReflectionInfo.cs (5)
45
public static ConstructorInfo Closure_ObjectArray_ObjectArray => field ??= typeof(
Closure
).GetConstructor(new[] { typeof(object[]), typeof(object[]) })!;
46
public static FieldInfo Closure_Constants => field ??= typeof(
Closure
).GetField(nameof(
Closure
.Constants))!;
47
public static FieldInfo Closure_Locals => field ??= typeof(
Closure
).GetField(nameof(
Closure
.Locals))!;
System\Linq\Expressions\Compiler\LambdaCompiler.cs (1)
71
Type[] parameterTypes = GetParameterTypes(lambda, typeof(
Closure
));