ArgumentsWriter.EmitStoreArgument Method (Int32, InstructionWriter, Action<InstructionWriter>) |
Emits instructions that store a value, loaded on the stack by the instructions emitted by a given delegate, into the Arguments
object under the given index.
Namespace: PostSharp.Sdk.AspectWeaver.Transformations
Assembly: PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 2023.0.3.0 (2023.0.3.0)
C#
public abstract void EmitStoreArgument( int index, InstructionWriter instructionWriter, Action<InstructionWriter> loadValueAction )
Parameters
- index
- Type: System.Int32
Argument index. - instructionWriter
- Type: PostSharp.Sdk.CodeModel.InstructionWriter
An InstructionWriter. - loadValueAction
- Type: System.Action<InstructionWriter>
A delegate that emits instructions that load the value to be stored.