PostSharp SDK 2023.0 / / Class Reference / Post­Sharp.​Sdk.​Aspect­Weaver.​Transformations Namespace / Arguments­Writer Class / Arguments­Writer Methods / Arguments­Writer.​Emit­Restore­Output­Arguments Method

ArgumentsWriter.EmitRestoreOutputArguments Method

Emits instructions that load the values of all the out and ref arguments from the an Arguments object and store these values into the corresponding method parameters using methodMappingWriter.

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 EmitRestoreOutputArguments(
	MethodMappingWriter methodMappingWriter,
	InstructionWriter instructionWriter
)

Parameters

methodMappingWriter
Type: PostSharp.Sdk.AspectInfrastructure.MethodMappingWriter
The MethodMappingWriter from which values are loaded.
instructionWriter
Type: PostSharp.Sdk.CodeModel.InstructionWriter
An ArgumentsWriter.
See Also