Skip to content

Commit d7dc8f4

Browse files
authored
Fix DateTime.Subtract summary (#3970)
1 parent 5576bc8 commit d7dc8f4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

xml/System/DateTime.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5933,7 +5933,7 @@ The following example demonstrates the <xref:System.DateTime.Parse%28System.Stri
59335933
<AssemblyVersion>4.2.0.0</AssemblyVersion>
59345934
</AssemblyInfo>
59355935
<Docs>
5936-
<summary>Returns a new <see cref="T:System.DateTime" /> that subtracts the specified time or duration from the value of this instance.</summary>
5936+
<summary>Returns the value that results from subtracting the specified time or duration from the value of this instance.</summary>
59375937
</Docs>
59385938
</MemberGroup>
59395939
<Member MemberName="Subtract">
@@ -5979,7 +5979,7 @@ The following example demonstrates the <xref:System.DateTime.Parse%28System.Stri
59795979
</Parameters>
59805980
<Docs>
59815981
<param name="value">The date and time value to subtract.</param>
5982-
<summary>Returns a new <see cref="T:System.DateTime" /> that subtracts the specified date and time from the value of this instance.</summary>
5982+
<summary>Returns a new <see cref="T:System.TimeSpan" /> that subtracts the specified date and time from the value of this instance.</summary>
59835983
<returns>A time interval that is equal to the date and time represented by this instance minus the date and time represented by <paramref name="value" />.</returns>
59845984
<remarks>
59855985
<format type="text/markdown"><![CDATA[

0 commit comments

Comments
 (0)