PostSharp SDK 2023.0 / / Class Reference / Post­Sharp.​Sdk.​Aspect­Infrastructure Namespace / Method­Body­Transformation­Redirection Class / Method­Body­Transformation­Redirection Properties

MethodBodyTransformationRedirection Properties

The MethodBodyTransformationRedirection type exposes the following members.

Public propertyInstructionBlock
Gets or sets the InstructionBlock in which the next transformation should emit its instructions. nulll if the InstructionBlock is unchanged.
Public propertyLeaveBranchTarget
Gets or sets the InstructionSequence to which the next transformation should redirect the instruction flow when exiting, instead of calling the ret instruction. null if the target is unchanged.
Public propertyMethodMapping
Gets or sets the MethodMapping that maps the context of the new InstructionBlock to the original method. null if the method mapping is unchanged.
Public propertyReturnVariable
Gets or sets the local variable into which the next transformation should store the return value. null if the return value is unchanged.
See Also