This documentation is archived and is not being maintained.

LocalVariableInfo Members

Discovers the attributes of a local variable and provides access to local variable metadata.

The following tables list the members exposed by the LocalVariableInfo type.

  Name Description
Public property IsPinned Gets a Boolean value indicating whether the object referred to by the local variable is pinned in memory.
Public property LocalIndex Gets the index of the local variable within the method body.
Public property LocalType Gets the type of the local variable.

(see also Protected Methods )
  Name Description
Public method Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method GetHashCode  Serves as a hash function for a particular type. (inherited from Object)
Public method GetType  Gets the Type of the current instance. (inherited from Object)
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method ToString Overridden. Returns a user-readable string that describes the local variable.

  Name Description
Protected method Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (inherited from Object)