Skip to content

Commit d3fca79

Browse files
authored
remove superfluous nodes (dotnet#9369)
1 parent 6fd5dbc commit d3fca79

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

xml/Microsoft.Extensions.Primitives/StringSegment.xml

+3-5
Original file line numberDiff line numberDiff line change
@@ -315,12 +315,10 @@
315315
<ReturnType>System.String</ReturnType>
316316
</ReturnValue>
317317
<Docs>
318-
<summary>Gets the <see cref="T:System.String" /> buffer for this <see cref="T:Microsoft.Extensions.Primitives.StringSegment" />.</summary>
319-
<value>The <see cref="T:System.String" /> buffer for this <see cref="T:Microsoft.Extensions.Primitives.StringSegment" />.</value>
318+
<summary>Gets the value of this segment as a string.</summary>
319+
<value>The string buffer for this segment.</value>
320320
<remarks>To be added.</remarks>
321321
</Docs>
322-
<summary>Gets the value of this segment as a <see cref="T:System.String" />.</summary>
323-
<value>The value of this segment as a <see cref="T:System.String" />.</value>
324322
</Member>
325323
<Member MemberName="Compare">
326324
<MemberSignature Language="C#" Value="public static int Compare (Microsoft.Extensions.Primitives.StringSegment a, Microsoft.Extensions.Primitives.StringSegment b, StringComparison comparisonType);" />
@@ -723,7 +721,7 @@
723721
<summary>Returns the hash code for this instance.</summary>
724722
<returns>A 32-bit signed integer that is the hash code for this instance.</returns>
725723
<remarks>The returned hash code is suitable for use in hashing algorithms and data structures, for example, a hash table.
726-
724+
727725
This method is expensive since it allocates on every call. However, the allocation is required to retain any behavior (such as hash code randomization) that <see cref="M:System.String.GetHashCode" /> has.</remarks>
728726
</Docs>
729727
</Member>

0 commit comments

Comments
 (0)