C# Class System.Linq.Expressions.Interpreter.InterpretedFrame

显示文件 Open project: dotnet/corefx Class Usage Examples

Public Properties

Property Type Description
CurrentAbortHandler ExceptionHandler
InstructionIndex int
StackIndex int

Private Properties

Property Type Description
Enter InterpretedFrame
InterpretedFrame System.Collections.Generic
IsJumpHappened bool
Leave void
PopPendingContinuation void
PushPendingContinuation void
SaveTraceToException void
SetStackDepth void

Public Methods

Method Description
Dup ( ) : void
GetDebugInfo ( int instructionIndex ) : DebugInfo
GetExceptionStackTrace ( Exception exception ) : InterpretedFrameInfo[]
GetStackTraceDebugInfo ( ) : IEnumerable
Goto ( int labelIndex, object value, bool gotoExceptionHandler ) : int
IsInterpretedFrame ( MethodBase method ) : bool
Peek ( ) : object
Pop ( ) : object
Push ( bool value ) : void
Push ( byte value ) : void
Push ( int value ) : void
Push ( object value ) : void
Push ( sbyte value ) : void
Push ( short value ) : void
Push ( ushort value ) : void
PushContinuation ( int continuation ) : void
RemoveContinuation ( ) : void
YieldToCurrentContinuation ( ) : int
YieldToPendingContinuation ( ) : int

Get called from the LeaveFinallyInstruction

Private Methods

Method Description
Enter ( ) : InterpretedFrame
InterpretedFrame ( Interpreter interpreter, IStrongBox closure ) : System.Collections.Generic
IsJumpHappened ( ) : bool
Leave ( InterpretedFrame prevFrame ) : void
PopPendingContinuation ( ) : void
PushPendingContinuation ( ) : void
SaveTraceToException ( Exception exception ) : void
SetStackDepth ( int depth ) : void

Method Details

Dup() public method

public Dup ( ) : void
return void

GetDebugInfo() public method

public GetDebugInfo ( int instructionIndex ) : DebugInfo
instructionIndex int
return DebugInfo

GetExceptionStackTrace() public static method

public static GetExceptionStackTrace ( Exception exception ) : InterpretedFrameInfo[]
exception System.Exception
return InterpretedFrameInfo[]

GetStackTraceDebugInfo() public method

public GetStackTraceDebugInfo ( ) : IEnumerable
return IEnumerable

Goto() public method

public Goto ( int labelIndex, object value, bool gotoExceptionHandler ) : int
labelIndex int
value object
gotoExceptionHandler bool
return int

IsInterpretedFrame() public static method

public static IsInterpretedFrame ( MethodBase method ) : bool
method System.Reflection.MethodBase
return bool

Peek() public method

public Peek ( ) : object
return object

Pop() public method

public Pop ( ) : object
return object

Push() public method

public Push ( bool value ) : void
value bool
return void

Push() public method

public Push ( byte value ) : void
value byte
return void

Push() public method

public Push ( int value ) : void
value int
return void

Push() public method

public Push ( object value ) : void
value object
return void

Push() public method

public Push ( sbyte value ) : void
value sbyte
return void

Push() public method

public Push ( short value ) : void
value short
return void

Push() public method

public Push ( ushort value ) : void
value ushort
return void

PushContinuation() public method

public PushContinuation ( int continuation ) : void
continuation int
return void

RemoveContinuation() public method

public RemoveContinuation ( ) : void
return void

YieldToCurrentContinuation() public method

public YieldToCurrentContinuation ( ) : int
return int

YieldToPendingContinuation() public method

Get called from the LeaveFinallyInstruction
public YieldToPendingContinuation ( ) : int
return int

Property Details

CurrentAbortHandler public_oe property

public ExceptionHandler CurrentAbortHandler
return ExceptionHandler

InstructionIndex public_oe property

public int InstructionIndex
return int

StackIndex public_oe property

public int StackIndex
return int