PostSharp SDK 2023.0 / / Class Reference / Post­Sharp.​Sdk.​Aspect­Weaver.​Transformations Namespace / Arguments­Writer Class / Arguments­Writer Methods / Arguments­Writer.​Set­Load­Arguments­Action Method

ArgumentsWriter.SetLoadArgumentsAction Method

Instructs the current ArgumentsWriter how the Arguments object can be loaded.

Namespace:  PostSharp.Sdk.AspectWeaver.Transformations
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 2023.0.3.0 (2023.0.3.0)
Syntax
C#
public void SetLoadArgumentsAction(
	Action<InstructionWriter> loadArgumentsAction,
	ITypeSignature sourceType
)

Parameters

loadArgumentsAction
Type: System.Action<InstructionWriter>
Delegate that emits instructions that load the Arguments object on the type.
sourceType
Type: PostSharp.Sdk.CodeModel.ITypeSignature
Type of the object pushed on the stack by loadArgumentsAction.
See Also