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

SymAspectOrigin Class

Represents a location in a source artifact.
Inheritance Hierarchy
System.Object
  PostSharp.Sdk.WeavingSymbols.SymAspectOrigin

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 class SymAspectOrigin

The SymAspectOrigin type exposes the following members.

Constructors
  NameDescription
Public methodSymAspectOrigin(MetadataDeclaration)
Initializes a new SymAspectOrigin representing a MetadataDeclaration.
Public methodSymAspectOrigin(MetadataDeclaration, Boolean)
Initializes a new SymAspectOrigin representing a MetadataDeclaration, and specifies whether the SymAspectOrigin is a reference to an element defined in another assembly (typically, if the aspect is inherited from another assembly).
Public methodSymAspectOrigin(String, Int32, Int32)
Initializes a new SymAspectOrigin representing a location in a text file.
Properties
  NameDescription
Public propertyColumn
Gets the column number if available, otherwise null.
Public propertyDeclaration
Gets the MetadataDeclaration associated to the current SymAspectOrigin, or null if the current object is associated with a file.
Public propertyFileName
Gets the full path of the file associated to the current SymAspectOrigin, or null if the current object is associated with a MetadataDeclaration.
Public propertyForwardReference
Determines whether the aspect originates from another assembly, in which case the current SymAspectOrigin is a forward reference to an element define elsewhere.
Public propertyLine
Gets the line number if available, otherwise null.
Methods
  NameDescription
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.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
See Also