TypeSpecDeclaration.ParentType Property |
Namespace: PostSharp.Sdk.CodeModel
Assembly: PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 2023.0.3.0 (2023.0.3.0)
public override IType ParentType { get; }
Property Value
Type: ITypeThe declaring type if the current declaration is a member or a parameter, the current type if the current declaration is a type, otherwise null.
Implements
IMetadataDeclaration.ParentTypeIMetadataDeclaration.ParentType