5 instantiations of CompilerScope
System.Core (5)
Microsoft\Scripting\Compiler\LambdaCompiler.Statements.cs (1)
109
scope = 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)
28
internal readonly Dictionary<object,
CompilerScope
> Scopes = new Dictionary<object,
CompilerScope
>();
Microsoft\Scripting\Compiler\CompilerScope.cs (8)
53
private
CompilerScope
_parent;
135
internal
CompilerScope
Enter(LambdaCompiler lc,
CompilerScope
parent) {
156
internal
CompilerScope
Exit() {
166
CompilerScope
parent = _parent;
245
for (
CompilerScope
s = this; s != null; s = s._parent) {
280
private void SetParent(LambdaCompiler lc,
CompilerScope
parent) {
458
CompilerScope
s = this;
Microsoft\Scripting\Compiler\LambdaCompiler.cs (1)
61
private
CompilerScope
_scope;
Microsoft\Scripting\Compiler\LambdaCompiler.Lambda.cs (1)
164
private void EmitLambdaBody(
CompilerScope
parent, bool inlined, CompilationFlags flags) {
Microsoft\Scripting\Compiler\LambdaCompiler.Statements.cs (1)
96
CompilerScope
scope;
Microsoft\Scripting\Compiler\VariableBinder.cs (8)
36
private readonly Stack<
CompilerScope
> _scopes = new Stack<
CompilerScope
>();
151
var
currentScope = _scopes.Peek();
190
CompilerScope
referenceScope = null;
191
foreach (
CompilerScope
scope in _scopes) {
224
CompilerScope
definition = null;
225
foreach (
CompilerScope
scope in _scopes) {
248
foreach (
var
scope in _scopes) {