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

SymEvolution Class

Represents an evolution of a metadata element, for instance when a field is transformed into a property, or when a declaration is renamed.
Inheritance Hierarchy

Namespace:  PostSharp.Sdk.WeavingSymbols
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 2023.0.3.0 (2023.0.3.0)
public sealed class SymEvolution : Declaration

The SymEvolution type exposes the following members.

Public methodSymEvolution
Initializes a new SymEvolution.
Public propertyCustomDebuggingInformation (Inherited from Declaration.)
Public propertyKind
Gets the kind of evolution.
Public propertySource
Gets the identity of the source declaration.
Public propertyTarget
Gets the identity of the target declaration.
Public methodClearCache
Clear the cache (typically mapping to System.Reflection or, if the current element is a reference, to the related definition) of the current Element and all its children.
(Inherited from Element.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodSetTarget
Sets the target declaration.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
See Also