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

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

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

Same methods

InterpretedFrame::Push ( int 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