1 write to Data
System.Linq.Expressions (1)
System\Linq\Expressions\Interpreter\InterpretedFrame.cs (1)
41
Data
= new object[StackIndex + interpreter.Instructions.MaxStackDepth];
150 references to Data
System.Linq.Expressions (150)
System\Linq\Expressions\Interpreter\AddInstruction.cs (14)
24
object?[] stack = frame.
Data
;
42
object?[] stack = frame.
Data
;
60
object?[] stack = frame.
Data
;
78
object?[] stack = frame.
Data
;
96
object?[] stack = frame.
Data
;
114
object?[] stack = frame.
Data
;
132
object?[] stack = frame.
Data
;
150
object?[] stack = frame.
Data
;
196
object?[] stack = frame.
Data
;
214
object?[] stack = frame.
Data
;
232
object?[] stack = frame.
Data
;
250
object?[] stack = frame.
Data
;
268
object?[] stack = frame.
Data
;
286
object?[] stack = frame.
Data
;
System\Linq\Expressions\Interpreter\CallInstruction.cs (5)
316
object? instance = frame.
Data
[first];
342
frame.
Data
[first] = ret;
363
args[i] = frame.
Data
[first + i + skip];
413
instance = frame.
Data
[first];
439
frame.
Data
[first] = ret;
System\Linq\Expressions\Interpreter\CallInstruction.Generated.cs (37)
254
object firstArg = frame.
Data
[frame.StackIndex - 1];
293
object firstArg = frame.
Data
[frame.StackIndex - 2];
303
InterpretLambdaInvoke(targetLambda, new object[] { frame.
Data
[frame.StackIndex - 1] });
307
_target((T0)firstArg, (T1)frame.
Data
[frame.StackIndex - 1]);
332
object firstArg = frame.
Data
[frame.StackIndex - 3];
342
InterpretLambdaInvoke(targetLambda, new object[] { frame.
Data
[frame.StackIndex - 2], frame.
Data
[frame.StackIndex - 1] });
346
_target((T0)firstArg, (T1)frame.
Data
[frame.StackIndex - 2], (T2)frame.
Data
[frame.StackIndex - 1]);
371
object firstArg = frame.
Data
[frame.StackIndex - 4];
381
InterpretLambdaInvoke(targetLambda, new object[] { frame.
Data
[frame.StackIndex - 3], frame.
Data
[frame.StackIndex - 2], frame.
Data
[frame.StackIndex - 1] });
385
_target((T0)firstArg, (T1)frame.
Data
[frame.StackIndex - 3], (T2)frame.
Data
[frame.StackIndex - 2], (T3)frame.
Data
[frame.StackIndex - 1]);
408
frame.
Data
[frame.StackIndex - 0] = _target();
431
object firstArg = frame.
Data
[frame.StackIndex - 1];
449
frame.
Data
[frame.StackIndex - 1] = result;
472
object firstArg = frame.
Data
[frame.StackIndex - 2];
483
result = InterpretLambdaInvoke(targetLambda, new object[] { frame.
Data
[frame.StackIndex - 1] });
487
result = _target((T0)firstArg, (T1)frame.
Data
[frame.StackIndex - 1]);
490
frame.
Data
[frame.StackIndex - 2] = result;
513
object firstArg = frame.
Data
[frame.StackIndex - 3];
524
result = InterpretLambdaInvoke(targetLambda, new object[] { frame.
Data
[frame.StackIndex - 2], frame.
Data
[frame.StackIndex - 1] });
528
result = _target((T0)firstArg, (T1)frame.
Data
[frame.StackIndex - 2], (T2)frame.
Data
[frame.StackIndex - 1]);
531
frame.
Data
[frame.StackIndex - 3] = result;
554
object firstArg = frame.
Data
[frame.StackIndex - 4];
565
result = InterpretLambdaInvoke(targetLambda, new object[] { frame.
Data
[frame.StackIndex - 3], frame.
Data
[frame.StackIndex - 2], frame.
Data
[frame.StackIndex - 1] });
569
result = _target((T0)firstArg, (T1)frame.
Data
[frame.StackIndex - 3], (T2)frame.
Data
[frame.StackIndex - 2], (T3)frame.
Data
[frame.StackIndex - 1]);
572
frame.
Data
[frame.StackIndex - 4] = result;
System\Linq\Expressions\Interpreter\DivInstruction.cs (8)
24
object?[] stack = frame.
Data
;
42
object?[] stack = frame.
Data
;
60
object?[] stack = frame.
Data
;
78
object?[] stack = frame.
Data
;
96
object?[] stack = frame.
Data
;
114
object?[] stack = frame.
Data
;
132
object?[] stack = frame.
Data
;
150
object?[] stack = frame.
Data
;
System\Linq\Expressions\Interpreter\InterpretedFrame.cs (13)
66
Data
[StackIndex++] = value;
71
Data
[StackIndex++] = value ? Utils.BoxedTrue : Utils.BoxedFalse;
76
Data
[StackIndex++] = ScriptingRuntimeHelpers.Int32ToObject(value);
81
Data
[StackIndex++] = value;
86
Data
[StackIndex++] = value;
91
Data
[StackIndex++] = value;
96
Data
[StackIndex++] = value;
101
return
Data
[--StackIndex];
111
return
Data
[StackIndex - 1];
117
Data
[i] =
Data
[i - 1];
227
Data
[StackIndex - 1] = _pendingValue;
263
Data
[StackIndex - 1] = value;
System\Linq\Expressions\Interpreter\LightCompiler.cs (8)
3149
var box = (IStrongBox)frame.
Data
[_parameter.Index]!;
3154
frame.
Data
[_parameter.Index] = value;
3172
object? index = frame.
Data
[_index.Index];
3173
((Array)frame.
Data
[_array.Index]!).SetValue(value, (int)index!);
3197
object? obj = _object == null ? null : frame.
Data
[_object.GetValueOrDefault().Index];
3224
object? obj = _object == null ? null : frame.
Data
[_object.GetValueOrDefault().Index];
3265
args[i] = frame.
Data
[_args[i].Index];
3269
object? instance = _obj == null ? null : frame.
Data
[_obj.GetValueOrDefault().Index];
System\Linq\Expressions\Interpreter\LightLambda.cs (4)
411
frame.
Data
[i] = arguments[i];
422
arguments[i] = frame.
Data
[i];
435
frame.
Data
[i] = arguments[i];
446
arguments[i] = frame.
Data
[i];
System\Linq\Expressions\Interpreter\LocalAccess.cs (19)
49
frame.
Data
[frame.StackIndex++] = frame.
Data
[_index];
71
var box = (IStrongBox)frame.
Data
[_index]!;
72
frame.
Data
[frame.StackIndex++] = box.Value;
90
frame.
Data
[frame.StackIndex++] = box.Value;
108
frame.
Data
[frame.StackIndex++] = box;
130
frame.
Data
[_index] = frame.Peek();
152
frame.
Data
[_index] = frame.Pop();
175
var box = (IStrongBox)frame.
Data
[_index]!;
193
var box = (IStrongBox)frame.
Data
[_index]!;
194
box.Value = frame.
Data
[--frame.StackIndex];
254
frame.
Data
[_index] = null;
279
frame.
Data
[_index] = _defaultValue;
305
frame.
Data
[_index] = new StrongBox<object>(_defaultValue);
322
frame.
Data
[_index] = new StrongBox<object>();
338
frame.
Data
[_index] = new StrongBox<object?>(frame.
Data
[_index]);
388
frame.
Data
[_index] = _type.IsNullableType() ?
439
frame.
Data
[_index] = new StrongBox<object?>(value);
System\Linq\Expressions\Interpreter\ModuloInstruction.cs (8)
24
object?[] stack = frame.
Data
;
42
object?[] stack = frame.
Data
;
60
object?[] stack = frame.
Data
;
78
object?[] stack = frame.
Data
;
96
object?[] stack = frame.
Data
;
114
object?[] stack = frame.
Data
;
132
object?[] stack = frame.
Data
;
150
object?[] stack = frame.
Data
;
System\Linq\Expressions\Interpreter\MulInstruction.cs (14)
24
object?[] stack = frame.
Data
;
42
object?[] stack = frame.
Data
;
60
object?[] stack = frame.
Data
;
78
object?[] stack = frame.
Data
;
96
object?[] stack = frame.
Data
;
114
object?[] stack = frame.
Data
;
132
object?[] stack = frame.
Data
;
150
object?[] stack = frame.
Data
;
197
object?[] stack = frame.
Data
;
215
object?[] stack = frame.
Data
;
233
object?[] stack = frame.
Data
;
251
object?[] stack = frame.
Data
;
269
object?[] stack = frame.
Data
;
287
object?[] stack = frame.
Data
;
System\Linq\Expressions\Interpreter\NewInstruction.cs (3)
42
frame.
Data
[first] = ret;
56
args[i] = frame.
Data
[first + i];
101
frame.
Data
[first] = ret;
System\Linq\Expressions\Interpreter\StackOperations.cs (2)
23
frame.
Data
[frame.StackIndex++] = _value;
44
frame.
Data
[frame.StackIndex++] = frame.Interpreter._objects![_index];
System\Linq\Expressions\Interpreter\SubInstruction.cs (14)
24
object?[] stack = frame.
Data
;
42
object?[] stack = frame.
Data
;
60
object?[] stack = frame.
Data
;
78
object?[] stack = frame.
Data
;
96
object?[] stack = frame.
Data
;
114
object?[] stack = frame.
Data
;
132
object?[] stack = frame.
Data
;
150
object?[] stack = frame.
Data
;
196
object?[] stack = frame.
Data
;
214
object?[] stack = frame.
Data
;
232
object?[] stack = frame.
Data
;
250
object?[] stack = frame.
Data
;
268
object?[] stack = frame.
Data
;
286
object?[] stack = frame.
Data
;
System\Linq\Expressions\Interpreter\TypeOperations.cs (1)
643
return (IStrongBox?)_frame.
Data
[var.Index];