void CheckIdx(Int32 index)
 {
     if (index < 0 || index >= Size)
     {
         NativeHelper.ArrayOutOfRange();
     }
 }
Exemple #2
0
        public void *GetShapePtr(int idx)
        {
            if (idx < 0 || idx >= count)
            {
                NativeHelper.ArrayOutOfRange();
            }

            return(_ptrs[idx]);
        }