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

SymAspectInstance Class

Represents an aspect instance in a symbol file. This concept corresponds to AspectInstance.
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 class SymAspectInstance : Declaration

The SymAspectInstance type exposes the following members.

Public methodSymAspectInstance
Initializes a new SymAspectInstance.
Public propertyCustomDebuggingInformation (Inherited from Declaration.)
Public propertyIsValid
Indicates whether this aspect instance has passed compile time validation. Aspect instances that didn't pass the validation are not included in the final symbol document.
Public propertyJoinPoints
Gets the collection of join points affected by the current aspect instance.
Public propertyLinesOfCodeAvoided
Public propertyParentUsage
Gets the parent SymAspectUsage.
Public propertyTags
Public propertyTargetDeclaration
Gets the declaration to which the aspect instance is applied.
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.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(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.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodNotifyChildPropertyChanged
Method invoked when a property of a child has been changed.
(Inherited from Element.)
Protected methodOnPropertyChanged
Method invoked when a property of the current instance has been changed.
(Inherited from Element.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
See Also