PostSharp 6.8 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Reflection Namespace / Location­Info Class / Location­Info Properties / Location­Info.​Declaring­Type Property

LocationInfo.DeclaringType Property

Gets the declaring type of the underlying field, property, parameter, or return value.

Namespace:  PostSharp.Reflection
Assembly:  PostSharp (in PostSharp.dll) Version: 6.8.6.0 (6.8.6.0)
Syntax
C#
public Type DeclaringType { get; }

Property Value

Type: Type
See Also