PostSharp SDK 6.10 / / Class Reference / Post­Sharp.​Sdk.​Code­Model Namespace / Method­Spec­Declaration Class / Method­Spec­Declaration Properties / Method­Spec­Declaration.​Declaring­Type Property

MethodSpecDeclaration.DeclaringType Property

Gets the declaring type.

Namespace:  PostSharp.Sdk.CodeModel
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 6.10.14.0 (6.10.14.0)
Syntax
C#
public IType DeclaringType { get; }

Property Value

Type: IType
The declaring type (IType), or null if the member is contained by the module.

Implements

IMember.DeclaringType
See Also