|
1 |
| -<Type Name="ImmutableArray<T>" FullName="System.Collections.Immutable.ImmutableArray<T>"> |
| 1 | +<Type Name="ImmutableArray<T>" FullName="System.Collections.Immutable.ImmutableArray<T>"> |
2 | 2 | <TypeSignature Language="C#" Value="public struct ImmutableArray<T> : IEquatable<System.Collections.Immutable.ImmutableArray<T>>, System.Collections.Generic.ICollection<T>, System.Collections.Generic.IEnumerable<T>, System.Collections.Generic.IList<T>, System.Collections.Generic.IReadOnlyCollection<T>, System.Collections.Generic.IReadOnlyList<T>, System.Collections.IList, System.Collections.Immutable.IImmutableList<T>, System.Collections.IStructuralComparable, System.Collections.IStructuralEquatable" />
|
3 | 3 | <TypeSignature Language="ILAsm" Value=".class public sequential ansi sealed beforefieldinit ImmutableArray`1<T> extends System.ValueType implements class System.Collections.Generic.ICollection`1<!T>, class System.Collections.Generic.IEnumerable`1<!T>, class System.Collections.Generic.IList`1<!T>, class System.Collections.Generic.IReadOnlyCollection`1<!T>, class System.Collections.Generic.IReadOnlyList`1<!T>, class System.Collections.ICollection, class System.Collections.IEnumerable, class System.Collections.IList, class System.Collections.Immutable.IImmutableList`1<!T>, class System.Collections.IStructuralComparable, class System.Collections.IStructuralEquatable, class System.IEquatable`1<valuetype System.Collections.Immutable.ImmutableArray`1<!T>>" />
|
4 | 4 | <TypeSignature Language="DocId" Value="T:System.Collections.Immutable.ImmutableArray`1" />
|
|
325 | 325 | </TypeParameters>
|
326 | 326 | <Parameters />
|
327 | 327 | <Docs>
|
328 |
| - <typeparam name="TOther">To be added.</typeparam> |
| 328 | + <typeparam name="TOther">The type of array element to return.</typeparam> |
329 | 329 | <summary>Initializes a new instance of the <see cref="T:System.Collections.Immutable.ImmutableArray`1" /> struct by casting the underlying array to an array of type <typeparamref name="TOther" />.</summary>
|
330 |
| - <returns>To be added.</returns> |
| 330 | + <returns>An immutable array instance with elements cast to the new type.</returns> |
331 | 331 | <remarks>To be added.</remarks>
|
332 | 332 | <exception cref="T:System.InvalidCastException">Thrown if the cast is illegal.</exception>
|
333 | 333 | </Docs>
|
|
366 | 366 | <Parameter Name="items" Type="System.Collections.Immutable.ImmutableArray<TDerived>" />
|
367 | 367 | </Parameters>
|
368 | 368 | <Docs>
|
369 |
| - <typeparam name="TDerived">To be added.</typeparam> |
| 369 | + <typeparam name="TDerived">The type of array element to return.</typeparam> |
370 | 370 | <param name="items">The array to initialize the array with. No copy is made.</param>
|
371 |
| - <summary>Initializes a new instance of the <see cref="T:System.Collections.Immutable.ImmutableArray`1" /> struct based on the contents of an existing instance, allowing a covariant static cast to efficiently reuse the existing array.</summary> |
372 |
| - <returns>To be added.</returns> |
| 371 | + <summary>Initializes a new instance of the <see cref="T:System.Collections.Immutable.ImmutableArray`1" /> struct based on the contents of an existing instance, allowing a covariant static cast to efficiently reuse the existing array.</summary> |
| 372 | + <returns>An immutable array instance with elements cast to the new type.</returns> |
373 | 373 | <remarks>
|
374 | 374 | <format type="text/markdown"><![CDATA[
|
375 | 375 |
|
|
2152 | 2152 | <ReturnType>System.Int32</ReturnType>
|
2153 | 2153 | </ReturnValue>
|
2154 | 2154 | <Docs>
|
2155 |
| - <summary>Gets the number of array in the collection.</summary> |
2156 |
| - <value>To be added.</value> |
| 2155 | + <summary>Gets the number of items in the collection.</summary> |
| 2156 | + <value>Number of items in the collection.</value> |
2157 | 2157 | <remarks>To be added.</remarks>
|
2158 | 2158 | <exception cref="T:System.InvalidOperationException">Thrown if the <see cref="P:System.Collections.Immutable.ImmutableArray`1.IsDefault" /> property returns true.</exception>
|
2159 | 2159 | </Docs>
|
|
2421 | 2421 | <ReturnType>System.Int32</ReturnType>
|
2422 | 2422 | </ReturnValue>
|
2423 | 2423 | <Docs>
|
2424 |
| - <summary>Gets the number of array in the collection.</summary> |
2425 |
| - <value>To be added.</value> |
| 2424 | + <summary>Gets the number of items in the collection.</summary> |
| 2425 | + <value>The number of items in the collection.</value> |
2426 | 2426 | <remarks>To be added.</remarks>
|
2427 | 2427 | <exception cref="T:System.InvalidOperationException">Thrown if the <see cref="P:System.Collections.Immutable.ImmutableArray`1.IsDefault" /> property returns true.</exception>
|
2428 | 2428 | </Docs>
|
|
2540 | 2540 | </ReturnValue>
|
2541 | 2541 | <Docs>
|
2542 | 2542 | <summary>Gets the size of the array.</summary>
|
2543 |
| - <value>To be added.</value> |
| 2543 | + <value>The number of items in the collection.</value> |
2544 | 2544 | <remarks>To be added.</remarks>
|
2545 | 2545 | <exception cref="T:System.InvalidOperationException">Thrown if the <see cref="P:System.Collections.Immutable.ImmutableArray`1.IsDefault" /> property returns true.</exception>
|
2546 | 2546 | </Docs>
|
|
2576 | 2576 | <ReturnType>System.Boolean</ReturnType>
|
2577 | 2577 | </ReturnValue>
|
2578 | 2578 | <Docs>
|
2579 |
| - <summary>See the <see cref="T:System.Collections.ICollection" /> interface.</summary> |
2580 |
| - <value>To be added.</value> |
2581 |
| - <remarks>To be added.</remarks> |
| 2579 | + <summary>See the <see cref="T:System.Collections.ICollection" /> interface. Always returns <see langword="true" /> since since immutable collections are thread-safe.</summary> |
| 2580 | + <value>Boolean value determining whether the collection is thread-safe.</value> |
| 2581 | + <remarks> |
| 2582 | + <format type="text/markdown"><![CDATA[ |
| 2583 | +
|
| 2584 | +## Remarks |
| 2585 | +
|
| 2586 | +This member is an explicit interface member implementation. It can be used only when the <xref:System.Collections.Immutable.ImmutableArray`1> instance is cast to an <xref:System.Collections.ICollection> interface. |
| 2587 | +
|
| 2588 | + ]]></format> |
| 2589 | + </remarks> |
2582 | 2590 | </Docs>
|
2583 | 2591 | </Member>
|
2584 | 2592 | <Member MemberName="System.Collections.ICollection.SyncRoot">
|
|
2613 | 2621 | </ReturnValue>
|
2614 | 2622 | <Docs>
|
2615 | 2623 | <summary>Gets the sync root.</summary>
|
2616 |
| - <value>To be added.</value> |
| 2624 | + <value>An object for synchronizing access to the collection.</value> |
2617 | 2625 | <remarks>To be added.</remarks>
|
2618 | 2626 | </Docs>
|
2619 | 2627 | </Member>
|
|
0 commit comments