C# 클래스 Mono.Cecil.Cil.CodeReader

상속: ByteBuffer
파일 보기 프로젝트 열기: Unity-Technologies/cecil 1 사용 예제들

Private Properties

프로퍼티 타입 설명
Align void
GetInstruction Instruction
GetInstruction Instruction
MoveBackTo void
PatchRawCode void
PatchRawExceptionHandlers void
PatchRawFatMethod void
PatchRawFatSection void
PatchRawSection void
PatchRawSmallSection void
ReadAsyncMethodBody void
ReadCode void
ReadCustomDebugInformations void
ReadDebugInfo void
ReadExceptionHandlerSpecific void
ReadExceptionHandlers void
ReadFatMethod void
ReadFatSection void
ReadMethodBody void
ReadOpCode Mono.Cecil.Cil.OpCode
ReadOperand object
ReadScope void
ReadScopes void
ReadSection void
ReadSequencePoints void
ReadSmallSection void
ReadStateMachineScope void
ResolveBranches void

공개 메소드들

메소드 설명
CodeReader ( MetadataReader reader ) : System
GetCallSite ( MetadataToken token ) : CallSite
GetParameter ( int index ) : ParameterDefinition
GetString ( MetadataToken token ) : string
GetVariable ( int index ) : Mono.Cecil.Cil.VariableDefinition
MoveTo ( MethodDefinition method ) : int
PatchRawMethodBody ( MethodDefinition method, CodeWriter writer, int &code_size, MetadataToken &local_var_token ) : ByteBuffer
ReadMethodBody ( MethodDefinition method ) : MethodBody
ReadToken ( ) : MetadataToken
ReadVariables ( MetadataToken local_var_token ) : Mono.Cecil.Cil.VariableDefinitionCollection

비공개 메소드들

메소드 설명
Align ( int align ) : void
GetInstruction ( Collection instructions, int offset ) : Instruction
GetInstruction ( int offset ) : Instruction
MoveBackTo ( int position ) : void
PatchRawCode ( ByteBuffer buffer, int code_size, CodeWriter writer ) : void
PatchRawExceptionHandlers ( ByteBuffer buffer, MetadataBuilder metadata, int count, bool fat_entry ) : void
PatchRawFatMethod ( ByteBuffer buffer, CodeWriter writer, int &code_size, MetadataToken &local_var_token ) : void
PatchRawFatSection ( ByteBuffer buffer, MetadataBuilder metadata ) : void
PatchRawSection ( ByteBuffer buffer, MetadataBuilder metadata ) : void
PatchRawSmallSection ( ByteBuffer buffer, MetadataBuilder metadata ) : void
ReadAsyncMethodBody ( AsyncMethodBodyDebugInformation async_method ) : void
ReadCode ( ) : void
ReadCustomDebugInformations ( MethodDefinition method ) : void
ReadDebugInfo ( ) : void
ReadExceptionHandlerSpecific ( Mono.Cecil.Cil.ExceptionHandler handler ) : void
ReadExceptionHandlers ( int count, Func read_entry, Func read_length ) : void
ReadFatMethod ( ) : void
ReadFatSection ( ) : void
ReadMethodBody ( ) : void
ReadOpCode ( ) : Mono.Cecil.Cil.OpCode
ReadOperand ( Instruction instruction ) : object
ReadScope ( ScopeDebugInformation scope ) : void
ReadScopes ( Collection scopes ) : void
ReadSection ( ) : void
ReadSequencePoints ( ) : void
ReadSmallSection ( ) : void
ReadStateMachineScope ( StateMachineScopeDebugInformation state_machine_scope ) : void
ResolveBranches ( Collection instructions ) : void

메소드 상세

CodeReader() 공개 메소드

public CodeReader ( MetadataReader reader ) : System
reader MetadataReader
리턴 System

GetCallSite() 공개 메소드

public GetCallSite ( MetadataToken token ) : CallSite
token MetadataToken
리턴 CallSite

GetParameter() 공개 메소드

public GetParameter ( int index ) : ParameterDefinition
index int
리턴 ParameterDefinition

GetString() 공개 메소드

public GetString ( MetadataToken token ) : string
token MetadataToken
리턴 string

GetVariable() 공개 메소드

public GetVariable ( int index ) : Mono.Cecil.Cil.VariableDefinition
index int
리턴 Mono.Cecil.Cil.VariableDefinition

MoveTo() 공개 메소드

public MoveTo ( MethodDefinition method ) : int
method MethodDefinition
리턴 int

PatchRawMethodBody() 공개 메소드

public PatchRawMethodBody ( MethodDefinition method, CodeWriter writer, int &code_size, MetadataToken &local_var_token ) : ByteBuffer
method MethodDefinition
writer CodeWriter
code_size int
local_var_token MetadataToken
리턴 ByteBuffer

ReadMethodBody() 공개 메소드

public ReadMethodBody ( MethodDefinition method ) : MethodBody
method MethodDefinition
리턴 MethodBody

ReadToken() 공개 메소드

public ReadToken ( ) : MetadataToken
리턴 MetadataToken

ReadVariables() 공개 메소드

public ReadVariables ( MetadataToken local_var_token ) : Mono.Cecil.Cil.VariableDefinitionCollection
local_var_token MetadataToken
리턴 Mono.Cecil.Cil.VariableDefinitionCollection