public override int Run(InterpretedFrame frame) { var box = frame.Closure[_index]; box.Value = frame.Peek(); return(+1); }
public override int Run(InterpretedFrame frame) { var value = frame.Peek(); frame.Data[frame.StackIndex++] = value; return(+1); }
public override int Run(InterpretedFrame frame) { var box = (IStrongBox)frame.Data[_index]; box.Value = frame.Peek(); return(+1); }
public override int Run(InterpretedFrame frame) { IStrongBox box = frame.Closure[_index]; box.Value = frame.Peek(); return(1); }
public override int Run(InterpretedFrame frame) { if (frame.Peek() == null) { throw new NullReferenceException(); } return +1; }
public override int Run(InterpretedFrame frame) { if (frame.Peek() == null) { frame.Pop(); frame.Push(Activator.CreateInstance(_defaultValueType)); } return(1); }
public override int Run(InterpretedFrame frame) { if (frame.Peek() == null) { frame.Pop(); frame.Push(RuntimeHelpers.GetUninitializedObject(_defaultValueType)); } return(1); }
public override int Run(InterpretedFrame frame) { if (frame.Peek() == null) { throw new NullReferenceException(); } return(+1); }
public override int Run(InterpretedFrame frame) { if (frame.Peek() == null) { throw new InvalidOperationException(); } return(1); }
public override int Run(InterpretedFrame frame) { if (frame.Peek() == null) { // Trigger InvalidOperationException with same localized method as if we'd called the Value getter. return((int)default(int?) !); } return(1); }
public override int Run(InterpretedFrame frame) { Debug.Assert(_offset != Unknown); if (frame.Peek() != null) { return(_offset); } return(+1); }
public override int Run(InterpretedFrame frame) { frame.Data[_index] = frame.Peek(); return +1; }
public override int Run(InterpretedFrame frame) { var box = (IStrongBox)frame.Data[_index]; box.Value = frame.Peek(); return +1; }
public override int Run(InterpretedFrame frame) { frame.Data[_index] = frame.Peek(); return(+1); }
public override int Run(InterpretedFrame frame) { var value = frame.Peek(); frame.Data[frame.StackIndex++] = value; return +1; }
public override int Run(InterpretedFrame frame) { Debug.Assert(Offset != Unknown); return(frame.Peek() != null ? Offset : 1); }
public override int Run(InterpretedFrame frame) { IStrongBox box = frame.Closure[_index]; box.Value = frame.Peek(); return +1; }