public bool MoveNext() { _currentSnapshotIndex++; if (_currentSnapshotIndex < _snapshotsCount) { _nextSnapshotDataPtr = StackSnapshotResult.GetNextSnapshotMemoryPointerUnsafe(_nextSnapshotDataPtr); return(true); } else { _nextSnapshotDataPtr = IntPtr.Zero; return(false); } }
public IntPtr GetNextSnapshotMemoryPointerUnsafe() { return(StackSnapshotResult.GetNextSnapshotMemoryPointerUnsafe(_dataPtr)); }