Skip to content

Commit 6284e66

Browse files
gewarrentdykstra
andauthored
Fix up tables (1 of 2) (#4329)
* fix up tables Co-authored-by: Tom Dykstra <[email protected]>
1 parent 6e5d9f5 commit 6284e66

19 files changed

+76
-260
lines changed

xml/System/Byte.xml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -307,13 +307,8 @@
307307

308308
</description></item><item><term> Greater than zero
309309

310-
</term><description> This instance is greater than <paramref name="value" />.
311-
312-
-or-
313-
314-
<paramref name="value" /> is <see langword="null" />.
315-
316-
</description></item></list></returns>
310+
</term><description> This instance is greater than <paramref name="value" />, or <paramref name="value" /> is <see langword="null" />.</description>
311+
</item></list></returns>
317312
<remarks>
318313
<format type="text/markdown"><![CDATA[
319314

xml/System/Decimal.xml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1065,11 +1065,7 @@
10651065

10661066
</description></item><item><term> Greater than zero
10671067

1068-
</term><description> This instance is greater than <paramref name="value" />.
1069-
1070-
-or-
1071-
1072-
<paramref name="value" /> is <see langword="null" />.
1068+
</term><description> This instance is greater than <paramref name="value" />, or <paramref name="value" /> is <see langword="null" />.
10731069

10741070
</description></item></list></returns>
10751071
<remarks>

xml/System/Double.xml

Lines changed: 8 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -362,27 +362,15 @@
362362

363363
</description></listheader><item><term> Less than zero
364364

365-
</term><description> This instance is less than <paramref name="value" />.
366-
367-
-or-
368-
369-
This instance is not a number (<see cref="F:System.Double.NaN" />) and <paramref name="value" /> is a number.
365+
</term><description> This instance is less than <paramref name="value" />, or this instance is not a number (<see cref="F:System.Double.NaN" />) and <paramref name="value" /> is a number.
370366

371367
</description></item><item><term> Zero
372368

373-
</term><description> This instance is equal to <paramref name="value" />.
374-
375-
-or-
376-
377-
Both this instance and <paramref name="value" /> are not a number (<see cref="F:System.Double.NaN" />), <see cref="F:System.Double.PositiveInfinity" />, or <see cref="F:System.Double.NegativeInfinity" />.
369+
</term><description> This instance is equal to <paramref name="value" />, or both this instance and <paramref name="value" /> are not a number (<see cref="F:System.Double.NaN" />), <see cref="F:System.Double.PositiveInfinity" />, or <see cref="F:System.Double.NegativeInfinity" />.
378370

379371
</description></item><item><term> Greater than zero
380372

381-
</term><description> This instance is greater than <paramref name="value" />.
382-
383-
-or-
384-
385-
This instance is a number and <paramref name="value" /> is not a number (<see cref="F:System.Double.NaN" />).
373+
</term><description> This instance is greater than <paramref name="value" />, or this instance is a number and <paramref name="value" /> is not a number (<see cref="F:System.Double.NaN" />).
386374

387375
</description></item></list></returns>
388376
<remarks>
@@ -469,31 +457,15 @@
469457

470458
</description></listheader><item><term> A negative integer
471459

472-
</term><description> This instance is less than <paramref name="value" />.
473-
474-
-or-
475-
476-
This instance is not a number (<see cref="F:System.Double.NaN" />) and <paramref name="value" /> is a number.
460+
</term><description> This instance is less than <paramref name="value" />, or this instance is not a number (<see cref="F:System.Double.NaN" />) and <paramref name="value" /> is a number.
477461

478462
</description></item><item><term> Zero
479463

480-
</term><description> This instance is equal to <paramref name="value" />.
464+
</term><description> This instance is equal to <paramref name="value" />, or this instance and <paramref name="value" /> are both <see langword="Double.NaN" />, <see cref="F:System.Double.PositiveInfinity" />, or <see cref="F:System.Double.NegativeInfinity" /></description></item><item><term> A positive integer
481465

482-
-or-
483-
484-
This instance and <paramref name="value" /> are both <see langword="Double.NaN" />, <see cref="F:System.Double.PositiveInfinity" />, or <see cref="F:System.Double.NegativeInfinity" /></description></item><item><term> A positive integer
485-
486-
</term><description> This instance is greater than <paramref name="value" />.
487-
488-
-or-
489-
490-
This instance is a number and <paramref name="value" /> is not a number (<see cref="F:System.Double.NaN" />).
491-
492-
-or-
493-
494-
<paramref name="value" /> is <see langword="null" />.
495-
496-
</description></item></list></returns>
466+
</term><description> This instance is greater than <paramref name="value" />, OR this instance is a number and <paramref name="value" /> is not a number (<see cref="F:System.Double.NaN" />), OR <paramref name="value" /> is <see langword="null" />.</description></item>
467+
</list>
468+
</returns>
497469
<remarks>
498470
<format type="text/markdown"><![CDATA[
499471

xml/System/Enum.xml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -353,13 +353,9 @@
353353

354354
</description></item><item><term> Greater than zero
355355

356-
</term><description> The value of this instance is greater than the value of <paramref name="target" />.
357-
358-
-or-
359-
360-
<paramref name="target" /> is <see langword="null" />.
361-
362-
</description></item></list></returns>
356+
</term>
357+
<description> The value of this instance is greater than the value of <paramref name="target" />, or <paramref name="target" /> is <see langword="null" />.</description>
358+
</item></list></returns>
363359
<remarks>
364360
<format type="text/markdown"><![CDATA[
365361

xml/System/Int16.xml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -252,11 +252,7 @@
252252

253253
</description></item><item><term> Greater than zero
254254

255-
</term><description> This instance is greater than <paramref name="value" />.
256-
257-
-or-
258-
259-
<paramref name="value" /> is <see langword="null" />.
255+
</term><description> This instance is greater than <paramref name="value" />, or <paramref name="value" /> is <see langword="null" />.
260256

261257
</description></item></list></returns>
262258
<remarks>
@@ -1112,11 +1108,7 @@
11121108
<param name="value">An object to compare, or <see langword="null" />.</param>
11131109
<summary>Compares this instance to a specified object and returns an integer that indicates whether the value of this instance is less than, equal to, or greater than the value of the object.</summary>
11141110
<returns>A signed number indicating the relative values of this instance and <paramref name="value" />.
1115-
<list type="table"><listheader><term>Return Value</term><description>Description</description></listheader><item><term>Less than zero</term><description>This instance is less than <paramref name="value" />.</description></item><item><term>Zero</term><description>This instance is equal to <paramref name="value" />.</description></item><item><term>Greater than zero</term><description>This instance is greater than <paramref name="value" />.
1116-
1117-
-or-
1118-
1119-
<paramref name="value" /> is <see langword="null" />.</description></item></list></returns>
1111+
<list type="table"><listheader><term>Return Value</term><description>Description</description></listheader><item><term>Less than zero</term><description>This instance is less than <paramref name="value" />.</description></item><item><term>Zero</term><description>This instance is equal to <paramref name="value" />.</description></item><item><term>Greater than zero</term><description>This instance is greater than <paramref name="value" />, or <paramref name="value" /> is <see langword="null" />.</description></item></list></returns>
11201112
<remarks>
11211113
<format type="text/markdown"><![CDATA[
11221114

xml/System/Int32.xml

Lines changed: 20 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -301,11 +301,7 @@
301301

302302
</description></item><item><term> Greater than zero
303303

304-
</term><description> This instance is greater than <paramref name="value" />.
305-
306-
-or-
307-
308-
<paramref name="value" /> is <see langword="null" />.
304+
</term><description> This instance is greater than <paramref name="value" />, or <paramref name="value" /> is <see langword="null" />.
309305

310306
</description></item></list></returns>
311307
<remarks>
@@ -1192,11 +1188,25 @@
11921188
<param name="value">An object to compare, or <see langword="null" />.</param>
11931189
<summary>Compares this instance to a specified object and returns an indication of their relative values.</summary>
11941190
<returns>A signed number indicating the relative values of this instance and <paramref name="value" />.
1195-
<list type="table"><listheader><term>Return Value</term><description>Description</description></listheader><item><term>Less than zero</term><description>This instance is less than <paramref name="value" />.</description></item><item><term>Zero</term><description>This instance is equal to <paramref name="value" />.</description></item><item><term>Greater than zero</term><description>This instance is greater than <paramref name="value" />.
1196-
1197-
-or-
1198-
1199-
<paramref name="value" /> is <see langword="null" />.</description></item></list></returns>
1191+
<list type="table">
1192+
<listheader>
1193+
<term>Return Value</term>
1194+
<description>Description</description>
1195+
</listheader>
1196+
<item>
1197+
<term>Less than zero</term>
1198+
<description>This instance is less than <paramref name="value" />.</description>
1199+
</item>
1200+
<item>
1201+
<term>Zero</term>
1202+
<description>This instance is equal to <paramref name="value" />.</description>
1203+
</item>
1204+
<item>
1205+
<term>Greater than zero</term>
1206+
<description>This instance is greater than <paramref name="value" />, or <paramref name="value" /> is <see langword="null" />.</description>
1207+
</item>
1208+
</list>
1209+
</returns>
12001210
<remarks>
12011211
<format type="text/markdown"><![CDATA[
12021212

xml/System/Int64.xml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -297,11 +297,7 @@
297297

298298
</description></item><item><term> Greater than zero
299299

300-
</term><description> This instance is greater than <paramref name="value" />.
301-
302-
-or-
303-
304-
<paramref name="value" /> is <see langword="null" />.
300+
</term><description> This instance is greater than <paramref name="value" />, or <paramref name="value" /> is <see langword="null" />.
305301

306302
</description></item></list></returns>
307303
<remarks>
@@ -1136,11 +1132,7 @@
11361132
<param name="value">An object to compare, or <see langword="null" />.</param>
11371133
<summary>Compares this instance to a specified object and returns an indication of their relative values.</summary>
11381134
<returns>A signed number indicating the relative values of this instance and <paramref name="value" />.
1139-
<list type="table"><listheader><term>Return Value</term><description>Description</description></listheader><item><term>Less than zero</term><description>This instance is less than <paramref name="value" />.</description></item><item><term>Zero</term><description>This instance is equal to <paramref name="value" />.</description></item><item><term>Greater than zero</term><description>This instance is greater than <paramref name="value" />.
1140-
1141-
-or-
1142-
1143-
<paramref name="value" /> is <see langword="null" />.</description></item></list></returns>
1135+
<list type="table"><listheader><term>Return Value</term><description>Description</description></listheader><item><term>Less than zero</term><description>This instance is less than <paramref name="value" />.</description></item><item><term>Zero</term><description>This instance is equal to <paramref name="value" />.</description></item><item><term>Greater than zero</term><description>This instance is greater than <paramref name="value" />, or <paramref name="value" /> is <see langword="null" />.</description></item></list></returns>
11441136
<remarks>
11451137
<format type="text/markdown"><![CDATA[
11461138

xml/System/Math.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1500,7 +1500,7 @@ Dim i2 As Integer = CInt(Math.Ceiling(d2)) ' Result: 7969
15001500

15011501
-or-
15021502

1503-
<paramref name="max" /> if <paramref name="max" /> &lt; <paramref name="value" />.``
1503+
<paramref name="max" /> if <paramref name="max" /> &lt; <paramref name="value" />.
15041504

15051505
-or-
15061506

@@ -2739,7 +2739,8 @@ Remainder = (Math.Abs(dividend) - (Math.Abs(divisor) *
27392739

27402740
</description></item><item><term> Zero
27412741

2742-
</term><description><see cref="F:System.Int32.MinValue" /></description></item><item><term> Equal to <see cref="F:System.Double.NaN" /> or <see cref="F:System.Double.PositiveInfinity" /> or <see cref="F:System.Double.NegativeInfinity" /></term><description><see cref="F:System.Int32.MaxValue" /></description></item></list></returns>
2742+
</term><description><see cref="F:System.Int32.MinValue" /></description></item><item><term> Equal to <see cref="F:System.Double.NaN" /> or <see cref="F:System.Double.PositiveInfinity" /> or <see cref="F:System.Double.NegativeInfinity" /></term><description><see cref="F:System.Int32.MaxValue" /></description></item></list>
2743+
</returns>
27432744
<remarks>
27442745
<format type="text/markdown"><![CDATA[
27452746

xml/System/Nullable.xml

Lines changed: 5 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -129,27 +129,15 @@
129129

130130
</description></listheader><item><term> Less than zero
131131

132-
</term><description> The <see cref="P:System.Nullable`1.HasValue" /> property for <paramref name="n1" /> is <see langword="false" />, and the <see cref="P:System.Nullable`1.HasValue" /> property for <paramref name="n2" /> is <see langword="true" />.
133-
134-
-or-
135-
136-
The <see cref="P:System.Nullable`1.HasValue" /> properties for <paramref name="n1" /> and <paramref name="n2" /> are <see langword="true" />, and the value of the <see cref="P:System.Nullable`1.Value" /> property for <paramref name="n1" /> is less than the value of the <see cref="P:System.Nullable`1.Value" /> property for <paramref name="n2" />.
132+
</term><description> The <see cref="P:System.Nullable`1.HasValue" /> property for <paramref name="n1" /> is <see langword="false" />, and the <see cref="P:System.Nullable`1.HasValue" /> property for <paramref name="n2" /> is <see langword="true" />, or the <see cref="P:System.Nullable`1.HasValue" /> properties for <paramref name="n1" /> and <paramref name="n2" /> are <see langword="true" />, and the value of the <see cref="P:System.Nullable`1.Value" /> property for <paramref name="n1" /> is less than the value of the <see cref="P:System.Nullable`1.Value" /> property for <paramref name="n2" />.
137133

138134
</description></item><item><term> Zero
139135

140-
</term><description> The <see cref="P:System.Nullable`1.HasValue" /> properties for <paramref name="n1" /> and <paramref name="n2" /> are <see langword="false" />.
141-
142-
-or-
143-
144-
The <see cref="P:System.Nullable`1.HasValue" /> properties for <paramref name="n1" /> and <paramref name="n2" /> are <see langword="true" />, and the value of the <see cref="P:System.Nullable`1.Value" /> property for <paramref name="n1" /> is equal to the value of the <see cref="P:System.Nullable`1.Value" /> property for <paramref name="n2" />.
136+
</term><description> The <see cref="P:System.Nullable`1.HasValue" /> properties for <paramref name="n1" /> and <paramref name="n2" /> are <see langword="false" />, or the <see cref="P:System.Nullable`1.HasValue" /> properties for <paramref name="n1" /> and <paramref name="n2" /> are <see langword="true" />, and the value of the <see cref="P:System.Nullable`1.Value" /> property for <paramref name="n1" /> is equal to the value of the <see cref="P:System.Nullable`1.Value" /> property for <paramref name="n2" />.
145137

146138
</description></item><item><term> Greater than zero
147139

148-
</term><description> The <see cref="P:System.Nullable`1.HasValue" /> property for <paramref name="n1" /> is <see langword="true" />, and the <see cref="P:System.Nullable`1.HasValue" /> property for <paramref name="n2" /> is <see langword="false" />.
149-
150-
-or-
151-
152-
The <see cref="P:System.Nullable`1.HasValue" /> properties for <paramref name="n1" /> and <paramref name="n2" /> are <see langword="true" />, and the value of the <see cref="P:System.Nullable`1.Value" /> property for <paramref name="n1" /> is greater than the value of the <see cref="P:System.Nullable`1.Value" /> property for <paramref name="n2" />.
140+
</term><description> The <see cref="P:System.Nullable`1.HasValue" /> property for <paramref name="n1" /> is <see langword="true" />, and the <see cref="P:System.Nullable`1.HasValue" /> property for <paramref name="n2" /> is <see langword="false" />, or the <see cref="P:System.Nullable`1.HasValue" /> properties for <paramref name="n1" /> and <paramref name="n2" /> are <see langword="true" />, and the value of the <see cref="P:System.Nullable`1.Value" /> property for <paramref name="n1" /> is greater than the value of the <see cref="P:System.Nullable`1.Value" /> property for <paramref name="n2" />.
153141

154142
</description></item></list></returns>
155143
<remarks>To be added.</remarks>
@@ -223,17 +211,9 @@
223211

224212
</term><description> Description
225213

226-
</description></listheader><item><term><see langword="true" /></term><description> The <see cref="P:System.Nullable`1.HasValue" /> properties for <paramref name="n1" /> and <paramref name="n2" /> are <see langword="false" />.
227-
228-
-or-
229-
230-
The <see cref="P:System.Nullable`1.HasValue" /> properties for <paramref name="n1" /> and <paramref name="n2" /> are <see langword="true" />, and the <see cref="P:System.Nullable`1.Value" /> properties of the parameters are equal.
231-
232-
</description></item><item><term><see langword="false" /></term><description> The <see cref="P:System.Nullable`1.HasValue" /> property is <see langword="true" /> for one parameter and <see langword="false" /> for the other parameter.
233-
234-
-or-
214+
</description></listheader><item><term><see langword="true" /></term><description> The <see cref="P:System.Nullable`1.HasValue" /> properties for <paramref name="n1" /> and <paramref name="n2" /> are <see langword="false" />, or the <see cref="P:System.Nullable`1.HasValue" /> properties for <paramref name="n1" /> and <paramref name="n2" /> are <see langword="true" />, and the <see cref="P:System.Nullable`1.Value" /> properties of the parameters are equal.
235215

236-
The <see cref="P:System.Nullable`1.HasValue" /> properties for <paramref name="n1" /> and <paramref name="n2" /> are <see langword="true" />, and the <see cref="P:System.Nullable`1.Value" /> properties of the parameters are unequal.
216+
</description></item><item><term><see langword="false" /></term><description> The <see cref="P:System.Nullable`1.HasValue" /> property is <see langword="true" /> for one parameter and <see langword="false" /> for the other parameter, or the <see cref="P:System.Nullable`1.HasValue" /> properties for <paramref name="n1" /> and <paramref name="n2" /> are <see langword="true" />, and the <see cref="P:System.Nullable`1.Value" /> properties of the parameters are unequal.
237217

238218
</description></item></list></returns>
239219
<remarks>To be added.</remarks>

0 commit comments

Comments
 (0)