Skip to content

Commit 8df7c4a

Browse files
Gnbrkm41stephentoubbartonjs
authored
Add remarks regarding the initial content of span in string.Create (#4028)
* Add remarks regarding the initial content of span in string.Create * Apply suggestions Co-Authored-By: stephentoub <[email protected]> * Apply suggestions Co-Authored-By: Jeremy Barton <[email protected]> Co-authored-by: stephentoub <[email protected]> Co-authored-by: Jeremy Barton <[email protected]>
1 parent f1c0360 commit 8df7c4a

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

xml/System/String.xml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4493,7 +4493,12 @@ Depending on Why you want to call the `Copy` method, there are a number of alter
44934493
<param name="action">A callback to initialize the string.</param>
44944494
<summary>Creates a new string with a specific length and initializes it after creation by using the specified callback.</summary>
44954495
<returns>The created string.</returns>
4496-
<remarks>To be added.</remarks>
4496+
<remarks>
4497+
<format type="text/markdown"><![CDATA[
4498+
## Remarks
4499+
The initial content of the destination span passed to `action` is undefined. Therefore, it is the delegate's responsibility to ensure that every element of the span is assigned. Otherwise, the resulting string could contain random characters.
4500+
]]></format>
4501+
</remarks>
44974502
</Docs>
44984503
</Member>
44994504
<Member MemberName="Empty">

0 commit comments

Comments
 (0)