PostSharp4.3/API Reference/Post­Sharp.​Reflection Namespace/Location­Info Class/Location­Info Methods
LocationInfo Methods

The LocationInfo type exposes the following members.

Methods
  NameDescription
Public methodEquals(Object)
Determines whether the specified object is equal to the current object.
(Overrides Object.Equals(Object).)
Public methodEquals(LocationInfo)
Indicates whether the current object is equal to another object of the same type.
Public methodGetHashCode
Serves as the default hash function.
(Overrides Object.GetHashCode().)
Public methodGetValue(Object)
Returns the value of the field or property represented by the current object.
Public methodGetValue(Object, Object[])
Returns the value of the field or property represented by the current object with optional index values for indexed properties.
Public methodSetValue(Object, Object)
Sets the value of the field or property represented by the current object to a given value.
Public methodSetValue(Object, Object, Object[])
Sets the value of the field or property represented by the current object to a given value with optional index values for indexed properties.
Public methodStatic memberToLocationInfo
Initializes a new LocationInfo from a FieldInfo, PropertyInfo, or ParameterInfo.
Public methodStatic memberToLocationInfoArray(ICollection<FieldInfo>)
Converts a collection of FieldInfo into an array of LocationInfo.
Public methodStatic memberToLocationInfoArray(ICollection<ParameterInfo>)
Converts a collection of ParameterInfo into an array of LocationInfo.
Public methodStatic memberToLocationInfoArray(ICollection<PropertyInfo>)
Converts a collection of PropertyInfo into an array of LocationInfo.
Public methodToString
Returns a string that represents the current object.
(Overrides Object.ToString().)
Extension Methods
  NameDescription
Public Extension MethodQueryInterface<T>
Gets the implementation of a specified interface for the specified object.
(Defined by QueryInterfaceExtensions.)
See Also