Skip to content

Commit 134c135

Browse files
authored
Correct doc on ReadOnlySequence<T>.IsSingleSegment (#11269)
The current property value was presumably intended for IsEmpty
1 parent 91d85ca commit 134c135

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

xml/System.Buffers/ReadOnlySequence`1.xml

+2-3
Original file line numberDiff line numberDiff line change
@@ -580,7 +580,7 @@
580580
</ReturnValue>
581581
<Docs>
582582
<summary>Gets a value that indicates whether the <see cref="T:System.Buffers.ReadOnlySequence`1" /> is empty.</summary>
583-
<value>To be added.</value>
583+
<value><see langword="true" /> if the read-only sequence is empty; otherwise, <see langword="false" />.</value>
584584
<remarks>To be added.</remarks>
585585
</Docs>
586586
</Member>
@@ -615,8 +615,7 @@
615615
</ReturnValue>
616616
<Docs>
617617
<summary>Gets a value that indicates whether the <see cref="T:System.Buffers.ReadOnlySequence`1" /> contains a single <see cref="T:System.ReadOnlyMemory`1" /> segment.</summary>
618-
<value>
619-
<see langword="true" /> if the read-only sequence is empty; otherwise, <see langword="false" />.</value>
618+
<value><see langword="true" /> if the read-only sequence consists of a single memory segment; otherwise, <see langword="false" />.</value>
620619
<remarks>To be added.</remarks>
621620
</Docs>
622621
</Member>

0 commit comments

Comments
 (0)