Exemple #1
0
 internal void *GetCurrentStaticAddress()
 {
     fixed(FieldDesc *value = &this)
     {
         return(NativeFunctions.CallReturnPointer((void *)ImportMap[nameof(GetCurrentStaticAddress)], value));
     }
 }
Exemple #2
0
 internal void *GetILHeader(int fAllowOverrides)
 {
     fixed(MethodDesc *value = &this)
     {
         return(NativeFunctions.CallReturnPointer((void *)ImportMap[nameof(GetILHeader)], value, fAllowOverrides));
     }
 }
Exemple #3
0
 internal void *GetApproxEnclosingMethodTable()
 {
     fixed(FieldDesc *value = &this)
     {
         return(NativeFunctions.CallReturnPointer((void *)ImportMap[nameof(GetApproxEnclosingMethodTable)],
                                                  value));
     }
 }
Exemple #4
0
 internal static void *AllocateObject(MethodTable *mt, bool fHandleCom = false)
 {
     return(NativeFunctions.CallReturnPointer((void *)ImportMap[nameof(AllocateObject)], mt, fHandleCom));
 }