DeclarationIdentifier.GetDeclaringTypeIdentifier Method |
Gets the DeclarationIdentifier that represents the declaring type of the declaration represented by the current DeclarationIdentifier.
Namespace: PostSharp.Reflection
Assembly: PostSharp (in PostSharp.dll) Version: 6.9.11.0 (6.9.11.0)
C#
public DeclarationIdentifier GetDeclaringTypeIdentifier()
Return Value
Type: DeclarationIdentifierThe DeclarationIdentifier that represents the declaring type of the declaration represented by the current DeclarationIdentifier. If the current DeclarationIdentifier already represents a type, this method returns the current DeclarationIdentifier.