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

SymAspectModule Class

Represents a symbol document, associated with a single ModuleDeclaration.
Inheritance Hierarchy

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

The SymAspectModule type exposes the following members.

Public propertyAnnotations
Public propertyAspectClasses
Gets the collection of aspect classes (SymAspectClass) in the current module.
Public propertyCustomDebuggingInformation (Inherited from Declaration.)
Public propertyEvolutions
Gets the collection of evolutions (SymEvolutionCollection) in the current module. These are used by the Visual Studio extension.
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 methodStatic memberGetInstance
Gets the SymAspectModule associated to a ModuleDeclaration; create a new one if requested and necessary.
Public methodGetSymAspectUsage
Gets the SymAspectUsage for a given annotation.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodSetSymAspectUsage
Associates an IAnnotationInstance (that is typically not a custom attribute) with a SymAspectUsage.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
See Also