Skip to content

Commit 7f6a388

Browse files
imba-tjdRon Petrusha
authored andcommitted
Fix ref (#1475)
* Fix ref * Update TimeSpan.xml
1 parent 15432de commit 7f6a388

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

xml/System/TimeSpan.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2777,7 +2777,7 @@ If the `s` argument is not a day value only, it must include an hours and a minu
27772777
27782778
## Notes to callers
27792779
2780-
When a time interval component in the string to be parsed contains more than seven digits, parsing operations in the .NET Framework 3.5 and earlier versions may behave differently from parsing operations in the .NET Framework 4 and later versions. In some cases, parsing operations that succeed in the .NET Framework 3.5 and earlier versions may fail and throw an <see cref="T:System.OverflowException" /> in the .NET Framework 4 and later. In other cases, parsing operations that throw a <see cref="T:System.FormatException" /> in the .NET Framework 3.5 and earlier versions may fail and throw an <see cref="T:System.OverflowException" /> in the .NET Framework 4 and later. The following example illustrates both scenarios.
2780+
When a time interval component in the string to be parsed contains more than seven digits, parsing operations in the .NET Framework 3.5 and earlier versions may behave differently from parsing operations in the .NET Framework 4 and later versions. In some cases, parsing operations that succeed in the .NET Framework 3.5 and earlier versions may fail and throw an <xref:System.OverflowException> in the .NET Framework 4 and later. In other cases, parsing operations that throw a <xref:System.FormatException> in the .NET Framework 3.5 and earlier versions may fail and throw an <xref:System.OverflowException> in the .NET Framework 4 and later. The following example illustrates both scenarios.
27812781
27822782
[!code-csharp[System.TimeSpan.Parse#3](~/samples/snippets/csharp/VS_Snippets_CLR_System/system.timespan.parse/cs/parsefailure1.cs#3)]
27832783
[!code-vb[System.TimeSpan.Parse#3](~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.timespan.parse/vb/parsefailure1.vb#3)]
@@ -2913,7 +2913,7 @@ If the `input` argument is not a day value only, it must include an hours and a
29132913
29142914
## Notes to callers
29152915
2916-
When a time interval component in the string to be parsed contains more than seven digits, parsing operations in the .NET Framework 3.5 and earlier versions may behave differently from parsing operations in the .NET Framework 4 and later versions. In some cases, parsing operations that succeed in the .NET Framework 3.5 and earlier versions may fail and throw an <see cref="T:System.OverflowException" /> in the .NET Framework 4 and later. In other cases, parsing operations that throw a <see cref="T:System.FormatException" /> in the .NET Framework 3.5 and earlier versions may fail and throw an <see cref="T:System.OverflowException" /> in the .NET Framework 4 and later. The following example illustrates both scenarios.
2916+
When a time interval component in the string to be parsed contains more than seven digits, parsing operations in the .NET Framework 3.5 and earlier versions may behave differently from parsing operations in the .NET Framework 4 and later versions. In some cases, parsing operations that succeed in the .NET Framework 3.5 and earlier versions may fail and throw an <xref:System.OverflowException> in the .NET Framework 4 and later. In other cases, parsing operations that throw a <xref:System.FormatException> in the .NET Framework 3.5 and earlier versions may fail and throw an <xref:System.OverflowException> in the .NET Framework 4 and later. The following example illustrates both scenarios.
29172917
29182918
[!code-csharp[System.TimeSpan.Parse#3](~/samples/snippets/csharp/VS_Snippets_CLR_System/system.timespan.parse/cs/parsefailure1.cs#3)]
29192919
[!code-vb[System.TimeSpan.Parse#3](~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.timespan.parse/vb/parsefailure1.vb#3)]
@@ -4577,7 +4577,7 @@ When a time interval component in the string to be parsed contains more than sev
45774577
45784578
## Notes to callers
45794579
4580-
In some cases, when a time interval component in the string to be parsed contains more than seven digits, parsing operations that succeed in the .NET Framework 3.5 and earlier versions may fail and throw an <see cref="T:System.OverflowException" /> in the .NET Framework 4 and later versions. The following example illustrates this scenario.
4580+
In some cases, when a time interval component in the string to be parsed contains more than seven digits, parsing operations that succeed in the .NET Framework 3.5 and earlier versions may fail and throw an <xref:System.OverflowException> in the .NET Framework 4 and later versions. The following example illustrates this scenario.
45814581
[!code-csharp[System.TimeSpan.TryParse#3](~/samples/snippets/csharp/VS_Snippets_CLR_System/system.TimeSpan.TryParse/cs/tryparsefailure1.cs#3)]
45824582
[!code-vb[System.TimeSpan.TryParse#3](~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.TryParse/vb/tryparsefailure1.vb#3)]
45834583
@@ -5263,4 +5263,4 @@ In some cases, when a time interval component in the string to be parsed contain
52635263
</Docs>
52645264
</Member>
52655265
</Members>
5266-
</Type>
5266+
</Type>

0 commit comments

Comments
 (0)