Skip to content

Commit 88f6ae4

Browse files
carlossanlopjozkee
andauthored
Document System.Array.Reverse (#3625)
* Document System.Array.Reverse * suggestions by Jozkee Co-Authored-By: David Cantu <[email protected]>
1 parent febdd37 commit 88f6ae4

File tree

1 file changed

+25
-9
lines changed

1 file changed

+25
-9
lines changed

xml/System/Array.xml

Lines changed: 25 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6350,7 +6350,7 @@ int[,,] TDArray = new int[1,1,1];
63506350
<param name="array">The one-dimensional <see cref="T:System.Array" /> to reverse.</param>
63516351
<param name="index">The starting index of the section to reverse.</param>
63526352
<param name="length">The number of elements in the section to reverse.</param>
6353-
<summary>Reverses the sequence of the elements in a range of elements in the one-dimensional <see cref="T:System.Array" />.</summary>
6353+
<summary>Reverses the sequence of a subset of the elements in the one-dimensional <see cref="T:System.Array" />.</summary>
63546354
<remarks>
63556355
<format type="text/markdown"><![CDATA[
63566356

@@ -6416,10 +6416,14 @@ int[,,] TDArray = new int[1,1,1];
64166416
<Parameter Name="array" Type="T[]" Index="0" FrameworkAlternate="netcore-2.0;netcore-2.1;netcore-2.2;netcore-3.0;netstandard-2.1" />
64176417
</Parameters>
64186418
<Docs>
6419-
<typeparam name="T">To be added.</typeparam>
6420-
<param name="array">To be added.</param>
6421-
<summary>To be added.</summary>
6419+
<typeparam name="T">The type of the elements in <paramref name="array" />.</typeparam>
6420+
<param name="array">The one-dimensional array of elements to reverse.</param>
6421+
<summary>Reverses the sequence of the elements in the one-dimensional generic array.</summary>
64226422
<remarks>To be added.</remarks>
6423+
<exception cref="T:System.ArgumentNullException">
6424+
<paramref name="array" /> is <see langword="null" />.</exception>
6425+
<exception cref="T:System.RankException">
6426+
<paramref name="array" /> is multidimensional.</exception>
64236427
</Docs>
64246428
</Member>
64256429
<Member MemberName="Reverse&lt;T&gt;">
@@ -6454,12 +6458,24 @@ int[,,] TDArray = new int[1,1,1];
64546458
<Parameter Name="length" Type="System.Int32" Index="2" FrameworkAlternate="netcore-2.0;netcore-2.1;netcore-2.2;netcore-3.0;netstandard-2.1" />
64556459
</Parameters>
64566460
<Docs>
6457-
<typeparam name="T">To be added.</typeparam>
6458-
<param name="array">To be added.</param>
6459-
<param name="index">To be added.</param>
6460-
<param name="length">To be added.</param>
6461-
<summary>To be added.</summary>
6461+
<typeparam name="T">The type of the elements in <paramref name="array" />.</typeparam>
6462+
<param name="array">The one-dimensional array of elements to reverse.</param>
6463+
<param name="index">The starting index of the section to reverse.</param>
6464+
<param name="length">The number of elements in the section to reverse.</param>
6465+
<summary>Reverses the sequence of a subset of the elements in the one-dimensional generic array.</summary>
64626466
<remarks>To be added.</remarks>
6467+
<exception cref="T:System.ArgumentNullException">
6468+
<paramref name="array" /> is <see langword="null" />.</exception>
6469+
<exception cref="T:System.RankException">
6470+
<paramref name="array" /> is multidimensional.</exception>
6471+
<exception cref="T:System.ArgumentOutOfRangeException">
6472+
<paramref name="index" /> is less than the lower bound of <paramref name="array" />.
6473+
6474+
-or-
6475+
6476+
<paramref name="length" /> is less than zero.</exception>
6477+
<exception cref="T:System.ArgumentException">
6478+
<paramref name="index" /> and <paramref name="length" /> do not specify a valid range in <paramref name="array" />.</exception>
64636479
</Docs>
64646480
</Member>
64656481
<MemberGroup MemberName="SetValue">

0 commit comments

Comments
 (0)