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