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