C# 클래스 Shaspect.Builder.Tools.ILTools

파일 보기 프로젝트 열기: mshmelev/Shaspect

공개 메소드들

메소드 설명
Add ( this coll, Collection instructions ) : void
Add ( this coll, Mono.Cecil.Cil.OpCode opcode ) : void
Add ( this coll, Mono.Cecil.Cil.OpCode opcode, Mono.Cecil.CallSite site ) : void
Add ( this coll, Mono.Cecil.Cil.OpCode opcode, FieldReference field ) : void
Add ( this coll, Mono.Cecil.Cil.OpCode opcode, Instruction target ) : void
Add ( this coll, Mono.Cecil.Cil.OpCode opcode, MethodReference method ) : void
Add ( this coll, Mono.Cecil.Cil.OpCode opcode, Mono.Cecil.ParameterDefinition parameter ) : void
Add ( this coll, Mono.Cecil.Cil.OpCode opcode, TypeReference type ) : void
Add ( this coll, Mono.Cecil.Cil.OpCode opcode, Mono.Cecil.Cil.VariableDefinition variable ) : void
Add ( this coll, Mono.Cecil.Cil.OpCode opcode, byte value ) : void
Add ( this coll, Mono.Cecil.Cil.OpCode opcode, double value ) : void
Add ( this coll, Mono.Cecil.Cil.OpCode opcode, float value ) : void
Add ( this coll, Mono.Cecil.Cil.OpCode opcode, int value ) : void
Add ( this coll, Mono.Cecil.Cil.OpCode opcode, long value ) : void
Add ( this coll, Mono.Cecil.Cil.OpCode opcode, sbyte value ) : void
Add ( this coll, Mono.Cecil.Cil.OpCode opcode, string value ) : void
GetLdcOpCode ( TypeReference type, object value ) : Instruction

Returns Ldc instruction specific to the passed type.

GetLdindOpCode ( TypeReference type ) : Instruction

Returns Ldind instruction specific to the passed type.

GetStelemOpCode ( TypeReference type ) : Instruction

Returns Stelem instruction specific to the passed type.

Insert ( this coll, int index, Collection instructions ) : void
ReplaceOpCode ( this instr, Mono.Cecil.Cil.OpCode opCode, object operand ) : void

Replaces OpCode and Operand leaving instruction reference untouched. Useful when instruction is referred to from other places.

메소드 상세

Add() 공개 정적인 메소드

public static Add ( this coll, Collection instructions ) : void
coll this
instructions Collection
리턴 void

Add() 공개 정적인 메소드

public static Add ( this coll, Mono.Cecil.Cil.OpCode opcode ) : void
coll this
opcode Mono.Cecil.Cil.OpCode
리턴 void

Add() 공개 정적인 메소드

public static Add ( this coll, Mono.Cecil.Cil.OpCode opcode, Mono.Cecil.CallSite site ) : void
coll this
opcode Mono.Cecil.Cil.OpCode
site Mono.Cecil.CallSite
리턴 void

Add() 공개 정적인 메소드

public static Add ( this coll, Mono.Cecil.Cil.OpCode opcode, FieldReference field ) : void
coll this
opcode Mono.Cecil.Cil.OpCode
field Mono.Cecil.FieldReference
리턴 void

Add() 공개 정적인 메소드

public static Add ( this coll, Mono.Cecil.Cil.OpCode opcode, Instruction target ) : void
coll this
opcode Mono.Cecil.Cil.OpCode
target Mono.Cecil.Cil.Instruction
리턴 void

Add() 공개 정적인 메소드

public static Add ( this coll, Mono.Cecil.Cil.OpCode opcode, MethodReference method ) : void
coll this
opcode Mono.Cecil.Cil.OpCode
method Mono.Cecil.MethodReference
리턴 void

Add() 공개 정적인 메소드

public static Add ( this coll, Mono.Cecil.Cil.OpCode opcode, Mono.Cecil.ParameterDefinition parameter ) : void
coll this
opcode Mono.Cecil.Cil.OpCode
parameter Mono.Cecil.ParameterDefinition
리턴 void

Add() 공개 정적인 메소드

public static Add ( this coll, Mono.Cecil.Cil.OpCode opcode, TypeReference type ) : void
coll this
opcode Mono.Cecil.Cil.OpCode
type Mono.Cecil.TypeReference
리턴 void

Add() 공개 정적인 메소드

public static Add ( this coll, Mono.Cecil.Cil.OpCode opcode, Mono.Cecil.Cil.VariableDefinition variable ) : void
coll this
opcode Mono.Cecil.Cil.OpCode
variable Mono.Cecil.Cil.VariableDefinition
리턴 void

Add() 공개 정적인 메소드

public static Add ( this coll, Mono.Cecil.Cil.OpCode opcode, byte value ) : void
coll this
opcode Mono.Cecil.Cil.OpCode
value byte
리턴 void

Add() 공개 정적인 메소드

public static Add ( this coll, Mono.Cecil.Cil.OpCode opcode, double value ) : void
coll this
opcode Mono.Cecil.Cil.OpCode
value double
리턴 void

Add() 공개 정적인 메소드

public static Add ( this coll, Mono.Cecil.Cil.OpCode opcode, float value ) : void
coll this
opcode Mono.Cecil.Cil.OpCode
value float
리턴 void

Add() 공개 정적인 메소드

public static Add ( this coll, Mono.Cecil.Cil.OpCode opcode, int value ) : void
coll this
opcode Mono.Cecil.Cil.OpCode
value int
리턴 void

Add() 공개 정적인 메소드

public static Add ( this coll, Mono.Cecil.Cil.OpCode opcode, long value ) : void
coll this
opcode Mono.Cecil.Cil.OpCode
value long
리턴 void

Add() 공개 정적인 메소드

public static Add ( this coll, Mono.Cecil.Cil.OpCode opcode, sbyte value ) : void
coll this
opcode Mono.Cecil.Cil.OpCode
value sbyte
리턴 void

Add() 공개 정적인 메소드

public static Add ( this coll, Mono.Cecil.Cil.OpCode opcode, string value ) : void
coll this
opcode Mono.Cecil.Cil.OpCode
value string
리턴 void

GetLdcOpCode() 공개 정적인 메소드

Returns Ldc instruction specific to the passed type.
public static GetLdcOpCode ( TypeReference type, object value ) : Instruction
type Mono.Cecil.TypeReference
value object
리턴 Mono.Cecil.Cil.Instruction

GetLdindOpCode() 공개 정적인 메소드

Returns Ldind instruction specific to the passed type.
public static GetLdindOpCode ( TypeReference type ) : Instruction
type Mono.Cecil.TypeReference
리턴 Mono.Cecil.Cil.Instruction

GetStelemOpCode() 공개 정적인 메소드

Returns Stelem instruction specific to the passed type.
public static GetStelemOpCode ( TypeReference type ) : Instruction
type Mono.Cecil.TypeReference
리턴 Mono.Cecil.Cil.Instruction

Insert() 공개 정적인 메소드

public static Insert ( this coll, int index, Collection instructions ) : void
coll this
index int
instructions Collection
리턴 void

ReplaceOpCode() 공개 정적인 메소드

Replaces OpCode and Operand leaving instruction reference untouched. Useful when instruction is referred to from other places.
public static ReplaceOpCode ( this instr, Mono.Cecil.Cil.OpCode opCode, object operand ) : void
instr this
opCode Mono.Cecil.Cil.OpCode
operand object
리턴 void