PostSharp SDK 2023.0 / / Class Reference / Post­Sharp.​Sdk.​Aspect­Weaver.​Transformations Namespace / Arguments­Writer Class / Arguments­Writer Methods / Arguments­Writer.​Clone Method / Arguments­Writer.​Clone Method (Boolean)

ArgumentsWriter.Clone Method (Boolean)

Clones the current ArgumentsWriter and specifies whether the clone should be reset.

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 ArgumentsWriter Clone(
	bool reset
)

Parameters

reset
Type: System.Boolean
true if all stateful information of the ArgumentsWriter should be cleared, otherwise false.

Return Value

Type: ArgumentsWriter
A clone of the current ArgumentsWriter.
See Also