System.Reflection.MemberInfo

using System.Runtime.InteropServices;
using System.Security.Permissions;
namespace System
{
    namespace Reflection
    {
    [Serializable]
    [ClassInterfaceAttribute(ClassInterfaceType.None)]
    [ComVisibleAttribute(true)]
    [ComDefaultInterfaceAttribute(typeof(System.Runtime.InteropServices._MemberInfo))]
    [PermissionSetAttribute(SecurityAction.InheritanceDemand,Name="FullTrust")]
    public abstract class MemberInfo:System.Object,System.Reflection.ICustomAttributeProvider,System.Runtime.InteropServices._MemberInfo
   
  internal const uint INVOCATION_FLAGS_UNKNOWN = (uint)0x00000000;
  internal const uint INVOCATION_FLAGS_INITIALIZED = (uint)0x00000001;
  internal const uint INVOCATION_FLAGS_NO_INVOKE = (uint)0x00000002;
  internal const uint INVOCATION_FLAGS_NEED_SECURITY = (uint)0x00000004;
  internal const uint INVOCATION_FLAGS_NO_CTOR_INVOKE = (uint)0x00000008;
  internal const uint INVOCATION_FLAGS_IS_CTOR = (uint)0x00000010;
  internal const uint INVOCATION_FLAGS_RISKY_METHOD = (uint)0x00000020;
  internal const uint INVOCATION_FLAGS_SECURITY_IMPOSED = (uint)0x00000040;
  internal const uint INVOCATION_FLAGS_IS_DELEGATE_CTOR = (uint)0x00000080;
  internal const uint INVOCATION_FLAGS_CONTAINS_STACK_POINTERS = (uint)0x00000100;
  internal const uint INVOCATION_FLAGS_SPECIAL_FIELD = (uint)0x00000010;
  internal const uint INVOCATION_FLAGS_FIELD_SPECIAL_CAST = (uint)0x00000020;
  internal const uint INVOCATION_FLAGS_CONSTRUCTOR_INVOKE = (uint)0x10000000;
  private System.Reflection.Cache.InternalCache m_cachedData;
  protected MemberInfo():base()
  {
    // 代码大小       7 (0x7)
    //.maxstack  8
    //IL_0000:  ldarg.0
    //IL_0001:  call       instance void System.Object::.ctor()
    //IL_0006:  ret

  } 

  internal new virtual bool  CacheEquals(object o)
  {
    // 代码大小       6 (0x6)
    //.maxstack  8
    //IL_0000:  newobj     instance void System.NotImplementedException::.ctor()
    //IL_0005:  throw
      throw new System.NotImplementedException();
  } 

  internal System.Reflection.Cache.InternalCache Cache
  {
      get{;}
  }
  internal System.Reflection.Cache.InternalCache get_Cache()
  {
    // 代码大小       59 (0x3b)
    //.maxstack  3
    //.locals init (class System.Reflection.Cache.InternalCache V_0,
    //         class System.Reflection.Cache.InternalCache V_1)
    //IL_0000:  ldarg.0
    //IL_0001:  ldfld      class System.Reflection.Cache.InternalCache System.Reflection.MemberInfo::m_cachedData
    //IL_0006:  stloc.0
    //IL_0007:  ldloc.0
    //IL_0008:  brtrue.s   IL_0039

    //IL_000a:  ldstr      "MemberInfo"
    //IL_000f:  newobj     instance void System.Reflection.Cache.InternalCache::.ctor(string)
    //IL_0014:  stloc.0
    //IL_0015:  ldarg.0
    //IL_0016:  ldflda     class System.Reflection.Cache.InternalCache System.Reflection.MemberInfo::m_cachedData
    //IL_001b:  ldloc.0
    //IL_001c:  ldnull
    //IL_001d:  call       !!0 System.Threading.Interlocked::CompareExchange<class System.Reflection.Cache.InternalCache>(!!0&,
    //                                                                                                                    !!0,
    //                                                                                                                    !!0)
    //IL_0022:  stloc.1
    //IL_0023:  ldloc.1
    //IL_0024:  brfalse.s  IL_0028

    //IL_0026:  ldloc.1
    //IL_0027:  stloc.0
    //IL_0028:  ldarg.0
    //IL_0029:  ldftn      instance void System.Reflection.MemberInfo::OnCacheClear(object,
    //                                                                              class System.Reflection.Cache.ClearCacheEventArgs)
    //IL_002f:  newobj     instance void System.Reflection.Cache.ClearCacheHandler::.ctor(object,
    //                                                                                    native int)
    //IL_0034:  call       void System.GC::add_ClearCache(class System.Reflection.Cache.ClearCacheHandler)
    //IL_0039:  ldloc.0
    //IL_003a:  ret
  } 

