메소드 | 설명 | |
---|---|---|
AddStaticField ( Mono.Cecil.ModuleDefinition moduleDefinition, Mono.Cecil.TypeDefinition classType, string field, |
||
AddStaticField ( Mono.Cecil.TypeDefinition classType, string field, |
||
CopyInstruction ( |
Creates a copy of the instruction.
|
|
GetAssemblyVersion ( string path ) : System.Version | ||
GetFieldDefinition ( Mono.Cecil.TypeDefinition t, string fieldName, bool verbose = true ) : |
Returns a property definition.
|
|
GetMethodDefinition ( Mono.Cecil.TypeDefinition t, string methodName, int parameterCount = -1, bool verbose = true ) : Mono.Cecil.MethodDefinition |
Returns a method definition.
|
|
GetModuleDefinition ( |
Returns a method definition.
|
|
GetPropertyDefinition ( Mono.Cecil.TypeDefinition t, string propName, bool verbose = true ) : Mono.Cecil.PropertyDefinition |
Returns a property definition.
|
|
GetTypeDefinition ( Mono.Cecil.ModuleDefinition moduleDefinition, string typeName, bool verbose = true ) : Mono.Cecil.TypeDefinition |
Returns a type definition.
|
|
GetTypeReference ( Mono.Cecil.ModuleDefinition moduleDefinition, string fullName, bool verbose = true ) : |
Only use this instead of GetTypeDefinition() when the type is not within the Terraria module (eg. an XNA type).
|
|
MakeTypePublic ( Mono.Cecil.TypeDefinition typeDefinition, bool includeNestedTypes = true ) : void |
Changes all fields/methods/nested types to use public modifiers.
|
|
MethodAppend ( Mono.Cecil.Cil.ILProcessor il, int index, int overwrite, IEnumerable |
||
MethodAppend ( Mono.Cecil.MethodDefinition method, IEnumerable |
||
MethodAppend ( Mono.Cecil.MethodDefinition definition, int index, int overwrite, IEnumerable |
||
MethodPrepend ( Mono.Cecil.Cil.ILProcessor il, |
||
MethodPrepend ( Mono.Cecil.MethodDefinition method, IEnumerable |
||
MethodPrepend ( Mono.Cecil.MethodDefinition method, |
||
ModifyStaticField ( Mono.Cecil.MethodDefinition classStaticConstructor, string field, Action |
||
ModifyStaticField ( Mono.Cecil.TypeDefinition classType, string field, object newValue ) : void | ||
ScanAndNop ( Mono.Cecil.MethodDefinition m, int offsetStart, int offsetInstructionWithOperand ) : bool | ||
ScanForOpcodePattern ( Mono.Cecil.MethodDefinition m ) : int |
Scans a method for a pattern of opcodes.
|
|
ScanForOpcodePattern ( Mono.Cecil.MethodDefinition m, Func |
Scans a method for a pattern of opcodes.
|
|
ScanForOpcodePattern ( Mono.Cecil.MethodDefinition m, Func |
Scans a method for a pattern of opcodes.
|
public static AddStaticField ( Mono.Cecil.ModuleDefinition moduleDefinition, Mono.Cecil.TypeDefinition classType, string field, |
||
moduleDefinition | Mono.Cecil.ModuleDefinition | |
classType | Mono.Cecil.TypeDefinition | |
field | string | |
type | ||
value | object | |
리턴 |
public static AddStaticField ( Mono.Cecil.TypeDefinition classType, string field, |
||
classType | Mono.Cecil.TypeDefinition | |
field | string | |
type | ||
value | object | |
리턴 |
public static CopyInstruction ( |
||
original | ||
리턴 |
public static GetAssemblyVersion ( string path ) : System.Version | ||
path | string | |
리턴 | System.Version |
public static GetFieldDefinition ( Mono.Cecil.TypeDefinition t, string fieldName, bool verbose = true ) : |
||
t | Mono.Cecil.TypeDefinition | |
fieldName | string | |
verbose | bool | |
리턴 |
public static GetMethodDefinition ( Mono.Cecil.TypeDefinition t, string methodName, int parameterCount = -1, bool verbose = true ) : Mono.Cecil.MethodDefinition | ||
t | Mono.Cecil.TypeDefinition | |
methodName | string | |
parameterCount | int | |
verbose | bool | |
리턴 | Mono.Cecil.MethodDefinition |
public static GetModuleDefinition ( |
||
definition | ||
fullyQualifiedName | string | |
verbose | bool | |
리턴 | Mono.Cecil.ModuleDefinition |
public static GetPropertyDefinition ( Mono.Cecil.TypeDefinition t, string propName, bool verbose = true ) : Mono.Cecil.PropertyDefinition | ||
t | Mono.Cecil.TypeDefinition | |
propName | string | |
verbose | bool | |
리턴 | Mono.Cecil.PropertyDefinition |
public static GetTypeDefinition ( Mono.Cecil.ModuleDefinition moduleDefinition, string typeName, bool verbose = true ) : Mono.Cecil.TypeDefinition | ||
moduleDefinition | Mono.Cecil.ModuleDefinition | |
typeName | string | |
verbose | bool | |
리턴 | Mono.Cecil.TypeDefinition |
public static GetTypeReference ( Mono.Cecil.ModuleDefinition moduleDefinition, string fullName, bool verbose = true ) : |
||
moduleDefinition | Mono.Cecil.ModuleDefinition | |
fullName | string | |
verbose | bool | |
리턴 |
public static MakeTypePublic ( Mono.Cecil.TypeDefinition typeDefinition, bool includeNestedTypes = true ) : void | ||
typeDefinition | Mono.Cecil.TypeDefinition | |
includeNestedTypes | bool | |
리턴 | void |
public static MethodAppend ( Mono.Cecil.Cil.ILProcessor il, int index, int overwrite, IEnumerable |
||
il | Mono.Cecil.Cil.ILProcessor | |
index | int | |
overwrite | int | |
instructions | IEnumerable |
|
리턴 | void |
public static MethodAppend ( Mono.Cecil.MethodDefinition method, IEnumerable |
||
method | Mono.Cecil.MethodDefinition | |
instructions | IEnumerable |
|
리턴 | void |
public static MethodAppend ( Mono.Cecil.MethodDefinition definition, int index, int overwrite, IEnumerable |
||
definition | Mono.Cecil.MethodDefinition | |
index | int | |
overwrite | int | |
instructions | IEnumerable |
|
리턴 | void |
public static MethodPrepend ( Mono.Cecil.Cil.ILProcessor il, |
||
il | Mono.Cecil.Cil.ILProcessor | |
first | ||
instructions | IEnumerable |
|
리턴 | void |
public static MethodPrepend ( Mono.Cecil.MethodDefinition method, IEnumerable |
||
method | Mono.Cecil.MethodDefinition | |
instructions | IEnumerable |
|
리턴 | void |
public static MethodPrepend ( Mono.Cecil.MethodDefinition method, |
||
method | Mono.Cecil.MethodDefinition | |
first | ||
instructions | IEnumerable |
|
리턴 | void |
public static ModifyStaticField ( Mono.Cecil.MethodDefinition classStaticConstructor, string field, Action |
||
classStaticConstructor | Mono.Cecil.MethodDefinition | |
field | string | |
set | Action |
|
리턴 | void |
public static ModifyStaticField ( Mono.Cecil.TypeDefinition classType, string field, object newValue ) : void | ||
classType | Mono.Cecil.TypeDefinition | |
field | string | |
newValue | object | |
리턴 | void |
public static ScanAndNop ( Mono.Cecil.MethodDefinition m, int offsetStart, int offsetInstructionWithOperand ) : bool | ||
m | Mono.Cecil.MethodDefinition | |
offsetStart | int | |
offsetInstructionWithOperand | int | |
리턴 | bool |
public static ScanForOpcodePattern ( Mono.Cecil.MethodDefinition m ) : int | ||
m | Mono.Cecil.MethodDefinition | |
리턴 | int |
public static ScanForOpcodePattern ( Mono.Cecil.MethodDefinition m, Func |
||
m | Mono.Cecil.MethodDefinition | |
check | Func |
|
리턴 | int |
public static ScanForOpcodePattern ( Mono.Cecil.MethodDefinition m, Func |
||
m | Mono.Cecil.MethodDefinition | |
check | Func |
|
nStartOffset | int | |
리턴 | int |