PostSharp SDK 2023.0 / / Class Reference / Post­Sharp.​Sdk.​Aspect­Weaver.​Transformations Namespace / Arguments­Writer Class / Arguments­Writer Methods / Arguments­Writer.​Emit­Store­Argument Method / Arguments­Writer.​Emit­Store­Argument Method (Int32, Method­Mapping­Writer, Instruction­Writer)

ArgumentsWriter.EmitStoreArgument Method (Int32, MethodMappingWriter, InstructionWriter)

Emits instructions that load the value of an index-th argument using a MethodMappingWriter and store this value into the Arguments object.

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 EmitStoreArgument(
	int index,
	MethodMappingWriter methodMappingWriter,
	InstructionWriter instructionWriter
)

Parameters

index
Type: System.Int32
Argument index.
methodMappingWriter
Type: PostSharp.Sdk.AspectInfrastructure.MethodMappingWriter
The MethodMappingWriter from which the argument should be read.
instructionWriter
Type: PostSharp.Sdk.CodeModel.InstructionWriter
An InstructionWriter.
See Also