13 references to VariableStorageKind
System.Core (13)
Microsoft\Scripting\Compiler\CompilerScope.cs (6)
79
internal readonly Dictionary<ParameterExpression,
VariableStorageKind
> Definitions = new Dictionary<ParameterExpression,
VariableStorageKind
>();
116
Definitions = new Dictionary<ParameterExpression,
VariableStorageKind
>(variables.Count);
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 (7)
173
currentScope.Definitions.Add(v,
VariableStorageKind
.Local);
184
Reference(node,
VariableStorageKind
.Local);
218
Reference(v,
VariableStorageKind
.Hoisted);
223
private void Reference(ParameterExpression node,
VariableStorageKind
storage) {
232
storage =
VariableStorageKind
.Hoisted;
238
if (storage ==
VariableStorageKind
.Hoisted) {
242
definition.Definitions[node] =
VariableStorageKind
.Hoisted;