PostSharp 4.3 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Reflection Namespace / Location­Info Class / Location­Info Properties
LocationInfo Properties

The LocationInfo type exposes the following members.

Properties
  Name Description
Public property DeclaringType
Gets the declaring type of the underlying field, property, parameter, or return value.
Public property FieldInfo
Gets the underlying FieldInfo, or null if the underlying code element is not a property.
Public property IsStatic
Determines whether the underlying field or property is static.
Public property LocationKind
Gets the location kind (Field, Property, Parameter or ReturnValue).
Public property LocationType
Gets the type of values that can be stored in the location.
Public property Name
Gets the name of the underlying field, property, parameter, or return value.
Public property ParameterInfo
Gets the underlying ParameterInfo, or null if the underlying code element is not a property.
Public property PropertyInfo
Gets the underlying PropertyInfo, or null if the underlying code element is not a property.
See Also