1 instantiation of Closure
System.Core (1)
Microsoft\Scripting\Compiler\LambdaCompiler.cs (1)
300
return _method.CreateDelegate(_lambda.Type, new
Closure
(_boundConstants.ToArray(), null));
6 references to Closure
System.Core (5)
Microsoft\Scripting\Compiler\BoundConstants.cs (1)
174
lc.IL.Emit(OpCodes.Ldfld, typeof(
Closure
).GetField("Constants"));
Microsoft\Scripting\Compiler\CompilerScope.cs (1)
405
lc.IL.Emit(OpCodes.Ldfld, typeof(
Closure
).GetField("Locals"));
Microsoft\Scripting\Compiler\LambdaCompiler.cs (2)
88
Type[] parameterTypes = GetParameterTypes(lambda).AddFirst(typeof(
Closure
));
126
paramTypes = paramTypes.AddFirst(typeof(
Closure
));
Microsoft\Scripting\Compiler\LambdaCompiler.Lambda.cs (1)
79
_ilg.EmitNew(typeof(
Closure
).GetConstructor(new Type[] { typeof(object[]), typeof(object[]) }));
System.Data.Entity (1)
System\Data\Common\CommandTrees\ExpressionBuilder\DbExpressionBuilder.cs (1)
1754
if (method.IsStatic && typeof(System.Runtime.CompilerServices.
Closure
) == methodParams[0].ParameterType)