internal BlobBuilderMultiHashMap(int capacity, int bucketCapacityRatio, ref BlobBuilder blobBuilder, ref BlobHashMapData <TKey, TValue> data) { #if BLOBHASHMAP_SAFE if (capacity <= 0) { throw new ArgumentException("Must be greater than zero", nameof(capacity)); } if (bucketCapacityRatio <= 0) { throw new ArgumentException("Must be greater than zero", nameof(bucketCapacityRatio)); } #endif this.data = new BlobBuilderHashMapData <TKey, TValue>(capacity, bucketCapacityRatio, ref blobBuilder, ref data); }