public unsafe TypeBatch *GetTypeBatchPointer(int typeId) { ValidateTypeBatchMappings(); var typeBatchIndex = TypeIndexToTypeBatchIndex[typeId]; return(TypeBatches.GetPointer(typeBatchIndex)); }