2 writes to NeedsClosure
System.Linq.Expressions (2)
System\Linq\Expressions\Compiler\LambdaCompiler.Statements.cs (1)
103
scope = new CompilerScope(node, false) {
NeedsClosure
= _scope.NeedsClosure };
System\Linq\Expressions\Compiler\VariableBinder.cs (1)
248
scope.
NeedsClosure
= true;
3 references to NeedsClosure
System.Linq.Expressions (3)
System\Linq\Expressions\Compiler\CompilerScope.cs (1)
291
if (
NeedsClosure
&& _parent != null)
System\Linq\Expressions\Compiler\LambdaCompiler.Lambda.cs (1)
57
bool closure = inner._scope.
NeedsClosure
;
System\Linq\Expressions\Compiler\LambdaCompiler.Statements.cs (1)
103
scope = new CompilerScope(node, false) { NeedsClosure = _scope.
NeedsClosure
};