Microsoft.Scripting.Interpreter.InterpretedFrame.Push C# (CSharp) Метод

Push() публичный Метод

public Push ( int value ) : void
value int
Результат void
        public void Push(int value) {
            Data[StackIndex++] = ScriptingRuntimeHelpers.Int32ToObject(value);
        }

Same methods

InterpretedFrame::Push ( bool value ) : void
InterpretedFrame::Push ( object value ) : void

Usage Example

        public override int Run(InterpretedFrame frame) {
            DebugInfo info = DebugInfo.GetMatchingDebugInfo(_debugInfos, frame.FaultingInstruction);
            if (info != null && !info.IsClear) {
                frame.Push(info.StartLine);
            }else{
                frame.Push(-1);
            }

            return +1;
        }
All Usage Examples Of Microsoft.Scripting.Interpreter.InterpretedFrame::Push