Example #1
0
 public static ICorClassInfo *ICorClassInfo(ICorStaticInfo *ptr)
 {
     return((ICorClassInfo *)((byte *)&ptr->vbptr + ptr->vbptr[3]));
 }
Example #2
0
 public static ICorMethodInfo *ICorMethodInfo(ICorStaticInfo *ptr)
 {
     return((ICorMethodInfo *)((byte *)&ptr->vbptr + ptr->vbptr[1]));
 }
Example #3
0
 public static ICorModuleInfo *ICorModuleInfo(ICorStaticInfo *ptr)
 {
     return((ICorModuleInfo *)((byte *)&ptr->vbptr + ptr->vbptr[2]));
 }
Example #4
0
 public unsafe static ICorModuleInfo *ICorModuleInfo(ICorStaticInfo *ptr)
 {
     return((ICorModuleInfo *)((byte *)(&ptr->vbptr) + ptr->vbptr[2]));
 }
Example #5
0
 public unsafe static ICorClassInfo *ICorClassInfo(ICorStaticInfo *ptr)
 {
     return((ICorClassInfo *)((byte *)(&ptr->vbptr) + ptr->vbptr[3]));
 }
Example #6
0
 public static ICorErrorInfo *ICorErrorInfo(ICorStaticInfo *ptr)
 {
     return((ICorErrorInfo *)((byte *)&ptr->vbptr + ptr->vbptr[hasLinkInfo ? 8 : 7]));
 }
Example #7
0
 public unsafe static ICorMethodInfo *ICorMethodInfo(ICorStaticInfo *ptr)
 {
     return((ICorMethodInfo *)((byte *)(&ptr->vbptr) + ptr->vbptr[1]));
 }
Example #8
0
 public static ICorArgInfo *ICorArgInfo(ICorStaticInfo *ptr)
 {
     return((ICorArgInfo *)((byte *)&ptr->vbptr + ptr->vbptr[6]));
 }
Example #9
0
 public static ICorLinkInfo *ICorLinkInfo(ICorStaticInfo *ptr)
 {
     return((ICorLinkInfo *)((byte *)&ptr->vbptr + ptr->vbptr[7]));
 }
Example #10
0
 public static ICorClassInfo *ICorClassInfo(ICorStaticInfo *ptr)
 {
     return(null);
 }
Example #11
0
 public static ICorFieldInfo *ICorFieldInfo(ICorStaticInfo *ptr)
 {
     return((ICorFieldInfo *)((byte *)&ptr->vbptr + ptr->vbptr[4]));
 }
Example #12
0
 public static ICorModuleInfo *ICorModuleInfo(ICorStaticInfo *ptr)
 {
     return(null);
 }
Example #13
0
 public static ICorMethodInfo *ICorMethodInfo(ICorStaticInfo *ptr)
 {
     return(null);
 }
Example #14
0
 public static ICorClassInfo *ICorClassInfo(ICorStaticInfo *ptr) => (ICorClassInfo *)((byte *)&ptr->vbptr + ptr->vbptr[3]);
Example #15
0
 public static ICorModuleInfo *ICorModuleInfo(ICorStaticInfo *ptr) => (ICorModuleInfo *)((byte *)&ptr->vbptr + ptr->vbptr[2]);
Example #16
0
 public static ICorMethodInfo *ICorMethodInfo(ICorStaticInfo *ptr) => (ICorMethodInfo *)((byte *)&ptr->vbptr + ptr->vbptr[1]);