You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: xml/System.Buffers/ReadOnlySequence`1.xml
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -463,9 +463,9 @@
463
463
</Parameters>
464
464
<Docs>
465
465
<paramname="position">The <seecref="T:System.SequencePosition" /> of which to get the offset.</param>
466
-
<summary>Returns the offset of a <paramrefname="position" /> within this sequence from the start.</summary>
467
-
<returns>The offset from the start of the sequence.</returns>
468
-
<remarks>To be added.</remarks>
466
+
<summary>Returns the offset of a <paramrefname="position" /> within this sequence.</summary>
467
+
<returns>The offset in the sequence.</returns>
468
+
<remarks>The returned offset is not a zero-based index from the start. Subtract <code>mySequence.GetOffset(mySequence.Start)</code> from the returned offset to obtain the zero-based index offset.</remarks>
469
469
<exceptioncref="T:System.ArgumentOutOfRangeException">The position is out of range.</exception>
0 commit comments