C# 클래스 LinFu.AOP.Cecil.CatchAllThrownExceptions

Represents a method rewriter that modifies a method body to support dynamic exception handling.
상속: BaseMethodRewriter
파일 보기 프로젝트 열기: philiplaureano/LinFu

공개 메소드들

메소드 설명
AddLocals ( Mono.Cecil.MethodDefinition hostMethod ) : void

Adds local variables to the hostMethod.

ImportReferences ( Mono.Cecil.ModuleDefinition module ) : void

Adds additional references to the target module.

보호된 메소드들

메소드 설명
RewriteMethodBody ( Mono.Cecil.MethodDefinition targetMethod, Mono.Cecil.Cil.CilWorker IL, IEnumerable oldInstructions ) : void

Rewrites the instructions in the target method body to support dynamic exception handling.

비공개 메소드들

메소드 설명
SaveExceptionInfo ( Mono.Cecil.MethodDefinition targetMethod, IEmitInvocationInfo emitter ) : void

Saves the current IExceptionHandlerInfo instance.

메소드 상세

AddLocals() 공개 메소드

Adds local variables to the hostMethod.
public AddLocals ( Mono.Cecil.MethodDefinition hostMethod ) : void
hostMethod Mono.Cecil.MethodDefinition The target method.
리턴 void

ImportReferences() 공개 메소드

Adds additional references to the target module.
public ImportReferences ( Mono.Cecil.ModuleDefinition module ) : void
module Mono.Cecil.ModuleDefinition The host module.
리턴 void

RewriteMethodBody() 보호된 메소드

Rewrites the instructions in the target method body to support dynamic exception handling.
protected RewriteMethodBody ( Mono.Cecil.MethodDefinition targetMethod, Mono.Cecil.Cil.CilWorker IL, IEnumerable oldInstructions ) : void
targetMethod Mono.Cecil.MethodDefinition The target method.
IL Mono.Cecil.Cil.CilWorker The instance that represents the method body.
oldInstructions IEnumerable The IL instructions of the original method body.
리턴 void