Exemple #1
0
        public CorValue GetElement(int[] indices)
        {
            Debug.Assert(indices != null);
            ICorDebugValue ppValue;

            m_arrayVal.GetElement((uint)indices.Length, indices, out ppValue);
            return(ppValue == null ? null : new CorValue(ppValue));
        }
Exemple #2
0
 public static unsafe ICorDebugValue GetElement(this ICorDebugArrayValue corArray, int[] indices)
 {
     fixed(int *pIndices = indices)
     return(corArray.GetElement((uint)indices.Length, new IntPtr(pIndices)));
 }