5 instantiations of CompilerScope
System.Core (5)
Microsoft\Scripting\Compiler\LambdaCompiler.Statements.cs (1)
109scope = new CompilerScope(node, false) { NeedsClosure = _scope.NeedsClosure };
Microsoft\Scripting\Compiler\VariableBinder.cs (4)
92_scopes.Push(_tree.Scopes[node] = new CompilerScope(node, true)); 106_scopes.Push(_tree.Scopes[lambda] = new CompilerScope(lambda, false)); 122_scopes.Push(_tree.Scopes[node] = new CompilerScope(node, false)); 133_scopes.Push(_tree.Scopes[node] = new CompilerScope(node, false));
21 references to CompilerScope
System.Core (21)
Microsoft\Scripting\Compiler\AnalyzedTree.cs (2)
28internal readonly Dictionary<object, CompilerScope> Scopes = new Dictionary<object, CompilerScope>();
Microsoft\Scripting\Compiler\CompilerScope.cs (8)
53private CompilerScope _parent; 135internal CompilerScope Enter(LambdaCompiler lc, CompilerScope parent) { 156internal CompilerScope Exit() { 166CompilerScope parent = _parent; 245for (CompilerScope s = this; s != null; s = s._parent) { 280private void SetParent(LambdaCompiler lc, CompilerScope parent) { 458CompilerScope s = this;
Microsoft\Scripting\Compiler\LambdaCompiler.cs (1)
61private CompilerScope _scope;
Microsoft\Scripting\Compiler\LambdaCompiler.Lambda.cs (1)
164private void EmitLambdaBody(CompilerScope parent, bool inlined, CompilationFlags flags) {
Microsoft\Scripting\Compiler\LambdaCompiler.Statements.cs (1)
96CompilerScope scope;
Microsoft\Scripting\Compiler\VariableBinder.cs (8)
36private readonly Stack<CompilerScope> _scopes = new Stack<CompilerScope>(); 151var currentScope = _scopes.Peek(); 190CompilerScope referenceScope = null; 191foreach (CompilerScope scope in _scopes) { 224CompilerScope definition = null; 225foreach (CompilerScope scope in _scopes) { 248foreach (var scope in _scopes) {