C# 클래스 SexyProxy.Fody.CecilExtensions

파일 보기 프로젝트 열기: kswoll/sexy-proxy 1 사용 예제들

공개 메소드들

메소드 설명
Bind ( this field, Mono.Cecil.GenericInstanceType genericType ) : FieldReference
Bind ( this method, Mono.Cecil.GenericInstanceType genericType ) : MethodReference
BindDefinition ( this field, TypeReference genericTypeDefinition ) : FieldReference
Clone ( this il, Instruction instruction ) : Instruction
CompareTo ( this type, TypeReference compareTo ) : bool
CopyGenericParameters ( this source, IGenericParameterProvider destination ) : void
CopyParameters ( this source, Mono.Cecil.MethodDefinition destination ) : void
CreateDefaultMethodImplementation ( Mono.Cecil.MethodDefinition methodInfo, Mono.Cecil.Cil.ILProcessor il ) : void
CreateStaticConstructor ( Mono.Cecil.TypeDefinition proxyType ) : Mono.Cecil.MethodDefinition
Emit ( this body, Action il ) : void
EmitDefaultBaseConstructorCall ( this il, Mono.Cecil.TypeDefinition baseType ) : void
EmitDefaultValue ( this il, TypeReference type ) : void
FindAssembly ( this module, string name ) : Mono.Cecil.AssemblyNameReference
FindConstructor ( this currentModule, TypeReference type ) : MethodReference
FindGetter ( this currentModule, TypeReference type, string propertyName ) : MethodReference
FindMethod ( this currentModule, TypeReference type, string name ) : MethodReference
FindSetter ( this currentModule, TypeReference type, string propertyName ) : MethodReference
FindType ( this currentModule, string @namespace, string typeName, IMetadataScope scope = null ) : TypeReference
GenerateSignature ( this method ) : string
GetCustomAttributes ( this assembly, TypeReference attributeType ) : IEnumerable
GetEarliestAncestorThatDeclares ( this type, TypeReference attributeType ) : Mono.Cecil.TypeDefinition
GetTaskType ( this type ) : TypeReference
IndexOf ( this instructions, bool>.Func predicate, int fromIndex ) : int
IsAssignableFrom ( this baseType, Mono.Cecil.TypeDefinition type, Action logger = null ) : bool
IsAssignableFrom ( this baseType, TypeReference type, Action logger = null ) : bool
IsDefined ( this assembly, TypeReference attributeType ) : bool
IsDefined ( this member, TypeReference attributeType, bool inherit = false ) : bool
IsTaskT ( this type ) : bool
LoadType ( this il, TypeReference type ) : void
MakeGenericMethod ( this method ) : Mono.Cecil.GenericInstanceMethod
MakeGenericNestedType ( this self ) : Mono.Cecil.GenericInstanceType
ResolveGenericParameter ( this genericParameter, Mono.Cecil.TypeDefinition typeContext ) : TypeReference
StoreMethodInfo ( this il, FieldReference staticField, TypeReference declaringType, Mono.Cecil.MethodDefinition method ) : void

비공개 메소드들

메소드 설명
Initialize ( Mono.Cecil.ModuleDefinition moduleDefinition ) : void

메소드 상세

Bind() 공개 정적인 메소드

public static Bind ( this field, Mono.Cecil.GenericInstanceType genericType ) : FieldReference
field this
genericType Mono.Cecil.GenericInstanceType
리턴 Mono.Cecil.FieldReference

Bind() 공개 정적인 메소드

public static Bind ( this method, Mono.Cecil.GenericInstanceType genericType ) : MethodReference
method this
genericType Mono.Cecil.GenericInstanceType
리턴 Mono.Cecil.MethodReference

BindDefinition() 공개 정적인 메소드

public static BindDefinition ( this field, TypeReference genericTypeDefinition ) : FieldReference
field this
genericTypeDefinition Mono.Cecil.TypeReference
리턴 Mono.Cecil.FieldReference

Clone() 공개 정적인 메소드

public static Clone ( this il, Instruction instruction ) : Instruction
il this
instruction Mono.Cecil.Cil.Instruction
리턴 Mono.Cecil.Cil.Instruction

CompareTo() 공개 정적인 메소드

public static CompareTo ( this type, TypeReference compareTo ) : bool
type this
compareTo Mono.Cecil.TypeReference
리턴 bool

CopyGenericParameters() 공개 정적인 메소드

public static CopyGenericParameters ( this source, IGenericParameterProvider destination ) : void
source this
destination IGenericParameterProvider
리턴 void

CopyParameters() 공개 정적인 메소드

public static CopyParameters ( this source, Mono.Cecil.MethodDefinition destination ) : void
source this
destination Mono.Cecil.MethodDefinition
리턴 void

CreateDefaultMethodImplementation() 공개 정적인 메소드

public static CreateDefaultMethodImplementation ( Mono.Cecil.MethodDefinition methodInfo, Mono.Cecil.Cil.ILProcessor il ) : void
methodInfo Mono.Cecil.MethodDefinition
il Mono.Cecil.Cil.ILProcessor
리턴 void

CreateStaticConstructor() 공개 정적인 메소드

public static CreateStaticConstructor ( Mono.Cecil.TypeDefinition proxyType ) : Mono.Cecil.MethodDefinition
proxyType Mono.Cecil.TypeDefinition
리턴 Mono.Cecil.MethodDefinition

