5 writes to _scope
System.Core (5)
Microsoft\Scripting\Compiler\LambdaCompiler.cs (3)
113_scope = tree.Scopes[lambda]; 150_scope = tree.Scopes[lambda]; 166_scope = _tree.Scopes[lambda];
Microsoft\Scripting\Compiler\LambdaCompiler.Statements.cs (2)
112_scope = scope.Enter(this, _scope); 127_scope = _scope.Exit();
36 references to _scope
System.Core (36)
Microsoft\Scripting\Compiler\LambdaCompiler.Address.cs (2)
105_scope.EmitGet(node); 107_scope.EmitAddressOf(node);
Microsoft\Scripting\Compiler\LambdaCompiler.Expressions.cs (11)
208inner.EmitLambdaBody(_scope, true, flags); 601_scope.EmitGet(variable); 606_scope.EmitSet(variable); 632_scope.EmitGet(node); 645_scope.EmitVariableAccess(this, node.Variables); 953_scope.AddLocal(this, v); 961_scope.EmitSet(v); 963_scope.AddLocal(this, v); 971_scope.EmitSet(v); 1027_scope.AddLocal(this, v); 1060_scope.EmitSet(v);
Microsoft\Scripting\Compiler\LambdaCompiler.Lambda.cs (7)
60bool closure = inner._scope.NeedsClosure; 75_scope.EmitGet(_scope.NearestHoistedLocals.SelfVariable); 135impl.EmitLambdaBody(_scope, false, CompilationFlags.EmitAsNoTail); 165_scope.Enter(this, parent); 174_scope.EmitSet(_lambda.Parameters[i]); 193_scope.Exit();
Microsoft\Scripting\Compiler\LambdaCompiler.Statements.cs (12)
94(_scope.MergedScopes == null || !_scope.MergedScopes.Contains(node))) { 109scope = new CompilerScope(node, false) { NeedsClosure = _scope.NeedsClosure }; 112_scope = scope.Enter(this, _scope); 113Debug.Assert(_scope.Node == node); 126if (_scope.Node == node) { 127_scope = _scope.Exit(); 179_scope.AddLocal(this, switchValue); 180_scope.AddLocal(this, testValue); 183_scope.EmitSet(switchValue); 194_scope.EmitSet(testValue); 690_scope.EmitSet(cb.Variable);
Microsoft\Scripting\Compiler\LambdaCompiler.Unary.cs (4)
45if (_scope.NearestHoistedLocals != null) { 47EmitConstant(_scope.NearestHoistedLocals, typeof(object)); 48_scope.EmitGet(_scope.NearestHoistedLocals.SelfVariable);