PostSharp SDK 2023.0 / / Class Reference / Post­Sharp.​Sdk.​Aspect­Infrastructure Namespace / Method­Body­Transformation­Context Class / Method­Body­Transformation­Context Methods / Method­Body­Transformation­Context.​Clone Method

MethodBodyTransformationContext.Clone Method

Creates a new object that is a copy of the current instance.

Namespace:  PostSharp.Sdk.AspectInfrastructure
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 2023.0.3.0 (2023.0.3.0)
Syntax
C#
public override Object Clone()

Return Value

Type: Object
A new object that is a copy of this instance.

Implements

ICloneable.Clone()
See Also