1 write to Definitions
System.Core (1)
Microsoft\Scripting\Compiler\CompilerScope.cs (1)
116
Definitions
= new Dictionary<ParameterExpression, VariableStorageKind>(variables.Count);
8 references to Definitions
System.Core (8)
Microsoft\Scripting\Compiler\CompilerScope.cs (3)
118
Definitions
.Add(v, VariableStorageKind.Local);
288
var hoistedVars = GetVariables().Where(p =>
Definitions
[p] == VariableStorageKind.Hoisted).ToReadOnly();
413
if (
Definitions
[v] == VariableStorageKind.Local) {
Microsoft\Scripting\Compiler\VariableBinder.cs (5)
162
if (currentScope.
Definitions
.ContainsKey(v)) {
173
currentScope.
Definitions
.Add(v, VariableStorageKind.Local);
200
if (scope.IsMethod || scope.
Definitions
.ContainsKey(node)) {
226
if (scope.
Definitions
.ContainsKey(node)) {
242
definition.
Definitions
[node] = VariableStorageKind.Hoisted;