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

MethodGroupDeclaration.DeclaringType Property

Gets the parent TypeDefDeclaration.

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 TypeDefDeclaration DeclaringType { get; }

Property Value

Type: TypeDefDeclaration
See Also