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
<paramname="memory">A read-only block of memory of elements of type <typeparamrefname="T" />.</param>
59
59
<summary>Creates an instance of <seecref="T:System.Buffers.ReadOnlySequence`1" /> from a <seecref="T:System.ReadOnlyMemory`1" />. </summary>
60
60
<remarks>
61
61
<formattype="text/markdown"><![CDATA[
@@ -148,12 +148,23 @@ The consumer is expected to manage the lifetime of memory until <see cref="T:Sys
148
148
<ParameterName="endIndex"Type="System.Int32" />
149
149
</Parameters>
150
150
<Docs>
151
-
<paramname="startSegment">To be added.</param>
152
-
<paramname="startIndex">To be added.</param>
153
-
<paramname="endSegment">To be added.</param>
154
-
<paramname="endIndex">To be added.</param>
151
+
<paramname="startSegment">The initial node of the linked memory list.</param>
152
+
<paramname="startIndex">The position to the start of the sequence inside <paramrefname="startSegment" />.</param>
153
+
<paramname="endSegment">The final node of the linked memory list.</param>
154
+
<paramname="endIndex">The position to the end of the sequence inside <paramrefname="endSegment" />.</param>
155
155
<summary>Creates an instance of a <seecref="T:System.Buffers.ReadOnlySequence`1" /> from a linked memory list represented by start and end segments and the corresponding indexes in them.</summary>
156
156
<remarks>To be added.</remarks>
157
+
<exceptioncref="T:System.ArgumentNullException">
158
+
<paramrefname="startSegment" /> or <paramrefname="endSegment" /> is <seelangword="null" />.</exception>
159
+
<exceptioncref="T:System.ArgumentOutOfRangeException">The running index of <paramrefname="startSegment" /> is greater than the running index of <paramrefname="endSegment" />, even though <paramrefname="startSegment" /> is different to <paramrefname="endSegment" />.
160
+
161
+
-or-
162
+
163
+
<paramrefname="startSegment" /> is equal to <paramrefname="endSegment" /> but <paramrefname="endIndex" /> is smaller than <paramrefname="startIndex" />.
164
+
165
+
-or-
166
+
167
+
<paramrefname="startIndex" /> is greater than the length of the underlying memory block of <paramrefname="startSegment" />.</exception>
157
168
</Docs>
158
169
</Member>
159
170
<MemberMemberName="Empty">
@@ -178,7 +189,7 @@ The consumer is expected to manage the lifetime of memory until <see cref="T:Sys
<summary>Returns a new <seecref="T:System.SequencePosition" /> at an <paramrefname="offset" /> from the <paramrefname="origin" />.</summary>
352
-
<returns>A new object that starts at the <paramrefname="offset" /> position of the original object.</returns>
360
+
<paramname="offset">The offset from the specified <paramrefname="origin" /> sequence position.</param>
361
+
<paramname="origin">A sequence position representing the point from which to initiate the offset.</param>
362
+
<summary>Returns a new <seecref="T:System.SequencePosition" /> starting at the specified offsetfrom the <paramrefname="origin" /> position.</summary>
363
+
<returns>An object representing the sequence position that starts at the <paramrefname="offset" /> position of the specified <paramrefname="origin" /> position object.</returns>
353
364
<remarks>To be added.</remarks>
354
365
</Docs>
355
366
</Member>
@@ -778,8 +789,8 @@ The consumer is expected to manage the lifetime of memory until <see cref="T:Sys
778
789
</ReturnValue>
779
790
<Parameters />
780
791
<Docs>
781
-
<summary>To be added.</summary>
782
-
<returns>To be added.</returns>
792
+
<summary>Returns a string that represents the current sequence.</summary>
793
+
<returns>A string that represents the current sequence.</returns>
0 commit comments