9 references to AllocateMemory
System.Private.TypeLoader (9)
Internal\Runtime\TypeLoader\EETypeCreator.cs (5)
249
eeTypePlusGCDesc = MemoryHelpers.
AllocateMemory
(cbGCDescAligned + cbEEType);
295
writableData = MemoryHelpers.
AllocateMemory
(WritableData.GetSize(IntPtr.Size));
316
genericComposition = MemoryHelpers.
AllocateMemory
(MethodTable.GetGenericCompositionSize(arity));
322
nonGcStaticData = MemoryHelpers.
AllocateMemory
(allocatedNonGCDataSize);
333
threadStaticIndex = MemoryHelpers.
AllocateMemory
(IntPtr.Size * 2);
Internal\Runtime\TypeLoader\GenericDictionary.cs (2)
51
_addressOfFirstCellSlot = MemoryHelpers.
AllocateMemory
(checked((int)(_cells.Length * IntPtr.Size)));
71
void* dictionaryWithHeader = MemoryHelpers.
AllocateMemory
(checked((int)((_cells.Length + 1) * IntPtr.Size)));
Internal\Runtime\TypeLoader\TypeLoaderEnvironment.LdTokenResultLookup.cs (2)
127
FieldHandleInfo* fieldData = (FieldHandleInfo*)MemoryHelpers.
AllocateMemory
(sizeof(FieldHandleInfo));
171
MethodHandleInfo* methodData = (MethodHandleInfo*)MemoryHelpers.
AllocateMemory
(sizeToAllocate);