diff --git a/src/libraries/System.Memory/src/System/Buffers/ReadOnlySequence.cs b/src/libraries/System.Memory/src/System/Buffers/ReadOnlySequence.cs index ab91256f3add1d..d1a2a930ef9daf 100644 --- a/src/libraries/System.Memory/src/System/Buffers/ReadOnlySequence.cs +++ b/src/libraries/System.Memory/src/System/Buffers/ReadOnlySequence.cs @@ -524,11 +524,15 @@ public SequencePosition GetPosition(long offset) } /// - /// Returns the offset of a within this sequence from the start. + /// Returns the offset of a within this sequence. /// /// The of which to get the offset. - /// The offset from the start of the sequence. + /// The offset in the sequence. /// The position is out of range. + /// + /// The returned offset is not a zero-based index from the start. + /// Subtract mySequence.GetOffset(mySequence.Start) from the returned offset to obtain the zero-based index offset. + /// public long GetOffset(SequencePosition position) { object? positionSequenceObject = position.GetObject();