Skip to content

Commit 6e13da8

Browse files
nogic1008Ron Petrusha
authored andcommitted
Remove link from Memory<T>.ToArray() to itself (#2815)
Replace <xref=System.Memory%601.ToArray%2A> with `ToArray` as it is not enabled in Docs page.
1 parent b7c67b0 commit 6e13da8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

xml/System/Memory`1.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -750,7 +750,7 @@ The garbage collector will not move the memory until the returned <xref:System.B
750750
<remarks>
751751
<format type="text/markdown"><![CDATA[
752752
753-
Because a call to the <xref=System.Memory%601.ToArray%2A> method performs a heap allocation, it should generally be avoided. However, it is sometimes necessary to take advantage of functionality that is only available for arrays.
753+
Because a call to the `ToArray` method performs a heap allocation, it should generally be avoided. However, it is sometimes necessary to take advantage of functionality that is only available for arrays.
754754
755755
Each call to the `ToArray` method returns a new array.
756756
@@ -833,4 +833,4 @@ This method copies all of the contents of the current <xref:System.Memory%601> i
833833
</Docs>
834834
</Member>
835835
</Members>
836-
</Type>
836+
</Type>

0 commit comments

Comments
 (0)