You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: xml/System/ArgumentOutOfRangeException.xml
+33-33Lines changed: 33 additions & 33 deletions
Original file line number
Diff line number
Diff line change
@@ -856,10 +856,10 @@ The following example defines a class to contain information about an invited gu
856
856
</Parameters>
857
857
<Docs>
858
858
<typeparamname="T">To be added.</typeparam>
859
-
<paramname="value">To be added.</param>
860
-
<paramname="other">To be added.</param>
861
-
<paramname="paramName">To be added.</param>
862
-
<summary>To be added.</summary>
859
+
<paramname="value">The argument to validate as not equal to <paramrefname="other" />.</param>
860
+
<paramname="other">The value to compare with <paramrefname="value" />.</param>
861
+
<paramname="paramName">The name of the parameter with which <paramrefname="value" /> corresponds.</param>
862
+
<summary>Throws an <seecref="T:System.ArgumentOutOfRangeException" /> if <paramrefname="value" /> is equal to <paramrefname="other" />.</summary>
863
863
<remarks>To be added.</remarks>
864
864
</Docs>
865
865
</Member>
@@ -904,10 +904,10 @@ The following example defines a class to contain information about an invited gu
904
904
</Parameters>
905
905
<Docs>
906
906
<typeparamname="T">To be added.</typeparam>
907
-
<paramname="value">To be added.</param>
908
-
<paramname="other">To be added.</param>
909
-
<paramname="paramName">To be added.</param>
910
-
<summary>To be added.</summary>
907
+
<paramname="value">The argument to validate as less than or equal to <paramrefname="other" />.</param>
908
+
<paramname="other">The value to compare with <paramrefname="value" />.</param>
909
+
<paramname="paramName">The name of the parameter with which <paramrefname="value" /> corresponds.</param>
910
+
<summary>Throws an <seecref="T:System.ArgumentOutOfRangeException" /> if <paramrefname="value" /> is greater than <paramrefname="other" />.</summary>
911
911
<remarks>To be added.</remarks>
912
912
</Docs>
913
913
</Member>
@@ -952,10 +952,10 @@ The following example defines a class to contain information about an invited gu
952
952
</Parameters>
953
953
<Docs>
954
954
<typeparamname="T">To be added.</typeparam>
955
-
<paramname="value">To be added.</param>
956
-
<paramname="other">To be added.</param>
957
-
<paramname="paramName">To be added.</param>
958
-
<summary>To be added.</summary>
955
+
<paramname="value">The argument to validate as less than <paramrefname="other" />.</param>
956
+
<paramname="other">The value to compare with <paramrefname="value" />.</param>
957
+
<paramname="paramName">The name of the parameter with which <paramrefname="value" /> corresponds.</param>
958
+
<summary>Throws an <seecref="T:System.ArgumentOutOfRangeException" /> if <paramrefname="value" /> is greater than or equal to <paramrefname="other" />.</summary>
959
959
<remarks>To be added.</remarks>
960
960
</Docs>
961
961
</Member>
@@ -1000,10 +1000,10 @@ The following example defines a class to contain information about an invited gu
1000
1000
</Parameters>
1001
1001
<Docs>
1002
1002
<typeparamname="T">To be added.</typeparam>
1003
-
<paramname="value">To be added.</param>
1004
-
<paramname="other">To be added.</param>
1005
-
<paramname="paramName">To be added.</param>
1006
-
<summary>To be added.</summary>
1003
+
<paramname="value">The argument to validate as greater than or equal to <paramrefname="other" />.</param>
1004
+
<paramname="other">The value to compare with <paramrefname="value" />.</param>
1005
+
<paramname="paramName">The name of the parameter with which <paramrefname="value" /> corresponds.</param>
1006
+
<summary>Throws an <seecref="T:System.ArgumentOutOfRangeException" /> if <paramrefname="value" /> is less than <paramrefname="other" />.</summary>
1007
1007
<remarks>To be added.</remarks>
1008
1008
</Docs>
1009
1009
</Member>
@@ -1048,10 +1048,10 @@ The following example defines a class to contain information about an invited gu
1048
1048
</Parameters>
1049
1049
<Docs>
1050
1050
<typeparamname="T">To be added.</typeparam>
1051
-
<paramname="value">To be added.</param>
1052
-
<paramname="other">To be added.</param>
1053
-
<paramname="paramName">To be added.</param>
1054
-
<summary>To be added.</summary>
1051
+
<paramname="value">The argument to validate as greater than <paramrefname="other" />.</param>
1052
+
<paramname="other">The value to compare with <paramrefname="value" />.</param>
1053
+
<paramname="paramName">The name of the parameter with which <paramrefname="value" /> corresponds.</param>
1054
+
<summary>Throws an <seecref="T:System.ArgumentOutOfRangeException" /> if <paramrefname="value" /> is less than or equal to <paramrefname="other" />.</summary>
1055
1055
<remarks>To be added.</remarks>
1056
1056
</Docs>
1057
1057
</Member>
@@ -1095,9 +1095,9 @@ The following example defines a class to contain information about an invited gu
1095
1095
</Parameters>
1096
1096
<Docs>
1097
1097
<typeparamname="T">To be added.</typeparam>
1098
-
<paramname="value">To be added.</param>
1099
-
<paramname="paramName">To be added.</param>
1100
-
<summary>To be added.</summary>
1098
+
<paramname="value">The argument to validate as non-negative.</param>
1099
+
<paramname="paramName">The name of the parameter with which <paramrefname="value" /> corresponds.</param>
1100
+
<summary>Throws an <seecref="T:System.ArgumentOutOfRangeException" /> if <paramrefname="value" /> is negative.</summary>
1101
1101
<remarks>To be added.</remarks>
1102
1102
</Docs>
1103
1103
</Member>
@@ -1141,9 +1141,9 @@ The following example defines a class to contain information about an invited gu
1141
1141
</Parameters>
1142
1142
<Docs>
1143
1143
<typeparamname="T">To be added.</typeparam>
1144
-
<paramname="value">To be added.</param>
1145
-
<paramname="paramName">To be added.</param>
1146
-
<summary>To be added.</summary>
1144
+
<paramname="value">The argument to validate as non-zero or non-negative.</param>
1145
+
<paramname="paramName">The name of the parameter with which <paramrefname="value" /> corresponds.</param>
1146
+
<summary>Throws an <seecref="T:System.ArgumentOutOfRangeException" /> if <paramrefname="value" /> is negative or zero.</summary>
1147
1147
<remarks>To be added.</remarks>
1148
1148
</Docs>
1149
1149
</Member>
@@ -1188,10 +1188,10 @@ The following example defines a class to contain information about an invited gu
1188
1188
</Parameters>
1189
1189
<Docs>
1190
1190
<typeparamname="T">To be added.</typeparam>
1191
-
<paramname="value">To be added.</param>
1192
-
<paramname="other">To be added.</param>
1193
-
<paramname="paramName">To be added.</param>
1194
-
<summary>To be added.</summary>
1191
+
<paramname="value">The argument to validate as equal to <paramrefname="other" />.</param>
1192
+
<paramname="other">The value to compare with <paramrefname="value" />.</param>
1193
+
<paramname="paramName">The name of the parameter with which <paramrefname="value" /> corresponds.</param>
1194
+
<summary>Throws an <seecref="T:System.ArgumentOutOfRangeException" /> if <paramrefname="value" /> is not equal to <paramrefname="other" />.</summary>
1195
1195
<remarks>To be added.</remarks>
1196
1196
</Docs>
1197
1197
</Member>
@@ -1235,9 +1235,9 @@ The following example defines a class to contain information about an invited gu
1235
1235
</Parameters>
1236
1236
<Docs>
1237
1237
<typeparamname="T">To be added.</typeparam>
1238
-
<paramname="value">To be added.</param>
1239
-
<paramname="paramName">To be added.</param>
1240
-
<summary>To be added.</summary>
1238
+
<paramname="value">The argument to validate as non-zero.</param>
1239
+
<paramname="paramName">The name of the parameter with which <paramrefname="value" /> corresponds.</param>
1240
+
<summary>Throws an <seecref="T:System.ArgumentOutOfRangeException" /> if <paramrefname="value" /> is zero.</summary>
<paramname="year">When this method returns, represents the <seecref="P:System.DateOnly.Year" /> value of this <seecref="T:System.DateOnly" /> instance.</param>
384
+
<paramname="month">When this method returns, represents the <seecref="P:System.DateOnly.Month" /> value of this <seecref="T:System.DateOnly" /> instance.</param>
385
+
<paramname="day">When this method returns, represents the <seecref="P:System.DateOnly.Day" /> value of this <seecref="T:System.DateOnly" /> instance.</param>
386
+
<summary>Deconstructs <seecref="T:System.DateOnly" /> by <seecref="P:System.DateOnly.Year" />, <seecref="P:System.DateOnly.Month" />, and <seecref="P:System.DateOnly.Day" />.</summary>
<summary>Initializes a new instance of the <see cref="T:System.DateTime" /> structure to the specified <see cref="T:System.DateOnly" /> and <see cref="T:System.TimeOnly" />.
652
+
The new instance will have the <see cref="F:System.DateTimeKind.Unspecified" /> kind.</summary>
652
653
<remarks>To be added.</remarks>
653
654
</Docs>
654
655
</Member>
@@ -731,10 +732,10 @@ The behavior of the .NET Framework and COM means that if your application round-
<param name="kind">One of the enumeration values that indicates whether <paramref name="date" /> and <paramref name="time" /> specify a local time, Coordinated Universal Time (UTC), or neither.</param>
738
+
<summary>Initializes a new instance of the <see cref="T:System.DateTime" /> structure to the specified <see cref="T:System.DateOnly" /> and <see cref="T:System.TimeOnly" /> and respecting the specified <see cref="T:System.DateTimeKind" />.</summary>
738
739
<remarks>To be added.</remarks>
739
740
</Docs>
740
741
</Member>
@@ -3301,9 +3302,9 @@ The value parameter is rounded to the nearest integer.
<param name="date">When this method returns, represents the <see cref="P:System.DateOnly" /> value of this <see cref="T:System.DateTime" /> instance.</param>
3306
+
<param name="time">When this method returns, represents the <see cref="P:System.TimeOnly" /> value of this <see cref="T:System.DateTime" /> instance.</param>
3307
+
<summary>Deconstructs this <see cref="T:System.DateTime" /> instance by <see cref="T:System.DateOnly" /> and <see cref="T:System.TimeOnly" />.</summary>
3307
3308
<remarks>To be added.</remarks>
3308
3309
</Docs>
3309
3310
</Member>
@@ -3340,10 +3341,10 @@ The value parameter is rounded to the nearest integer.
<param name="year">When this method returns, represents the <see cref="P:System.DateTime.Year" /> value of this <see cref="T:System.DateTime" /> instance.</param>
3345
+
<param name="month">When this method returns, represents the <see cref="P:System.DateTime.Month" /> value of this <see cref="T:System.DateTime" /> instance.</param>
3346
+
<param name="day">When this method returns, represents the <see cref="P:System.DateTime.Day" /> value of this <see cref="T:System.DateTime" /> instance.</param>
3347
+
<summary>Deconstructs this <see cref="T:System.DateOnly" /> instance by <see cref="P:System.DateTime.Year" />, <see cref="P:System.DateTime.Month" />, and <see cref="P:System.DateTime.Day" />.</summary>
3347
3348
<remarks>To be added.</remarks>
3348
3349
</Docs>
3349
3350
</Member>
@@ -7113,6 +7114,7 @@ The following example demonstrates the <xref:System.DateTime.Parse%28System.Stri
7113
7114
]]></format>
7114
7115
</remarks>
7115
7116
<related type="Article" href="/dotnet/standard/datetime/performing-arithmetic-operations">Performing Arithmetic Operations with Dates and Times</related>
7117
+
<exception cref="T:System.ArgumentOutOfRangeException">The result is less than <see cref="F:System.DateTime.MinValue">DateTime.MinValue</see> or greater than <see cref="F:System.DateTime.MaxValue">DateTime.MaxValue</see>.</exception>
7116
7118
</Docs>
7117
7119
</Member>
7118
7120
<Member MemberName="Subtract">
@@ -9553,6 +9555,7 @@ The following example illustrates how the string representation of a <xref:Syste
<param name="offset">The time's offset from Coordinated Universal Time (UTC).</param>
433
+
<summary>Initializes a new instance of the <see cref="T:System.DateTimeOffset" /> structure using the specified <paramref name="date" />, <paramref name="time" />, and <paramref name="offset" />.</summary>
434
434
<remarks>To be added.</remarks>
435
435
</Docs>
436
436
</Member>
@@ -2153,10 +2153,10 @@ The resulting <see cref="T:System.DateTimeOffset" /> value is greater than <see
<param name="date">When this method returns, represents the <see cref="P:System.DateOnly" /> value of this <see cref="T:System.DateTimeOffset" /> instance.</param>
2157
+
<param name="time">When this method returns, represents the <see cref="P:System.TimeOnly" /> value of this <see cref="T:System.DateTimeOffset" /> instance.</param>
2158
+
<param name="offset">When this method returns, represents the <see cref="P:System.DateTimeOffset.Offset" /> value of this <see cref="T:System.DateTimeOffset" /> instance.</param>
2159
+
<summary>Deconstructs this <see cref="T:System.DateTimeOffset" /> instance by <see cref="T:System.DateOnly" />, <see cref="T:System.TimeOnly" />, and <see cref="T:System.TimeSpan" />.</summary>
0 commit comments