C# 클래스 Patchwork.Engine.Utility.Hacks

Contains extension methods that are regarded as hacks circumventing some of Cecil's limitations. Strong points of failure should the version change.
파일 보기 프로젝트 열기: GregRos/Patchwork

공개 메소드들

메소드 설명
CreateInstruction ( Mono.Cecil.Cil.OpCode opCode, object operand ) : Instruction

비공개 메소드들

메소드 설명
ClearExtraResolvers ( this resolver ) : void
ForceClearCache ( this resolver ) : void
InitializeTokenProviderCache ( Mono.Cecil.ModuleDefinition module ) : IMetadataTokenProvider>.IDictionary
LookupTokenExtended ( this module, MetadataToken token ) : IMetadataTokenProvider

This method returns the member with the specified metadata token in the given module. It supports more TokenTypes than the standard Cecil method.

RegisterSpecialResolveFailureHandler ( this resolver, AssemblyResolveEventHandler handler ) : void

Creates a system of multiple assembly resolvers. The latest resolver is fired first. The list can be cleared.

메소드 상세

CreateInstruction() 공개 정적인 메소드

public static CreateInstruction ( Mono.Cecil.Cil.OpCode opCode, object operand ) : Instruction
opCode Mono.Cecil.Cil.OpCode
operand object
리턴 Mono.Cecil.Cil.Instruction