Skip to content

Commit 7b7071f

Browse files
authored
Merge pull request #3487 from dotnet/master
Update live with current master
2 parents 2e48a9d + 04e514e commit 7b7071f

File tree

9 files changed

+351
-191
lines changed

9 files changed

+351
-191
lines changed

_zip/missingapi.yml

Lines changed: 261 additions & 0 deletions
Large diffs are not rendered by default.

xml/Microsoft.VisualBasic/DateAndTime.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -904,7 +904,7 @@ MsgBox("The formatted date is " & Format(Now, "dddd, d MMM yyyy"))
904904
905905
]]></format>
906906
</remarks>
907-
<exception cref="T:System.InvalidCastException">Invalid format used to set the value of <see cref="T:Microsoft.VisualBasic.DateAndTime.DateString" />.</exception>
907+
<exception cref="T:System.InvalidCastException">Invalid format used to set the value of <see cref="P:Microsoft.VisualBasic.DateAndTime.DateString" />.</exception>
908908
<altmember cref="P:Microsoft.VisualBasic.DateAndTime.Now" />
909909
<altmember cref="P:Microsoft.VisualBasic.DateAndTime.TimeString" />
910910
<altmember cref="P:Microsoft.VisualBasic.DateAndTime.Today" />

xml/System.Buffers/ArrayPool`1.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
<Interfaces />
2626
<Docs>
2727
<typeparam name="T">The type of the objects that are in the resource pool.</typeparam>
28-
<summary>Provides a resource pool that enables reusing instances of type <see cref="T:T[]" />.</summary>
28+
<summary>Provides a resource pool that enables reusing instances of type T[].</summary>
2929
<remarks>
3030
<format type="text/markdown"><![CDATA[
3131
@@ -168,7 +168,7 @@ The instance of the <xref:System.Buffers.ArrayPool%601> class created by this me
168168
<Docs>
169169
<param name="minimumLength">The minimum length of the array.</param>
170170
<summary>Retrieves a buffer that is at least the requested length.</summary>
171-
<returns>An array of type <see cref="T:T[]" /> that is at least <paramref name="minimumLength" /> in length.</returns>
171+
<returns>An array of type T that is at least <paramref name="minimumLength" /> in length.</returns>
172172
<remarks>
173173
<format type="text/markdown"><![CDATA[
174174

xml/System.Collections.Immutable/ImmutableArray.xml

Lines changed: 17 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,7 @@
1919
</Base>
2020
<Interfaces />
2121
<Docs>
22-
<summary>
23-
24-
Provides methods for creating an array that is immutable; meaning it cannot be changed once it is created.
22+
<summary>Provides methods for creating an array that is immutable; meaning it cannot be changed once it is created.
2523

2624
**NuGet package**: <see href="https://www.nuget.org/packages/System.Collections.Immutable/">System.Collections.Immutable</see> (<see href="https://docs.microsoft.com/dotnet/api/system.collections.immutable?#remarks">about immutable collections and how to install</see>)</summary>
2725
<remarks>To be added.</remarks>
@@ -59,9 +57,7 @@
5957
<typeparam name="T">The type of element stored in the array.</typeparam>
6058
<param name="array">The sorted array to search.</param>
6159
<param name="value">The object to search for.</param>
62-
<summary>
63-
64-
Searches the sorted immutable array for a specified element using the default comparer and returns the zero-based index of the element, if it's found.</summary>
60+
<summary>Searches the sorted immutable array for a specified element using the default comparer and returns the zero-based index of the element, if it's found.</summary>
6561
<returns>The zero-based index of the item in the array, if item is found; otherwise, a negative number that is the bitwise complement of the index of the next element that is larger than <paramref name="value" /> or, if there is no larger element, the bitwise complement of <see cref="P:System.Collections.Generic.ICollection`1.Count" />.</returns>
6662
<remarks>To be added.</remarks>
6763
<exception cref="T:System.InvalidOperationException">
@@ -101,9 +97,7 @@
10197
<param name="array">The sorted array to search.</param>
10298
<param name="value">The object to search for.</param>
10399
<param name="comparer">The comparer implementation to use when comparing elements, or null to use the default comparer.</param>
104-
<summary>
105-
106-
Searches a sorted immutable array for a specified element and returns the zero-based index of the element, if it's found.</summary>
100+
<summary>Searches a sorted immutable array for a specified element and returns the zero-based index of the element, if it's found.</summary>
107101
<returns>The zero-based index of the item in the array, if item is found; otherwise, a negative number that is the bitwise complement of the index of the next element that is larger than <paramref name="value" /> or, if there is no larger element, the bitwise complement of <see cref="P:System.Collections.Generic.ICollection`1.Count" />.</returns>
108102
<remarks>To be added.</remarks>
109103
<exception cref="T:System.InvalidOperationException">
@@ -145,9 +139,7 @@
145139
<param name="index">The starting index of the range to search.</param>
146140
<param name="length">The length of the range to search.</param>
147141
<param name="value">The object to search for.</param>
148-
<summary>
149-
150-
Searches a sorted immutable array for a specified element and returns the zero-based index of the element, if it's found.</summary>
142+
<summary>Searches a sorted immutable array for a specified element and returns the zero-based index of the element, if it's found.</summary>
151143
<returns>The zero-based index of the item in the array, if item is found; otherwise, a negative number that is the bitwise complement of the index of the next element that is larger than <paramref name="value" /> or, if there is no larger element, the bitwise complement of <see cref="P:System.Collections.Generic.ICollection`1.Count" />.</returns>
152144
<remarks>To be added.</remarks>
153145
<exception cref="T:System.InvalidOperationException">
@@ -199,9 +191,7 @@
199191
<param name="length">The length of the range to search.</param>
200192
<param name="value">The object to search for.</param>
201193
<param name="comparer">The comparer to use when comparing elements for equality or <see langword="null" /> to use the default comparer.</param>
202-
<summary>
203-
204-
Searches a sorted immutable array for a specified element and returns the zero-based index of the element.</summary>
194+
<summary>Searches a sorted immutable array for a specified element and returns the zero-based index of the element.</summary>
205195
<returns>The zero-based index of the item in the array, if item is found; otherwise, a negative number that is the bitwise complement of the index of the next element that is larger than <paramref name="value" /> or, if there is no larger element, the bitwise complement of <see cref="P:System.Collections.Generic.ICollection`1.Count" />.</returns>
206196
<remarks>To be added.</remarks>
207197
<exception cref="T:System.InvalidOperationException">
@@ -246,9 +236,7 @@
246236
<Parameters />
247237
<Docs>
248238
<typeparam name="T">The type of elements stored in the array.</typeparam>
249-
<summary>
250-
251-
Creates an empty immutable array.</summary>
239+
<summary>Creates an empty immutable array.</summary>
252240
<returns>An empty immutable array.</returns>
253241
<remarks>To be added.</remarks>
254242
</Docs>
@@ -282,9 +270,7 @@
282270
<Docs>
283271
<typeparam name="T">The type of elements stored in the array.</typeparam>
284272
<param name="item">The object to store in the array.</param>
285-
<summary>
286-
287-
Creates an immutable array that contains the specified object.</summary>
273+
<summary>Creates an immutable array that contains the specified object.</summary>
288274
<returns>An immutable array that contains the specified object.</returns>
289275
<remarks>To be added.</remarks>
290276
</Docs>
@@ -324,9 +310,7 @@
324310
<Docs>
325311
<typeparam name="T">The type of elements stored in the array.</typeparam>
326312
<param name="items">The array of objects to populate the array with.</param>
327-
<summary>
328-
329-
Creates an immutable array from the specified array of objects.</summary>
313+
<summary>Creates an immutable array from the specified array of objects.</summary>
330314
<returns>An immutable array that contains the array of items.</returns>
331315
<remarks>To be added.</remarks>
332316
</Docs>
@@ -362,9 +346,7 @@
362346
<typeparam name="T">The type of elements stored in the array.</typeparam>
363347
<param name="item1">The first object to store in the array.</param>
364348
<param name="item2">The second object to store in the array.</param>
365-
<summary>
366-
367-
Creates an immutable array that contains the specified objects.</summary>
349+
<summary>Creates an immutable array that contains the specified objects.</summary>
368350
<returns>An immutable array that contains the specified objects.</returns>
369351
<remarks>To be added.</remarks>
370352
</Docs>
@@ -402,9 +384,7 @@
402384
<param name="items">The source array of objects.</param>
403385
<param name="start">The index of the first element to copy from <paramref name="items" />.</param>
404386
<param name="length">The number of elements from <paramref name="items" /> to include in this immutable array.</param>
405-
<summary>
406-
407-
Creates an immutable array with the specified objects from another immutable array.</summary>
387+
<summary>Creates an immutable array with the specified objects from another immutable array.</summary>
408388
<returns>An immutable array that contains the specified objects from the source array.</returns>
409389
<remarks>
410390
<format type="text/markdown"><![CDATA[
@@ -448,9 +428,7 @@ This overload allows helper methods or custom builder classes to efficiently avo
448428
<param name="item1">The first object to store in the array.</param>
449429
<param name="item2">The second object to store in the array.</param>
450430
<param name="item3">The third object to store in the array.</param>
451-
<summary>
452-
453-
Creates an immutable array that contains the specified objects.</summary>
431+
<summary>Creates an immutable array that contains the specified objects.</summary>
454432
<returns>An immutable array that contains the specified objects.</returns>
455433
<remarks>To be added.</remarks>
456434
</Docs>
@@ -488,9 +466,7 @@ This overload allows helper methods or custom builder classes to efficiently avo
488466
<param name="items">The source array of objects.</param>
489467
<param name="start">The index of the first element to copy from <paramref name="items" />.</param>
490468
<param name="length">The number of elements from <paramref name="items" /> to include in this immutable array.</param>
491-
<summary>
492-
493-
Creates an immutable array with specified objects from another array.</summary>
469+
<summary>Creates an immutable array with specified objects from another array.</summary>
494470
<returns>An immutable array that contains the specified objects from the source array.</returns>
495471
<remarks>
496472
<format type="text/markdown"><![CDATA[
@@ -536,9 +512,7 @@ This overload allows helper methods or custom builder classes to efficiently avo
536512
<param name="item2">The second object to store in the array.</param>
537513
<param name="item3">The third object to store in the array.</param>
538514
<param name="item4">The fourth object to store in the array.</param>
539-
<summary>
540-
541-
Creates an immutable array that contains the specified objects.</summary>
515+
<summary>Creates an immutable array that contains the specified objects.</summary>
542516
<returns>An immutable array that contains the specified objects.</returns>
543517
<remarks>To be added.</remarks>
544518
</Docs>
@@ -569,9 +543,7 @@ This overload allows helper methods or custom builder classes to efficiently avo
569543
<Parameters />
570544
<Docs>
571545
<typeparam name="T">The type of elements stored in the builder.</typeparam>
572-
<summary>
573-
574-
Creates a mutable array that can be converted to an <see cref="T:System.Collections.Immutable.ImmutableArray" /> without allocating new memory.</summary>
546+
<summary>Creates a mutable array that can be converted to an <see cref="T:System.Collections.Immutable.ImmutableArray" /> without allocating new memory.</summary>
575547
<returns>A mutable array of the specified type that can be efficiently converted to an immutable array.</returns>
576548
<remarks>To be added.</remarks>
577549
</Docs>
@@ -605,9 +577,7 @@ This overload allows helper methods or custom builder classes to efficiently avo
605577
<Docs>
606578
<typeparam name="T">The type of elements stored in the builder.</typeparam>
607579
<param name="initialCapacity">The initial capacity of the builder.</param>
608-
<summary>
609-
610-
Creates a mutable array that can be converted to an <see cref="T:System.Collections.Immutable.ImmutableArray" /> without allocating new memory.</summary>
580+
<summary>Creates a mutable array that can be converted to an <see cref="T:System.Collections.Immutable.ImmutableArray" /> without allocating new memory.</summary>
611581
<returns>A mutable array of the specified type that can be efficiently converted to an immutable array.</returns>
612582
<remarks>To be added.</remarks>
613583
</Docs>
@@ -641,9 +611,7 @@ This overload allows helper methods or custom builder classes to efficiently avo
641611
<Docs>
642612
<typeparam name="T">The type of element stored in the array.</typeparam>
643613
<param name="items">The elements to add to the array.</param>
644-
<summary>
645-
646-
Creates a new <see cref="T:System.Collections.Immutable.ImmutableArray`1" /> populated with the specified items.</summary>
614+
<summary>Creates a new <see cref="T:System.Collections.Immutable.ImmutableArray`1" /> populated with the specified items.</summary>
647615
<returns>An immutable array that contains the specified items.</returns>
648616
<remarks>To be added.</remarks>
649617
</Docs>
@@ -873,9 +841,7 @@ This overload allows helper methods or custom builder classes to efficiently avo
873841
<Docs>
874842
<typeparam name="TSource">The type of elements contained in <paramref name="items" />.</typeparam>
875843
<param name="items">The collection of objects to copy to the immutable array.</param>
876-
<summary>
877-
878-
Creates an immutable array from the specified collection.</summary>
844+
<summary>Creates an immutable array from the specified collection.</summary>
879845
<returns>An immutable array that contains the specified collection of objects.</returns>
880846
<remarks>To be added.</remarks>
881847
</Docs>

xml/System.Collections.Immutable/ImmutableInterlocked.xml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -302,9 +302,7 @@
302302
<param name="location">The destination, whose value is compared with <paramref name="comparand" /> and possibly replaced.</param>
303303
<param name="value">The value that replaces the destination value if the comparison results in equality.</param>
304304
<param name="comparand">The value that is compared to the value at <paramref name="location" />.</param>
305-
<summary>
306-
307-
Compares two immutable arrays for equality and, if they are equal, replaces one of the arrays.</summary>
305+
<summary>Compares two immutable arrays for equality and, if they are equal, replaces one of the arrays.</summary>
308306
<returns>The original value in <paramref name="location" />.</returns>
309307
<remarks>To be added.</remarks>
310308
</Docs>
@@ -340,9 +338,7 @@
340338
<typeparam name="T">The type of element stored by the array.</typeparam>
341339
<param name="location">The array to set to the specified value.</param>
342340
<param name="value">The value to which the <paramref name="location" /> parameter is set.</param>
343-
<summary>
344-
345-
Sets an array to the specified array and returns a reference to the original array, as an atomic operation.</summary>
341+
<summary>Sets an array to the specified array and returns a reference to the original array, as an atomic operation.</summary>
346342
<returns>The original value of <paramref name="location" />.</returns>
347343
<remarks>To be added.</remarks>
348344
</Docs>
@@ -378,9 +374,7 @@
378374
<typeparam name="T">The type of element stored by the array.</typeparam>
379375
<param name="location">The array to set to the specified value.</param>
380376
<param name="value">The value to which the <paramref name="location" /> parameter is set, if it's not initialized.</param>
381-
<summary>
382-
383-
Sets an array to the specified array if the array has not been initialized.</summary>
377+
<summary>Sets an array to the specified array if the array has not been initialized.</summary>
384378
<returns>
385379
<see langword="true" /> if the array was assigned the specified value; otherwise, <see langword="false" />.</returns>
386380
<remarks>To be added.</remarks>

0 commit comments

Comments
 (0)