System.Reflection.LocalVariableInfo.cs

ylbtech-System.Reflection.LocalVariableInfo.cs

 

1. Back to top
1、
#regionassembler mscorlib, Version = 4.0.0.0, Culture = neutral, PublicKeyToken = b77a5c561934e089
 // C: \ Program Files (x86) \ Reference Assemblies \ Microsoft \ Framework \ .NETFramework \ v4.6.1 \ mscorlib.dll 
#endregion 

using System.Runtime.InteropServices; 

namespace System.Reflection 
{ 
    // 
    // Summary:
     //      Discover the properties of local variables and provide access to the metadata of local variables. 
    [ComVisible ( true )]
     public  class LocalVariableInfo 
    { 
        // 
        // Abstract:
         //      Initialize a new instance of the System.Reflection.LocalVariableInfo class. 
        protected LocalVariableInfo ();

        // 
        // Summary:
         //      Get the type of local variable.
        // 
        // Return result:
         //      Type of local variable. 
        public  virtual Type LocalType { get ;}
         // 
        // Abstract:
         //      Get the System.Boolean value, which indicates whether the referenced object is fixed in memory by local variables.
        // 
        // Return result:
         //      true if the object variable by reference is pinned in memory; otherwise false. 
        public  virtual  bool IsPinned { get ;}
         // 
        // Abstract:
         //      Get the index of the local variable in the method body.
        // 
        //Return result:
         //      An integer value, which represents the order of declaration of local variables in the method body. 
        public  virtual  int LocalIndex { get ;} 

        // 
        // Abstract:
         //      Return a user-readable string describing local variables.
        // 
        // Return result:
         //      A string that displays information about local variables including type name, index, and fixed status. 
        public  override  string ToString (); 
    } 
}
2、
2. Back to top
 
3. Back to top
 
4. Back to top
 
5. Back to top
 
 
6. Back to top
 
warn Author: ylbtech
Source: http://ylbtech.cnblogs.com/
This article belongs to the author and blog Park total, welcome to reprint, but without the author's consent declared by this section must be retained, and given the original connection in the apparent position of the article page, otherwise Reserves the right to pursue legal responsibility.

Guess you like

Origin www.cnblogs.com/storebook/p/12677619.html