2 writes to NeedsClosure
System.Core (2)
Microsoft\Scripting\Compiler\LambdaCompiler.Statements.cs (1)
109scope = new CompilerScope(node, false) { NeedsClosure = _scope.NeedsClosure };
Microsoft\Scripting\Compiler\VariableBinder.cs (1)
230scope.NeedsClosure = true;
4 references to NeedsClosure
System.Core (4)
Microsoft\Scripting\Compiler\CompilerScope.cs (1)
284if (NeedsClosure && _parent != null) {
Microsoft\Scripting\Compiler\LambdaCompiler.cs (1)
123_hasClosureArgument = tree.Scopes[lambda].NeedsClosure;
Microsoft\Scripting\Compiler\LambdaCompiler.Lambda.cs (1)
60bool closure = inner._scope.NeedsClosure;
Microsoft\Scripting\Compiler\LambdaCompiler.Statements.cs (1)
109scope = new CompilerScope(node, false) { NeedsClosure = _scope.NeedsClosure };