Пример #1
0
            /// <summary>
            /// Gets the &lt;T&gt; at the specified index.
            /// </summary>
            /// <param name="index">The index.</param>
            public T this[int index]
            {
                get
                {
                    int   offset  = (int)(index * elementTypeSize);
                    ulong address = arrayStartAddress + (ulong)offset;

                    return(delegates.PhysicalConstructor(buffer, offset, bufferAddress, elementType, address, Variable.ComputedName, Variable.UntrackedPath));
                }
            }
Пример #2
0
            /// <summary>
            /// Gets the &lt;T&gt; at the specified index.
            /// </summary>
            /// <param name="index">The index.</param>
            public T this[int index]
            {
                get
                {
                    ulong address = arrayStartAddress + (ulong)index * elementTypeSize;
                    var   buffer  = Debugger.ReadMemory(elementType.Module.Process, address, elementTypeSize);

                    return(delegates.PhysicalConstructor(buffer, 0, address, elementType, address, Variable.ComputedName, Variable.UntrackedPath));
                }
            }