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)
208
inner.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)
60
bool closure = inner.
_scope
.NeedsClosure;
75
_scope
.EmitGet(
_scope
.NearestHoistedLocals.SelfVariable);
135
impl.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))) {
109
scope = new CompilerScope(node, false) { NeedsClosure =
_scope
.NeedsClosure };
112
_scope = scope.Enter(this,
_scope
);
113
Debug.Assert(
_scope
.Node == node);
126
if (
_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)
45
if (
_scope
.NearestHoistedLocals != null) {
47
EmitConstant(
_scope
.NearestHoistedLocals, typeof(object));
48
_scope
.EmitGet(
_scope
.NearestHoistedLocals.SelfVariable);