PostSharp6.2/API Reference/Post­Sharp.​Reflection Namespace/Location­Info Class/Location­Info Properties

LocationInfo Properties

The LocationInfo type exposes the following members.

Properties
  NameDescription
Public propertyDeclaringType
Gets the declaring type of the underlying field, property, parameter, or return value.
Public propertyFieldInfo
Gets the underlying FieldInfo, or null if the underlying code element is not a property.
Public propertyIsStatic
Determines whether the underlying field or property is static.
Public propertyLocationKind
Gets the location kind (Field, Property, Parameter or ReturnValue).
Public propertyLocationType
Gets the type of values that can be stored in the location.
Public propertyName
Gets the name of the underlying field, property, parameter, or return value.
Public propertyParameterInfo
Gets the underlying ParameterInfo, or null if the underlying code element is not a property.
Public propertyPropertyInfo
Gets the underlying PropertyInfo, or null if the underlying code element is not a property.
See Also