Skip to content

Commit 02454d2

Browse files
committed
Improve TimeSpan.Divide parameter descriptions (#11619)
1 parent 3b377b6 commit 02454d2

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

xml/System/TimeSpan.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -923,7 +923,7 @@ The specified `days`, `hours`, `minutes`, `seconds`, `milliseconds`, and `micros
923923
<Parameter Name="divisor" Type="System.Double" Index="0" FrameworkAlternate="netcore-2.0;netcore-2.1;netcore-2.2;netcore-3.0;netstandard-2.1;netcore-3.1;net-5.0;net-6.0;net-7.0;net-8.0;net-9.0;netframework-4.7.1-pp;netframework-4.7.2-pp;netframework-4.7-pp;netframework-4.8-pp;netframework-4.8.1-pp;net-10.0;netframework-4.6.2-pp" />
924924
</Parameters>
925925
<Docs>
926-
<param name="divisor">The value to be divided by.</param>
926+
<param name="divisor">The divisor or value to be divided by.</param>
927927
<summary>Returns a new <see cref="T:System.TimeSpan" /> object whose value is the result of dividing this instance by the specified <paramref name="divisor" />.</summary>
928928
<returns>A new object that represents the value of this instance divided by the value of <paramref name="divisor" />.</returns>
929929
<remarks>To be added.</remarks>
@@ -3240,8 +3240,8 @@ The value of this constant is 100.
32403240
<Parameter Name="divisor" Type="System.Double" Index="1" FrameworkAlternate="netcore-2.0;netcore-2.1;netcore-2.2;netcore-3.0;netstandard-2.1;netcore-3.1;net-5.0;net-6.0;net-7.0;net-8.0;net-9.0;netframework-4.7.1-pp;netframework-4.7.2-pp;netframework-4.7-pp;netframework-4.8-pp;netframework-4.8.1-pp;net-10.0;netframework-4.6.2-pp" />
32413241
</Parameters>
32423242
<Docs>
3243-
<param name="timeSpan">Dividend or the value to be divided.</param>
3244-
<param name="divisor">The value to be divided by.</param>
3243+
<param name="timeSpan">Dividend or value to be divided.</param>
3244+
<param name="divisor">The divisor or the value to be divided by.</param>
32453245
<summary>Returns a new <see cref="T:System.TimeSpan" /> object whose value is the result of dividing the specified <paramref name="timeSpan" /> by the specified <paramref name="divisor" />.</summary>
32463246
<returns>A new object that represents the value of <paramref name="timeSpan" /> divided by the value of <paramref name="divisor" />.</returns>
32473247
<remarks>To be added.</remarks>
@@ -3282,8 +3282,8 @@ The value of this constant is 100.
32823282
<Parameter Name="t2" Type="System.TimeSpan" Index="1" FrameworkAlternate="netcore-2.0;netcore-2.1;netcore-2.2;netcore-3.0;netstandard-2.1;netcore-3.1;net-5.0;net-6.0;net-7.0;net-8.0;net-9.0;netframework-4.7.1-pp;netframework-4.7.2-pp;netframework-4.7-pp;netframework-4.8-pp;netframework-4.8.1-pp;net-10.0;netframework-4.6.2-pp" />
32833283
</Parameters>
32843284
<Docs>
3285-
<param name="t1">The divident or the value to be divided.</param>
3286-
<param name="t2">The value to be divided by.</param>
3285+
<param name="t1">The dividend or value to be divided.</param>
3286+
<param name="t2">The divisor or value to be divided by.</param>
32873287
<summary>Returns a new <see cref="T:System.Double" /> value that's the result of dividing <paramref name="t1" /> by <paramref name="t2" />.</summary>
32883288
<returns>A new value that represents result of dividing <paramref name="t1" /> by the value of <paramref name="t2" />.</returns>
32893289
<remarks>To be added.</remarks>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy