internal ManagedArray2(ManagedDeviceArrayPool pool, int beginIndex, int size1, int size2) : base(pool, beginIndex, size1 * size2) { Debug.Assert(size1 > 0); Debug.Assert(size2 > 0); Size1 = size1; Size2 = size2; }
internal ManagedArray(ManagedDeviceArrayPool pool, int beginIndex, int size) { Debug.Assert(size > 0); Debug.Assert(beginIndex >= 0); Debug.Assert(pool != null); this.pool = pool; BeginIndex = beginIndex; Size = size; }