Emit() 공개 정적인 메소드

public static Emit ( this body, Action il ) : void
body this
il Action
리턴 void

EmitDefaultBaseConstructorCall() 공개 정적인 메소드

public static EmitDefaultBaseConstructorCall ( this il, Mono.Cecil.TypeDefinition baseType ) : void
il this
baseType Mono.Cecil.TypeDefinition
리턴 void

EmitDefaultValue() 공개 정적인 메소드

public static EmitDefaultValue ( this il, TypeReference type ) : void
il this
type Mono.Cecil.TypeReference
리턴 void

FindAssembly() 공개 정적인 메소드

public static FindAssembly ( this module, string name ) : Mono.Cecil.AssemblyNameReference
module this
name string
리턴 Mono.Cecil.AssemblyNameReference

FindConstructor() 공개 정적인 메소드

public static FindConstructor ( this currentModule, TypeReference type ) : MethodReference
currentModule this
type Mono.Cecil.TypeReference
리턴 Mono.Cecil.MethodReference

FindGetter() 공개 정적인 메소드

public static FindGetter ( this currentModule, TypeReference type, string propertyName ) : MethodReference
currentModule this
type Mono.Cecil.TypeReference
propertyName string
리턴 Mono.Cecil.MethodReference

FindMethod() 공개 정적인 메소드

public static FindMethod ( this currentModule, TypeReference type, string name ) : MethodReference
currentModule this
type Mono.Cecil.TypeReference
name string
리턴 Mono.Cecil.MethodReference

FindSetter() 공개 정적인 메소드

public static FindSetter ( this currentModule, TypeReference type, string propertyName ) : MethodReference
currentModule this
type Mono.Cecil.TypeReference
propertyName string
리턴 Mono.Cecil.MethodReference

FindType() 공개 정적인 메소드

public static FindType ( this currentModule, string @namespace, string typeName, IMetadataScope scope = null ) : TypeReference
currentModule this
@namespace string
typeName string
scope IMetadataScope
리턴 Mono.Cecil.TypeReference

GenerateSignature() 공개 정적인 메소드

public static GenerateSignature ( this method ) : string
method this
리턴 string

GetCustomAttributes() 공개 정적인 메소드

public static GetCustomAttributes ( this assembly, TypeReference attributeType ) : IEnumerable
assembly this
attributeType Mono.Cecil.TypeReference
리턴 IEnumerable

GetEarliestAncestorThatDeclares() 공개 정적인 메소드

public static GetEarliestAncestorThatDeclares ( this type, TypeReference attributeType ) : Mono.Cecil.TypeDefinition
type this
attributeType Mono.Cecil.TypeReference
리턴 Mono.Cecil.TypeDefinition

GetTaskType() 공개 정적인 메소드

public static GetTaskType ( this type ) : TypeReference
type this
리턴 Mono.Cecil.TypeReference

IndexOf() 공개 정적인 메소드

public static IndexOf ( this instructions, bool>.Func predicate, int fromIndex ) : int
instructions this
predicate bool>.Func
fromIndex int
리턴 int

IsAssignableFrom() 공개 정적인 메소드

public static IsAssignableFrom ( this baseType, Mono.Cecil.TypeDefinition type, Action logger = null ) : bool
baseType this
type Mono.Cecil.TypeDefinition
logger Action
리턴 bool

IsAssignableFrom() 공개 정적인 메소드

public static IsAssignableFrom ( this baseType, TypeReference type, Action logger = null ) : bool
baseType this
type Mono.Cecil.TypeReference
logger Action
리턴 bool

IsDefined() 공개 정적인 메소드

public static IsDefined ( this assembly, TypeReference attributeType ) : bool
assembly this
attributeType Mono.Cecil.TypeReference
리턴 bool

IsDefined() 공개 정적인 메소드

public static IsDefined ( this member, TypeReference attributeType, bool inherit = false ) : bool
member this
attributeType Mono.Cecil.TypeReference
inherit bool
리턴 bool

IsTaskT() 공개 정적인 메소드

public static IsTaskT ( this type ) : bool
type this
리턴 bool

LoadType() 공개 정적인 메소드

public static LoadType ( this il, TypeReference type ) : void
il this
type Mono.Cecil.TypeReference
리턴 void

MakeGenericMethod() 공개 정적인 메소드

public static MakeGenericMethod ( this method ) : Mono.Cecil.GenericInstanceMethod
method this
리턴 Mono.Cecil.GenericInstanceMethod

MakeGenericNestedType() 공개 정적인 메소드

public static MakeGenericNestedType ( this self ) : Mono.Cecil.GenericInstanceType
self this
리턴 Mono.Cecil.GenericInstanceType

ResolveGenericParameter() 공개 정적인 메소드

public static ResolveGenericParameter ( this genericParameter, Mono.Cecil.TypeDefinition typeContext ) : TypeReference
genericParameter this
typeContext Mono.Cecil.TypeDefinition
리턴 Mono.Cecil.TypeReference

StoreMethodInfo() 공개 정적인 메소드

public static StoreMethodInfo ( this il, FieldReference staticField, TypeReference declaringType, Mono.Cecil.MethodDefinition method ) : void
il this
staticField Mono.Cecil.FieldReference
declaringType Mono.Cecil.TypeReference
method Mono.Cecil.MethodDefinition
리턴 void