PostSharp SDK 6.10 / / Class Reference / Post­Sharp.​Sdk.​Weaving­Symbols Namespace / Sym­Evolution Class / Sym­Evolution Constructor

SymEvolution Constructor

Initializes a new SymEvolution.

Namespace:  PostSharp.Sdk.WeavingSymbols
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 6.10.14.0 (6.10.14.0)
Syntax
C#
public SymEvolution(
	MetadataDeclaration source,
	SymEvolutionKind kind
)

Parameters

source
Type: PostSharp.Sdk.CodeModel.MetadataDeclaration
Original declaration.
kind
Type: PostSharp.Sdk.WeavingSymbols.SymEvolutionKind
Kind of evolution.
Remarks

The constructor should be invoked before the transformation, and the method SetTarget(MetadataDeclaration) after the transformation.

See Also