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.
Показать файл Открыть проект

Открытые методы

Метод Описание
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