  internal void OnCacheClear(object sender,System.Reflection.Cache.ClearCacheEventArgs cacheEventArgs)
  {
    // 代码大小       8 (0x8)
    //.maxstack  8
    //IL_0000:  ldarg.0
    //IL_0001:  ldnull
    //IL_0002:  stfld      class System.Reflection.Cache.InternalCache System.Reflection.MemberInfo::m_cachedData
    //IL_0007:  ret
  } 

  public new abstract virtual System.Reflection.MemberTypes MemberType
  {
      get{;}
  }
  public new abstract virtual System.Reflection.MemberTypes get_MemberType()
  {
  } 
  public new abstract virtual string Name
  {
      get{;}
  }
  public new abstract virtual string get_Name()
  {
  }

  public new abstract virtual System.Type  DeclaringType
  {
      get{;}
  }

  public new abstract virtual System.Type  get_DeclaringType()
  {
  }
  public new abstract virtual System.Type ReflectedType
  {
      get{;}
  }

  public new abstract virtual System.Type  get_ReflectedType()
  {
  }

  
  public new abstract virtual object[]  GetCustomAttributes(bool inherit)
  {
  } 
  
  public new abstract virtual object[]  GetCustomAttributes(System.Type attributeType,bool inherit)
  {
  } 

  public new abstract virtual bool  IsDefined(System.Type attributeType,bool inherit)
  {
  } 

  public new virtual int MetadataToken
  {
      get{;}
  }
  public new virtual int  get_MetadataToken()
  {
    // 代码大小       6 (0x6)
    //.maxstack  8
    //IL_0000:  newobj     instance void System.InvalidOperationException::.ctor()
    //IL_0005:  throw
  }

  internal new virtual int MetadataTokenInternal
  {
      get{;}
  }
  internal new virtual int get_MetadataTokenInternal()
  {
    // 代码大小       7 (0x7)
    //.maxstack  8
    //IL_0000:  ldarg.0
    //IL_0001:  callvirt   instance int32 System.Reflection.MemberInfo::get_MetadataToken()
    //IL_0006:  ret
  } 
  public new virtual System.Reflection.Module Module
  {
      get{;}
  }
  public new virtual System.Reflection.Module get_Module()
  {
    // 代码大小       26 (0x1a)
    //.maxstack  8
    //IL_0000:  ldarg.0
    //IL_0001:  isinst     System.Type
    //IL_0006:  brfalse.s  IL_0014

    //IL_0008:  ldarg.0
    //IL_0009:  castclass  System.Type
    //IL_000e:  callvirt   instance class System.Reflection.Module System.Type::get_Module()
    //IL_0013:  ret

    //IL_0014:  newobj     instance void System.NotImplementedException::.ctor()
    //IL_0019:  throw
  } 

  private new virtual sealed System.Type  System.Runtime.InteropServices._MemberInfo.GetType()
  {    
    // 代码大小       7 (0x7)
    //.maxstack  8
    //IL_0000:  ldarg.0
    //IL_0001:  call       instance class System.Type System.Object::GetType()
    //IL_0006:  ret
  } 

  private new virtual void  System.Runtime.InteropServices._MemberInfo.GetTypeInfoCount(out uint pcTInfo)
  {    
    // 代码大小       6 (0x6)
    //.maxstack  8
    //IL_0000:  newobj     instance void System.NotImplementedException::.ctor()
    //IL_0005:  throw
  } 

  private new virtual sealed void  System.Runtime.InteropServices._MemberInfo.GetTypeInfo(uint iTInfo,uint lcid,native int ppTInfo)
  {    
    // 代码大小       6 (0x6)
    //.maxstack  8
    //IL_0000:  newobj     instance void System.NotImplementedException::.ctor()
    //IL_0005:  throw
  } 

  private  new virtual sealed void  System.Runtime.InteropServices._MemberInfo.GetIDsOfNames(in valuetype System.Guid riid,
                                                                                  native int rgszNames,
                                                                                  uint cNames,
                                                                                  uint lcid,
                                                                                  native int rgDispId)
  {    
    // 代码大小       6 (0x6)
    //.maxstack  8
    //IL_0000:  newobj     instance void System.NotImplementedException::.ctor()
    //IL_0005:  throw
  } 

  private new virtual sealed void System.Runtime.InteropServices._MemberInfo.Invoke(uint dispIdMember,
                                                                           in valuetype System.Guid riid,
                                                                           uint lcid,
                                                                           short wFlags,
                                                                           native int pDispParams,
                                                                           native int pVarResult,
                                                                           native int pExcepInfo,
                                                                           native int puArgErr)
  {    
    // 代码大小       6 (0x6)
    //.maxstack  8
    //IL_0000:  newobj     instance void System.NotImplementedException::.ctor()
    //IL_0005:  throw
  } 

  
  
  
    }
}
posted @ 2010-08-28 21:24  Aegis  阅读(799)  评论(0编辑  收藏  举报