Exemplo n.º 1
0
 internal int LoadSize()
 {
     fixed(FieldDesc *value = &this)
     {
         return(NativeFunctions.Call <int>((void *)ImportMap[nameof(LoadSize)], value));
     }
 }
Exemplo n.º 2
0
 internal bool IsPointingToNativeCode()
 {
     fixed(MethodDesc *value = &this)
     {
         return(NativeFunctions.Call <bool>((void *)ImportMap[nameof(IsPointingToNativeCode)], value));
     }
 }
Exemplo n.º 3
0
 internal bool IsHeapPointer(void *p, bool smallHeapOnly = false)
 {
     fixed(GCHeap *value = &this)
     {
         return(NativeFunctions.Call <bool, bool>((void *)ImportMap[nameof(IsHeapPointer)], value,
                                                  p, smallHeapOnly));
     }
 }
Exemplo n.º 4
0
 internal bool SetNativeCodeInterlocked(long p)
 {
     fixed(MethodDesc *value = &this)
     {
         return(NativeFunctions.Call <bool>((void *)ImportMap[nameof(SetNativeCodeInterlocked)],
                                            value, (void *)p));
     }
 }