CNAS取数仪器端升级
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

6100 Zeilen
514KB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <doc>
  3. <assembly>
  4. <name>System.Collections.Immutable</name>
  5. </assembly>
  6. <members>
  7. <member name="T:System.Collections.Frozen.FrozenDictionary">
  8. <summary>Provides a set of initialization methods for instances of the <see cref="T:System.Collections.Frozen.FrozenDictionary`2" /> class.</summary>
  9. </member>
  10. <member name="M:System.Collections.Frozen.FrozenDictionary.ToFrozenDictionary``2(System.Collections.Generic.IEnumerable{``0},System.Func{``0,``1},System.Collections.Generic.IEqualityComparer{``1})">
  11. <summary>Creates a <see cref="T:System.Collections.Frozen.FrozenDictionary`2" /> from an <see cref="T:System.Collections.Generic.IEnumerable`1" /> according to specified key selector function.</summary>
  12. <param name="source">An <see cref="T:System.Collections.Generic.IEnumerable`1" /> from which to create a <see cref="T:System.Collections.Frozen.FrozenDictionary`2" />.</param>
  13. <param name="keySelector">A function to extract a key from each element.</param>
  14. <param name="comparer">An <see cref="T:System.Collections.Generic.IEqualityComparer`1" /> to compare keys.</param>
  15. <typeparam name="TSource">The type of the elements of <paramref name="source" />.</typeparam>
  16. <typeparam name="TKey">The type of the key returned by <paramref name="keySelector" />.</typeparam>
  17. <returns>A <see cref="T:System.Collections.Frozen.FrozenDictionary`2" /> that contains the keys and values selected from the input sequence.</returns>
  18. </member>
  19. <member name="M:System.Collections.Frozen.FrozenDictionary.ToFrozenDictionary``2(System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{``0,``1}},System.Collections.Generic.IEqualityComparer{``0})">
  20. <summary>Creates a <see cref="T:System.Collections.Frozen.FrozenDictionary`2" /> with the specified key/value pairs.</summary>
  21. <param name="source">The key/value pairs to use to populate the dictionary.</param>
  22. <param name="comparer">The comparer implementation to use to compare keys for equality. If <see langword="null" />, <see cref="P:System.Collections.Generic.EqualityComparer`1.Default" /> is used.</param>
  23. <typeparam name="TKey">The type of the keys in the dictionary.</typeparam>
  24. <typeparam name="TValue">The type of the values in the dictionary.</typeparam>
  25. <returns>A <see cref="T:System.Collections.Frozen.FrozenDictionary`2" /> that contains the specified keys and values.</returns>
  26. </member>
  27. <member name="M:System.Collections.Frozen.FrozenDictionary.ToFrozenDictionary``3(System.Collections.Generic.IEnumerable{``0},System.Func{``0,``1},System.Func{``0,``2},System.Collections.Generic.IEqualityComparer{``1})">
  28. <summary>Creates a <see cref="T:System.Collections.Frozen.FrozenDictionary`2" /> from an <see cref="T:System.Collections.Generic.IEnumerable`1" /> according to specified key selector and element selector functions.</summary>
  29. <param name="source">An <see cref="T:System.Collections.Generic.IEnumerable`1" /> from which to create a <see cref="T:System.Collections.Frozen.FrozenDictionary`2" />.</param>
  30. <param name="keySelector">A function to extract a key from each element.</param>
  31. <param name="elementSelector">A transform function to produce a result element value from each element.</param>
  32. <param name="comparer">An <see cref="T:System.Collections.Generic.IEqualityComparer`1" /> to compare keys.</param>
  33. <typeparam name="TSource">The type of the elements of <paramref name="source" />.</typeparam>
  34. <typeparam name="TKey">The type of the key returned by <paramref name="keySelector" />.</typeparam>
  35. <typeparam name="TElement">The type of the value returned by <paramref name="elementSelector" />.</typeparam>
  36. <returns>A <see cref="T:System.Collections.Frozen.FrozenDictionary`2" /> that contains the keys and values selected from the input sequence.</returns>
  37. </member>
  38. <member name="T:System.Collections.Frozen.FrozenDictionary`2">
  39. <summary>Provides an immutable, read-only dictionary optimized for fast lookup and enumeration.</summary>
  40. <typeparam name="TKey">The type of the keys in the dictionary.</typeparam>
  41. <typeparam name="TValue">The type of the values in this dictionary.</typeparam>
  42. </member>
  43. <member name="M:System.Collections.Frozen.FrozenDictionary`2.ContainsKey(`0)">
  44. <summary>Determines whether the dictionary contains the specified key.</summary>
  45. <param name="key">The key to locate in the dictionary.</param>
  46. <returns>
  47. <see langword="true" /> if the dictionary contains an element with the specified key; otherwise, <see langword="false" />.</returns>
  48. </member>
  49. <member name="M:System.Collections.Frozen.FrozenDictionary`2.CopyTo(System.Collections.Generic.KeyValuePair{`0,`1}[],System.Int32)">
  50. <summary>Copies the elements of the dictionary to an array of type <see cref="T:System.Collections.Generic.KeyValuePair`2" />, starting at the specified <paramref name="destinationIndex" />.</summary>
  51. <param name="destination">The array that is the destination of the elements copied from the dictionary.</param>
  52. <param name="destinationIndex">The zero-based index in <paramref name="destination" /> at which copying begins.</param>
  53. </member>
  54. <member name="M:System.Collections.Frozen.FrozenDictionary`2.CopyTo(System.Span{System.Collections.Generic.KeyValuePair{`0,`1}})">
  55. <summary>Copies the elements of the dictionary to a span of type <see cref="T:System.Collections.Generic.KeyValuePair`2" />.</summary>
  56. <param name="destination">The span that is the destination of the elements copied from the dictionary.</param>
  57. </member>
  58. <member name="M:System.Collections.Frozen.FrozenDictionary`2.GetEnumerator">
  59. <summary>Returns an enumerator that iterates through the dictionary.</summary>
  60. <returns>An enumerator that iterates through the dictionary.</returns>
  61. </member>
  62. <member name="M:System.Collections.Frozen.FrozenDictionary`2.GetValueRefOrNullRef(`0)">
  63. <summary>Gets either a reference to a <typeparamref name="TValue" /> in the dictionary or a <see langword="null" /> reference if the key does not exist in the dictionary.</summary>
  64. <param name="key">The key used for lookup.</param>
  65. <returns>A reference to a <typeparamref name="TValue" /> in the dictionary or a <see langword="null" /> reference if the key does not exist in the dictionary.</returns>
  66. </member>
  67. <member name="M:System.Collections.Frozen.FrozenDictionary`2.System#Collections#Generic#ICollection{System#Collections#Generic#KeyValuePair{TKey@TValue}}#Add(System.Collections.Generic.KeyValuePair{`0,`1})">
  68. <summary>Adds an item to the <see cref="T:System.Collections.Generic.ICollection`1" />.</summary>
  69. <param name="item">The object to add to the <see cref="T:System.Collections.Generic.ICollection`1" />.</param>
  70. </member>
  71. <member name="M:System.Collections.Frozen.FrozenDictionary`2.System#Collections#Generic#ICollection{System#Collections#Generic#KeyValuePair{TKey@TValue}}#Clear">
  72. <summary>Removes all items from the <see cref="T:System.Collections.Generic.ICollection`1" />.</summary>
  73. </member>
  74. <member name="M:System.Collections.Frozen.FrozenDictionary`2.System#Collections#Generic#ICollection{System#Collections#Generic#KeyValuePair{TKey@TValue}}#Contains(System.Collections.Generic.KeyValuePair{`0,`1})">
  75. <summary>Determines whether the <see cref="T:System.Collections.Generic.ICollection`1" /> contains a specific value.</summary>
  76. <param name="item">The object to locate in the <see cref="T:System.Collections.Generic.ICollection`1" />.</param>
  77. <returns>
  78. <see langword="true" /> if <paramref name="item" /> is found in the <see cref="T:System.Collections.Generic.ICollection`1" />; otherwise, <see langword="false" />.</returns>
  79. </member>
  80. <member name="M:System.Collections.Frozen.FrozenDictionary`2.System#Collections#Generic#ICollection{System#Collections#Generic#KeyValuePair{TKey@TValue}}#Remove(System.Collections.Generic.KeyValuePair{`0,`1})">
  81. <summary>Removes the first occurrence of a specific object from the <see cref="T:System.Collections.Generic.ICollection`1" />.</summary>
  82. <param name="item">The object to remove from the <see cref="T:System.Collections.Generic.ICollection`1" />.</param>
  83. <returns>
  84. <see langword="true" /> if <paramref name="item" /> was successfully removed from the <see cref="T:System.Collections.Generic.ICollection`1" />; otherwise, <see langword="false" />. This method also returns <see langword="false" /> if <paramref name="item" /> is not found in the original <see cref="T:System.Collections.Generic.ICollection`1" />.</returns>
  85. </member>
  86. <member name="M:System.Collections.Frozen.FrozenDictionary`2.System#Collections#Generic#IDictionary{TKey@TValue}#Add(`0,`1)">
  87. <summary>Adds an element with the provided key and value to the <see cref="T:System.Collections.Generic.IDictionary`2" />.</summary>
  88. <param name="key">The object to use as the key of the element to add.</param>
  89. <param name="value">The object to use as the value of the element to add.</param>
  90. </member>
  91. <member name="M:System.Collections.Frozen.FrozenDictionary`2.System#Collections#Generic#IDictionary{TKey@TValue}#Remove(`0)">
  92. <summary>Removes the element with the specified key from the <see cref="T:System.Collections.Generic.IDictionary`2" />.</summary>
  93. <param name="key">The key of the element to remove.</param>
  94. <returns>
  95. <see langword="true" /> if the element is successfully removed; otherwise, <see langword="false" />. This method also returns <see langword="false" /> if <paramref name="key" /> was not found in the original <see cref="T:System.Collections.Generic.IDictionary`2" />.</returns>
  96. </member>
  97. <member name="M:System.Collections.Frozen.FrozenDictionary`2.System#Collections#Generic#IEnumerable{System#Collections#Generic#KeyValuePair{TKey@TValue}}#GetEnumerator">
  98. <summary>Returns an enumerator that iterates through the collection.</summary>
  99. <returns>An enumerator that can be used to iterate through the collection.</returns>
  100. </member>
  101. <member name="M:System.Collections.Frozen.FrozenDictionary`2.System#Collections#ICollection#CopyTo(System.Array,System.Int32)">
  102. <summary>Copies the elements of the <xref data-throw-if-not-resolved="true" uid="System.Collections.ICollection"></xref> to an <xref data-throw-if-not-resolved="true" uid="System.Array"></xref>, starting at a particular <xref data-throw-if-not-resolved="true" uid="System.Array"></xref> index.</summary>
  103. <param name="array">The one-dimensional <xref data-throw-if-not-resolved="true" uid="System.Array"></xref> that is the destination of the elements copied from <xref data-throw-if-not-resolved="true" uid="System.Collections.ICollection"></xref>. The <xref data-throw-if-not-resolved="true" uid="System.Array"></xref> must have zero-based indexing.</param>
  104. <param name="index">The zero-based index in <code data-dev-comment-type="paramref">array</code> at which copying begins.</param>
  105. </member>
  106. <member name="M:System.Collections.Frozen.FrozenDictionary`2.System#Collections#IDictionary#Add(System.Object,System.Object)">
  107. <summary>Adds an element with the provided key and value to the <xref data-throw-if-not-resolved="true" uid="System.Collections.IDictionary"></xref> object.</summary>
  108. <param name="key">The <xref data-throw-if-not-resolved="true" uid="System.Object"></xref> to use as the key of the element to add.</param>
  109. <param name="value">The <xref data-throw-if-not-resolved="true" uid="System.Object"></xref> to use as the value of the element to add.</param>
  110. </member>
  111. <member name="M:System.Collections.Frozen.FrozenDictionary`2.System#Collections#IDictionary#Clear">
  112. <summary>Removes all elements from the <xref data-throw-if-not-resolved="true" uid="System.Collections.IDictionary"></xref> object.</summary>
  113. </member>
  114. <member name="M:System.Collections.Frozen.FrozenDictionary`2.System#Collections#IDictionary#Contains(System.Object)">
  115. <summary>Determines whether the <xref data-throw-if-not-resolved="true" uid="System.Collections.IDictionary"></xref> object contains an element with the specified key.</summary>
  116. <param name="key">The key to locate in the <xref data-throw-if-not-resolved="true" uid="System.Collections.IDictionary"></xref> object.</param>
  117. <returns>
  118. <code data-dev-comment-type="langword">true</code> if the <xref data-throw-if-not-resolved="true" uid="System.Collections.IDictionary"></xref> contains an element with the key; otherwise, <code data-dev-comment-type="langword">false</code>.</returns>
  119. </member>
  120. <member name="M:System.Collections.Frozen.FrozenDictionary`2.System#Collections#IDictionary#GetEnumerator">
  121. <summary>Returns an <xref data-throw-if-not-resolved="true" uid="System.Collections.IDictionaryEnumerator"></xref> object for the <xref data-throw-if-not-resolved="true" uid="System.Collections.IDictionary"></xref> object.</summary>
  122. <returns>An <xref data-throw-if-not-resolved="true" uid="System.Collections.IDictionaryEnumerator"></xref> object for the <xref data-throw-if-not-resolved="true" uid="System.Collections.IDictionary"></xref> object.</returns>
  123. </member>
  124. <member name="M:System.Collections.Frozen.FrozenDictionary`2.System#Collections#IDictionary#Remove(System.Object)">
  125. <summary>Removes the element with the specified key from the <xref data-throw-if-not-resolved="true" uid="System.Collections.IDictionary"></xref> object.</summary>
  126. <param name="key">The key of the element to remove.</param>
  127. </member>
  128. <member name="M:System.Collections.Frozen.FrozenDictionary`2.System#Collections#IEnumerable#GetEnumerator">
  129. <summary>Returns an enumerator that iterates through a collection.</summary>
  130. <returns>An <xref data-throw-if-not-resolved="true" uid="System.Collections.IEnumerator"></xref> object that can be used to iterate through the collection.</returns>
  131. </member>
  132. <member name="M:System.Collections.Frozen.FrozenDictionary`2.TryGetValue(`0,`1@)">
  133. <summary>Gets the value associated with the specified key.</summary>
  134. <param name="key">The key of the value to get.</param>
  135. <param name="value">When this method returns, contains the value associated with the specified key, if the key is found; otherwise, the default value for the type of <paramref name="value" />.</param>
  136. <returns>
  137. <see langword="true" /> if the dictionary contains an element with the specified key; otherwise, <see langword="false" />.</returns>
  138. </member>
  139. <member name="P:System.Collections.Frozen.FrozenDictionary`2.Comparer">
  140. <summary>Gets the comparer used by this dictionary.</summary>
  141. </member>
  142. <member name="P:System.Collections.Frozen.FrozenDictionary`2.Count">
  143. <summary>Gets the number of key/value pairs contained in the dictionary.</summary>
  144. </member>
  145. <member name="P:System.Collections.Frozen.FrozenDictionary`2.Empty">
  146. <summary>Gets an empty <see cref="T:System.Collections.Frozen.FrozenDictionary`2" />.</summary>
  147. </member>
  148. <member name="P:System.Collections.Frozen.FrozenDictionary`2.Item(`0)">
  149. <summary>Gets a reference to the value associated with the specified key.</summary>
  150. <param name="key">The key of the value to get.</param>
  151. <exception cref="T:System.Collections.Generic.KeyNotFoundException">
  152. <paramref name="key" /> does not exist in the collection.</exception>
  153. <returns>A reference to the value associated with the specified key.</returns>
  154. </member>
  155. <member name="P:System.Collections.Frozen.FrozenDictionary`2.Keys">
  156. <summary>Gets a collection containing the keys in the dictionary.</summary>
  157. </member>
  158. <member name="P:System.Collections.Frozen.FrozenDictionary`2.System#Collections#Generic#ICollection{System#Collections#Generic#KeyValuePair{TKey@TValue}}#IsReadOnly">
  159. <summary>Gets a value indicating whether the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only.</summary>
  160. <returns>
  161. <see langword="true" /> if the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only; otherwise, <see langword="false" />.</returns>
  162. </member>
  163. <member name="P:System.Collections.Frozen.FrozenDictionary`2.System#Collections#Generic#IDictionary{TKey@TValue}#Item(`0)">
  164. <summary>Gets or sets the element with the specified key.</summary>
  165. <param name="key">The key of the element to get or set.</param>
  166. <returns>The element with the specified key.</returns>
  167. </member>
  168. <member name="P:System.Collections.Frozen.FrozenDictionary`2.System#Collections#Generic#IDictionary{TKey@TValue}#Keys">
  169. <summary>Gets an <see cref="T:System.Collections.Generic.ICollection`1" /> containing the keys of the <see cref="T:System.Collections.Generic.IDictionary`2" />.</summary>
  170. <returns>An <see cref="T:System.Collections.Generic.ICollection`1" /> containing the keys of the object that implements <see cref="T:System.Collections.Generic.IDictionary`2" />.</returns>
  171. </member>
  172. <member name="P:System.Collections.Frozen.FrozenDictionary`2.System#Collections#Generic#IDictionary{TKey@TValue}#Values">
  173. <summary>Gets an <see cref="T:System.Collections.Generic.ICollection`1" /> containing the values in the <see cref="T:System.Collections.Generic.IDictionary`2" />.</summary>
  174. <returns>An <see cref="T:System.Collections.Generic.ICollection`1" /> containing the values in the object that implements <see cref="T:System.Collections.Generic.IDictionary`2" />.</returns>
  175. </member>
  176. <member name="P:System.Collections.Frozen.FrozenDictionary`2.System#Collections#Generic#IReadOnlyDictionary{TKey@TValue}#Item(`0)">
  177. <summary>Gets the element that has the specified key in the read-only dictionary.</summary>
  178. <param name="key">The key to locate.</param>
  179. <returns>The element that has the specified key in the read-only dictionary.</returns>
  180. </member>
  181. <member name="P:System.Collections.Frozen.FrozenDictionary`2.System#Collections#Generic#IReadOnlyDictionary{TKey@TValue}#Keys">
  182. <summary>Gets an enumerable collection that contains the keys in the read-only dictionary.</summary>
  183. <returns>An enumerable collection that contains the keys in the read-only dictionary.</returns>
  184. </member>
  185. <member name="P:System.Collections.Frozen.FrozenDictionary`2.System#Collections#Generic#IReadOnlyDictionary{TKey@TValue}#Values">
  186. <summary>Gets an enumerable collection that contains the values in the read-only dictionary.</summary>
  187. <returns>An enumerable collection that contains the values in the read-only dictionary.</returns>
  188. </member>
  189. <member name="P:System.Collections.Frozen.FrozenDictionary`2.System#Collections#ICollection#IsSynchronized">
  190. <summary>Gets a value indicating whether access to the <xref data-throw-if-not-resolved="true" uid="System.Collections.ICollection"></xref> is synchronized (thread safe).</summary>
  191. <returns>
  192. <code data-dev-comment-type="langword">true</code> if access to the <xref data-throw-if-not-resolved="true" uid="System.Collections.ICollection"></xref> is synchronized (thread safe); otherwise, <code data-dev-comment-type="langword">false</code>.</returns>
  193. </member>
  194. <member name="P:System.Collections.Frozen.FrozenDictionary`2.System#Collections#ICollection#SyncRoot">
  195. <summary>Gets an object that can be used to synchronize access to the <xref data-throw-if-not-resolved="true" uid="System.Collections.ICollection"></xref>.</summary>
  196. <returns>An object that can be used to synchronize access to the <xref data-throw-if-not-resolved="true" uid="System.Collections.ICollection"></xref>.</returns>
  197. </member>
  198. <member name="P:System.Collections.Frozen.FrozenDictionary`2.System#Collections#IDictionary#IsFixedSize">
  199. <summary>Gets a value indicating whether the <xref data-throw-if-not-resolved="true" uid="System.Collections.IDictionary"></xref> object has a fixed size.</summary>
  200. <returns>
  201. <code data-dev-comment-type="langword">true</code> if the <xref data-throw-if-not-resolved="true" uid="System.Collections.IDictionary"></xref> object has a fixed size; otherwise, <code data-dev-comment-type="langword">false</code>.</returns>
  202. </member>
  203. <member name="P:System.Collections.Frozen.FrozenDictionary`2.System#Collections#IDictionary#IsReadOnly">
  204. <summary>Gets a value indicating whether the <xref data-throw-if-not-resolved="true" uid="System.Collections.IDictionary"></xref> object is read-only.</summary>
  205. <returns>
  206. <code data-dev-comment-type="langword">true</code> if the <xref data-throw-if-not-resolved="true" uid="System.Collections.IDictionary"></xref> object is read-only; otherwise, <code data-dev-comment-type="langword">false</code>.</returns>
  207. </member>
  208. <member name="P:System.Collections.Frozen.FrozenDictionary`2.System#Collections#IDictionary#Item(System.Object)">
  209. <summary>Gets or sets the element with the specified key.</summary>
  210. <param name="key">The key of the element to get or set.</param>
  211. <returns>The element with the specified key, or <code data-dev-comment-type="langword">null</code> if the key does not exist.</returns>
  212. </member>
  213. <member name="P:System.Collections.Frozen.FrozenDictionary`2.System#Collections#IDictionary#Keys">
  214. <summary>Gets an <xref data-throw-if-not-resolved="true" uid="System.Collections.ICollection"></xref> object containing the keys of the <xref data-throw-if-not-resolved="true" uid="System.Collections.IDictionary"></xref> object.</summary>
  215. <returns>An <xref data-throw-if-not-resolved="true" uid="System.Collections.ICollection"></xref> object containing the keys of the <xref data-throw-if-not-resolved="true" uid="System.Collections.IDictionary"></xref> object.</returns>
  216. </member>
  217. <member name="P:System.Collections.Frozen.FrozenDictionary`2.System#Collections#IDictionary#Values">
  218. <summary>Gets an <xref data-throw-if-not-resolved="true" uid="System.Collections.ICollection"></xref> object containing the values in the <xref data-throw-if-not-resolved="true" uid="System.Collections.IDictionary"></xref> object.</summary>
  219. <returns>An <xref data-throw-if-not-resolved="true" uid="System.Collections.ICollection"></xref> object containing the values in the <xref data-throw-if-not-resolved="true" uid="System.Collections.IDictionary"></xref> object.</returns>
  220. </member>
  221. <member name="P:System.Collections.Frozen.FrozenDictionary`2.Values">
  222. <summary>Gets a collection containing the values in the dictionary.</summary>
  223. </member>
  224. <member name="T:System.Collections.Frozen.FrozenDictionary`2.Enumerator">
  225. <summary>Enumerates the elements of a <see cref="T:System.Collections.Frozen.FrozenDictionary`2" />.</summary>
  226. <typeparam name="TKey" />
  227. <typeparam name="TValue" />
  228. </member>
  229. <member name="M:System.Collections.Frozen.FrozenDictionary`2.Enumerator.MoveNext">
  230. <summary>Advances the enumerator to the next element of the collection.</summary>
  231. <returns>
  232. <code data-dev-comment-type="langword">true</code> if the enumerator was successfully advanced to the next element; <code data-dev-comment-type="langword">false</code> if the enumerator has passed the end of the collection.</returns>
  233. </member>
  234. <member name="M:System.Collections.Frozen.FrozenDictionary`2.Enumerator.System#Collections#IEnumerator#Reset">
  235. <summary>Sets the enumerator to its initial position, which is before the first element in the collection.</summary>
  236. </member>
  237. <member name="M:System.Collections.Frozen.FrozenDictionary`2.Enumerator.System#IDisposable#Dispose">
  238. <summary>Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.</summary>
  239. </member>
  240. <member name="P:System.Collections.Frozen.FrozenDictionary`2.Enumerator.Current">
  241. <summary>Gets the element in the collection at the current position of the enumerator.</summary>
  242. <returns>The element in the collection at the current position of the enumerator.</returns>
  243. </member>
  244. <member name="P:System.Collections.Frozen.FrozenDictionary`2.Enumerator.System#Collections#IEnumerator#Current">
  245. <summary>Gets the element in the collection at the current position of the enumerator.</summary>
  246. <returns>The element in the collection at the current position of the enumerator.</returns>
  247. </member>
  248. <member name="T:System.Collections.Frozen.FrozenSet">
  249. <summary>Provides a set of initialization methods for instances of the <see cref="T:System.Collections.Frozen.FrozenSet`1" /> class.</summary>
  250. </member>
  251. <member name="M:System.Collections.Frozen.FrozenSet.ToFrozenSet``1(System.Collections.Generic.IEnumerable{``0},System.Collections.Generic.IEqualityComparer{``0})">
  252. <summary>Creates a <see cref="T:System.Collections.Frozen.FrozenSet`1" /> with the specified values.</summary>
  253. <param name="source">The values to use to populate the set.</param>
  254. <param name="comparer">The comparer implementation to use to compare values for equality. If <see langword="null" />, <see cref="P:System.Collections.Generic.EqualityComparer`1.Default" /> is used.</param>
  255. <typeparam name="T">The type of the values in the set.</typeparam>
  256. <returns>A frozen set.</returns>
  257. </member>
  258. <member name="T:System.Collections.Frozen.FrozenSet`1">
  259. <summary>Provides an immutable, read-only set optimized for fast lookup and enumeration.</summary>
  260. <typeparam name="T">The type of the values in this set.</typeparam>
  261. </member>
  262. <member name="M:System.Collections.Frozen.FrozenSet`1.Contains(`0)">
  263. <summary>Determines whether the set contains the specified element.</summary>
  264. <param name="item">The element to locate.</param>
  265. <returns>
  266. <see langword="true" /> if the set contains the specified element; otherwise, <see langword="false" />.</returns>
  267. </member>
  268. <member name="M:System.Collections.Frozen.FrozenSet`1.CopyTo(`0[],System.Int32)">
  269. <summary>Copies the values in the set to an array, starting at the specified <paramref name="destinationIndex" />.</summary>
  270. <param name="destination">The array that is the destination of the values copied from the set.</param>
  271. <param name="destinationIndex">The zero-based index in <paramref name="destination" /> at which copying begins.</param>
  272. </member>
  273. <member name="M:System.Collections.Frozen.FrozenSet`1.CopyTo(System.Span{`0})">
  274. <summary>Copies the values in the set to a span.</summary>
  275. <param name="destination">The span that is the destination of the values copied from the set.</param>
  276. </member>
  277. <member name="M:System.Collections.Frozen.FrozenSet`1.GetEnumerator">
  278. <summary>Returns an enumerator that iterates through the set.</summary>
  279. <returns>An enumerator that iterates through the set.</returns>
  280. </member>
  281. <member name="M:System.Collections.Frozen.FrozenSet`1.IsProperSubsetOf(System.Collections.Generic.IEnumerable{`0})">
  282. <summary>Determines whether the current set is a proper (strict) subset of a specified collection.</summary>
  283. <param name="other">The collection to compare to the current set.</param>
  284. <returns>
  285. <code data-dev-comment-type="langword">true</code> if the current set is a proper subset of <code data-dev-comment-type="paramref">other</code>; otherwise, <code data-dev-comment-type="langword">false</code>.</returns>
  286. </member>
  287. <member name="M:System.Collections.Frozen.FrozenSet`1.IsProperSupersetOf(System.Collections.Generic.IEnumerable{`0})">
  288. <summary>Determines whether the current set is a proper (strict) superset of a specified collection.</summary>
  289. <param name="other">The collection to compare to the current set.</param>
  290. <returns>
  291. <code data-dev-comment-type="langword">true</code> if the current set is a proper superset of <code data-dev-comment-type="paramref">other</code>; otherwise, <code data-dev-comment-type="langword">false</code>.</returns>
  292. </member>
  293. <member name="M:System.Collections.Frozen.FrozenSet`1.IsSubsetOf(System.Collections.Generic.IEnumerable{`0})">
  294. <summary>Determines whether a set is a subset of a specified collection.</summary>
  295. <param name="other">The collection to compare to the current set.</param>
  296. <returns>
  297. <code data-dev-comment-type="langword">true</code> if the current set is a subset of <code data-dev-comment-type="paramref">other</code>; otherwise, <code data-dev-comment-type="langword">false</code>.</returns>
  298. </member>
  299. <member name="M:System.Collections.Frozen.FrozenSet`1.IsSupersetOf(System.Collections.Generic.IEnumerable{`0})">
  300. <summary>Determines whether the current set is a superset of a specified collection.</summary>
  301. <param name="other">The collection to compare to the current set.</param>
  302. <returns>
  303. <code data-dev-comment-type="langword">true</code> if the current set is a superset of <code data-dev-comment-type="paramref">other</code>; otherwise, <code data-dev-comment-type="langword">false</code>.</returns>
  304. </member>
  305. <member name="M:System.Collections.Frozen.FrozenSet`1.Overlaps(System.Collections.Generic.IEnumerable{`0})">
  306. <summary>Determines whether the current set overlaps with the specified collection.</summary>
  307. <param name="other">The collection to compare to the current set.</param>
  308. <returns>
  309. <code data-dev-comment-type="langword">true</code> if the current set and <code data-dev-comment-type="paramref">other</code> share at least one common element; otherwise, <code data-dev-comment-type="langword">false</code>.</returns>
  310. </member>
  311. <member name="M:System.Collections.Frozen.FrozenSet`1.SetEquals(System.Collections.Generic.IEnumerable{`0})">
  312. <summary>Determines whether the current set and the specified collection contain the same elements.</summary>
  313. <param name="other">The collection to compare to the current set.</param>
  314. <returns>
  315. <code data-dev-comment-type="langword">true</code> if the current set is equal to <code data-dev-comment-type="paramref">other</code>; otherwise, <code data-dev-comment-type="langword">false</code>.</returns>
  316. </member>
  317. <member name="M:System.Collections.Frozen.FrozenSet`1.System#Collections#Generic#ICollection{T}#Add(`0)">
  318. <summary>Adds an item to the <see cref="T:System.Collections.Generic.ICollection`1" />.</summary>
  319. <param name="item">The object to add to the <see cref="T:System.Collections.Generic.ICollection`1" />.</param>
  320. </member>
  321. <member name="M:System.Collections.Frozen.FrozenSet`1.System#Collections#Generic#ICollection{T}#Clear">
  322. <summary>Removes all items from the <see cref="T:System.Collections.Generic.ICollection`1" />.</summary>
  323. </member>
  324. <member name="M:System.Collections.Frozen.FrozenSet`1.System#Collections#Generic#ICollection{T}#Remove(`0)">
  325. <summary>Removes the first occurrence of a specific object from the <see cref="T:System.Collections.Generic.ICollection`1" />.</summary>
  326. <param name="item">The object to remove from the <see cref="T:System.Collections.Generic.ICollection`1" />.</param>
  327. <returns>
  328. <see langword="true" /> if <paramref name="item" /> was successfully removed from the <see cref="T:System.Collections.Generic.ICollection`1" />; otherwise, <see langword="false" />. This method also returns <see langword="false" /> if <paramref name="item" /> is not found in the original <see cref="T:System.Collections.Generic.ICollection`1" />.</returns>
  329. </member>
  330. <member name="M:System.Collections.Frozen.FrozenSet`1.System#Collections#Generic#IEnumerable{T}#GetEnumerator">
  331. <summary>Returns an enumerator that iterates through the collection.</summary>
  332. <returns>An enumerator that can be used to iterate through the collection.</returns>
  333. </member>
  334. <member name="M:System.Collections.Frozen.FrozenSet`1.System#Collections#Generic#ISet{T}#Add(`0)">
  335. <summary>Adds an element to the current set and returns a value to indicate if the element was successfully added.</summary>
  336. <param name="item">The element to add to the set.</param>
  337. <returns>
  338. <see langword="true" /> if the element is added to the set; <see langword="false" /> if the element is already in the set.</returns>
  339. </member>
  340. <member name="M:System.Collections.Frozen.FrozenSet`1.System#Collections#Generic#ISet{T}#ExceptWith(System.Collections.Generic.IEnumerable{`0})">
  341. <summary>Removes all elements in the specified collection from the current set.</summary>
  342. <param name="other">The collection of items to remove from the set.</param>
  343. </member>
  344. <member name="M:System.Collections.Frozen.FrozenSet`1.System#Collections#Generic#ISet{T}#IntersectWith(System.Collections.Generic.IEnumerable{`0})">
  345. <summary>Modifies the current set so that it contains only elements that are also in a specified collection.</summary>
  346. <param name="other">The collection to compare to the current set.</param>
  347. </member>
  348. <member name="M:System.Collections.Frozen.FrozenSet`1.System#Collections#Generic#ISet{T}#SymmetricExceptWith(System.Collections.Generic.IEnumerable{`0})">
  349. <summary>Modifies the current set so that it contains only elements that are present either in the current set or in the specified collection, but not both.</summary>
  350. <param name="other">The collection to compare to the current set.</param>
  351. </member>
  352. <member name="M:System.Collections.Frozen.FrozenSet`1.System#Collections#Generic#ISet{T}#UnionWith(System.Collections.Generic.IEnumerable{`0})">
  353. <summary>Modifies the current set so that it contains all elements that are present in the current set, in the specified collection, or in both.</summary>
  354. <param name="other">The collection to compare to the current set.</param>
  355. </member>
  356. <member name="M:System.Collections.Frozen.FrozenSet`1.System#Collections#ICollection#CopyTo(System.Array,System.Int32)">
  357. <summary>Copies the elements of the <xref data-throw-if-not-resolved="true" uid="System.Collections.ICollection"></xref> to an <xref data-throw-if-not-resolved="true" uid="System.Array"></xref>, starting at a particular <xref data-throw-if-not-resolved="true" uid="System.Array"></xref> index.</summary>
  358. <param name="array">The one-dimensional <xref data-throw-if-not-resolved="true" uid="System.Array"></xref> that is the destination of the elements copied from <xref data-throw-if-not-resolved="true" uid="System.Collections.ICollection"></xref>. The <xref data-throw-if-not-resolved="true" uid="System.Array"></xref> must have zero-based indexing.</param>
  359. <param name="index">The zero-based index in <code data-dev-comment-type="paramref">array</code> at which copying begins.</param>
  360. </member>
  361. <member name="M:System.Collections.Frozen.FrozenSet`1.System#Collections#IEnumerable#GetEnumerator">
  362. <summary>Returns an enumerator that iterates through a collection.</summary>
  363. <returns>An <xref data-throw-if-not-resolved="true" uid="System.Collections.IEnumerator"></xref> object that can be used to iterate through the collection.</returns>
  364. </member>
  365. <member name="M:System.Collections.Frozen.FrozenSet`1.TryGetValue(`0,`0@)">
  366. <summary>Searches the set for a given value and returns the equal value it finds, if any.</summary>
  367. <param name="equalValue">The value to search for.</param>
  368. <param name="actualValue">The value from the set that the search found, or the default value of T when the search yielded no match.</param>
  369. <returns>A value indicating whether the search was successful.</returns>
  370. </member>
  371. <member name="P:System.Collections.Frozen.FrozenSet`1.Comparer">
  372. <summary>Gets the comparer used by this set.</summary>
  373. </member>
  374. <member name="P:System.Collections.Frozen.FrozenSet`1.Count">
  375. <summary>Gets the number of values contained in the set.</summary>
  376. </member>
  377. <member name="P:System.Collections.Frozen.FrozenSet`1.Empty">
  378. <summary>Gets an empty <see cref="T:System.Collections.Frozen.FrozenSet`1" />.</summary>
  379. </member>
  380. <member name="P:System.Collections.Frozen.FrozenSet`1.Items">
  381. <summary>Gets a collection containing the values in the set.</summary>
  382. </member>
  383. <member name="P:System.Collections.Frozen.FrozenSet`1.System#Collections#Generic#ICollection{T}#IsReadOnly">
  384. <summary>Gets a value indicating whether the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only.</summary>
  385. <returns>
  386. <see langword="true" /> if the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only; otherwise, <see langword="false" />.</returns>
  387. </member>
  388. <member name="P:System.Collections.Frozen.FrozenSet`1.System#Collections#ICollection#IsSynchronized">
  389. <summary>Gets a value indicating whether access to the <xref data-throw-if-not-resolved="true" uid="System.Collections.ICollection"></xref> is synchronized (thread safe).</summary>
  390. <returns>
  391. <code data-dev-comment-type="langword">true</code> if access to the <xref data-throw-if-not-resolved="true" uid="System.Collections.ICollection"></xref> is synchronized (thread safe); otherwise, <code data-dev-comment-type="langword">false</code>.</returns>
  392. </member>
  393. <member name="P:System.Collections.Frozen.FrozenSet`1.System#Collections#ICollection#SyncRoot">
  394. <summary>Gets an object that can be used to synchronize access to the <xref data-throw-if-not-resolved="true" uid="System.Collections.ICollection"></xref>.</summary>
  395. <returns>An object that can be used to synchronize access to the <xref data-throw-if-not-resolved="true" uid="System.Collections.ICollection"></xref>.</returns>
  396. </member>
  397. <member name="T:System.Collections.Frozen.FrozenSet`1.Enumerator">
  398. <summary>Enumerates the values of a <see cref="T:System.Collections.Frozen.FrozenSet`1" />.</summary>
  399. <typeparam name="T" />
  400. </member>
  401. <member name="M:System.Collections.Frozen.FrozenSet`1.Enumerator.MoveNext">
  402. <summary>Advances the enumerator to the next element of the collection.</summary>
  403. <returns>
  404. <code data-dev-comment-type="langword">true</code> if the enumerator was successfully advanced to the next element; <code data-dev-comment-type="langword">false</code> if the enumerator has passed the end of the collection.</returns>
  405. </member>
  406. <member name="M:System.Collections.Frozen.FrozenSet`1.Enumerator.System#Collections#IEnumerator#Reset">
  407. <summary>Sets the enumerator to its initial position, which is before the first element in the collection.</summary>
  408. </member>
  409. <member name="M:System.Collections.Frozen.FrozenSet`1.Enumerator.System#IDisposable#Dispose">
  410. <summary>Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.</summary>
  411. </member>
  412. <member name="P:System.Collections.Frozen.FrozenSet`1.Enumerator.Current">
  413. <summary>Gets the element in the collection at the current position of the enumerator.</summary>
  414. <returns>The element in the collection at the current position of the enumerator.</returns>
  415. </member>
  416. <member name="P:System.Collections.Frozen.FrozenSet`1.Enumerator.System#Collections#IEnumerator#Current">
  417. <summary>Gets the element in the collection at the current position of the enumerator.</summary>
  418. <returns>The element in the collection at the current position of the enumerator.</returns>
  419. </member>
  420. <member name="T:System.Collections.Immutable.IImmutableDictionary`2">
  421. <summary>Represents an immutable collection of key/value pairs.
  422. NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
  423. <typeparam name="TKey">The type of keys in the dictionary.</typeparam>
  424. <typeparam name="TValue">The type of values in the dictionary.</typeparam>
  425. </member>
  426. <member name="M:System.Collections.Immutable.IImmutableDictionary`2.Add(`0,`1)">
  427. <summary>Adds an element with the specified key and value to the dictionary.</summary>
  428. <param name="key">The key of the element to add.</param>
  429. <param name="value">The value of the element to add.</param>
  430. <exception cref="T:System.ArgumentException">The given key already exists in the dictionary but has a different value.</exception>
  431. <returns>A new immutable dictionary that contains the additional key/value pair.</returns>
  432. </member>
  433. <member name="M:System.Collections.Immutable.IImmutableDictionary`2.AddRange(System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{`0,`1}})">
  434. <summary>Adds the specified key/value pairs to the dictionary.</summary>
  435. <param name="pairs">The key/value pairs to add.</param>
  436. <exception cref="T:System.ArgumentException">One of the given keys already exists in the dictionary but has a different value.</exception>
  437. <returns>A new immutable dictionary that contains the additional key/value pairs.</returns>
  438. </member>
  439. <member name="M:System.Collections.Immutable.IImmutableDictionary`2.Clear">
  440. <summary>Retrieves an empty dictionary that has the same ordering and key/value comparison rules as this dictionary instance.</summary>
  441. <returns>An empty dictionary with equivalent ordering and key/value comparison rules.</returns>
  442. </member>
  443. <member name="M:System.Collections.Immutable.IImmutableDictionary`2.Contains(System.Collections.Generic.KeyValuePair{`0,`1})">
  444. <summary>Determines whether the immutable dictionary contains the specified key/value pair.</summary>
  445. <param name="pair">The key/value pair to locate.</param>
  446. <returns>
  447. <see langword="true" /> if the specified key/value pair is found in the dictionary; otherwise, <see langword="false" />.</returns>
  448. </member>
  449. <member name="M:System.Collections.Immutable.IImmutableDictionary`2.Remove(`0)">
  450. <summary>Removes the element with the specified key from the immutable dictionary.</summary>
  451. <param name="key">The key of the element to remove.</param>
  452. <returns>A new immutable dictionary with the specified element removed; or this instance if the specified key cannot be found in the dictionary.</returns>
  453. </member>
  454. <member name="M:System.Collections.Immutable.IImmutableDictionary`2.RemoveRange(System.Collections.Generic.IEnumerable{`0})">
  455. <summary>Removes the elements with the specified keys from the immutable dictionary.</summary>
  456. <param name="keys">The keys of the elements to remove.</param>
  457. <returns>A new immutable dictionary with the specified keys removed; or this instance if the specified keys cannot be found in the dictionary.</returns>
  458. </member>
  459. <member name="M:System.Collections.Immutable.IImmutableDictionary`2.SetItem(`0,`1)">
  460. <summary>Sets the specified key and value in the immutable dictionary, possibly overwriting an existing value for the key.</summary>
  461. <param name="key">The key of the entry to add.</param>
  462. <param name="value">The key value to set.</param>
  463. <returns>A new immutable dictionary that contains the specified key/value pair.</returns>
  464. </member>
  465. <member name="M:System.Collections.Immutable.IImmutableDictionary`2.SetItems(System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{`0,`1}})">
  466. <summary>Sets the specified key/value pairs in the immutable dictionary, possibly overwriting existing values for the keys.</summary>
  467. <param name="items">The key/value pairs to set in the dictionary. If any of the keys already exist in the dictionary, this method will overwrite their previous values.</param>
  468. <returns>A new immutable dictionary that contains the specified key/value pairs.</returns>
  469. </member>
  470. <member name="M:System.Collections.Immutable.IImmutableDictionary`2.TryGetKey(`0,`0@)">
  471. <summary>Determines whether this dictionary contains a specified key.</summary>
  472. <param name="equalKey">The key to search for.</param>
  473. <param name="actualKey">The matching key located in the dictionary if found, or <c>equalkey</c> if no match is found.</param>
  474. <returns>
  475. <see langword="true" /> if a match for <paramref name="equalKey" /> is found; otherwise, <see langword="false" />.</returns>
  476. </member>
  477. <member name="T:System.Collections.Immutable.IImmutableList`1">
  478. <summary>Represents a list of elements that cannot be modified.
  479. NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
  480. <typeparam name="T">The type of elements in the list.</typeparam>
  481. </member>
  482. <member name="M:System.Collections.Immutable.IImmutableList`1.Add(`0)">
  483. <summary>Makes a copy of the list, and adds the specified object to the end of the copied list.</summary>
  484. <param name="value">The object to add to the list.</param>
  485. <returns>A new list with the object added.</returns>
  486. </member>
  487. <member name="M:System.Collections.Immutable.IImmutableList`1.AddRange(System.Collections.Generic.IEnumerable{`0})">
  488. <summary>Makes a copy of the list and adds the specified objects to the end of the copied list.</summary>
  489. <param name="items">The objects to add to the list.</param>
  490. <returns>A new list with the elements added.</returns>
  491. </member>
  492. <member name="M:System.Collections.Immutable.IImmutableList`1.Clear">
  493. <summary>Creates a list with all the items removed, but with the same sorting and ordering semantics as this list.</summary>
  494. <returns>An empty list that has the same sorting and ordering semantics as this instance.</returns>
  495. </member>
  496. <member name="M:System.Collections.Immutable.IImmutableList`1.IndexOf(`0,System.Int32,System.Int32,System.Collections.Generic.IEqualityComparer{`0})">
  497. <summary>Searches for the specified object and returns the zero-based index of the first occurrence within the range of elements in the <see cref="T:System.Collections.Immutable.IImmutableList`1" /> that starts at the specified index and contains the specified number of elements.</summary>
  498. <param name="item">The object to locate in the <see cref="T:System.Collections.Immutable.IImmutableList`1" />. This value can be null for reference types.</param>
  499. <param name="index">The zero-based starting indexes of the search. 0 (zero) is valid in an empty list.</param>
  500. <param name="count">The number of elements in the section to search.</param>
  501. <param name="equalityComparer">The equality comparer to use to locate <paramref name="item" />.</param>
  502. <returns>The zero-based index of the first occurrence of <paramref name="item" /> within the range of elements in the <see cref="T:System.Collections.Immutable.IImmutableList`1" /> that starts at <paramref name="index" /> and contains <paramref name="count" /> number of elements if found; otherwise -1.</returns>
  503. </member>
  504. <member name="M:System.Collections.Immutable.IImmutableList`1.Insert(System.Int32,`0)">
  505. <summary>Inserts the specified element at the specified index in the immutable list.</summary>
  506. <param name="index">The zero-based index at which to insert the value.</param>
  507. <param name="element">The object to insert.</param>
  508. <returns>A new immutable list that includes the specified element.</returns>
  509. </member>
  510. <member name="M:System.Collections.Immutable.IImmutableList`1.InsertRange(System.Int32,System.Collections.Generic.IEnumerable{`0})">
  511. <summary>Inserts the specified elements at the specified index in the immutable list.</summary>
  512. <param name="index">The zero-based index at which the new elements should be inserted.</param>
  513. <param name="items">The elements to insert.</param>
  514. <returns>A new immutable list that includes the specified elements.</returns>
  515. </member>
  516. <member name="M:System.Collections.Immutable.IImmutableList`1.LastIndexOf(`0,System.Int32,System.Int32,System.Collections.Generic.IEqualityComparer{`0})">
  517. <summary>Searches for the specified object and returns the zero-based index of the last occurrence within the range of elements in the <see cref="T:System.Collections.Immutable.IImmutableList`1" /> that contains the specified number of elements and ends at the specified index.</summary>
  518. <param name="item">The object to locate in the list. The value can be <see langword="null" /> for reference types.</param>
  519. <param name="index">The zero-based starting index of the search. 0 (zero) is valid in an empty list.</param>
  520. <param name="count">The number of elements in the section to search.</param>
  521. <param name="equalityComparer">The equality comparer to match <paramref name="item" />.</param>
  522. <returns>Returns <see cref="T:System.Int32" />.</returns>
  523. </member>
  524. <member name="M:System.Collections.Immutable.IImmutableList`1.Remove(`0,System.Collections.Generic.IEqualityComparer{`0})">
  525. <summary>Removes the first occurrence of a specified object from this immutable list.</summary>
  526. <param name="value">The object to remove from the list.</param>
  527. <param name="equalityComparer">The equality comparer to use to locate <paramref name="value" />.</param>
  528. <returns>A new list with the specified object removed.</returns>
  529. </member>
  530. <member name="M:System.Collections.Immutable.IImmutableList`1.RemoveAll(System.Predicate{`0})">
  531. <summary>Removes all the elements that match the conditions defined by the specified predicate.</summary>
  532. <param name="match">The delegate that defines the conditions of the elements to remove.</param>
  533. <returns>A new immutable list with the elements removed.</returns>
  534. </member>
  535. <member name="M:System.Collections.Immutable.IImmutableList`1.RemoveAt(System.Int32)">
  536. <summary>Removes the element at the specified index of the immutable list.</summary>
  537. <param name="index">The index of the element to remove.</param>
  538. <returns>A new list with the element removed.</returns>
  539. </member>
  540. <member name="M:System.Collections.Immutable.IImmutableList`1.RemoveRange(System.Collections.Generic.IEnumerable{`0},System.Collections.Generic.IEqualityComparer{`0})">
  541. <summary>Removes the specified object from the list.</summary>
  542. <param name="items">The objects to remove from the list.</param>
  543. <param name="equalityComparer">The equality comparer to use to determine if <paramref name="items" /> match any objects in the list.</param>
  544. <returns>A new immutable list with the specified objects removed, if <paramref name="items" /> matched objects in the list.</returns>
  545. </member>
  546. <member name="M:System.Collections.Immutable.IImmutableList`1.RemoveRange(System.Int32,System.Int32)">
  547. <summary>Removes a range of elements from the <see cref="T:System.Collections.Immutable.IImmutableList`1" />.</summary>
  548. <param name="index">The zero-based starting index of the range of elements to remove.</param>
  549. <param name="count">The number of elements to remove.</param>
  550. <returns>A new immutable list with the elements removed.</returns>
  551. </member>
  552. <member name="M:System.Collections.Immutable.IImmutableList`1.Replace(`0,`0,System.Collections.Generic.IEqualityComparer{`0})">
  553. <summary>Returns a new list with the first matching element in the list replaced with the specified element.</summary>
  554. <param name="oldValue">The element to be replaced.</param>
  555. <param name="newValue">The element to replace the first occurrence of <paramref name="oldValue" /> with.</param>
  556. <param name="equalityComparer">The equality comparer to use for matching <paramref name="oldValue" />.</param>
  557. <exception cref="T:System.ArgumentException">
  558. <paramref name="oldValue" /> does not exist in the list.</exception>
  559. <returns>A new list that contains <paramref name="newValue" />, even if <paramref name="oldvalue" /> is the same as <paramref name="newValue" />.</returns>
  560. </member>
  561. <member name="M:System.Collections.Immutable.IImmutableList`1.SetItem(System.Int32,`0)">
  562. <summary>Replaces an element in the list at a given position with the specified element.</summary>
  563. <param name="index">The position in the list of the element to replace.</param>
  564. <param name="value">The element to replace the old element with.</param>
  565. <returns>A new list that contains the new element, even if the element at the specified location is the same as the new element.</returns>
  566. </member>
  567. <member name="T:System.Collections.Immutable.IImmutableQueue`1">
  568. <summary>Represents an immutable first-in, first-out collection of objects.
  569. NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
  570. <typeparam name="T">The type of elements in the queue.</typeparam>
  571. </member>
  572. <member name="M:System.Collections.Immutable.IImmutableQueue`1.Clear">
  573. <summary>Returns a new queue with all the elements removed.</summary>
  574. <returns>An empty immutable queue.</returns>
  575. </member>
  576. <member name="M:System.Collections.Immutable.IImmutableQueue`1.Dequeue">
  577. <summary>Removes the first element in the immutable queue, and returns the new queue.</summary>
  578. <exception cref="T:System.InvalidOperationException">The queue is empty.</exception>
  579. <returns>The new immutable queue with the first element removed. This value is never <see langword="null" />.</returns>
  580. </member>
  581. <member name="M:System.Collections.Immutable.IImmutableQueue`1.Enqueue(`0)">
  582. <summary>Adds an element to the end of the immutable queue, and returns the new queue.</summary>
  583. <param name="value">The element to add.</param>
  584. <returns>The new immutable queue with the specified element added.</returns>
  585. </member>
  586. <member name="M:System.Collections.Immutable.IImmutableQueue`1.Peek">
  587. <summary>Returns the element at the beginning of the immutable queue without removing it.</summary>
  588. <exception cref="T:System.InvalidOperationException">The queue is empty.</exception>
  589. <returns>The element at the beginning of the queue.</returns>
  590. </member>
  591. <member name="P:System.Collections.Immutable.IImmutableQueue`1.IsEmpty">
  592. <summary>Gets a value that indicates whether this immutable queue is empty.</summary>
  593. <returns>
  594. <see langword="true" /> if this queue is empty; otherwise, <see langword="false" />.</returns>
  595. </member>
  596. <member name="T:System.Collections.Immutable.IImmutableSet`1">
  597. <summary>Represents a set of elements that can only be modified by creating a new instance of the set.
  598. NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
  599. <typeparam name="T">The type of element stored in the set.</typeparam>
  600. </member>
  601. <member name="M:System.Collections.Immutable.IImmutableSet`1.Add(`0)">
  602. <summary>Adds the specified element to this immutable set.</summary>
  603. <param name="value">The element to add.</param>
  604. <returns>A new set with the element added, or this set if the element is already in the set.</returns>
  605. </member>
  606. <member name="M:System.Collections.Immutable.IImmutableSet`1.Clear">
  607. <summary>Retrieves an empty immutable set that has the same sorting and ordering semantics as this instance.</summary>
  608. <returns>An empty set that has the same sorting and ordering semantics as this instance.</returns>
  609. </member>
  610. <member name="M:System.Collections.Immutable.IImmutableSet`1.Contains(`0)">
  611. <summary>Determines whether this immutable set contains a specified element.</summary>
  612. <param name="value">The element to locate in the set.</param>
  613. <returns>
  614. <see langword="true" /> if the set contains the specified value; otherwise, <see langword="false" />.</returns>
  615. </member>
  616. <member name="M:System.Collections.Immutable.IImmutableSet`1.Except(System.Collections.Generic.IEnumerable{`0})">
  617. <summary>Removes the elements in the specified collection from the current immutable set.</summary>
  618. <param name="other">The collection of items to remove from this set.</param>
  619. <returns>A new set with the items removed; or the original set if none of the items were in the set.</returns>
  620. </member>
  621. <member name="M:System.Collections.Immutable.IImmutableSet`1.Intersect(System.Collections.Generic.IEnumerable{`0})">
  622. <summary>Creates an immutable set that contains only elements that exist in this set and the specified set.</summary>
  623. <param name="other">The collection to compare to the current <see cref="T:System.Collections.Immutable.IImmutableSet`1" />.</param>
  624. <returns>A new immutable set that contains elements that exist in both sets.</returns>
  625. </member>
  626. <member name="M:System.Collections.Immutable.IImmutableSet`1.IsProperSubsetOf(System.Collections.Generic.IEnumerable{`0})">
  627. <summary>Determines whether the current immutable set is a proper (strict) subset of the specified collection.</summary>
  628. <param name="other">The collection to compare to the current set.</param>
  629. <returns>
  630. <see langword="true" /> if the current set is a proper subset of the specified collection; otherwise, <see langword="false" />.</returns>
  631. </member>
  632. <member name="M:System.Collections.Immutable.IImmutableSet`1.IsProperSupersetOf(System.Collections.Generic.IEnumerable{`0})">
  633. <summary>Determines whether the current immutable set is a proper (strict) superset of the specified collection.</summary>
  634. <param name="other">The collection to compare to the current set.</param>
  635. <returns>
  636. <see langword="true" /> if the current set is a proper superset of the specified collection; otherwise, <see langword="false" />.</returns>
  637. </member>
  638. <member name="M:System.Collections.Immutable.IImmutableSet`1.IsSubsetOf(System.Collections.Generic.IEnumerable{`0})">
  639. <summary>Determines whether the current immutable set is a subset of a specified collection.</summary>
  640. <param name="other">The collection to compare to the current set.</param>
  641. <returns>
  642. <see langword="true" /> if the current set is a subset of the specified collection; otherwise, <see langword="false" />.</returns>
  643. </member>
  644. <member name="M:System.Collections.Immutable.IImmutableSet`1.IsSupersetOf(System.Collections.Generic.IEnumerable{`0})">
  645. <summary>Determines whether the current immutable set is a superset of a specified collection.</summary>
  646. <param name="other">The collection to compare to the current set.</param>
  647. <returns>
  648. <see langword="true" /> if the current set is a superset of the specified collection; otherwise, <see langword="false" />.</returns>
  649. </member>
  650. <member name="M:System.Collections.Immutable.IImmutableSet`1.Overlaps(System.Collections.Generic.IEnumerable{`0})">
  651. <summary>Determines whether the current immutable set overlaps with the specified collection.</summary>
  652. <param name="other">The collection to compare to the current set.</param>
  653. <returns>
  654. <see langword="true" /> if the current set and the specified collection share at least one common element; otherwise, <see langword="false" />.</returns>
  655. </member>
  656. <member name="M:System.Collections.Immutable.IImmutableSet`1.Remove(`0)">
  657. <summary>Removes the specified element from this immutable set.</summary>
  658. <param name="value">The element to remove.</param>
  659. <returns>A new set with the specified element removed, or the current set if the element cannot be found in the set.</returns>
  660. </member>
  661. <member name="M:System.Collections.Immutable.IImmutableSet`1.SetEquals(System.Collections.Generic.IEnumerable{`0})">
  662. <summary>Determines whether the current immutable set and the specified collection contain the same elements.</summary>
  663. <param name="other">The collection to compare to the current set.</param>
  664. <returns>
  665. <see langword="true" /> if the sets are equal; otherwise, <see langword="false" />.</returns>
  666. </member>
  667. <member name="M:System.Collections.Immutable.IImmutableSet`1.SymmetricExcept(System.Collections.Generic.IEnumerable{`0})">
  668. <summary>Creates an immutable set that contains only elements that are present either in the current set or in the specified collection, but not both.</summary>
  669. <param name="other">The collection to compare to the current set.</param>
  670. <returns>A new set that contains the elements that are present only in the current set or in the specified collection, but not both.</returns>
  671. </member>
  672. <member name="M:System.Collections.Immutable.IImmutableSet`1.TryGetValue(`0,`0@)">
  673. <summary>Determines whether the set contains a specified value.</summary>
  674. <param name="equalValue">The value to search for.</param>
  675. <param name="actualValue">The matching value from the set, if found, or <c>equalvalue</c> if there are no matches.</param>
  676. <returns>
  677. <see langword="true" /> if a matching value was found; otherwise, <see langword="false" />.</returns>
  678. </member>
  679. <member name="M:System.Collections.Immutable.IImmutableSet`1.Union(System.Collections.Generic.IEnumerable{`0})">
  680. <summary>Creates a new immutable set that contains all elements that are present in either the current set or in the specified collection.</summary>
  681. <param name="other">The collection to add elements from.</param>
  682. <returns>A new immutable set with the items added; or the original set if all the items were already in the set.</returns>
  683. </member>
  684. <member name="T:System.Collections.Immutable.IImmutableStack`1">
  685. <summary>Represents an immutable last-in-first-out (LIFO) collection.
  686. NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
  687. <typeparam name="T">The type of elements in the stack.</typeparam>
  688. </member>
  689. <member name="M:System.Collections.Immutable.IImmutableStack`1.Clear">
  690. <summary>Removes all objects from the immutable stack.</summary>
  691. <returns>An empty immutable stack.</returns>
  692. </member>
  693. <member name="M:System.Collections.Immutable.IImmutableStack`1.Peek">
  694. <summary>Returns the element at the top of the immutable stack without removing it.</summary>
  695. <exception cref="T:System.InvalidOperationException">The stack is empty.</exception>
  696. <returns>The element at the top of the stack.</returns>
  697. </member>
  698. <member name="M:System.Collections.Immutable.IImmutableStack`1.Pop">
  699. <summary>Removes the element at the top of the immutable stack and returns the new stack.</summary>
  700. <exception cref="T:System.InvalidOperationException">The stack is empty.</exception>
  701. <returns>The new stack; never <see langword="null" />.</returns>
  702. </member>
  703. <member name="M:System.Collections.Immutable.IImmutableStack`1.Push(`0)">
  704. <summary>Inserts an element at the top of the immutable stack and returns the new stack.</summary>
  705. <param name="value">The element to push onto the stack.</param>
  706. <returns>The new stack.</returns>
  707. </member>
  708. <member name="P:System.Collections.Immutable.IImmutableStack`1.IsEmpty">
  709. <summary>Gets a value that indicates whether this immutable stack is empty.</summary>
  710. <returns>
  711. <see langword="true" /> if this stack is empty; otherwise,<see langword="false" />.</returns>
  712. </member>
  713. <member name="T:System.Collections.Immutable.ImmutableArray">
  714. <summary>Provides methods for creating an array that is immutable; meaning it cannot be changed once it is created.
  715. NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
  716. </member>
  717. <member name="M:System.Collections.Immutable.ImmutableArray.BinarySearch``1(System.Collections.Immutable.ImmutableArray{``0},``0)">
  718. <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>
  719. <param name="array">The sorted array to search.</param>
  720. <param name="value">The object to search for.</param>
  721. <typeparam name="T">The type of element stored in the array.</typeparam>
  722. <exception cref="T:System.InvalidOperationException">
  723. <paramref name="value" /> does not implement <see cref="T:System.IComparable" /> or the search encounters an element that does not implement <see cref="T:System.IComparable" />.</exception>
  724. <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>
  725. </member>
  726. <member name="M:System.Collections.Immutable.ImmutableArray.BinarySearch``1(System.Collections.Immutable.ImmutableArray{``0},``0,System.Collections.Generic.IComparer{``0})">
  727. <summary>Searches a sorted immutable array for a specified element and returns the zero-based index of the element, if it's found.</summary>
  728. <param name="array">The sorted array to search.</param>
  729. <param name="value">The object to search for.</param>
  730. <param name="comparer">The comparer implementation to use when comparing elements, or null to use the default comparer.</param>
  731. <typeparam name="T">The type of element stored in the array.</typeparam>
  732. <exception cref="T:System.InvalidOperationException">
  733. <paramref name="comparer" /> is null and <paramref name="value" /> does not implement <see cref="T:System.IComparable" /> or the search encounters an element that does not implement <see cref="T:System.IComparable" />.</exception>
  734. <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>
  735. </member>
  736. <member name="M:System.Collections.Immutable.ImmutableArray.BinarySearch``1(System.Collections.Immutable.ImmutableArray{``0},System.Int32,System.Int32,``0)">
  737. <summary>Searches a sorted immutable array for a specified element and returns the zero-based index of the element, if it's found.</summary>
  738. <param name="array">The sorted array to search.</param>
  739. <param name="index">The starting index of the range to search.</param>
  740. <param name="length">The length of the range to search.</param>
  741. <param name="value">The object to search for.</param>
  742. <typeparam name="T">The type of element stored in the array.</typeparam>
  743. <exception cref="T:System.InvalidOperationException">
  744. <paramref name="value" /> does not implement <see cref="T:System.IComparable" /> or the search encounters an element that does not implement <see cref="T:System.IComparable" />.</exception>
  745. <exception cref="T:System.ArgumentException">
  746. <paramref name="index" /> and <paramref name="length" /> do not specify a valid range in <paramref name="array" />.</exception>
  747. <exception cref="T:System.ArgumentOutOfRangeException">
  748. <paramref name="index" /> is less than the lower bound of <paramref name="array" />.
  749. -or-
  750. <paramref name="length" /> is less than zero.</exception>
  751. <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>
  752. </member>
  753. <member name="M:System.Collections.Immutable.ImmutableArray.BinarySearch``1(System.Collections.Immutable.ImmutableArray{``0},System.Int32,System.Int32,``0,System.Collections.Generic.IComparer{``0})">
  754. <summary>Searches a sorted immutable array for a specified element and returns the zero-based index of the element.</summary>
  755. <param name="array">The sorted array to search.</param>
  756. <param name="index">The starting index of the range to search.</param>
  757. <param name="length">The length of the range to search.</param>
  758. <param name="value">The object to search for.</param>
  759. <param name="comparer">The comparer to use when comparing elements for equality or <see langword="null" /> to use the default comparer.</param>
  760. <typeparam name="T">The type of element stored in the array.</typeparam>
  761. <exception cref="T:System.InvalidOperationException">
  762. <paramref name="comparer" /> is null and <paramref name="value" /> does not implement <see cref="T:System.IComparable" /> or the search encounters an element that does not implement <see cref="T:System.IComparable" />.</exception>
  763. <exception cref="T:System.ArgumentException">
  764. <paramref name="index" /> and <paramref name="length" /> do not specify a valid range in <paramref name="array" />.
  765. -or-
  766. <paramref name="comparer" /> is <see langword="null" />, and <paramref name="value" /> is of a type that is not compatible with the elements of <paramref name="array" />.</exception>
  767. <exception cref="T:System.ArgumentOutOfRangeException">
  768. <paramref name="index" /> is less than the lower bound of <paramref name="array" />.
  769. -or-
  770. <paramref name="length" /> is less than zero.</exception>
  771. <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>
  772. </member>
  773. <member name="M:System.Collections.Immutable.ImmutableArray.Create``1">
  774. <summary>Creates an empty immutable array.</summary>
  775. <typeparam name="T">The type of elements stored in the array.</typeparam>
  776. <returns>An empty immutable array.</returns>
  777. </member>
  778. <member name="M:System.Collections.Immutable.ImmutableArray.Create``1(``0)">
  779. <summary>Creates an immutable array that contains the specified object.</summary>
  780. <param name="item">The object to store in the array.</param>
  781. <typeparam name="T">The type of elements stored in the array.</typeparam>
  782. <returns>An immutable array that contains the specified object.</returns>
  783. </member>
  784. <member name="M:System.Collections.Immutable.ImmutableArray.Create``1(``0,``0)">
  785. <summary>Creates an immutable array that contains the specified objects.</summary>
  786. <param name="item1">The first object to store in the array.</param>
  787. <param name="item2">The second object to store in the array.</param>
  788. <typeparam name="T">The type of elements stored in the array.</typeparam>
  789. <returns>An immutable array that contains the specified objects.</returns>
  790. </member>
  791. <member name="M:System.Collections.Immutable.ImmutableArray.Create``1(``0,``0,``0)">
  792. <summary>Creates an immutable array that contains the specified objects.</summary>
  793. <param name="item1">The first object to store in the array.</param>
  794. <param name="item2">The second object to store in the array.</param>
  795. <param name="item3">The third object to store in the array.</param>
  796. <typeparam name="T">The type of elements stored in the array.</typeparam>
  797. <returns>An immutable array that contains the specified objects.</returns>
  798. </member>
  799. <member name="M:System.Collections.Immutable.ImmutableArray.Create``1(``0,``0,``0,``0)">
  800. <summary>Creates an immutable array that contains the specified objects.</summary>
  801. <param name="item1">The first object to store in the array.</param>
  802. <param name="item2">The second object to store in the array.</param>
  803. <param name="item3">The third object to store in the array.</param>
  804. <param name="item4">The fourth object to store in the array.</param>
  805. <typeparam name="T">The type of elements stored in the array.</typeparam>
  806. <returns>An immutable array that contains the specified objects.</returns>
  807. </member>
  808. <member name="M:System.Collections.Immutable.ImmutableArray.Create``1(``0[])">
  809. <summary>Creates an immutable array from the specified array of objects.</summary>
  810. <param name="items">The array of objects to populate the array with.</param>
  811. <typeparam name="T">The type of elements stored in the array.</typeparam>
  812. <returns>An immutable array that contains the array of items.</returns>
  813. </member>
  814. <member name="M:System.Collections.Immutable.ImmutableArray.Create``1(``0[],System.Int32,System.Int32)">
  815. <summary>Creates an immutable array with specified objects from another array.</summary>
  816. <param name="items">The source array of objects.</param>
  817. <param name="start">The index of the first element to copy from <paramref name="items" />.</param>
  818. <param name="length">The number of elements from <paramref name="items" /> to include in this immutable array.</param>
  819. <typeparam name="T">The type of elements stored in the array.</typeparam>
  820. <returns>An immutable array that contains the specified objects from the source array.</returns>
  821. </member>
  822. <member name="M:System.Collections.Immutable.ImmutableArray.Create``1(System.Collections.Immutable.ImmutableArray{``0},System.Int32,System.Int32)">
  823. <summary>Creates an immutable array with the specified objects from another immutable array.</summary>
  824. <param name="items">The source array of objects.</param>
  825. <param name="start">The index of the first element to copy from <paramref name="items" />.</param>
  826. <param name="length">The number of elements from <paramref name="items" /> to include in this immutable array.</param>
  827. <typeparam name="T">The type of elements stored in the array.</typeparam>
  828. <returns>An immutable array that contains the specified objects from the source array.</returns>
  829. </member>
  830. <member name="M:System.Collections.Immutable.ImmutableArray.Create``1(System.ReadOnlySpan{``0})">
  831. <summary>Creates an <see cref="T:System.Collections.Immutable.ImmutableArray`1" /> with the specified elements.</summary>
  832. <param name="items">The elements to store in the array.</param>
  833. <typeparam name="T">The type of element stored in the array.</typeparam>
  834. <returns>An immutable array containing the specified items.</returns>
  835. </member>
  836. <member name="M:System.Collections.Immutable.ImmutableArray.Create``1(System.Span{``0})">
  837. <summary>Creates an <see cref="T:System.Collections.Immutable.ImmutableArray`1" /> with the specified elements.</summary>
  838. <param name="items">The elements to store in the array.</param>
  839. <typeparam name="T">The type of element stored in the array.</typeparam>
  840. <returns>An immutable array containing the specified items.</returns>
  841. </member>
  842. <member name="M:System.Collections.Immutable.ImmutableArray.CreateBuilder``1">
  843. <summary>Creates a mutable array that can be converted to an <see cref="T:System.Collections.Immutable.ImmutableArray" /> without allocating new memory.</summary>
  844. <typeparam name="T">The type of elements stored in the builder.</typeparam>
  845. <returns>A mutable array of the specified type that can be efficiently converted to an immutable array.</returns>
  846. </member>
  847. <member name="M:System.Collections.Immutable.ImmutableArray.CreateBuilder``1(System.Int32)">
  848. <summary>Creates a mutable array that can be converted to an <see cref="T:System.Collections.Immutable.ImmutableArray" /> without allocating new memory.</summary>
  849. <param name="initialCapacity">The initial capacity of the builder.</param>
  850. <typeparam name="T">The type of elements stored in the builder.</typeparam>
  851. <returns>A mutable array of the specified type that can be efficiently converted to an immutable array.</returns>
  852. </member>
  853. <member name="M:System.Collections.Immutable.ImmutableArray.CreateRange``1(System.Collections.Generic.IEnumerable{``0})">
  854. <summary>Creates a new <see cref="T:System.Collections.Immutable.ImmutableArray`1" /> populated with the specified items.</summary>
  855. <param name="items">The elements to add to the array.</param>
  856. <typeparam name="T">The type of element stored in the array.</typeparam>
  857. <returns>An immutable array that contains the specified items.</returns>
  858. </member>
  859. <member name="M:System.Collections.Immutable.ImmutableArray.CreateRange``2(System.Collections.Immutable.ImmutableArray{``0},System.Func{``0,``1})">
  860. <summary>Initializes a new instance of the <see cref="T:System.Collections.Immutable.ImmutableArray`1" /> struct.</summary>
  861. <param name="items">The source array to initialize the resulting array with.</param>
  862. <param name="selector">The function to apply to each element from the source array.</param>
  863. <typeparam name="TSource">The type of element stored in the source array.</typeparam>
  864. <typeparam name="TResult">The type of element to store in the target array.</typeparam>
  865. <returns>An immutable array that contains the specified items.</returns>
  866. </member>
  867. <member name="M:System.Collections.Immutable.ImmutableArray.CreateRange``2(System.Collections.Immutable.ImmutableArray{``0},System.Int32,System.Int32,System.Func{``0,``1})">
  868. <summary>Initializes a new instance of the <see cref="T:System.Collections.Immutable.ImmutableArray`1" /> struct.</summary>
  869. <param name="items">The source array to initialize the resulting array with.</param>
  870. <param name="start">The index of the first element in the source array to include in the resulting array.</param>
  871. <param name="length">The number of elements from the source array to include in the resulting array.</param>
  872. <param name="selector">The function to apply to each element from the source array included in the resulting array.</param>
  873. <typeparam name="TSource">The type of element stored in the source array.</typeparam>
  874. <typeparam name="TResult">The type of element to store in the target array.</typeparam>
  875. <returns>An immutable array that contains the specified items.</returns>
  876. </member>
  877. <member name="M:System.Collections.Immutable.ImmutableArray.CreateRange``3(System.Collections.Immutable.ImmutableArray{``0},System.Func{``0,``1,``2},``1)">
  878. <summary>Initializes a new instance of the <see cref="T:System.Collections.Immutable.ImmutableArray`1" /> struct.</summary>
  879. <param name="items">The source array to initialize the resulting array with.</param>
  880. <param name="selector">The function to apply to each element from the source array.</param>
  881. <param name="arg">An argument to be passed to the selector mapping function.</param>
  882. <typeparam name="TSource">The type of element stored in the source array.</typeparam>
  883. <typeparam name="TArg">The type of argument to pass to the selector mapping function.</typeparam>
  884. <typeparam name="TResult">The type of element to store in the target array.</typeparam>
  885. <returns>An immutable array that contains the specified items.</returns>
  886. </member>
  887. <member name="M:System.Collections.Immutable.ImmutableArray.CreateRange``3(System.Collections.Immutable.ImmutableArray{``0},System.Int32,System.Int32,System.Func{``0,``1,``2},``1)">
  888. <summary>Initializes a new instance of the <see cref="T:System.Collections.Immutable.ImmutableArray`1" /> struct.</summary>
  889. <param name="items">The source array to initialize the resulting array with.</param>
  890. <param name="start">The index of the first element in the source array to include in the resulting array.</param>
  891. <param name="length">The number of elements from the source array to include in the resulting array.</param>
  892. <param name="selector">The function to apply to each element from the source array included in the resulting array.</param>
  893. <param name="arg">An argument to be passed to the selector mapping function.</param>
  894. <typeparam name="TSource">The type of element stored in the source array.</typeparam>
  895. <typeparam name="TArg">The type of argument to be passed to the selector mapping function.</typeparam>
  896. <typeparam name="TResult">The type of element to be stored in the target array.</typeparam>
  897. <returns>An immutable array that contains the specified items.</returns>
  898. </member>
  899. <member name="M:System.Collections.Immutable.ImmutableArray.ToImmutableArray``1(System.Collections.Generic.IEnumerable{``0})">
  900. <summary>Creates an immutable array from the specified collection.</summary>
  901. <param name="items">The collection of objects to copy to the immutable array.</param>
  902. <typeparam name="TSource">The type of elements contained in <paramref name="items" />.</typeparam>
  903. <returns>An immutable array that contains the specified collection of objects.</returns>
  904. </member>
  905. <member name="M:System.Collections.Immutable.ImmutableArray.ToImmutableArray``1(System.Collections.Immutable.ImmutableArray{``0}.Builder)">
  906. <summary>Creates an immutable array from the current contents of the builder's array.</summary>
  907. <param name="builder">The builder to create the immutable array from.</param>
  908. <typeparam name="TSource">The type of elements contained in the immutable array.</typeparam>
  909. <returns>An immutable array that contains the current contents of the builder's array.</returns>
  910. </member>
  911. <member name="M:System.Collections.Immutable.ImmutableArray.ToImmutableArray``1(System.ReadOnlySpan{``0})">
  912. <summary>Produce an immutable array of contents from specified elements.</summary>
  913. <param name="items">The elements to store in the array.</param>
  914. <typeparam name="T">The type of element in the list.</typeparam>
  915. <returns>An immutable array containing the items in the span.</returns>
  916. </member>
  917. <member name="M:System.Collections.Immutable.ImmutableArray.ToImmutableArray``1(System.Span{``0})">
  918. <summary>Converts the span to an immutable array.</summary>
  919. <param name="items">The elements to store in the array.</param>
  920. <typeparam name="T">The type of element in the list.</typeparam>
  921. <returns>An immutable array containing the items in the span.</returns>
  922. </member>
  923. <member name="T:System.Collections.Immutable.ImmutableArray`1">
  924. <summary>Represents an array that is immutable; meaning it cannot be changed once it is created.
  925. NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
  926. <typeparam name="T">The type of element stored by the array.</typeparam>
  927. </member>
  928. <member name="F:System.Collections.Immutable.ImmutableArray`1.Empty">
  929. <summary>Gets an empty immutable array.</summary>
  930. </member>
  931. <member name="M:System.Collections.Immutable.ImmutableArray`1.Add(`0)">
  932. <summary>Returns a copy of the original array with the specified item added to the end.</summary>
  933. <param name="item">The item to be added to the end of the array.</param>
  934. <returns>A new array with the specified item added to the end.</returns>
  935. </member>
  936. <member name="M:System.Collections.Immutable.ImmutableArray`1.AddRange(`0[])">
  937. <summary>Adds the specified values to this list.</summary>
  938. <param name="items">The values to add.</param>
  939. <returns>A new list with the elements added.</returns>
  940. </member>
  941. <member name="M:System.Collections.Immutable.ImmutableArray`1.AddRange(`0[],System.Int32)">
  942. <summary>Adds the specified items to the end of the array.</summary>
  943. <param name="items">The values to add.</param>
  944. <param name="length">The number of elements from the source array to add.</param>
  945. <returns>A new list with the elements added.</returns>
  946. </member>
  947. <member name="M:System.Collections.Immutable.ImmutableArray`1.AddRange(System.Collections.Generic.IEnumerable{`0})">
  948. <summary>Returns a copy of the original array with the specified elements added to the end of the array.</summary>
  949. <param name="items">The elements to add to the array.</param>
  950. <returns>A new array with the elements added.</returns>
  951. </member>
  952. <member name="M:System.Collections.Immutable.ImmutableArray`1.AddRange(System.Collections.Immutable.ImmutableArray{`0})">
  953. <summary>Returns a copy of the original array with the specified elements added to the end of the array.</summary>
  954. <param name="items">The elements to add to the array.</param>
  955. <returns>A new array with the elements added.</returns>
  956. </member>
  957. <member name="M:System.Collections.Immutable.ImmutableArray`1.AddRange(System.Collections.Immutable.ImmutableArray{`0},System.Int32)">
  958. <summary>Adds the specified items to the end of the array.</summary>
  959. <param name="items">The values to add.</param>
  960. <param name="length">The number of elements from the source array to add.</param>
  961. <returns>A new list with the elements added.</returns>
  962. </member>
  963. <member name="M:System.Collections.Immutable.ImmutableArray`1.AddRange(System.ReadOnlySpan{`0})">
  964. <summary>Adds the specified values to this list.</summary>
  965. <param name="items">The values to add.</param>
  966. <returns>A new list with the elements added.</returns>
  967. </member>
  968. <member name="M:System.Collections.Immutable.ImmutableArray`1.AddRange``1(``0[])">
  969. <summary>Adds the specified items to the end of the array.</summary>
  970. <param name="items">The values to add.</param>
  971. <typeparam name="TDerived">The type that derives from the type of item already in the array.</typeparam>
  972. <returns>A new list with the elements added.</returns>
  973. </member>
  974. <member name="M:System.Collections.Immutable.ImmutableArray`1.AddRange``1(System.Collections.Immutable.ImmutableArray{``0})">
  975. <summary>Adds the specified items to the end of the array.</summary>
  976. <param name="items">The values to add.</param>
  977. <typeparam name="TDerived">The type that derives from the type of item already in the array.</typeparam>
  978. <returns>A new list with the elements added.</returns>
  979. </member>
  980. <member name="M:System.Collections.Immutable.ImmutableArray`1.As``1">
  981. <summary>Returns a new immutable array that contains the elements of this array cast to a different type.</summary>
  982. <typeparam name="TOther">The type of array element to return.</typeparam>
  983. <returns>An immutable array that contains the elements of this array, cast to a different type. If the cast fails, returns an array whose <see cref="P:System.Collections.Immutable.ImmutableArray`1.IsDefault" /> property returns <see langword="true" />.</returns>
  984. </member>
  985. <member name="M:System.Collections.Immutable.ImmutableArray`1.AsMemory">
  986. <summary>Creates a new read-only memory region over this immutable array.</summary>
  987. <returns>The read-only memory representation of this immutable array.</returns>
  988. </member>
  989. <member name="M:System.Collections.Immutable.ImmutableArray`1.AsSpan">
  990. <summary>Creates a new read-only span over this immutable array.</summary>
  991. <returns>The read-only span representation of this immutable array.</returns>
  992. </member>
  993. <member name="M:System.Collections.Immutable.ImmutableArray`1.AsSpan(System.Int32,System.Int32)">
  994. <summary>Creates a <see cref="T:System.ReadOnlySpan`1" /> over the portion of the current <see cref="T:System.Collections.Immutable.ImmutableArray`1" />, beginning at a specified position for a specified length.</summary>
  995. <param name="start">The index at which to begin the span.</param>
  996. <param name="length">The number of items in the span.</param>
  997. <returns>The <see cref="T:System.ReadOnlySpan`1" /> representation of the <see cref="T:System.Collections.Immutable.ImmutableArray`1" />.</returns>
  998. </member>
  999. <member name="M:System.Collections.Immutable.ImmutableArray`1.AsSpan(System.Range)">
  1000. <summary>Creates a span over the portion of the current <see cref="T:System.Collections.Immutable.ImmutableArray`1" /> based on the specified <paramref name="range" />.</summary>
  1001. <param name="range">A range in the current <see cref="T:System.Collections.Immutable.ImmutableArray`1" />.</param>
  1002. <returns>A span representation of the <see cref="T:System.Collections.Immutable.ImmutableArray`1" />.</returns>
  1003. </member>
  1004. <member name="M:System.Collections.Immutable.ImmutableArray`1.CastArray``1">
  1005. <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>
  1006. <typeparam name="TOther">The type of array element to return.</typeparam>
  1007. <exception cref="T:System.InvalidCastException">The cast is illegal.</exception>
  1008. <returns>An immutable array instance with elements cast to the new type.</returns>
  1009. </member>
  1010. <member name="M:System.Collections.Immutable.ImmutableArray`1.CastUp``1(System.Collections.Immutable.ImmutableArray{``0})">
  1011. <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>
  1012. <param name="items">The array to initialize the array with. No copy is made.</param>
  1013. <typeparam name="TDerived">The type of array element to return.</typeparam>
  1014. <returns>An immutable array instance with elements cast to the new type.</returns>
  1015. </member>
  1016. <member name="M:System.Collections.Immutable.ImmutableArray`1.Clear">
  1017. <summary>Returns an array with all the elements removed.</summary>
  1018. <returns>An array with all of the elements removed.</returns>
  1019. </member>
  1020. <member name="M:System.Collections.Immutable.ImmutableArray`1.Contains(`0)">
  1021. <summary>Determines whether the specified item exists in the array.</summary>
  1022. <param name="item">The item to search for.</param>
  1023. <returns>
  1024. <see langword="true" /> if the specified item was found in the array; otherwise <see langword="false" />.</returns>
  1025. </member>
  1026. <member name="M:System.Collections.Immutable.ImmutableArray`1.Contains(`0,System.Collections.Generic.IEqualityComparer{`0})">
  1027. <summary>Determines whether the specified item exists in the array.</summary>
  1028. <param name="item">The item to search for.</param>
  1029. <param name="equalityComparer">The equality comparer to use in the search.
  1030. If <see langword="null" />, <see cref="P:System.Collections.Generic.EqualityComparer`1.Default" /> is used.</param>
  1031. <returns>
  1032. <see langword="true" /> if an equal value was found in the array; <see langword="false" /> otherwise.</returns>
  1033. </member>
  1034. <member name="M:System.Collections.Immutable.ImmutableArray`1.CopyTo(`0[])">
  1035. <summary>Copies the contents of this array to the specified array.</summary>
  1036. <param name="destination">The array to copy to.</param>
  1037. </member>
  1038. <member name="M:System.Collections.Immutable.ImmutableArray`1.CopyTo(`0[],System.Int32)">
  1039. <summary>Copies the contents of this array to the specified array starting at the specified destination index.</summary>
  1040. <param name="destination">The array to copy to.</param>
  1041. <param name="destinationIndex">The index in <paramref name="array" /> where copying begins.</param>
  1042. </member>
  1043. <member name="M:System.Collections.Immutable.ImmutableArray`1.CopyTo(System.Int32,`0[],System.Int32,System.Int32)">
  1044. <summary>Copies the specified items in this array to the specified array at the specified starting index.</summary>
  1045. <param name="sourceIndex">The index of this array where copying begins.</param>
  1046. <param name="destination">The array to copy to.</param>
  1047. <param name="destinationIndex">The index in <paramref name="array" /> where copying begins.</param>
  1048. <param name="length">The number of elements to copy from this array.</param>
  1049. </member>
  1050. <member name="M:System.Collections.Immutable.ImmutableArray`1.CopyTo(System.Span{`0})">
  1051. <summary>Copies the elements of current <see cref="T:System.Collections.Immutable.ImmutableArray`1" /> to a <see cref="T:System.Span`1" />.</summary>
  1052. <param name="destination">The <see cref="T:System.Span`1" /> that is the destination of the elements copied from current <see cref="T:System.Collections.Immutable.ImmutableArray`1" />.</param>
  1053. </member>
  1054. <member name="M:System.Collections.Immutable.ImmutableArray`1.Equals(System.Collections.Immutable.ImmutableArray{`0})">
  1055. <summary>Indicates whether specified array is equal to this array.</summary>
  1056. <param name="other">An object to compare with this object.</param>
  1057. <returns>
  1058. <see langword="true" /> if <paramref name="other" /> is equal to this array; otherwise, <see langword="false" />.</returns>
  1059. </member>
  1060. <member name="M:System.Collections.Immutable.ImmutableArray`1.Equals(System.Object)">
  1061. <summary>Determines if this array is equal to the specified object.</summary>
  1062. <param name="obj">The <see cref="T:System.Object" /> to compare with this array.</param>
  1063. <returns>
  1064. <see langword="true" /> if this array is equal to <paramref name="obj" />; otherwise, <see langword="false" />.</returns>
  1065. </member>
  1066. <member name="M:System.Collections.Immutable.ImmutableArray`1.GetEnumerator">
  1067. <summary>Returns an enumerator that iterates through the contents of the array.</summary>
  1068. <returns>An enumerator.</returns>
  1069. </member>
  1070. <member name="M:System.Collections.Immutable.ImmutableArray`1.GetHashCode">
  1071. <summary>Returns a hash code for this instance.</summary>
  1072. <returns>A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.</returns>
  1073. </member>
  1074. <member name="M:System.Collections.Immutable.ImmutableArray`1.IndexOf(`0)">
  1075. <summary>Searches the array for the specified item.</summary>
  1076. <param name="item">The item to search for.</param>
  1077. <returns>The zero-based index position of the item if it is found, or -1 if it is not.</returns>
  1078. </member>
  1079. <member name="M:System.Collections.Immutable.ImmutableArray`1.IndexOf(`0,System.Int32)">
  1080. <summary>Searches the array for the specified item.</summary>
  1081. <param name="item">The item to search for.</param>
  1082. <param name="startIndex">The index at which to begin the search.</param>
  1083. <returns>The zero-based index position of the item if it is found, or -1 if it is not.</returns>
  1084. </member>
  1085. <member name="M:System.Collections.Immutable.ImmutableArray`1.IndexOf(`0,System.Int32,System.Collections.Generic.IEqualityComparer{`0})">
  1086. <summary>Searches the array for the specified item.</summary>
  1087. <param name="item">The item to search for.</param>
  1088. <param name="startIndex">The index at which to begin the search.</param>
  1089. <param name="equalityComparer">The equality comparer to use in the search.</param>
  1090. <returns>The zero-based index position of the item if it is found, or -1 if it is not.</returns>
  1091. </member>
  1092. <member name="M:System.Collections.Immutable.ImmutableArray`1.IndexOf(`0,System.Int32,System.Int32)">
  1093. <summary>Searches the array for the specified item.</summary>
  1094. <param name="item">The item to search for.</param>
  1095. <param name="startIndex">The index at which to begin the search.</param>
  1096. <param name="count">The number of elements to search.</param>
  1097. <returns>The zero-based index position of the item if it is found, or -1 if it is not.</returns>
  1098. </member>
  1099. <member name="M:System.Collections.Immutable.ImmutableArray`1.IndexOf(`0,System.Int32,System.Int32,System.Collections.Generic.IEqualityComparer{`0})">
  1100. <summary>Searches the array for the specified item.</summary>
  1101. <param name="item">The item to search for.</param>
  1102. <param name="startIndex">The index at which to begin the search.</param>
  1103. <param name="count">The number of elements to search.</param>
  1104. <param name="equalityComparer">The equality comparer to use in the search.</param>
  1105. <returns>The zero-based index position of the item if it is found, or -1 if it is not.</returns>
  1106. </member>
  1107. <member name="M:System.Collections.Immutable.ImmutableArray`1.Insert(System.Int32,`0)">
  1108. <summary>Returns a new array with the specified value inserted at the specified position.</summary>
  1109. <param name="index">The 0-based index into the array at which the new item should be added.</param>
  1110. <param name="item">The item to insert at the start of the array.</param>
  1111. <returns>A new array with the item inserted at the specified index.</returns>
  1112. </member>
  1113. <member name="M:System.Collections.Immutable.ImmutableArray`1.InsertRange(System.Int32,`0[])">
  1114. <summary>Inserts the specified values at the specified index.</summary>
  1115. <param name="index">The index at which to insert the value.</param>
  1116. <param name="items">The elements to insert.</param>
  1117. <returns>The new immutable collection.</returns>
  1118. </member>
  1119. <member name="M:System.Collections.Immutable.ImmutableArray`1.InsertRange(System.Int32,System.Collections.Generic.IEnumerable{`0})">
  1120. <summary>Inserts the specified values at the specified index.</summary>
  1121. <param name="index">The index at which to insert the value.</param>
  1122. <param name="items">The elements to insert.</param>
  1123. <returns>A new immutable array with the items inserted at the specified index.</returns>
  1124. </member>
  1125. <member name="M:System.Collections.Immutable.ImmutableArray`1.InsertRange(System.Int32,System.Collections.Immutable.ImmutableArray{`0})">
  1126. <summary>Inserts the specified values at the specified index.</summary>
  1127. <param name="index">The index at which to insert the value.</param>
  1128. <param name="items">The elements to insert.</param>
  1129. <returns>A new immutable array with the items inserted at the specified index.</returns>
  1130. </member>
  1131. <member name="M:System.Collections.Immutable.ImmutableArray`1.InsertRange(System.Int32,System.ReadOnlySpan{`0})">
  1132. <summary>Inserts the specified values at the specified index.</summary>
  1133. <param name="index">The index at which to insert the value.</param>
  1134. <param name="items">The elements to insert.</param>
  1135. <returns>The new immutable collection.</returns>
  1136. </member>
  1137. <member name="M:System.Collections.Immutable.ImmutableArray`1.ItemRef(System.Int32)">
  1138. <summary>Gets a read-only reference to the element at the specified <paramref name="index" /> in the read-only list.</summary>
  1139. <param name="index">The zero-based index of the element to get a reference to.</param>
  1140. <returns>A read-only reference to the element at the specified <paramref name="index" /> in the read-only list.</returns>
  1141. </member>
  1142. <member name="M:System.Collections.Immutable.ImmutableArray`1.LastIndexOf(`0)">
  1143. <summary>Searches the array for the specified item; starting at the end of the array.</summary>
  1144. <param name="item">The item to search for.</param>
  1145. <returns>The 0-based index into the array where the item was found; or -1 if it could not be found.</returns>
  1146. </member>
  1147. <member name="M:System.Collections.Immutable.ImmutableArray`1.LastIndexOf(`0,System.Int32)">
  1148. <summary>Searches the array for the specified item; starting at the end of the array.</summary>
  1149. <param name="item">The item to search for.</param>
  1150. <param name="startIndex">The index at which to begin the search.</param>
  1151. <returns>The 0-based index into the array where the item was found; or -1 if it could not be found.</returns>
  1152. </member>
  1153. <member name="M:System.Collections.Immutable.ImmutableArray`1.LastIndexOf(`0,System.Int32,System.Int32)">
  1154. <summary>Searches the array for the specified item; starting at the end of the array.</summary>
  1155. <param name="item">The item to search for.</param>
  1156. <param name="startIndex">The index at which to begin the search.</param>
  1157. <param name="count">The number of elements to search.</param>
  1158. <returns>The 0-based index into the array where the item was found; or -1 if it could not be found.</returns>
  1159. </member>
  1160. <member name="M:System.Collections.Immutable.ImmutableArray`1.LastIndexOf(`0,System.Int32,System.Int32,System.Collections.Generic.IEqualityComparer{`0})">
  1161. <summary>Searches the array for the specified item; starting at the end of the array.</summary>
  1162. <param name="item">The item to search for.</param>
  1163. <param name="startIndex">The index at which to begin the search.</param>
  1164. <param name="count">The number of elements to search.</param>
  1165. <param name="equalityComparer">The equality comparer to use in the search.</param>
  1166. <returns>The 0-based index into the array where the item was found; or -1 if it could not be found.</returns>
  1167. </member>
  1168. <member name="M:System.Collections.Immutable.ImmutableArray`1.OfType``1">
  1169. <summary>Filters the elements of this array to those assignable to the specified type.</summary>
  1170. <typeparam name="TResult">The type to filter the elements of the sequence on.</typeparam>
  1171. <returns>An <see cref="T:System.Collections.IEnumerable" /> that contains elements from the input sequence of type of <paramref name="TResult" />.</returns>
  1172. </member>
  1173. <member name="M:System.Collections.Immutable.ImmutableArray`1.op_Equality(System.Collections.Immutable.ImmutableArray{`0},System.Collections.Immutable.ImmutableArray{`0})">
  1174. <summary>Returns a value that indicates if two arrays are equal.</summary>
  1175. <param name="left">The array to the left of the operator.</param>
  1176. <param name="right">The array to the right of the operator.</param>
  1177. <returns>
  1178. <see langword="true" /> if the arrays are equal; otherwise, <see langword="false" />.</returns>
  1179. </member>
  1180. <member name="M:System.Collections.Immutable.ImmutableArray`1.op_Equality(System.Nullable{System.Collections.Immutable.ImmutableArray{`0}},System.Nullable{System.Collections.Immutable.ImmutableArray{`0}})">
  1181. <summary>Returns a value that indicates if two arrays are equal.</summary>
  1182. <param name="left">The array to the left of the operator.</param>
  1183. <param name="right">The array to the right of the operator.</param>
  1184. <returns>
  1185. <see langword="true" /> if the arrays are equal; otherwise, <see langword="false" />.</returns>
  1186. </member>
  1187. <member name="M:System.Collections.Immutable.ImmutableArray`1.op_Inequality(System.Collections.Immutable.ImmutableArray{`0},System.Collections.Immutable.ImmutableArray{`0})">
  1188. <summary>Returns a value that indicates whether two arrays are not equal.</summary>
  1189. <param name="left">The array to the left of the operator.</param>
  1190. <param name="right">The array to the right of the operator.</param>
  1191. <returns>
  1192. <see langword="true" /> if the arrays are not equal; otherwise, <see langword="false" />.</returns>
  1193. </member>
  1194. <member name="M:System.Collections.Immutable.ImmutableArray`1.op_Inequality(System.Nullable{System.Collections.Immutable.ImmutableArray{`0}},System.Nullable{System.Collections.Immutable.ImmutableArray{`0}})">
  1195. <summary>Checks for inequality between two array.</summary>
  1196. <param name="left">The object to the left of the operator.</param>
  1197. <param name="right">The object to the right of the operator.</param>
  1198. <returns>
  1199. <see langword="true" /> if the two arrays are not equal; otherwise, <see langword="false" />.</returns>
  1200. </member>
  1201. <member name="M:System.Collections.Immutable.ImmutableArray`1.Remove(`0)">
  1202. <summary>Returns an array with the first occurrence of the specified element removed from the array. If no match is found, the current array is returned.</summary>
  1203. <param name="item">The item to remove.</param>
  1204. <returns>A new array with the item removed.</returns>
  1205. </member>
  1206. <member name="M:System.Collections.Immutable.ImmutableArray`1.Remove(`0,System.Collections.Generic.IEqualityComparer{`0})">
  1207. <summary>Returns an array with the first occurrence of the specified element removed from the array.
  1208. If no match is found, the current array is returned.</summary>
  1209. <param name="item">The item to remove.</param>
  1210. <param name="equalityComparer">The equality comparer to use in the search.</param>
  1211. <returns>A new array with the specified item removed.</returns>
  1212. </member>
  1213. <member name="M:System.Collections.Immutable.ImmutableArray`1.RemoveAll(System.Predicate{`0})">
  1214. <summary>Removes all the items from the array that meet the specified condition.</summary>
  1215. <param name="match">The delegate that defines the conditions of the elements to remove.</param>
  1216. <returns>A new array with items that meet the specified condition removed.</returns>
  1217. </member>
  1218. <member name="M:System.Collections.Immutable.ImmutableArray`1.RemoveAt(System.Int32)">
  1219. <summary>Returns an array with the element at the specified position removed.</summary>
  1220. <param name="index">The 0-based index of the element to remove from the returned array.</param>
  1221. <returns>A new array with the item at the specified index removed.</returns>
  1222. </member>
  1223. <member name="M:System.Collections.Immutable.ImmutableArray`1.RemoveRange(`0[],System.Collections.Generic.IEqualityComparer{`0})">
  1224. <summary>Removes the specified values from this list.</summary>
  1225. <param name="items">The items to remove if matches are found in this list.</param>
  1226. <param name="equalityComparer">The equality comparer to use in the search.</param>
  1227. <returns>A new list with the elements removed.</returns>
  1228. </member>
  1229. <member name="M:System.Collections.Immutable.ImmutableArray`1.RemoveRange(System.Collections.Generic.IEnumerable{`0})">
  1230. <summary>Removes the specified items from this array.</summary>
  1231. <param name="items">The items to remove if matches are found in this list.</param>
  1232. <returns>A new array with the elements removed.</returns>
  1233. </member>
  1234. <member name="M:System.Collections.Immutable.ImmutableArray`1.RemoveRange(System.Collections.Generic.IEnumerable{`0},System.Collections.Generic.IEqualityComparer{`0})">
  1235. <summary>Removes the specified items from this array.</summary>
  1236. <param name="items">The items to remove if matches are found in this list.</param>
  1237. <param name="equalityComparer">The equality comparer to use in the search.</param>
  1238. <returns>A new array with the elements removed.</returns>
  1239. </member>
  1240. <member name="M:System.Collections.Immutable.ImmutableArray`1.RemoveRange(System.Collections.Immutable.ImmutableArray{`0})">
  1241. <summary>Removes the specified values from this list.</summary>
  1242. <param name="items">The items to remove if matches are found in this list.</param>
  1243. <returns>A new list with the elements removed.</returns>
  1244. </member>
  1245. <member name="M:System.Collections.Immutable.ImmutableArray`1.RemoveRange(System.Collections.Immutable.ImmutableArray{`0},System.Collections.Generic.IEqualityComparer{`0})">
  1246. <summary>Removes the specified items from this list.</summary>
  1247. <param name="items">The items to remove if matches are found in this list.</param>
  1248. <param name="equalityComparer">The equality comparer to use in the search.</param>
  1249. <returns>A new array with the elements removed.</returns>
  1250. </member>
  1251. <member name="M:System.Collections.Immutable.ImmutableArray`1.RemoveRange(System.Int32,System.Int32)">
  1252. <summary>Returns an array with the elements at the specified position removed.</summary>
  1253. <param name="index">The 0-based index of the starting element to remove from the array.</param>
  1254. <param name="length">The number of elements to remove from the array.</param>
  1255. <returns>The new array with the specified elements removed.</returns>
  1256. </member>
  1257. <member name="M:System.Collections.Immutable.ImmutableArray`1.RemoveRange(System.ReadOnlySpan{`0},System.Collections.Generic.IEqualityComparer{`0})">
  1258. <summary>Removes the specified values from this list.</summary>
  1259. <param name="items">The items to remove if matches are found in this list.</param>
  1260. <param name="equalityComparer">The equality comparer to use in the search.</param>
  1261. <returns>A new list with the elements removed.</returns>
  1262. </member>
  1263. <member name="M:System.Collections.Immutable.ImmutableArray`1.Replace(`0,`0)">
  1264. <summary>Finds the first element in the array equal to the specified value and replaces the value with the specified new value.</summary>
  1265. <param name="oldValue">The value to find and replace in the array.</param>
  1266. <param name="newValue">The value to replace the <c>oldvalue</c> with.</param>
  1267. <exception cref="T:System.ArgumentException">
  1268. <paramref name="oldValue" /> is not found in the array.</exception>
  1269. <returns>A new array that contains <paramref name="newValue" /> even if the new and old values are the same.</returns>
  1270. </member>
  1271. <member name="M:System.Collections.Immutable.ImmutableArray`1.Replace(`0,`0,System.Collections.Generic.IEqualityComparer{`0})">
  1272. <summary>Finds the first element in the array equal to the specified value and replaces the value with the specified new value.</summary>
  1273. <param name="oldValue">The value to find and replace in the array.</param>
  1274. <param name="newValue">The value to replace the <c>oldvalue</c> with.</param>
  1275. <param name="equalityComparer">The equality comparer to use to compare values.</param>
  1276. <exception cref="T:System.ArgumentException">
  1277. <paramref name="oldValue" /> is not found in the array.</exception>
  1278. <returns>A new array that contains <paramref name="newValue" /> even if the new and old values are the same.</returns>
  1279. </member>
  1280. <member name="M:System.Collections.Immutable.ImmutableArray`1.SetItem(System.Int32,`0)">
  1281. <summary>Replaces the item at the specified index with the specified item.</summary>
  1282. <param name="index">The index of the item to replace.</param>
  1283. <param name="item">The item to add to the list.</param>
  1284. <returns>The new array that contains <paramref name="item" /> at the specified index.</returns>
  1285. </member>
  1286. <member name="M:System.Collections.Immutable.ImmutableArray`1.Slice(System.Int32,System.Int32)">
  1287. <summary>Forms a slice out of the current <see cref="T:System.Collections.Immutable.ImmutableArray`1" /> starting at a specified index for a specified length.</summary>
  1288. <param name="start">The index at which to begin this slice.</param>
  1289. <param name="length">The desired length for the slice.</param>
  1290. <returns>An <see cref="T:System.Collections.Immutable.ImmutableArray`1" /> that consists of <paramref name="length" /> elements from the current <see cref="T:System.Collections.Immutable.ImmutableArray`1" />, starting at <paramref name="start" />.</returns>
  1291. </member>
  1292. <member name="M:System.Collections.Immutable.ImmutableArray`1.Sort">
  1293. <summary>Sorts the elements in the immutable array using the default comparer.</summary>
  1294. <returns>A new immutable array that contains the items in this array, in sorted order.</returns>
  1295. </member>
  1296. <member name="M:System.Collections.Immutable.ImmutableArray`1.Sort(System.Collections.Generic.IComparer{`0})">
  1297. <summary>Sorts the elements in the immutable array using the specified comparer.</summary>
  1298. <param name="comparer">The implementation to use when comparing elements, or <see langword="null" /> to use the default comparer.</param>
  1299. <returns>A new immutable array that contains the items in this array, in sorted order.</returns>
  1300. </member>
  1301. <member name="M:System.Collections.Immutable.ImmutableArray`1.Sort(System.Comparison{`0})">
  1302. <summary>Sorts the elements in the entire <see cref="T:System.Collections.Immutable.ImmutableArray`1" /> using the specified <see cref="T:System.Comparison`1" />.</summary>
  1303. <param name="comparison">The <see cref="T:System.Comparison`1" /> to use when comparing elements.</param>
  1304. <exception cref="T:System.ArgumentNullException">
  1305. <paramref name="comparison" /> is null.</exception>
  1306. <returns>The sorted list.</returns>
  1307. </member>
  1308. <member name="M:System.Collections.Immutable.ImmutableArray`1.Sort(System.Int32,System.Int32,System.Collections.Generic.IComparer{`0})">
  1309. <summary>Sorts the specified elements in the immutable array using the specified comparer.</summary>
  1310. <param name="index">The index of the first element to sort.</param>
  1311. <param name="count">The number of elements to include in the sort.</param>
  1312. <param name="comparer">The implementation to use when comparing elements, or <see langword="null" /> to use the default comparer.</param>
  1313. <returns>A new immutable array that contains the items in this array, in sorted order.</returns>
  1314. </member>
  1315. <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#Generic#ICollection{T}#Add(`0)">
  1316. <summary>Throws <see cref="T:System.NotSupportedException" /> in all cases.</summary>
  1317. <param name="item">The item to add to the end of the array.</param>
  1318. </member>
  1319. <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#Generic#ICollection{T}#Clear">
  1320. <summary>Throws <see cref="T:System.NotSupportedException" /> in all cases.</summary>
  1321. </member>
  1322. <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#Generic#ICollection{T}#Remove(`0)">
  1323. <summary>Throws <see cref="T:System.NotSupportedException" /> in all cases.</summary>
  1324. <param name="item">The object to remove from the array.</param>
  1325. <returns>Throws <see cref="T:System.NotSupportedException" /> in all cases.</returns>
  1326. </member>
  1327. <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#Generic#IEnumerable{T}#GetEnumerator">
  1328. <summary>Returns an enumerator that iterates through the array.</summary>
  1329. <exception cref="T:System.InvalidOperationException">The <see cref="P:System.Collections.Immutable.ImmutableArray`1.IsDefault" /> property returns <see langword="true" />.</exception>
  1330. <returns>An enumerator that can be used to iterate through the array.</returns>
  1331. </member>
  1332. <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#Generic#IList{T}#Insert(System.Int32,`0)">
  1333. <summary>Throws <see cref="T:System.NotSupportedException" /> in all cases.</summary>
  1334. <param name="index">The index of the location to insert the item.</param>
  1335. <param name="item">The item to insert.</param>
  1336. </member>
  1337. <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#Generic#IList{T}#RemoveAt(System.Int32)">
  1338. <summary>Throws <see cref="T:System.NotSupportedException" /> in all cases.</summary>
  1339. <param name="index">The index.</param>
  1340. </member>
  1341. <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#ICollection#CopyTo(System.Array,System.Int32)">
  1342. <summary>Copies this array to another array starting at the specified index.</summary>
  1343. <param name="array">The array to copy this array to.</param>
  1344. <param name="index">The index in the destination array to start the copy operation.</param>
  1345. </member>
  1346. <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#IEnumerable#GetEnumerator">
  1347. <summary>Returns an enumerator that iterates through the immutable array.</summary>
  1348. <exception cref="T:System.InvalidOperationException">The <see cref="P:System.Collections.Immutable.ImmutableArray`1.IsDefault" /> property returns <see langword="true" />.</exception>
  1349. <returns>An enumerator that iterates through the immutable array.</returns>
  1350. </member>
  1351. <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#IList#Add(System.Object)">
  1352. <summary>Throws <see cref="T:System.NotSupportedException" /> in all cases.</summary>
  1353. <param name="value">The value to add to the array.</param>
  1354. <exception cref="T:System.NotSupportedException">Thrown in all cases.</exception>
  1355. <returns>Throws <see cref="T:System.NotSupportedException" /> in all cases.</returns>
  1356. </member>
  1357. <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#IList#Clear">
  1358. <summary>Throws <see cref="T:System.NotSupportedException" /> in all cases.</summary>
  1359. <exception cref="T:System.NotSupportedException">Thrown in all cases.</exception>
  1360. </member>
  1361. <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#IList#Contains(System.Object)">
  1362. <summary>Throws <see cref="T:System.NotSupportedException" /> in all cases.</summary>
  1363. <param name="value">The value to check for.</param>
  1364. <returns>Throws <see cref="T:System.NotSupportedException" /> in all cases.</returns>
  1365. </member>
  1366. <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#IList#IndexOf(System.Object)">
  1367. <summary>Gets the value at the specified index.</summary>
  1368. <param name="value">The value to return the index of.</param>
  1369. <returns>The value of the element at the specified index.</returns>
  1370. </member>
  1371. <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#IList#Insert(System.Int32,System.Object)">
  1372. <summary>Throws <see cref="T:System.NotSupportedException" /> in all cases.</summary>
  1373. <param name="index">Index that indicates where to insert the item.</param>
  1374. <param name="value">The value to insert.</param>
  1375. <exception cref="T:System.NotSupportedException">Thrown in all cases.</exception>
  1376. </member>
  1377. <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#IList#Remove(System.Object)">
  1378. <summary>Throws <see cref="T:System.NotSupportedException" /> in all cases.</summary>
  1379. <param name="value">The value to remove from the array.</param>
  1380. <exception cref="T:System.NotSupportedException">Thrown in all cases.</exception>
  1381. </member>
  1382. <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#IList#RemoveAt(System.Int32)">
  1383. <summary>Throws <see cref="T:System.NotSupportedException" /> in all cases.</summary>
  1384. <param name="index">The index of the item to remove.</param>
  1385. <exception cref="T:System.NotSupportedException">Thrown in all cases.</exception>
  1386. </member>
  1387. <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#Immutable#IImmutableList{T}#Add(`0)">
  1388. <summary>Returns a copy of the original array with the specified item added to the end.</summary>
  1389. <param name="value">The value to add to the end of the array.</param>
  1390. <returns>A new array with the specified item added to the end.</returns>
  1391. </member>
  1392. <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#Immutable#IImmutableList{T}#AddRange(System.Collections.Generic.IEnumerable{`0})">
  1393. <summary>Returns a copy of the original array with the specified elements added to the end of the array.</summary>
  1394. <param name="items">The elements to add to the end of the array.</param>
  1395. <returns>A new array with the elements added to the end.</returns>
  1396. </member>
  1397. <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#Immutable#IImmutableList{T}#Clear">
  1398. <summary>Returns an array with all the elements removed.</summary>
  1399. <returns>An array with all the elements removed.</returns>
  1400. </member>
  1401. <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#Immutable#IImmutableList{T}#Insert(System.Int32,`0)">
  1402. <summary>Returns a new array with the specified value inserted at the specified position.</summary>
  1403. <param name="index">The 0-based index into the array at which the new item should be added.</param>
  1404. <param name="element">The item to insert at the start of the array.</param>
  1405. <returns>A new array with the specified value inserted.</returns>
  1406. </member>
  1407. <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#Immutable#IImmutableList{T}#InsertRange(System.Int32,System.Collections.Generic.IEnumerable{`0})">
  1408. <summary>Inserts the specified values at the specified index.</summary>
  1409. <param name="index">The index at which to insert the value.</param>
  1410. <param name="items">The elements to insert.</param>
  1411. <returns>A new array with the specified values inserted.</returns>
  1412. </member>
  1413. <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#Immutable#IImmutableList{T}#Remove(`0,System.Collections.Generic.IEqualityComparer{`0})">
  1414. <summary>Returns an array with the first occurrence of the specified element removed from the array; if no match is found, the current array is returned.</summary>
  1415. <param name="value">The value to remove from the array.</param>
  1416. <param name="equalityComparer">The equality comparer to use in the search.</param>
  1417. <returns>A new array with the value removed.</returns>
  1418. </member>
  1419. <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#Immutable#IImmutableList{T}#RemoveAll(System.Predicate{`0})">
  1420. <summary>Removes all the items from the array that meet the specified condition.</summary>
  1421. <param name="match">The delegate that defines the conditions of the elements to remove.</param>
  1422. <returns>A new array with items that meet the specified condition removed.</returns>
  1423. </member>
  1424. <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#Immutable#IImmutableList{T}#RemoveAt(System.Int32)">
  1425. <summary>Returns an array with the element at the specified position removed.</summary>
  1426. <param name="index">The 0-based index of the element to remove from the returned array.</param>
  1427. <returns>A new array with the specified item removed.</returns>
  1428. </member>
  1429. <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#Immutable#IImmutableList{T}#RemoveRange(System.Collections.Generic.IEnumerable{`0},System.Collections.Generic.IEqualityComparer{`0})">
  1430. <summary>Removes the specified items from this array.</summary>
  1431. <param name="items">The items to remove if matches are found in this list.</param>
  1432. <param name="equalityComparer">The equality comparer to use in the search.</param>
  1433. <returns>A new array with the elements removed.</returns>
  1434. </member>
  1435. <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#Immutable#IImmutableList{T}#RemoveRange(System.Int32,System.Int32)">
  1436. <summary>Returns an array with the elements at the specified position removed.</summary>
  1437. <param name="index">The 0-based index of the starting element to remove from the array.</param>
  1438. <param name="count">The number of elements to remove from the array.</param>
  1439. <returns>The new array with the specified elements removed.</returns>
  1440. </member>
  1441. <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#Immutable#IImmutableList{T}#Replace(`0,`0,System.Collections.Generic.IEqualityComparer{`0})">
  1442. <summary>Finds the first element in the array equal to the specified value and replaces the value with the specified new value.</summary>
  1443. <param name="oldValue">The value to find and replace in the array.</param>
  1444. <param name="newValue">The value to replace the <c>oldvalue</c> with.</param>
  1445. <param name="equalityComparer">The equality comparer to use to compare values.</param>
  1446. <exception cref="T:System.ArgumentException">
  1447. <paramref name="oldValue" /> is not found in the array.</exception>
  1448. <returns>A new array that contains <paramref name="newValue" /> even if the new and old values are the same.</returns>
  1449. </member>
  1450. <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#Immutable#IImmutableList{T}#SetItem(System.Int32,`0)">
  1451. <summary>Replaces the item at the specified index with the specified item.</summary>
  1452. <param name="index">The index of the item to replace.</param>
  1453. <param name="value">The value to add to the list.</param>
  1454. <returns>The new array that contains <paramref name="item" /> at the specified index.</returns>
  1455. </member>
  1456. <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#IStructuralComparable#CompareTo(System.Object,System.Collections.IComparer)">
  1457. <summary>Determines whether the current collection element precedes, occurs in the same position as, or follows another element in the sort order.</summary>
  1458. <param name="other">The element to compare with the current instance.</param>
  1459. <param name="comparer">The object used to compare members of the current array with the corresponding members of other array.</param>
  1460. <exception cref="T:System.ArgumentException">The arrays are not the same length.</exception>
  1461. <returns>An integer that indicates whether the current element precedes, is in the same position or follows the other element.</returns>
  1462. </member>
  1463. <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#IStructuralEquatable#Equals(System.Object,System.Collections.IEqualityComparer)">
  1464. <summary>Determines whether this array is structurally equal to the specified array.</summary>
  1465. <param name="other">The array to compare with the current instance.</param>
  1466. <param name="comparer">An object that determines whether the current instance and other are structurally equal.</param>
  1467. <returns>
  1468. <see langword="true" /> if the two arrays are structurally equal; otherwise, <see langword="false" />.</returns>
  1469. </member>
  1470. <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#IStructuralEquatable#GetHashCode(System.Collections.IEqualityComparer)">
  1471. <summary>Returns a hash code for the current instance.</summary>
  1472. <param name="comparer">An object that computes the hash code of the current object.</param>
  1473. <returns>The hash code for the current instance.</returns>
  1474. </member>
  1475. <member name="M:System.Collections.Immutable.ImmutableArray`1.ToBuilder">
  1476. <summary>Creates a mutable array that has the same contents as this array and can be efficiently mutated across multiple operations using standard mutable interfaces.</summary>
  1477. <returns>The new builder with the same contents as this array.</returns>
  1478. </member>
  1479. <member name="P:System.Collections.Immutable.ImmutableArray`1.IsDefault">
  1480. <summary>Gets a value indicating whether this array was declared but not initialized.</summary>
  1481. <returns>
  1482. <see langword="true" /> if the <see cref="T:System.Collections.Immutable.ImmutableArray`1" /> is <see langword="null" />; otherwise, <see langword="false" />.</returns>
  1483. </member>
  1484. <member name="P:System.Collections.Immutable.ImmutableArray`1.IsDefaultOrEmpty">
  1485. <summary>Gets a value indicating whether this <see cref="T:System.Collections.Immutable.ImmutableArray`1" /> is empty or is not initialized.</summary>
  1486. <returns>
  1487. <see langword="true" /> if the <see cref="T:System.Collections.Immutable.ImmutableArray`1" /> is <see langword="null" /> or <see cref="F:System.Collections.Immutable.ImmutableArray`1.Empty" />; otherwise, <see langword="false" />.</returns>
  1488. </member>
  1489. <member name="P:System.Collections.Immutable.ImmutableArray`1.IsEmpty">
  1490. <summary>Gets a value indicating whether this <see cref="T:System.Collections.Immutable.ImmutableArray`1" /> is empty.</summary>
  1491. <returns>
  1492. <see langword="true" /> if the <see cref="T:System.Collections.Immutable.ImmutableArray`1" /> is empty; otherwise, <see langword="false" />.</returns>
  1493. </member>
  1494. <member name="P:System.Collections.Immutable.ImmutableArray`1.Item(System.Int32)">
  1495. <summary>Gets the element at the specified index in the immutable array.</summary>
  1496. <param name="index">The zero-based index of the element to get.</param>
  1497. <returns>The element at the specified index in the immutable array.</returns>
  1498. </member>
  1499. <member name="P:System.Collections.Immutable.ImmutableArray`1.Length">
  1500. <summary>Gets the number of elements in the array.</summary>
  1501. <returns>The number of elements in the array.</returns>
  1502. </member>
  1503. <member name="P:System.Collections.Immutable.ImmutableArray`1.System#Collections#Generic#ICollection{T}#Count">
  1504. <summary>Gets the number of items in the collection.</summary>
  1505. <exception cref="T:System.InvalidOperationException">The <see cref="P:System.Collections.Immutable.ImmutableArray`1.IsDefault" /> property returns <see langword="true" />.</exception>
  1506. <returns>Number of items in the collection.</returns>
  1507. </member>
  1508. <member name="P:System.Collections.Immutable.ImmutableArray`1.System#Collections#Generic#ICollection{T}#IsReadOnly">
  1509. <summary>Gets a value indicating whether this instance is read only.</summary>
  1510. <returns>
  1511. <see langword="true" /> if this instance is read only; otherwise, <see langword="false" />.</returns>
  1512. </member>
  1513. <member name="P:System.Collections.Immutable.ImmutableArray`1.System#Collections#Generic#IList{T}#Item(System.Int32)">
  1514. <summary>Gets or sets the element at the specified index in the read-only list.</summary>
  1515. <param name="index">The zero-based index of the element to get.</param>
  1516. <exception cref="T:System.NotSupportedException">Always thrown from the setter.</exception>
  1517. <exception cref="T:System.InvalidOperationException">The <see cref="P:System.Collections.Immutable.ImmutableArray`1.IsDefault" /> property returns <see langword="true" />.</exception>
  1518. <returns>The element at the specified index in the read-only list.</returns>
  1519. </member>
  1520. <member name="P:System.Collections.Immutable.ImmutableArray`1.System#Collections#Generic#IReadOnlyCollection{T}#Count">
  1521. <summary>Gets the number of items in the collection.</summary>
  1522. <exception cref="T:System.InvalidOperationException">The <see cref="P:System.Collections.Immutable.ImmutableArray`1.IsDefault" /> property returns <see langword="true" />.</exception>
  1523. <returns>The number of items in the collection.</returns>
  1524. </member>
  1525. <member name="P:System.Collections.Immutable.ImmutableArray`1.System#Collections#Generic#IReadOnlyList{T}#Item(System.Int32)">
  1526. <summary>Gets the element at the specified index.</summary>
  1527. <param name="index">The index.</param>
  1528. <exception cref="T:System.InvalidOperationException">The <see cref="P:System.Collections.Immutable.ImmutableArray`1.IsDefault" /> property returns <see langword="true" />.</exception>
  1529. <returns>The element.</returns>
  1530. </member>
  1531. <member name="P:System.Collections.Immutable.ImmutableArray`1.System#Collections#ICollection#Count">
  1532. <summary>Gets the size of the array.</summary>
  1533. <exception cref="T:System.InvalidOperationException">The <see cref="P:System.Collections.Immutable.ImmutableArray`1.IsDefault" /> property returns <see langword="true" />.</exception>
  1534. <returns>The number of items in the collection.</returns>
  1535. </member>
  1536. <member name="P:System.Collections.Immutable.ImmutableArray`1.System#Collections#ICollection#IsSynchronized">
  1537. <summary>See the <see cref="T:System.Collections.ICollection" /> interface. Always returns <see langword="true" /> since since immutable collections are thread-safe.</summary>
  1538. <returns>Boolean value determining whether the collection is thread-safe.</returns>
  1539. </member>
  1540. <member name="P:System.Collections.Immutable.ImmutableArray`1.System#Collections#ICollection#SyncRoot">
  1541. <summary>Gets the sync root.</summary>
  1542. <returns>An object for synchronizing access to the collection.</returns>
  1543. </member>
  1544. <member name="P:System.Collections.Immutable.ImmutableArray`1.System#Collections#IList#IsFixedSize">
  1545. <summary>Gets a value indicating whether this instance is fixed size.</summary>
  1546. <returns>
  1547. <see langword="true" /> if this instance is fixed size; otherwise, <see langword="false" />.</returns>
  1548. </member>
  1549. <member name="P:System.Collections.Immutable.ImmutableArray`1.System#Collections#IList#IsReadOnly">
  1550. <summary>Gets a value indicating whether this instance is read only.</summary>
  1551. <returns>
  1552. <see langword="true" /> if this instance is read only; otherwise, <see langword="false" />.</returns>
  1553. </member>
  1554. <member name="P:System.Collections.Immutable.ImmutableArray`1.System#Collections#IList#Item(System.Int32)">
  1555. <summary>Gets or sets the <see cref="T:System.Object" /> at the specified index.</summary>
  1556. <param name="index">The index.</param>
  1557. <exception cref="T:System.NotSupportedException">Always thrown from the setter.</exception>
  1558. <exception cref="T:System.InvalidOperationException">The <see cref="P:System.Collections.Immutable.ImmutableArray`1.IsDefault" /> property returns <see langword="true" />.</exception>
  1559. <returns>The object at the specified index.</returns>
  1560. </member>
  1561. <member name="T:System.Collections.Immutable.ImmutableArray`1.Builder">
  1562. <summary>A writable array accessor that can be converted into an <see cref="T:System.Collections.Immutable.ImmutableArray`1" /> instance without allocating extra memory.
  1563. NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
  1564. <typeparam name="T" />
  1565. </member>
  1566. <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.Add(`0)">
  1567. <summary>Adds the specified item to the array.</summary>
  1568. <param name="item">The object to add to the array.</param>
  1569. </member>
  1570. <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.AddRange(`0[])">
  1571. <summary>Adds the specified items to the end of the array.</summary>
  1572. <param name="items">The items to add to the array.</param>
  1573. </member>
  1574. <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.AddRange(`0[],System.Int32)">
  1575. <summary>Adds the specified items to the end of the array.</summary>
  1576. <param name="items">The items to add to the array.</param>
  1577. <param name="length">The number of elements from the source array to add.</param>
  1578. </member>
  1579. <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.AddRange(System.Collections.Generic.IEnumerable{`0})">
  1580. <summary>Adds the specified items to the end of the array.</summary>
  1581. <param name="items">The items to add to the array.</param>
  1582. </member>
  1583. <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.AddRange(System.Collections.Immutable.ImmutableArray{`0}.Builder)">
  1584. <summary>Adds the specified items to the end of the array.</summary>
  1585. <param name="items">The items to add to the array.</param>
  1586. </member>
  1587. <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.AddRange(System.Collections.Immutable.ImmutableArray{`0})">
  1588. <summary>Adds the specified items to the end of the array.</summary>
  1589. <param name="items">The items to add to the array.</param>
  1590. </member>
  1591. <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.AddRange(System.Collections.Immutable.ImmutableArray{`0},System.Int32)">
  1592. <summary>Adds the specified items to the end of the array.</summary>
  1593. <param name="items">The items to add to the array.</param>
  1594. <param name="length">The number of elements from the source array to add.</param>
  1595. </member>
  1596. <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.AddRange(System.ReadOnlySpan{`0})">
  1597. <summary>Adds the specified items to the end of the array.</summary>
  1598. <param name="items">The items to add at the end of the array.</param>
  1599. </member>
  1600. <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.AddRange``1(``0[])">
  1601. <summary>Adds the specified items that derive from the type currently in the array, to the end of the array.</summary>
  1602. <param name="items">The items to add to end of the array.</param>
  1603. <typeparam name="TDerived">The type that derives from the type of item already in the array.</typeparam>
  1604. </member>
  1605. <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.AddRange``1(System.Collections.Immutable.ImmutableArray{``0}.Builder)">
  1606. <summary>Adds the specified items that derive from the type currently in the array, to the end of the array.</summary>
  1607. <param name="items">The items to add to the end of the array.</param>
  1608. <typeparam name="TDerived">The type that derives from the type of item already in the array.</typeparam>
  1609. </member>
  1610. <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.AddRange``1(System.Collections.Immutable.ImmutableArray{``0})">
  1611. <summary>Adds the specified items that derive from the type currently in the array, to the end of the array.</summary>
  1612. <param name="items">The items to add to the end of the array.</param>
  1613. <typeparam name="TDerived">The type that derives from the type of item already in the array.</typeparam>
  1614. </member>
  1615. <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.AddRange``1(System.ReadOnlySpan{``0})">
  1616. <summary>Adds the specified items to the end of the array.</summary>
  1617. <param name="items">The items to add at the end of the array.</param>
  1618. <typeparam name="TDerived">The type that derives from the type of item already in the array.</typeparam>
  1619. </member>
  1620. <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.Clear">
  1621. <summary>Removes all items from the array.</summary>
  1622. </member>
  1623. <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.Contains(`0)">
  1624. <summary>Determines whether the array contains a specific value.</summary>
  1625. <param name="item">The object to locate in the array.</param>
  1626. <returns>
  1627. <see langword="true" /> if the object is found; otherwise, <see langword="false" />.</returns>
  1628. </member>
  1629. <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.CopyTo(`0[])">
  1630. <summary>Copies the contents of this array to the specified array.</summary>
  1631. <param name="destination">The array to copy to.</param>
  1632. </member>
  1633. <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.CopyTo(`0[],System.Int32)">
  1634. <summary>Copies the current contents to the specified array.</summary>
  1635. <param name="array">The array to copy to.</param>
  1636. <param name="index">The index to start the copy operation.</param>
  1637. </member>
  1638. <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.CopyTo(System.Int32,`0[],System.Int32,System.Int32)">
  1639. <summary>Copies the contents of this array to the specified array.</summary>
  1640. <param name="sourceIndex">The index into this collection of the first element to copy.</param>
  1641. <param name="destination">The array to copy to.</param>
  1642. <param name="destinationIndex">The index into the destination array to which the first copied element is written.</param>
  1643. <param name="length">The number of elements to copy.</param>
  1644. </member>
  1645. <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.CopyTo(System.Span{`0})">
  1646. <summary>Copies the current contents to the specified <see cref="T:System.Span`1" />.</summary>
  1647. <param name="destination">The <see cref="T:System.Span`1" /> to copy to.</param>
  1648. </member>
  1649. <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.DrainToImmutable">
  1650. <summary>Returns the current contents as an <see cref="T:System.Collections.Immutable.ImmutableArray`1" /> and sets the collection to a zero length array.</summary>
  1651. <returns>An immutable array.</returns>
  1652. </member>
  1653. <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.GetEnumerator">
  1654. <summary>Gets an object that can be used to iterate through the collection.</summary>
  1655. <returns>An object that can be used to iterate through the collection.</returns>
  1656. </member>
  1657. <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.IndexOf(`0)">
  1658. <summary>Determines the index of a specific item in the array.</summary>
  1659. <param name="item">The item to locate in the array.</param>
  1660. <returns>The index of <paramref name="item" /> if it's found in the list; otherwise, -1.</returns>
  1661. </member>
  1662. <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.IndexOf(`0,System.Int32)">
  1663. <summary>Determines the index of the specified item.</summary>
  1664. <param name="item">The item to locate in the array.</param>
  1665. <param name="startIndex">The starting position of the search.</param>
  1666. <returns>The index of <paramref name="item" /> if it's found in the list; otherwise, -1.</returns>
  1667. </member>
  1668. <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.IndexOf(`0,System.Int32,System.Collections.Generic.IEqualityComparer{`0})">
  1669. <summary>Searches the array for the specified item.</summary>
  1670. <param name="item">The item to search for.</param>
  1671. <param name="startIndex">The index at which to begin the search.</param>
  1672. <param name="equalityComparer">The equality comparer to use in the search.
  1673. If <see langword="null" />, <see cref="P:System.Collections.Generic.EqualityComparer`1.Default" /> is used.</param>
  1674. <returns>The 0-based index into the array where the item was found; or -1 if it could not be found.</returns>
  1675. </member>
  1676. <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.IndexOf(`0,System.Int32,System.Int32)">
  1677. <summary>Determines the index of the specified item.</summary>
  1678. <param name="item">The item to locate in the array.</param>
  1679. <param name="startIndex">The starting position of the search.</param>
  1680. <param name="count">The number of elements to search.</param>
  1681. <returns>The index of <paramref name="item" /> if it's found in the list; otherwise, -1.</returns>
  1682. </member>
  1683. <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.IndexOf(`0,System.Int32,System.Int32,System.Collections.Generic.IEqualityComparer{`0})">
  1684. <summary>Determines the index for the specified item.</summary>
  1685. <param name="item">The item to locate in the array.</param>
  1686. <param name="startIndex">The index at which to begin the search.</param>
  1687. <param name="count">The starting position of the search.</param>
  1688. <param name="equalityComparer">The equality comparer to use in the search.</param>
  1689. <returns>The index of <paramref name="item" /> if it's found in the list; otherwise, -1.</returns>
  1690. </member>
  1691. <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.Insert(System.Int32,`0)">
  1692. <summary>Inserts an item in the array at the specified index.</summary>
  1693. <param name="index">The zero-based index at which to insert the item.</param>
  1694. <param name="item">The object to insert into the array.</param>
  1695. </member>
  1696. <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.InsertRange(System.Int32,System.Collections.Generic.IEnumerable{`0})">
  1697. <summary>Inserts the specified values at the specified index.</summary>
  1698. <param name="index">The index at which to insert the value.</param>
  1699. <param name="items">The elements to insert.</param>
  1700. </member>
  1701. <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.InsertRange(System.Int32,System.Collections.Immutable.ImmutableArray{`0})">
  1702. <summary>Inserts the specified values at the specified index.</summary>
  1703. <param name="index">The index at which to insert the value.</param>
  1704. <param name="items">The elements to insert.</param>
  1705. </member>
  1706. <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.ItemRef(System.Int32)">
  1707. <summary>Gets a read-only reference to the element at the specified index.</summary>
  1708. <param name="index">The item index.</param>
  1709. <exception cref="T:System.IndexOutOfRangeException">
  1710. <paramref name="index" /> is greater or equal to the array count.</exception>
  1711. <returns>The read-only reference to the element at the specified index.</returns>
  1712. </member>
  1713. <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.LastIndexOf(`0)">
  1714. <summary>Determines the 0-based index of the last occurrence of the specified item in this array.</summary>
  1715. <param name="item">The item to search for.</param>
  1716. <returns>The 0-based index where the item was found; or -1 if it could not be found.</returns>
  1717. </member>
  1718. <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.LastIndexOf(`0,System.Int32)">
  1719. <summary>Determines the 0-based index of the last occurrence of the specified item in this array.</summary>
  1720. <param name="item">The item to search for.</param>
  1721. <param name="startIndex">The starting position of the search.</param>
  1722. <returns>The 0-based index into the array where the item was found; or -1 if it could not be found.</returns>
  1723. </member>
  1724. <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.LastIndexOf(`0,System.Int32,System.Int32)">
  1725. <summary>Determines the 0-based index of the last occurrence of the specified item in this array.</summary>
  1726. <param name="item">The item to search for.</param>
  1727. <param name="startIndex">The starting position of the search.</param>
  1728. <param name="count">The number of elements to search.</param>
  1729. <returns>The 0-based index into the array where the item was found; or -1 if it could not be found.</returns>
  1730. </member>
  1731. <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.LastIndexOf(`0,System.Int32,System.Int32,System.Collections.Generic.IEqualityComparer{`0})">
  1732. <summary>Determines the 0-based index of the last occurrence of the specified item in this array.</summary>
  1733. <param name="item">The item to search for.</param>
  1734. <param name="startIndex">The starting position of the search.</param>
  1735. <param name="count">The number of elements to search.</param>
  1736. <param name="equalityComparer">The equality comparer to use in the search.</param>
  1737. <returns>The 0-based index into the array where the item was found; or -1 if it could not be found.</returns>
  1738. </member>
  1739. <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.MoveToImmutable">
  1740. <summary>Extracts the internal array as an <see cref="T:System.Collections.Immutable.ImmutableArray`1" /> and replaces it with a zero length array.</summary>
  1741. <exception cref="T:System.InvalidOperationException">When <see cref="P:System.Collections.Immutable.ImmutableArray`1.Builder.Count" /> doesn't equal <see cref="P:System.Collections.Immutable.ImmutableArray`1.Builder.Capacity" />.</exception>
  1742. <returns>An immutable array containing the elements of the builder.</returns>
  1743. </member>
  1744. <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.Remove(`0)">
  1745. <summary>Removes the specified element.</summary>
  1746. <param name="element">The item to remove.</param>
  1747. <returns>
  1748. <see langword="true" /> if <paramref name="element" /> was found and removed; otherwise, <see langword="false" />.</returns>
  1749. </member>
  1750. <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.Remove(`0,System.Collections.Generic.IEqualityComparer{`0})">
  1751. <summary>Removes the first occurrence of the specified element from the builder.
  1752. If no match is found, the builder remains unchanged.</summary>
  1753. <param name="element">The element to remove.</param>
  1754. <param name="equalityComparer">The equality comparer to use in the search.
  1755. If <see langword="null" />, <see cref="P:System.Collections.Generic.EqualityComparer`1.Default" /> is used.</param>
  1756. <returns>A value indicating whether the specified element was found and removed from the collection.</returns>
  1757. </member>
  1758. <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.RemoveAll(System.Predicate{`0})">
  1759. <summary>Removes all the elements that match the conditions defined by the specified predicate.</summary>
  1760. <param name="match">The <see cref="T:System.Predicate`1" /> delegate that defines the conditions of the elements to remove.</param>
  1761. </member>
  1762. <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.RemoveAt(System.Int32)">
  1763. <summary>Removes the item at the specified index from the array.</summary>
  1764. <param name="index">The zero-based index of the item to remove.</param>
  1765. </member>
  1766. <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.RemoveRange(System.Collections.Generic.IEnumerable{`0})">
  1767. <summary>Removes the specified values from this list.</summary>
  1768. <param name="items">The items to remove if matches are found in this list.</param>
  1769. </member>
  1770. <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.RemoveRange(System.Collections.Generic.IEnumerable{`0},System.Collections.Generic.IEqualityComparer{`0})">
  1771. <summary>Removes the specified values from this list.</summary>
  1772. <param name="items">The items to remove if matches are found in this list.</param>
  1773. <param name="equalityComparer">The equality comparer to use in the search.
  1774. If <see langword="null" />, <see cref="P:System.Collections.Generic.EqualityComparer`1.Default" /> is used.</param>
  1775. </member>
  1776. <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.RemoveRange(System.Int32,System.Int32)">
  1777. <summary>Removes the specified values from this list.</summary>
  1778. <param name="index">The 0-based index into the array for the element to omit from the returned array.</param>
  1779. <param name="length">The number of elements to remove.</param>
  1780. </member>
  1781. <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.Replace(`0,`0)">
  1782. <summary>Replaces the first equal element in the list with the specified element.</summary>
  1783. <param name="oldValue">The element to replace.</param>
  1784. <param name="newValue">The element to replace the old element with.</param>
  1785. </member>
  1786. <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.Replace(`0,`0,System.Collections.Generic.IEqualityComparer{`0})">
  1787. <summary>Replaces the first equal element in the list with the specified element.</summary>
  1788. <param name="oldValue">The element to replace.</param>
  1789. <param name="newValue">The element to replace the old element with.</param>
  1790. <param name="equalityComparer">The equality comparer to use in the search.
  1791. If <see langword="null" />, <see cref="P:System.Collections.Generic.EqualityComparer`1.Default" /> is used.</param>
  1792. </member>
  1793. <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.Reverse">
  1794. <summary>Reverses the order of elements in the collection.</summary>
  1795. </member>
  1796. <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.Sort">
  1797. <summary>Sorts the contents of the array.</summary>
  1798. </member>
  1799. <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.Sort(System.Collections.Generic.IComparer{`0})">
  1800. <summary>Sorts the contents of the array.</summary>
  1801. <param name="comparer">The comparer to use for sorting. If comparer is <see langword="null" />, the default comparer for the elements type in the array is used.</param>
  1802. </member>
  1803. <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.Sort(System.Comparison{`0})">
  1804. <summary>Sorts the elements in the entire array using the specified <see cref="T:System.Comparison`1" />.</summary>
  1805. <param name="comparison">The <see cref="T:System.Comparison`1" /> to use when comparing elements.</param>
  1806. <exception cref="T:System.ArgumentNullException">
  1807. <paramref name="comparison" /> is null.</exception>
  1808. </member>
  1809. <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.Sort(System.Int32,System.Int32,System.Collections.Generic.IComparer{`0})">
  1810. <summary>Sorts the contents of the array.</summary>
  1811. <param name="index">The starting index for the sort.</param>
  1812. <param name="count">The number of elements to include in the sort.</param>
  1813. <param name="comparer">The comparer to use for sorting. If comparer is <see langword="null" />, the default comparer for the elements type in the array is used.</param>
  1814. </member>
  1815. <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.System#Collections#Generic#IEnumerable{T}#GetEnumerator">
  1816. <summary>Returns an enumerator that iterates through the array.</summary>
  1817. <returns>An enumerator that iterates through the array.</returns>
  1818. </member>
  1819. <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.System#Collections#IEnumerable#GetEnumerator">
  1820. <summary>Returns an enumerator that iterates through the array.</summary>
  1821. <returns>An enumerator that iterates through the array.</returns>
  1822. </member>
  1823. <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.ToArray">
  1824. <summary>Creates a new array with the current contents of this <see cref="T:System.Collections.Immutable.ImmutableArray`1.Builder" />.</summary>
  1825. <returns>A new array with the contents of this <see cref="T:System.Collections.Immutable.ImmutableArray`1.Builder" />.</returns>
  1826. </member>
  1827. <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.ToImmutable">
  1828. <summary>Returns an immutable array that contains the current contents of this <see cref="T:System.Collections.Immutable.ImmutableArray`1.Builder" />.</summary>
  1829. <returns>An immutable array that contains the current contents of this <see cref="T:System.Collections.Immutable.ImmutableArray`1.Builder" />.</returns>
  1830. </member>
  1831. <member name="P:System.Collections.Immutable.ImmutableArray`1.Builder.Capacity">
  1832. <summary>Gets or sets the length of the internal array. When set, the internal array is reallocated to the given capacity if it is not already the specified length.</summary>
  1833. <returns>The length of the internal array.</returns>
  1834. </member>
  1835. <member name="P:System.Collections.Immutable.ImmutableArray`1.Builder.Count">
  1836. <summary>Gets or sets the number of items in the array.</summary>
  1837. <returns>The number of items in the array.</returns>
  1838. </member>
  1839. <member name="P:System.Collections.Immutable.ImmutableArray`1.Builder.Item(System.Int32)">
  1840. <summary>Gets or sets the item at the specified index.</summary>
  1841. <param name="index">The index of the item to get or set.</param>
  1842. <exception cref="T:System.IndexOutOfRangeException">The specified index is not in the array.</exception>
  1843. <returns>The item at the specified index.</returns>
  1844. </member>
  1845. <member name="P:System.Collections.Immutable.ImmutableArray`1.Builder.System#Collections#Generic#ICollection{T}#IsReadOnly">
  1846. <summary>Gets a value that indicates whether the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only.</summary>
  1847. <returns>
  1848. <see langword="true" /> if the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only; otherwise, <see langword="false" />.</returns>
  1849. </member>
  1850. <member name="T:System.Collections.Immutable.ImmutableArray`1.Enumerator">
  1851. <summary>An array enumerator.
  1852. NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
  1853. <typeparam name="T" />
  1854. </member>
  1855. <member name="M:System.Collections.Immutable.ImmutableArray`1.Enumerator.MoveNext">
  1856. <summary>Advances to the next value in the array.</summary>
  1857. <returns>
  1858. <see langword="true" /> if another item exists in the array; otherwise, <see langword="false" />.</returns>
  1859. </member>
  1860. <member name="P:System.Collections.Immutable.ImmutableArray`1.Enumerator.Current">
  1861. <summary>Gets the current item.</summary>
  1862. <returns>The current item.</returns>
  1863. </member>
  1864. <member name="T:System.Collections.Immutable.ImmutableDictionary">
  1865. <summary>Provides a set of initialization methods for instances of the <see cref="T:System.Collections.Immutable.ImmutableDictionary`2" /> class.
  1866. NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
  1867. </member>
  1868. <member name="M:System.Collections.Immutable.ImmutableDictionary.Contains``2(System.Collections.Immutable.IImmutableDictionary{``0,``1},``0,``1)">
  1869. <summary>Determines whether the specified immutable dictionary contains the specified key/value pair.</summary>
  1870. <param name="map">The immutable dictionary to search.</param>
  1871. <param name="key">The key to locate in the immutable dictionary.</param>
  1872. <param name="value">The value to locate on the specified key, if the key is found.</param>
  1873. <typeparam name="TKey">The type of the keys in the immutable dictionary.</typeparam>
  1874. <typeparam name="TValue">The type of the values in the immutable dictionary.</typeparam>
  1875. <returns>
  1876. <see langword="true" /> if this map contains the specified key/value pair; otherwise, <see langword="false" />.</returns>
  1877. </member>
  1878. <member name="M:System.Collections.Immutable.ImmutableDictionary.Create``2">
  1879. <summary>Creates an empty immutable dictionary.</summary>
  1880. <typeparam name="TKey">The type of keys stored by the dictionary.</typeparam>
  1881. <typeparam name="TValue">The type of values stored by the dictionary.</typeparam>
  1882. <returns>An empty immutable dictionary.</returns>
  1883. </member>
  1884. <member name="M:System.Collections.Immutable.ImmutableDictionary.Create``2(System.Collections.Generic.IEqualityComparer{``0})">
  1885. <summary>Creates an empty immutable dictionary that uses the specified key comparer.</summary>
  1886. <param name="keyComparer">The implementation to use to determine the equality of keys in the dictionary.</param>
  1887. <typeparam name="TKey">The type of keys stored by the dictionary.</typeparam>
  1888. <typeparam name="TValue">The type of values stored by the dictionary.</typeparam>
  1889. <returns>An empty immutable dictionary.</returns>
  1890. </member>
  1891. <member name="M:System.Collections.Immutable.ImmutableDictionary.Create``2(System.Collections.Generic.IEqualityComparer{``0},System.Collections.Generic.IEqualityComparer{``1})">
  1892. <summary>Creates an empty immutable dictionary that uses the specified key and value comparers.</summary>
  1893. <param name="keyComparer">The implementation to use to determine the equality of keys in the dictionary.</param>
  1894. <param name="valueComparer">The implementation to use to determine the equality of values in the dictionary.</param>
  1895. <typeparam name="TKey">The type of keys stored by the dictionary.</typeparam>
  1896. <typeparam name="TValue">The type of values stored by the dictionary.</typeparam>
  1897. <returns>An empty immutable dictionary.</returns>
  1898. </member>
  1899. <member name="M:System.Collections.Immutable.ImmutableDictionary.CreateBuilder``2">
  1900. <summary>Creates a new immutable dictionary builder.</summary>
  1901. <typeparam name="TKey">The type of keys stored by the dictionary.</typeparam>
  1902. <typeparam name="TValue">The type of values stored by the dictionary.</typeparam>
  1903. <returns>The new builder.</returns>
  1904. </member>
  1905. <member name="M:System.Collections.Immutable.ImmutableDictionary.CreateBuilder``2(System.Collections.Generic.IEqualityComparer{``0})">
  1906. <summary>Creates a new immutable dictionary builder.</summary>
  1907. <param name="keyComparer">The key comparer.</param>
  1908. <typeparam name="TKey">The type of keys stored by the dictionary.</typeparam>
  1909. <typeparam name="TValue">The type of values stored by the dictionary.</typeparam>
  1910. <returns>The new builder.</returns>
  1911. </member>
  1912. <member name="M:System.Collections.Immutable.ImmutableDictionary.CreateBuilder``2(System.Collections.Generic.IEqualityComparer{``0},System.Collections.Generic.IEqualityComparer{``1})">
  1913. <summary>Creates a new immutable dictionary builder.</summary>
  1914. <param name="keyComparer">The key comparer.</param>
  1915. <param name="valueComparer">The value comparer.</param>
  1916. <typeparam name="TKey">The type of keys stored by the dictionary.</typeparam>
  1917. <typeparam name="TValue">The type of values stored by the dictionary.</typeparam>
  1918. <returns>The new builder.</returns>
  1919. </member>
  1920. <member name="M:System.Collections.Immutable.ImmutableDictionary.CreateRange``2(System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{``0,``1}})">
  1921. <summary>Creates a new immutable dictionary that contains the specified items.</summary>
  1922. <param name="items">The items used to populate the dictionary before it's immutable.</param>
  1923. <typeparam name="TKey">The type of keys in the dictionary.</typeparam>
  1924. <typeparam name="TValue">The type of values in the dictionary.</typeparam>
  1925. <returns>A new immutable dictionary that contains the specified items.</returns>
  1926. </member>
  1927. <member name="M:System.Collections.Immutable.ImmutableDictionary.CreateRange``2(System.Collections.Generic.IEqualityComparer{``0},System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{``0,``1}})">
  1928. <summary>Creates a new immutable dictionary that contains the specified items and uses the specified key comparer.</summary>
  1929. <param name="keyComparer">The comparer implementation to use to compare keys for equality.</param>
  1930. <param name="items">The items to add to the dictionary before it's immutable.</param>
  1931. <typeparam name="TKey">The type of keys in the dictionary.</typeparam>
  1932. <typeparam name="TValue">The type of values in the dictionary.</typeparam>
  1933. <returns>A new immutable dictionary that contains the specified items and uses the specified comparer.</returns>
  1934. </member>
  1935. <member name="M:System.Collections.Immutable.ImmutableDictionary.CreateRange``2(System.Collections.Generic.IEqualityComparer{``0},System.Collections.Generic.IEqualityComparer{``1},System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{``0,``1}})">
  1936. <summary>Creates a new immutable dictionary that contains the specified items and uses the specified key comparer.</summary>
  1937. <param name="keyComparer">The comparer implementation to use to compare keys for equality.</param>
  1938. <param name="valueComparer">The comparer implementation to use to compare values for equality.</param>
  1939. <param name="items">The items to add to the dictionary before it's immutable.</param>
  1940. <typeparam name="TKey">The type of keys in the dictionary.</typeparam>
  1941. <typeparam name="TValue">The type of values in the dictionary.</typeparam>
  1942. <returns>A new immutable dictionary that contains the specified items and uses the specified comparer.</returns>
  1943. </member>
  1944. <member name="M:System.Collections.Immutable.ImmutableDictionary.GetValueOrDefault``2(System.Collections.Immutable.IImmutableDictionary{``0,``1},``0)">
  1945. <summary>Gets the value for a given key if a matching key exists in the dictionary.</summary>
  1946. <param name="dictionary">The dictionary to retrieve the value from.</param>
  1947. <param name="key">The key to search for.</param>
  1948. <typeparam name="TKey">The type of the key.</typeparam>
  1949. <typeparam name="TValue">The type of the value.</typeparam>
  1950. <returns>The value for the key, or <c>default(TValue)</c> if no matching key was found.</returns>
  1951. </member>
  1952. <member name="M:System.Collections.Immutable.ImmutableDictionary.GetValueOrDefault``2(System.Collections.Immutable.IImmutableDictionary{``0,``1},``0,``1)">
  1953. <summary>Gets the value for a given key if a matching key exists in the dictionary.</summary>
  1954. <param name="dictionary">The dictionary to retrieve the value from.</param>
  1955. <param name="key">The key to search for.</param>
  1956. <param name="defaultValue">The default value to return if no matching key is found in the dictionary.</param>
  1957. <typeparam name="TKey">The type of the key.</typeparam>
  1958. <typeparam name="TValue">The type of the value.</typeparam>
  1959. <returns>The value for the key, or <paramref name="defaultValue" /> if no matching key was found.</returns>
  1960. </member>
  1961. <member name="M:System.Collections.Immutable.ImmutableDictionary.ToImmutableDictionary``2(System.Collections.Generic.IEnumerable{``0},System.Func{``0,``1})">
  1962. <summary>Constructs an immutable dictionary from an existing collection of elements, applying a transformation function to the source keys.</summary>
  1963. <param name="source">The source collection used to generate the immutable dictionary.</param>
  1964. <param name="keySelector">The function used to transform keys for the immutable dictionary.</param>
  1965. <typeparam name="TSource">The type of element in the source collection.</typeparam>
  1966. <typeparam name="TKey">The type of key in the resulting immutable dictionary.</typeparam>
  1967. <returns>The immutable dictionary that contains elements from <paramref name="source" />, with keys transformed by applying <paramref name="keySelector" />.</returns>
  1968. </member>
  1969. <member name="M:System.Collections.Immutable.ImmutableDictionary.ToImmutableDictionary``2(System.Collections.Generic.IEnumerable{``0},System.Func{``0,``1},System.Collections.Generic.IEqualityComparer{``1})">
  1970. <summary>Constructs an immutable dictionary based on some transformation of a sequence.</summary>
  1971. <param name="source">The source collection used to generate the immutable dictionary.</param>
  1972. <param name="keySelector">The function used to transform keys for the immutable dictionary.</param>
  1973. <param name="keyComparer">The key comparer to use for the dictionary.</param>
  1974. <typeparam name="TSource">The type of element in the source collection.</typeparam>
  1975. <typeparam name="TKey">The type of key in the resulting immutable dictionary.</typeparam>
  1976. <returns>The immutable dictionary that contains elements from <paramref name="source" />, with keys transformed by applying <paramref name="keySelector" />.</returns>
  1977. </member>
  1978. <member name="M:System.Collections.Immutable.ImmutableDictionary.ToImmutableDictionary``2(System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{``0,``1}})">
  1979. <summary>Enumerates a sequence of key/value pairs and produces an immutable dictionary of its contents.</summary>
  1980. <param name="source">The sequence of key/value pairs to enumerate.</param>
  1981. <typeparam name="TKey">The type of the keys in the dictionary.</typeparam>
  1982. <typeparam name="TValue">The type of the values in the dictionary.</typeparam>
  1983. <returns>An immutable dictionary that contains the key/value pairs in the specified sequence.</returns>
  1984. </member>
  1985. <member name="M:System.Collections.Immutable.ImmutableDictionary.ToImmutableDictionary``2(System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{``0,``1}},System.Collections.Generic.IEqualityComparer{``0})">
  1986. <summary>Enumerates a sequence of key/value pairs and produces an immutable dictionary of its contents by using the specified key comparer.</summary>
  1987. <param name="source">The sequence of key/value pairs to enumerate.</param>
  1988. <param name="keyComparer">The key comparer to use when building the immutable dictionary.</param>
  1989. <typeparam name="TKey">The type of the keys in the dictionary.</typeparam>
  1990. <typeparam name="TValue">The type of the values in the dictionary.</typeparam>
  1991. <returns>An immutable dictionary that contains the key/value pairs in the specified sequence.</returns>
  1992. </member>
  1993. <member name="M:System.Collections.Immutable.ImmutableDictionary.ToImmutableDictionary``2(System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{``0,``1}},System.Collections.Generic.IEqualityComparer{``0},System.Collections.Generic.IEqualityComparer{``1})">
  1994. <summary>Enumerates a sequence of key/value pairs and produces an immutable dictionary of its contents by using the specified key and value comparers.</summary>
  1995. <param name="source">The sequence of key/value pairs to enumerate.</param>
  1996. <param name="keyComparer">The key comparer to use when building the immutable dictionary.</param>
  1997. <param name="valueComparer">The value comparer to use for the immutable dictionary.</param>
  1998. <typeparam name="TKey">The type of the keys in the dictionary.</typeparam>
  1999. <typeparam name="TValue">The type of the values in the dictionary.</typeparam>
  2000. <returns>An immutable dictionary that contains the key/value pairs in the specified sequence.</returns>
  2001. </member>
  2002. <member name="M:System.Collections.Immutable.ImmutableDictionary.ToImmutableDictionary``2(System.Collections.Immutable.ImmutableDictionary{``0,``1}.Builder)">
  2003. <summary>Creates an immutable dictionary from the current contents of the builder's dictionary.</summary>
  2004. <param name="builder">The builder to create the immutable dictionary from.</param>
  2005. <typeparam name="TKey">The type of the keys in the dictionary.</typeparam>
  2006. <typeparam name="TValue">The type of the values in the dictionary.</typeparam>
  2007. <returns>An immutable dictionary that contains the current contents in the builder's dictionary.</returns>
  2008. </member>
  2009. <member name="M:System.Collections.Immutable.ImmutableDictionary.ToImmutableDictionary``3(System.Collections.Generic.IEnumerable{``0},System.Func{``0,``1},System.Func{``0,``2})">
  2010. <summary>Enumerates and transforms a sequence, and produces an immutable dictionary of its contents.</summary>
  2011. <param name="source">The sequence to enumerate to generate the dictionary.</param>
  2012. <param name="keySelector">The function that will produce the key for the dictionary from each sequence element.</param>
  2013. <param name="elementSelector">The function that will produce the value for the dictionary from each sequence element.</param>
  2014. <typeparam name="TSource">The type of the elements in the sequence.</typeparam>
  2015. <typeparam name="TKey">The type of the keys in the resulting dictionary.</typeparam>
  2016. <typeparam name="TValue">The type of the values in the resulting dictionary.</typeparam>
  2017. <returns>An immutable dictionary that contains the items in the specified sequence.</returns>
  2018. </member>
  2019. <member name="M:System.Collections.Immutable.ImmutableDictionary.ToImmutableDictionary``3(System.Collections.Generic.IEnumerable{``0},System.Func{``0,``1},System.Func{``0,``2},System.Collections.Generic.IEqualityComparer{``1})">
  2020. <summary>Enumerates and transforms a sequence, and produces an immutable dictionary of its contents by using the specified key comparer.</summary>
  2021. <param name="source">The sequence to enumerate to generate the dictionary.</param>
  2022. <param name="keySelector">The function that will produce the key for the dictionary from each sequence element.</param>
  2023. <param name="elementSelector">The function that will produce the value for the dictionary from each sequence element.</param>
  2024. <param name="keyComparer">The key comparer to use for the dictionary.</param>
  2025. <typeparam name="TSource">The type of the elements in the sequence.</typeparam>
  2026. <typeparam name="TKey">The type of the keys in the resulting dictionary.</typeparam>
  2027. <typeparam name="TValue">The type of the values in the resulting dictionary.</typeparam>
  2028. <returns>An immutable dictionary that contains the items in the specified sequence.</returns>
  2029. </member>
  2030. <member name="M:System.Collections.Immutable.ImmutableDictionary.ToImmutableDictionary``3(System.Collections.Generic.IEnumerable{``0},System.Func{``0,``1},System.Func{``0,``2},System.Collections.Generic.IEqualityComparer{``1},System.Collections.Generic.IEqualityComparer{``2})">
  2031. <summary>Enumerates and transforms a sequence, and produces an immutable dictionary of its contents by using the specified key and value comparers.</summary>
  2032. <param name="source">The sequence to enumerate to generate the dictionary.</param>
  2033. <param name="keySelector">The function that will produce the key for the dictionary from each sequence element.</param>
  2034. <param name="elementSelector">The function that will produce the value for the dictionary from each sequence element.</param>
  2035. <param name="keyComparer">The key comparer to use for the dictionary.</param>
  2036. <param name="valueComparer">The value comparer to use for the dictionary.</param>
  2037. <typeparam name="TSource">The type of the elements in the sequence.</typeparam>
  2038. <typeparam name="TKey">The type of the keys in the resulting dictionary.</typeparam>
  2039. <typeparam name="TValue">The type of the values in the resulting dictionary.</typeparam>
  2040. <returns>An immutable dictionary that contains the items in the specified sequence.</returns>
  2041. </member>
  2042. <member name="T:System.Collections.Immutable.ImmutableDictionary`2">
  2043. <summary>Represents an immutable, unordered collection of keys and values.
  2044. NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
  2045. <typeparam name="TKey">The type of the keys in the dictionary.</typeparam>
  2046. <typeparam name="TValue">The type of the values in the dictionary.</typeparam>
  2047. </member>
  2048. <member name="F:System.Collections.Immutable.ImmutableDictionary`2.Empty">
  2049. <summary>Gets an empty immutable dictionary.</summary>
  2050. </member>
  2051. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Add(`0,`1)">
  2052. <summary>Adds an element with the specified key and value to the immutable dictionary.</summary>
  2053. <param name="key">The key of the element to add.</param>
  2054. <param name="value">The value of the element to add.</param>
  2055. <exception cref="T:System.ArgumentException">The given key already exists in the dictionary but has a different value.</exception>
  2056. <returns>A new immutable dictionary that contains the additional key/value pair.</returns>
  2057. </member>
  2058. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.AddRange(System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{`0,`1}})">
  2059. <summary>Adds the specified key/value pairs to the immutable dictionary.</summary>
  2060. <param name="pairs">The key/value pairs to add.</param>
  2061. <exception cref="T:System.ArgumentException">One of the given keys already exists in the dictionary but has a different value.</exception>
  2062. <returns>A new immutable dictionary that contains the additional key/value pairs.</returns>
  2063. </member>
  2064. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Clear">
  2065. <summary>Retrieves an empty immutable dictionary that has the same ordering and key/value comparison rules as this dictionary instance.</summary>
  2066. <returns>An empty dictionary with equivalent ordering and key/value comparison rules.</returns>
  2067. </member>
  2068. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Contains(System.Collections.Generic.KeyValuePair{`0,`1})">
  2069. <summary>Determines whether this immutable dictionary contains the specified key/value pair.</summary>
  2070. <param name="pair">The key/value pair to locate.</param>
  2071. <returns>
  2072. <see langword="true" /> if the specified key/value pair is found in the dictionary; otherwise, <see langword="false" />.</returns>
  2073. </member>
  2074. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.ContainsKey(`0)">
  2075. <summary>Determines whether the immutable dictionary contains an element with the specified key.</summary>
  2076. <param name="key">The key to locate.</param>
  2077. <returns>
  2078. <see langword="true" /> if the immutable dictionary contains an element with the specified key; otherwise, <see langword="false" />.</returns>
  2079. </member>
  2080. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.ContainsValue(`1)">
  2081. <summary>Determines whether the immutable dictionary contains an element with the specified value.</summary>
  2082. <param name="value">The value to locate. The value can be <see langword="null" /> for reference types.</param>
  2083. <returns>
  2084. <see langword="true" /> if the dictionary contains an element with the specified value; otherwise, <see langword="false" />.</returns>
  2085. </member>
  2086. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.GetEnumerator">
  2087. <summary>Returns an enumerator that iterates through the immutable dictionary.</summary>
  2088. <returns>An enumerator that can be used to iterate through the dictionary.</returns>
  2089. </member>
  2090. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Remove(`0)">
  2091. <summary>Removes the element with the specified key from the immutable dictionary.</summary>
  2092. <param name="key">The key of the element to remove.</param>
  2093. <returns>A new immutable dictionary with the specified element removed; or this instance if the specified key cannot be found in the dictionary.</returns>
  2094. </member>
  2095. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.RemoveRange(System.Collections.Generic.IEnumerable{`0})">
  2096. <summary>Removes the elements with the specified keys from the immutable dictionary.</summary>
  2097. <param name="keys">The keys of the elements to remove.</param>
  2098. <returns>A new immutable dictionary with the specified keys removed; or this instance if the specified keys cannot be found in the dictionary.</returns>
  2099. </member>
  2100. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.SetItem(`0,`1)">
  2101. <summary>Sets the specified key and value in the immutable dictionary, possibly overwriting an existing value for the key.</summary>
  2102. <param name="key">The key of the entry to add.</param>
  2103. <param name="value">The key value to set.</param>
  2104. <returns>A new immutable dictionary that contains the specified key/value pair.</returns>
  2105. </member>
  2106. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.SetItems(System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{`0,`1}})">
  2107. <summary>Sets the specified key/value pairs in the immutable dictionary, possibly overwriting existing values for the keys.</summary>
  2108. <param name="items">The key/value pairs to set in the dictionary. If any of the keys already exist in the dictionary, this method will overwrite their previous values.</param>
  2109. <returns>A new immutable dictionary that contains the specified key/value pairs.</returns>
  2110. </member>
  2111. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#Generic#ICollection{System#Collections#Generic#KeyValuePair{TKey@TValue}}#Add(System.Collections.Generic.KeyValuePair{`0,`1})">
  2112. <summary>Adds an item to the <see cref="T:System.Collections.Generic.ICollection`1" />.</summary>
  2113. <param name="item">The object to add to the <see cref="T:System.Collections.Generic.ICollection`1" />.</param>
  2114. </member>
  2115. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#Generic#ICollection{System#Collections#Generic#KeyValuePair{TKey@TValue}}#Clear">
  2116. <summary>Removes all items from the <see cref="T:System.Collections.Generic.ICollection`1" />.</summary>
  2117. </member>
  2118. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#Generic#ICollection{System#Collections#Generic#KeyValuePair{TKey@TValue}}#CopyTo(System.Collections.Generic.KeyValuePair{`0,`1}[],System.Int32)">
  2119. <summary>Copies the elements of the <see cref="T:System.Collections.Generic.ICollection`1" /> to an <see cref="T:System.Array" />, starting at a particular <see cref="T:System.Array" /> index.</summary>
  2120. <param name="array">The one-dimensional <see cref="T:System.Array" /> that is the destination of the elements copied from <see cref="T:System.Collections.Generic.ICollection`1" />. The <see cref="T:System.Array" /> must have zero-based indexing.</param>
  2121. <param name="arrayIndex">The zero-based index in <paramref name="array" /> at which copying begins.</param>
  2122. </member>
  2123. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#Generic#ICollection{System#Collections#Generic#KeyValuePair{TKey@TValue}}#Remove(System.Collections.Generic.KeyValuePair{`0,`1})">
  2124. <summary>Removes the first occurrence of a specific object from the <see cref="T:System.Collections.Generic.ICollection`1" />.</summary>
  2125. <param name="item">The object to remove from the <see cref="T:System.Collections.Generic.ICollection`1" />.</param>
  2126. <returns>
  2127. <see langword="true" /> if <paramref name="item" /> was successfully removed from the <see cref="T:System.Collections.Generic.ICollection`1" />; otherwise, <see langword="false" />. This method also returns <see langword="false" /> if <paramref name="item" /> is not found in the original <see cref="T:System.Collections.Generic.ICollection`1" />.</returns>
  2128. </member>
  2129. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#Generic#IDictionary{TKey@TValue}#Add(`0,`1)">
  2130. <summary>Adds an element with the provided key and value to the immutable dictionary.</summary>
  2131. <param name="key">The object to use as the key of the element to add.</param>
  2132. <param name="value">The object to use as the value of the element to add.</param>
  2133. <exception cref="T:System.ArgumentNullException">
  2134. <paramref name="key" /> is <see langword="null" />.</exception>
  2135. <exception cref="T:System.ArgumentException">An element with the same key already exists in the <see cref="T:System.Collections.Generic.IDictionary`2" />.</exception>
  2136. <exception cref="T:System.NotSupportedException">The <see cref="T:System.Collections.Generic.IDictionary`2" /> is read-only.</exception>
  2137. </member>
  2138. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#Generic#IDictionary{TKey@TValue}#Remove(`0)">
  2139. <summary>Removes the element with the specified key from the generic dictionary.</summary>
  2140. <param name="key">The key of the element to remove.</param>
  2141. <exception cref="T:System.ArgumentNullException">
  2142. <paramref name="key" /> is <see langword="null" />.</exception>
  2143. <exception cref="T:System.NotSupportedException">The <see cref="T:System.Collections.Generic.IDictionary`2" /> is read-only.</exception>
  2144. <returns>
  2145. <see langword="true" /> if the element is successfully removed; otherwise, <see langword="false" />. This method also returns <see langword="false" /> if <paramref name="key" /> was not found in the original generic dictionary.</returns>
  2146. </member>
  2147. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#Generic#IEnumerable{System#Collections#Generic#KeyValuePair{TKey@TValue}}#GetEnumerator">
  2148. <summary>Returns an enumerator that iterates through the collection.</summary>
  2149. <returns>An enumerator that can be used to iterate through the collection.</returns>
  2150. </member>
  2151. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#ICollection#CopyTo(System.Array,System.Int32)">
  2152. <summary>Copies the elements of the dictionary to an array, starting at a particular array index.</summary>
  2153. <param name="array">The one-dimensional array that is the destination of the elements copied from the dictionary. The array must have zero-based indexing.</param>
  2154. <param name="arrayIndex">The zero-based index in <paramref name="array" /> at which copying begins.</param>
  2155. </member>
  2156. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#IDictionary#Add(System.Object,System.Object)">
  2157. <summary>Adds an element with the provided key and value to the immutable dictionary object.</summary>
  2158. <param name="key">The object to use as the key of the element to add.</param>
  2159. <param name="value">The object to use as the value of the element to add.</param>
  2160. </member>
  2161. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#IDictionary#Clear">
  2162. <summary>Clears this instance.</summary>
  2163. <exception cref="T:System.NotSupportedException">The dictionary object is read-only.</exception>
  2164. </member>
  2165. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#IDictionary#Contains(System.Object)">
  2166. <summary>Determines whether the immutable dictionary object contains an element with the specified key.</summary>
  2167. <param name="key">The key to locate in the dictionary object.</param>
  2168. <returns>
  2169. <see langword="true" /> if the dictionary contains an element with the key; otherwise, <see langword="false" />.</returns>
  2170. </member>
  2171. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#IDictionary#GetEnumerator">
  2172. <summary>Returns an <see cref="T:System.Collections.IDictionaryEnumerator" /> object for the immutable dictionary object.</summary>
  2173. <returns>An enumerator object for the dictionary object.</returns>
  2174. </member>
  2175. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#IDictionary#Remove(System.Object)">
  2176. <summary>Removes the element with the specified key from the immutable dictionary object.</summary>
  2177. <param name="key">The key of the element to remove.</param>
  2178. </member>
  2179. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#IEnumerable#GetEnumerator">
  2180. <summary>Returns an enumerator that iterates through a collection.</summary>
  2181. <returns>An enumerator object that can be used to iterate through the collection.</returns>
  2182. </member>
  2183. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#Immutable#IImmutableDictionary{TKey@TValue}#Add(`0,`1)">
  2184. <summary>See the <see cref="T:System.Collections.Immutable.IImmutableDictionary`2" /> interface.</summary>
  2185. <param name="key">Key of the entry to be added.</param>
  2186. <param name="value">Value of the entry to be added.</param>
  2187. <returns>A new immutable dictionary that contains the additional key/value pair.</returns>
  2188. </member>
  2189. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#Immutable#IImmutableDictionary{TKey@TValue}#AddRange(System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{`0,`1}})">
  2190. <summary>See the <see cref="T:System.Collections.Immutable.IImmutableDictionary`2" /> interface.</summary>
  2191. <param name="pairs">Sequence of key/value pairs to be added to the dictionary.</param>
  2192. <returns>A new immutable dictionary that contains the additional key/value pairs.</returns>
  2193. </member>
  2194. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#Immutable#IImmutableDictionary{TKey@TValue}#Clear">
  2195. <summary>Retrieves an empty dictionary that has the same ordering and key-value comparison rules as this dictionary instance.</summary>
  2196. <returns>The immutable dictionary instance.</returns>
  2197. </member>
  2198. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#Immutable#IImmutableDictionary{TKey@TValue}#Remove(`0)">
  2199. <summary>See the <see cref="T:System.Collections.Immutable.IImmutableDictionary`2" /> interface.</summary>
  2200. <param name="key">Key of the entry to be removed.</param>
  2201. <returns>A new immutable dictionary with the specified element removed; or this instance if the specified key cannot be found in the dictionary.</returns>
  2202. </member>
  2203. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#Immutable#IImmutableDictionary{TKey@TValue}#RemoveRange(System.Collections.Generic.IEnumerable{`0})">
  2204. <summary>See the <see cref="T:System.Collections.Immutable.IImmutableDictionary`2" /> interface.</summary>
  2205. <param name="keys">Sequence of keys to be removed.</param>
  2206. <returns>A new immutable dictionary with the specified keys removed; or this instance if the specified keys cannot be found in the dictionary.</returns>
  2207. </member>
  2208. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#Immutable#IImmutableDictionary{TKey@TValue}#SetItem(`0,`1)">
  2209. <summary>See the <see cref="T:System.Collections.Immutable.IImmutableDictionary`2" /> interface.</summary>
  2210. <param name="key">Key of entry to be added.</param>
  2211. <param name="value">Value of the entry to be added.</param>
  2212. <returns>A new immutable dictionary that contains the specified key/value pair.</returns>
  2213. </member>
  2214. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#Immutable#IImmutableDictionary{TKey@TValue}#SetItems(System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{`0,`1}})">
  2215. <summary>Applies a given set of key-value pairs to an immutable dictionary, replacing any conflicting keys in the resulting dictionary.</summary>
  2216. <param name="items">The key-value pairs to set on the map. Any keys that conflict with existing keys will replace the previous values.</param>
  2217. <returns>A copy of the immutable dictionary with updated key-value pairs.</returns>
  2218. </member>
  2219. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.ToBuilder">
  2220. <summary>Creates an immutable dictionary with the same contents as this dictionary that can be efficiently mutated across multiple operations by using standard mutable interfaces.</summary>
  2221. <returns>A collection with the same contents as this dictionary that can be efficiently mutated across multiple operations by using standard mutable interfaces.</returns>
  2222. </member>
  2223. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.TryGetKey(`0,`0@)">
  2224. <summary>Determines whether this dictionary contains a specified key.</summary>
  2225. <param name="equalKey">The key to search for.</param>
  2226. <param name="actualKey">The matching key located in the dictionary if found, or <c>equalkey</c> if no match is found.</param>
  2227. <returns>
  2228. <see langword="true" /> if a match for <paramref name="equalKey" /> is found; otherwise, <see langword="false" />.</returns>
  2229. </member>
  2230. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.TryGetValue(`0,`1@)">
  2231. <summary>Gets the value associated with the specified key.</summary>
  2232. <param name="key">The key whose value will be retrieved.</param>
  2233. <param name="value">When this method returns, contains the value associated with the specified key, if the key is found; otherwise, contains the default value for the type of the <paramref name="value" /> parameter. This parameter is passed uninitialized.</param>
  2234. <exception cref="T:System.ArgumentNullException">
  2235. <paramref name="key" /> is null.</exception>
  2236. <returns>
  2237. <see langword="true" /> if the object that implements the dictionary contains an element with the specified key; otherwise, <see langword="false" />.</returns>
  2238. </member>
  2239. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.WithComparers(System.Collections.Generic.IEqualityComparer{`0})">
  2240. <summary>Gets an instance of the immutable dictionary that uses the specified key comparer.</summary>
  2241. <param name="keyComparer">The key comparer to use.</param>
  2242. <returns>An instance of the immutable dictionary that uses the given comparer.</returns>
  2243. </member>
  2244. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.WithComparers(System.Collections.Generic.IEqualityComparer{`0},System.Collections.Generic.IEqualityComparer{`1})">
  2245. <summary>Gets an instance of the immutable dictionary that uses the specified key and value comparers.</summary>
  2246. <param name="keyComparer">The key comparer to use.</param>
  2247. <param name="valueComparer">The value comparer to use.</param>
  2248. <returns>An instance of the immutable dictionary that uses the given comparers.</returns>
  2249. </member>
  2250. <member name="P:System.Collections.Immutable.ImmutableDictionary`2.Count">
  2251. <summary>Gets the number of key/value pairs in the immutable dictionary.</summary>
  2252. <returns>The number of key/value pairs in the dictionary.</returns>
  2253. </member>
  2254. <member name="P:System.Collections.Immutable.ImmutableDictionary`2.IsEmpty">
  2255. <summary>Gets a value that indicates whether this instance of the immutable dictionary is empty.</summary>
  2256. <returns>
  2257. <see langword="true" /> if this instance is empty; otherwise, <see langword="false" />.</returns>
  2258. </member>
  2259. <member name="P:System.Collections.Immutable.ImmutableDictionary`2.Item(`0)">
  2260. <summary>Gets the <paramref name="TValue" /> associated with the specified key.</summary>
  2261. <param name="key">The type of the key.</param>
  2262. <returns>The value associated with the specified key. If no results are found, the operation throws an exception.</returns>
  2263. </member>
  2264. <member name="P:System.Collections.Immutable.ImmutableDictionary`2.KeyComparer">
  2265. <summary>Gets the key comparer for the immutable dictionary.</summary>
  2266. <returns>The key comparer.</returns>
  2267. </member>
  2268. <member name="P:System.Collections.Immutable.ImmutableDictionary`2.Keys">
  2269. <summary>Gets the keys in the immutable dictionary.</summary>
  2270. <returns>The keys in the immutable dictionary.</returns>
  2271. </member>
  2272. <member name="P:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#Generic#ICollection{System#Collections#Generic#KeyValuePair{TKey@TValue}}#IsReadOnly">
  2273. <summary>Gets a value indicating whether the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only.</summary>
  2274. <returns>
  2275. <see langword="true" /> if the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only; otherwise, <see langword="false" />.</returns>
  2276. </member>
  2277. <member name="P:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#Generic#IDictionary{TKey@TValue}#Item(`0)">
  2278. <summary>Gets or sets the <typeparamref name="TValue" /> with the specified key.</summary>
  2279. <param name="key">The type of the key.</param>
  2280. <returns>An object of type <typeparamref name="TValue" /> associated with the <paramref name="key" />.</returns>
  2281. </member>
  2282. <member name="P:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#Generic#IDictionary{TKey@TValue}#Keys">
  2283. <summary>Gets the keys.</summary>
  2284. <returns>A collection containing the keys.</returns>
  2285. </member>
  2286. <member name="P:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#Generic#IDictionary{TKey@TValue}#Values">
  2287. <summary>Gets the values.</summary>
  2288. <returns>A collection containing the values.</returns>
  2289. </member>
  2290. <member name="P:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#ICollection#IsSynchronized">
  2291. <summary>Gets a value indicating whether access to the <see cref="T:System.Collections.ICollection" /> is synchronized (thread safe).</summary>
  2292. <returns>
  2293. <see langword="true" /> if access to the <see cref="T:System.Collections.ICollection" /> is synchronized (thread safe); otherwise, <see langword="false" />.</returns>
  2294. </member>
  2295. <member name="P:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#ICollection#SyncRoot">
  2296. <summary>Gets an object that can be used to synchronize access to the <see cref="T:System.Collections.ICollection" />.</summary>
  2297. <returns>An object that can be used to synchronize access to the <see cref="T:System.Collections.ICollection" />.</returns>
  2298. </member>
  2299. <member name="P:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#IDictionary#IsFixedSize">
  2300. <summary>Gets a value indicating whether the <see cref="T:System.Collections.IDictionary" /> object has a fixed size.</summary>
  2301. <returns>
  2302. <see langword="true" /> if the <see cref="T:System.Collections.IDictionary" /> object has a fixed size; otherwise, <see langword="false" />.</returns>
  2303. </member>
  2304. <member name="P:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#IDictionary#IsReadOnly">
  2305. <summary>Gets a value indicating whether the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only.</summary>
  2306. <returns>
  2307. <see langword="true" /> if the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only; otherwise, <see langword="false" />.</returns>
  2308. </member>
  2309. <member name="P:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#IDictionary#Item(System.Object)">
  2310. <summary>Gets or sets the element with the specified key.</summary>
  2311. <param name="key">The key.</param>
  2312. <returns>The value stored under the specified key.</returns>
  2313. </member>
  2314. <member name="P:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#IDictionary#Keys">
  2315. <summary>Gets an <see cref="T:System.Collections.Generic.ICollection`1" /> containing the keys of the <see cref="T:System.Collections.Generic.IDictionary`2" />.</summary>
  2316. <returns>An <see cref="T:System.Collections.Generic.ICollection`1" /> containing the keys of the object that implements <see cref="T:System.Collections.Generic.IDictionary`2" />.</returns>
  2317. </member>
  2318. <member name="P:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#IDictionary#Values">
  2319. <summary>Gets an <see cref="T:System.Collections.Generic.ICollection`1" /> containing the values in the <see cref="T:System.Collections.Generic.IDictionary`2" />.</summary>
  2320. <returns>An <see cref="T:System.Collections.Generic.ICollection`1" /> containing the values in the object that implements <see cref="T:System.Collections.Generic.IDictionary`2" />.</returns>
  2321. </member>
  2322. <member name="P:System.Collections.Immutable.ImmutableDictionary`2.ValueComparer">
  2323. <summary>Gets the value comparer used to determine whether values are equal.</summary>
  2324. <returns>The value comparer used to determine whether values are equal.</returns>
  2325. </member>
  2326. <member name="P:System.Collections.Immutable.ImmutableDictionary`2.Values">
  2327. <summary>Gets the values in the immutable dictionary.</summary>
  2328. <returns>The values in the immutable dictionary.</returns>
  2329. </member>
  2330. <member name="T:System.Collections.Immutable.ImmutableDictionary`2.Builder">
  2331. <summary>Represents a hash map that mutates with little or no memory allocations and that can produce or build on immutable hash map instances very efficiently.
  2332. NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
  2333. <typeparam name="TKey" />
  2334. <typeparam name="TValue" />
  2335. </member>
  2336. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Builder.Add(`0,`1)">
  2337. <summary>Adds an element that has the specified key and value to the immutable dictionary.</summary>
  2338. <param name="key">The key of the element to add.</param>
  2339. <param name="value">The value of the element to add.</param>
  2340. <exception cref="T:System.ArgumentNullException">
  2341. <paramref name="key" /> is null.</exception>
  2342. <exception cref="T:System.ArgumentException">An element with the same key already exists in the dictionary.</exception>
  2343. <exception cref="T:System.NotSupportedException">The dictionary is read-only.</exception>
  2344. </member>
  2345. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Builder.Add(System.Collections.Generic.KeyValuePair{`0,`1})">
  2346. <summary>Adds the specified item to the immutable dictionary.</summary>
  2347. <param name="item">The object to add to the dictionary.</param>
  2348. <exception cref="T:System.NotSupportedException">The dictionary is read-only.</exception>
  2349. </member>
  2350. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Builder.AddRange(System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{`0,`1}})">
  2351. <summary>Adds a sequence of values to this collection.</summary>
  2352. <param name="items">The items to add to this collection.</param>
  2353. </member>
  2354. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Builder.Clear">
  2355. <summary>Removes all items from the immutable dictionary.</summary>
  2356. <exception cref="T:System.NotSupportedException">The dictionary is read-only.</exception>
  2357. </member>
  2358. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Builder.Contains(System.Collections.Generic.KeyValuePair{`0,`1})">
  2359. <summary>Determines whether the immutable dictionary contains a specific value.</summary>
  2360. <param name="item">The object to locate in the dictionary.</param>
  2361. <returns>
  2362. <see langword="true" /> if <paramref name="item" /> is found in the dictionary; otherwise, <see langword="false" />.</returns>
  2363. </member>
  2364. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Builder.ContainsKey(`0)">
  2365. <summary>Determines whether the immutable dictionary contains an element that has the specified key.</summary>
  2366. <param name="key">The key to locate in the dictionary.</param>
  2367. <exception cref="T:System.ArgumentNullException">
  2368. <paramref name="key" /> is null.</exception>
  2369. <returns>
  2370. <see langword="true" /> if the dictionary contains an element with the key; otherwise, <see langword="false" />.</returns>
  2371. </member>
  2372. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Builder.ContainsValue(`1)">
  2373. <summary>Determines whether the immutable dictionary contains an element that has the specified value.</summary>
  2374. <param name="value">The value to locate in the immutable dictionary. The value can be <see langword="null" /> for reference types.</param>
  2375. <returns>
  2376. <see langword="true" /> if the dictionary contains an element with the specified value; otherwise, <see langword="false" />.</returns>
  2377. </member>
  2378. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Builder.GetEnumerator">
  2379. <summary>Returns an enumerator that iterates through the immutable dictionary.</summary>
  2380. <returns>An enumerator that can be used to iterate through the collection.</returns>
  2381. </member>
  2382. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Builder.GetValueOrDefault(`0)">
  2383. <summary>Gets the value for a given key if a matching key exists in the dictionary.</summary>
  2384. <param name="key">The key to search for.</param>
  2385. <returns>The value for the key, or <c>default(TValue)</c> if no matching key was found.</returns>
  2386. </member>
  2387. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Builder.GetValueOrDefault(`0,`1)">
  2388. <summary>Gets the value for a given key if a matching key exists in the dictionary.</summary>
  2389. <param name="key">The key to search for.</param>
  2390. <param name="defaultValue">The default value to return if no matching key is found in the dictionary.</param>
  2391. <returns>The value for the key, or <paramref name="defaultValue" /> if no matching key was found.</returns>
  2392. </member>
  2393. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Builder.Remove(`0)">
  2394. <summary>Removes the element with the specified key from the immutable dictionary.</summary>
  2395. <param name="key">The key of the element to remove.</param>
  2396. <exception cref="T:System.ArgumentNullException">
  2397. <paramref name="key" /> is null.</exception>
  2398. <exception cref="T:System.NotSupportedException">The dictionary is read-only.</exception>
  2399. <returns>
  2400. <see langword="true" /> if the element is successfully removed; otherwise, <see langword="false" />. This method also returns <see langword="false" /> if <paramref name="key" /> was not found in the dictionary.</returns>
  2401. </member>
  2402. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Builder.Remove(System.Collections.Generic.KeyValuePair{`0,`1})">
  2403. <summary>Removes the first occurrence of a specific object from the immutable dictionary.</summary>
  2404. <param name="item">The object to remove from the dictionary.</param>
  2405. <exception cref="T:System.NotSupportedException">The dictionary is read-only.</exception>
  2406. <returns>
  2407. <see langword="true" /> if <paramref name="item" /> was successfully removed from the dictionary; otherwise, <see langword="false" />. This method also returns false if <paramref name="item" /> is not found in the dictionary.</returns>
  2408. </member>
  2409. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Builder.RemoveRange(System.Collections.Generic.IEnumerable{`0})">
  2410. <summary>Removes any entries with keys that match those found in the specified sequence from the immutable dictionary.</summary>
  2411. <param name="keys">The keys for entries to remove from the dictionary.</param>
  2412. </member>
  2413. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Builder.System#Collections#Generic#ICollection{System#Collections#Generic#KeyValuePair{TKey@TValue}}#CopyTo(System.Collections.Generic.KeyValuePair{`0,`1}[],System.Int32)">
  2414. <summary>Copies the elements of the dictionary to an array of type <see cref="T:System.Collections.Generic.KeyValuePair`2" />, starting at the specified array index.</summary>
  2415. <param name="array">The one-dimensional array that is the destination of the elements copied from the dictionary. The array must have zero-based indexing.</param>
  2416. <param name="arrayIndex">The zero-based index in <paramref name="array" /> at which copying begins.</param>
  2417. </member>
  2418. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Builder.System#Collections#Generic#IEnumerable{System#Collections#Generic#KeyValuePair{TKey@TValue}}#GetEnumerator">
  2419. <summary>Returns an enumerator that iterates through the collection.</summary>
  2420. <returns>An enumerator that can be used to iterate through the collection.</returns>
  2421. </member>
  2422. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Builder.System#Collections#ICollection#CopyTo(System.Array,System.Int32)">
  2423. <summary>Copies the elements of the dictionary to an array of type <see cref="T:System.Collections.Generic.KeyValuePair`2" />, starting at the specified array index.</summary>
  2424. <param name="array">The one-dimensional array of type <see cref="T:System.Collections.Generic.KeyValuePair`2" /> that is the destination of the elements copied from the dictionary. The array must have zero-based indexing.</param>
  2425. <param name="arrayIndex">The zero-based index in <paramref name="array" /> at which copying begins.</param>
  2426. </member>
  2427. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Builder.System#Collections#IDictionary#Add(System.Object,System.Object)">
  2428. <summary>Adds an element with the provided key and value to the dictionary object.</summary>
  2429. <param name="key">The key of the element to add.</param>
  2430. <param name="value">The value of the element to add.</param>
  2431. </member>
  2432. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Builder.System#Collections#IDictionary#Contains(System.Object)">
  2433. <summary>Determines whether the dictionary object contains an element with the specified key.</summary>
  2434. <param name="key">The key to locate.</param>
  2435. <returns>
  2436. <see langword="true" /> if the dictionary contains an element with the key; otherwise, <see langword="false" />.</returns>
  2437. </member>
  2438. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Builder.System#Collections#IDictionary#GetEnumerator">
  2439. <summary>Returns an <see cref="T:System.Collections.IDictionaryEnumerator" /> object for the dictionary.</summary>
  2440. <exception cref="T:System.NotImplementedException" />
  2441. <returns>An <see cref="T:System.Collections.IDictionaryEnumerator" /> object for the dictionary.</returns>
  2442. </member>
  2443. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Builder.System#Collections#IDictionary#Remove(System.Object)">
  2444. <summary>Removes the element with the specified key from the dictionary.</summary>
  2445. <param name="key">The key of the element to remove.</param>
  2446. </member>
  2447. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Builder.System#Collections#IEnumerable#GetEnumerator">
  2448. <summary>Returns an enumerator that iterates through a collection.</summary>
  2449. <returns>An enumerator object that can be used to iterate through the collection.</returns>
  2450. </member>
  2451. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Builder.ToImmutable">
  2452. <summary>Creates an immutable dictionary based on the contents of this instance.</summary>
  2453. <returns>An immutable dictionary.</returns>
  2454. </member>
  2455. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Builder.TryGetKey(`0,`0@)">
  2456. <summary>Determines whether this dictionary contains a specified key.</summary>
  2457. <param name="equalKey">The key to search for.</param>
  2458. <param name="actualKey">The matching key located in the dictionary if found, or <c>equalkey</c> if no match is found.</param>
  2459. <returns>
  2460. <see langword="true" /> if a match for <paramref name="equalKey" /> is found; otherwise, <see langword="false" />.</returns>
  2461. </member>
  2462. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Builder.TryGetValue(`0,`1@)">
  2463. <summary>Returns the value associated with the specified key.</summary>
  2464. <param name="key">The key whose value will be retrieved.</param>
  2465. <param name="value">When this method returns, contains the value associated with the specified key, if the key is found; otherwise, returns the default value for the type of the <paramref name="value" /> parameter. This parameter is passed uninitialized.</param>
  2466. <exception cref="T:System.ArgumentNullException">
  2467. <paramref name="key" /> is null.</exception>
  2468. <returns>
  2469. <see langword="true" /> if the object that implements the immutable dictionary contains an element with the specified key; otherwise, <see langword="false" />.</returns>
  2470. </member>
  2471. <member name="P:System.Collections.Immutable.ImmutableDictionary`2.Builder.Count">
  2472. <summary>Gets the number of elements contained in the immutable dictionary.</summary>
  2473. <returns>The number of elements contained in the immutable dictionary.</returns>
  2474. </member>
  2475. <member name="P:System.Collections.Immutable.ImmutableDictionary`2.Builder.Item(`0)">
  2476. <summary>Gets or sets the element with the specified key.</summary>
  2477. <param name="key">The element to get or set.</param>
  2478. <exception cref="T:System.ArgumentNullException">
  2479. <paramref name="key" /> is <see langword="null" />.</exception>
  2480. <exception cref="T:System.Collections.Generic.KeyNotFoundException">The property is being retrieved, and <paramref name="key" /> is not found.</exception>
  2481. <exception cref="T:System.NotSupportedException">The property is being set, and the <see cref="T:System.Collections.Generic.IDictionary`2" /> is read-only.</exception>
  2482. <returns>The element that has the specified key.</returns>
  2483. </member>
  2484. <member name="P:System.Collections.Immutable.ImmutableDictionary`2.Builder.KeyComparer">
  2485. <summary>Gets or sets the key comparer.</summary>
  2486. <returns>The key comparer.</returns>
  2487. </member>
  2488. <member name="P:System.Collections.Immutable.ImmutableDictionary`2.Builder.Keys">
  2489. <summary>Gets a collection that contains the keys of the immutable dictionary.</summary>
  2490. <returns>A collection that contains the keys of the object that implements the immutable dictionary.</returns>
  2491. </member>
  2492. <member name="P:System.Collections.Immutable.ImmutableDictionary`2.Builder.System#Collections#Generic#ICollection{System#Collections#Generic#KeyValuePair{TKey@TValue}}#IsReadOnly">
  2493. <summary>Gets a value that indicates whether the collection is read-only.</summary>
  2494. <returns>
  2495. <see langword="true" /> if the collection is read-only; otherwise, <see langword="false" />.</returns>
  2496. </member>
  2497. <member name="P:System.Collections.Immutable.ImmutableDictionary`2.Builder.System#Collections#Generic#IDictionary{TKey@TValue}#Keys">
  2498. <summary>Gets a collection containing the keys of the generic dictionary.</summary>
  2499. <returns>A collection containing the keys of the object that implements the generic dictionary.</returns>
  2500. </member>
  2501. <member name="P:System.Collections.Immutable.ImmutableDictionary`2.Builder.System#Collections#Generic#IDictionary{TKey@TValue}#Values">
  2502. <summary>Gets a collection containing the values in the generic dictionary.</summary>
  2503. <returns>A collection containing the values in the object that implements the generic dictionary.</returns>
  2504. </member>
  2505. <member name="P:System.Collections.Immutable.ImmutableDictionary`2.Builder.System#Collections#ICollection#IsSynchronized">
  2506. <summary>Gets a value that indicates whether access to the <see cref="T:System.Collections.ICollection" /> is synchronized (thread safe).</summary>
  2507. <returns>
  2508. <see langword="true" /> if access to the <see cref="T:System.Collections.ICollection" /> is synchronized (thread safe); otherwise, <see langword="false" />.</returns>
  2509. </member>
  2510. <member name="P:System.Collections.Immutable.ImmutableDictionary`2.Builder.System#Collections#ICollection#SyncRoot">
  2511. <summary>Gets an object that can be used to synchronize access to the <see cref="T:System.Collections.ICollection" />.</summary>
  2512. <returns>An object that can be used to synchronize access to the <see cref="T:System.Collections.ICollection" />.</returns>
  2513. </member>
  2514. <member name="P:System.Collections.Immutable.ImmutableDictionary`2.Builder.System#Collections#IDictionary#IsFixedSize">
  2515. <summary>Gets a value that indicates whether the <see cref="T:System.Collections.IDictionary" /> object has a fixed size.</summary>
  2516. <returns>
  2517. <see langword="true" /> if the <see cref="T:System.Collections.IDictionary" /> object has a fixed size; otherwise, <see langword="false" />.</returns>
  2518. </member>
  2519. <member name="P:System.Collections.Immutable.ImmutableDictionary`2.Builder.System#Collections#IDictionary#IsReadOnly">
  2520. <summary>Gets a value that indicates whether the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only.</summary>
  2521. <returns>
  2522. <see langword="true" /> if the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only; otherwise, <see langword="false" />.</returns>
  2523. </member>
  2524. <member name="P:System.Collections.Immutable.ImmutableDictionary`2.Builder.System#Collections#IDictionary#Item(System.Object)">
  2525. <summary>Gets or sets the element with the specified key.</summary>
  2526. <param name="key">The key.</param>
  2527. <returns>Value stored under specified key.</returns>
  2528. </member>
  2529. <member name="P:System.Collections.Immutable.ImmutableDictionary`2.Builder.System#Collections#IDictionary#Keys">
  2530. <summary>Gets an <see cref="T:System.Collections.Generic.ICollection`1" /> containing the keys of the <see cref="T:System.Collections.Generic.IDictionary`2" />.</summary>
  2531. <returns>An <see cref="T:System.Collections.Generic.ICollection`1" /> containing the keys of the object that implements <see cref="T:System.Collections.Generic.IDictionary`2" />.</returns>
  2532. </member>
  2533. <member name="P:System.Collections.Immutable.ImmutableDictionary`2.Builder.System#Collections#IDictionary#Values">
  2534. <summary>Gets an <see cref="T:System.Collections.Generic.ICollection`1" /> containing the values in the <see cref="T:System.Collections.Generic.IDictionary`2" />.</summary>
  2535. <returns>An <see cref="T:System.Collections.Generic.ICollection`1" /> containing the values in the object that implements <see cref="T:System.Collections.Generic.IDictionary`2" />.</returns>
  2536. </member>
  2537. <member name="P:System.Collections.Immutable.ImmutableDictionary`2.Builder.ValueComparer">
  2538. <summary>Gets or sets the value comparer.</summary>
  2539. <returns>The value comparer.</returns>
  2540. </member>
  2541. <member name="P:System.Collections.Immutable.ImmutableDictionary`2.Builder.Values">
  2542. <summary>Gets a collection that contains the values of the immutable dictionary.</summary>
  2543. <returns>A collection that contains the values of the object that implements the dictionary.</returns>
  2544. </member>
  2545. <member name="T:System.Collections.Immutable.ImmutableDictionary`2.Enumerator">
  2546. <summary>Enumerates the contents of the immutable dictionary without allocating any memory.
  2547. NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
  2548. <typeparam name="TKey" />
  2549. <typeparam name="TValue" />
  2550. </member>
  2551. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Enumerator.Dispose">
  2552. <summary>Releases the resources used by the current instance of the <see cref="T:System.Collections.Immutable.ImmutableDictionary`2.Enumerator" /> class.</summary>
  2553. </member>
  2554. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Enumerator.MoveNext">
  2555. <summary>Advances the enumerator to the next element of the immutable dictionary.</summary>
  2556. <exception cref="T:System.InvalidOperationException">The dictionary was modified after the enumerator was created.</exception>
  2557. <returns>
  2558. <see langword="true" /> if the enumerator was successfully advanced to the next element; <see langword="false" /> if the enumerator has passed the end of the dictionary.</returns>
  2559. </member>
  2560. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Enumerator.Reset">
  2561. <summary>Sets the enumerator to its initial position, which is before the first element in the dictionary.</summary>
  2562. <exception cref="T:System.InvalidOperationException">The dictionary was modified after the enumerator was created.</exception>
  2563. </member>
  2564. <member name="P:System.Collections.Immutable.ImmutableDictionary`2.Enumerator.Current">
  2565. <summary>Gets the element at the current position of the enumerator.</summary>
  2566. <returns>The element in the dictionary at the current position of the enumerator.</returns>
  2567. </member>
  2568. <member name="P:System.Collections.Immutable.ImmutableDictionary`2.Enumerator.System#Collections#IEnumerator#Current">
  2569. <summary>Gets the current element.</summary>
  2570. <returns>Current element in enumeration.</returns>
  2571. </member>
  2572. <member name="T:System.Collections.Immutable.ImmutableHashSet">
  2573. <summary>Provides a set of initialization methods for instances of the <see cref="T:System.Collections.Immutable.ImmutableHashSet`1" /> class.
  2574. NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
  2575. </member>
  2576. <member name="M:System.Collections.Immutable.ImmutableHashSet.Create``1">
  2577. <summary>Creates an empty immutable hash set.</summary>
  2578. <typeparam name="T">The type of items to be stored in the immutable hash set.</typeparam>
  2579. <returns>An empty immutable hash set.</returns>
  2580. </member>
  2581. <member name="M:System.Collections.Immutable.ImmutableHashSet.Create``1(``0)">
  2582. <summary>Creates a new immutable hash set that contains the specified item.</summary>
  2583. <param name="item">The item to prepopulate the hash set with.</param>
  2584. <typeparam name="T">The type of items in the immutable hash set.</typeparam>
  2585. <returns>A new immutable hash set that contains the specified item.</returns>
  2586. </member>
  2587. <member name="M:System.Collections.Immutable.ImmutableHashSet.Create``1(``0[])">
  2588. <summary>Creates a new immutable hash set that contains the specified array of items.</summary>
  2589. <param name="items">An array that contains the items to prepopulate the hash set with.</param>
  2590. <typeparam name="T">The type of items in the immutable hash set.</typeparam>
  2591. <returns>A new immutable hash set that contains the specified items.</returns>
  2592. </member>
  2593. <member name="M:System.Collections.Immutable.ImmutableHashSet.Create``1(System.Collections.Generic.IEqualityComparer{``0})">
  2594. <summary>Creates an empty immutable hash set that uses the specified equality comparer.</summary>
  2595. <param name="equalityComparer">The object to use for comparing objects in the set for equality.</param>
  2596. <typeparam name="T">The type of items in the immutable hash set.</typeparam>
  2597. <returns>An empty immutable hash set.</returns>
  2598. </member>
  2599. <member name="M:System.Collections.Immutable.ImmutableHashSet.Create``1(System.Collections.Generic.IEqualityComparer{``0},``0)">
  2600. <summary>Creates a new immutable hash set that contains the specified item and uses the specified equality comparer for the set type.</summary>
  2601. <param name="equalityComparer">The object to use for comparing objects in the set for equality.</param>
  2602. <param name="item">The item to prepopulate the hash set with.</param>
  2603. <typeparam name="T">The type of items in the immutable hash set.</typeparam>
  2604. <returns>A new immutable hash set that contains the specified item.</returns>
  2605. </member>
  2606. <member name="M:System.Collections.Immutable.ImmutableHashSet.Create``1(System.Collections.Generic.IEqualityComparer{``0},``0[])">
  2607. <summary>Creates a new immutable hash set that contains the items in the specified collection and uses the specified equality comparer for the set type.</summary>
  2608. <param name="equalityComparer">The object to use for comparing objects in the set for equality.</param>
  2609. <param name="items">An array that contains the items to prepopulate the hash set with.</param>
  2610. <typeparam name="T">The type of items stored in the immutable hash set.</typeparam>
  2611. <returns>A new immutable hash set that contains the specified items.</returns>
  2612. </member>
  2613. <member name="M:System.Collections.Immutable.ImmutableHashSet.Create``1(System.Collections.Generic.IEqualityComparer{``0},System.ReadOnlySpan{``0})">
  2614. <summary>Creates a new immutable collection prefilled with the specified items.</summary>
  2615. <param name="equalityComparer">The equality comparer.</param>
  2616. <param name="items">The items to prepopulate.</param>
  2617. <typeparam name="T">The type of items stored by the collection.</typeparam>
  2618. <returns>The new immutable collection.</returns>
  2619. </member>
  2620. <member name="M:System.Collections.Immutable.ImmutableHashSet.Create``1(System.ReadOnlySpan{``0})">
  2621. <summary>Creates a new immutable collection prefilled with the specified items.</summary>
  2622. <param name="items">The items to prepopulate.</param>
  2623. <typeparam name="T">The type of items stored by the collection.</typeparam>
  2624. <returns>The new immutable collection.</returns>
  2625. </member>
  2626. <member name="M:System.Collections.Immutable.ImmutableHashSet.CreateBuilder``1">
  2627. <summary>Creates a new immutable hash set builder.</summary>
  2628. <typeparam name="T">The type of items stored by the collection.</typeparam>
  2629. <returns>The immutable hash set builder.</returns>
  2630. </member>
  2631. <member name="M:System.Collections.Immutable.ImmutableHashSet.CreateBuilder``1(System.Collections.Generic.IEqualityComparer{``0})">
  2632. <summary>Creates a new immutable hash set builder.</summary>
  2633. <param name="equalityComparer">The object to use for comparing objects in the set for equality.</param>
  2634. <typeparam name="T">The type of items stored by the collection.</typeparam>
  2635. <returns>The new immutable hash set builder.</returns>
  2636. </member>
  2637. <member name="M:System.Collections.Immutable.ImmutableHashSet.CreateRange``1(System.Collections.Generic.IEnumerable{``0})">
  2638. <summary>Creates a new immutable hash set prefilled with the specified items.</summary>
  2639. <param name="items">The items to add to the hash set.</param>
  2640. <typeparam name="T">The type of items stored by the collection.</typeparam>
  2641. <returns>The new immutable hash set that contains the specified items.</returns>
  2642. </member>
  2643. <member name="M:System.Collections.Immutable.ImmutableHashSet.CreateRange``1(System.Collections.Generic.IEqualityComparer{``0},System.Collections.Generic.IEnumerable{``0})">
  2644. <summary>Creates a new immutable hash set that contains the specified items and uses the specified equality comparer for the set type.</summary>
  2645. <param name="equalityComparer">The object to use for comparing objects in the set for equality.</param>
  2646. <param name="items">The items add to the collection before immutability is applied.</param>
  2647. <typeparam name="T">The type of items stored in the collection.</typeparam>
  2648. <returns>The new immutable hash set.</returns>
  2649. </member>
  2650. <member name="M:System.Collections.Immutable.ImmutableHashSet.ToImmutableHashSet``1(System.Collections.Generic.IEnumerable{``0})">
  2651. <summary>Enumerates a sequence and produces an immutable hash set of its contents.</summary>
  2652. <param name="source">The sequence to enumerate.</param>
  2653. <typeparam name="TSource">The type of the elements in the sequence.</typeparam>
  2654. <returns>An immutable hash set that contains the items in the specified sequence.</returns>
  2655. </member>
  2656. <member name="M:System.Collections.Immutable.ImmutableHashSet.ToImmutableHashSet``1(System.Collections.Generic.IEnumerable{``0},System.Collections.Generic.IEqualityComparer{``0})">
  2657. <summary>Enumerates a sequence, produces an immutable hash set of its contents, and uses the specified equality comparer for the set type.</summary>
  2658. <param name="source">The sequence to enumerate.</param>
  2659. <param name="equalityComparer">The object to use for comparing objects in the set for equality.</param>
  2660. <typeparam name="TSource">The type of the elements in the sequence.</typeparam>
  2661. <returns>An immutable hash set that contains the items in the specified sequence and uses the specified equality comparer.</returns>
  2662. </member>
  2663. <member name="M:System.Collections.Immutable.ImmutableHashSet.ToImmutableHashSet``1(System.Collections.Immutable.ImmutableHashSet{``0}.Builder)">
  2664. <summary>Creates an immutable hash set from the current contents of the builder's set.</summary>
  2665. <param name="builder">The builder to create the immutable hash set from.</param>
  2666. <typeparam name="TSource">The type of the elements in the hash set.</typeparam>
  2667. <returns>An immutable hash set that contains the current contents in the builder's set.</returns>
  2668. </member>
  2669. <member name="T:System.Collections.Immutable.ImmutableHashSet`1">
  2670. <summary>Represents an immutable, unordered hash set.
  2671. NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
  2672. <typeparam name="T">The type of elements in the hash set.</typeparam>
  2673. </member>
  2674. <member name="F:System.Collections.Immutable.ImmutableHashSet`1.Empty">
  2675. <summary>Gets an immutable hash set for this type that uses the default <see cref="T:System.Collections.Generic.IEqualityComparer`1" />.</summary>
  2676. </member>
  2677. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Add(`0)">
  2678. <summary>Adds the specified element to the hash set.</summary>
  2679. <param name="item">The element to add to the set.</param>
  2680. <returns>A hash set that contains the added value and any values previously held by the <see cref="T:System.Collections.Immutable.ImmutableHashSet`1" /> object.</returns>
  2681. </member>
  2682. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Clear">
  2683. <summary>Retrieves an empty immutable hash set that has the same sorting and ordering semantics as this instance.</summary>
  2684. <returns>An empty hash set that has the same sorting and ordering semantics as this instance.</returns>
  2685. </member>
  2686. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Contains(`0)">
  2687. <summary>Determines whether this immutable hash set contains the specified element.</summary>
  2688. <param name="item">The object to locate in the immutable hash set.</param>
  2689. <returns>
  2690. <see langword="true" /> if <paramref name="item" /> is found in the <see cref="T:System.Collections.Immutable.ImmutableHashSet`1" />; otherwise, <see langword="false" />.</returns>
  2691. </member>
  2692. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Except(System.Collections.Generic.IEnumerable{`0})">
  2693. <summary>Removes the elements in the specified collection from the current immutable hash set.</summary>
  2694. <param name="other">The collection of items to remove from this set.</param>
  2695. <returns>A new set with the items removed; or the original set if none of the items were in the set.</returns>
  2696. </member>
  2697. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.GetEnumerator">
  2698. <summary>Returns an enumerator that iterates through the collection.</summary>
  2699. <returns>An enumerator that can be used to iterate through the collection.</returns>
  2700. </member>
  2701. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Intersect(System.Collections.Generic.IEnumerable{`0})">
  2702. <summary>Creates an immutable hash set that contains elements that exist in both this set and the specified set.</summary>
  2703. <param name="other">The collection to compare to the current set.</param>
  2704. <returns>A new immutable set that contains any elements that exist in both sets.</returns>
  2705. </member>
  2706. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.IsProperSubsetOf(System.Collections.Generic.IEnumerable{`0})">
  2707. <summary>Determines whether the current immutable hash set is a proper (strict) subset of a specified collection.</summary>
  2708. <param name="other">The collection to compare to the current set.</param>
  2709. <returns>
  2710. <see langword="true" /> if the current set is a proper subset of the specified collection; otherwise, <see langword="false" />.</returns>
  2711. </member>
  2712. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.IsProperSupersetOf(System.Collections.Generic.IEnumerable{`0})">
  2713. <summary>Determines whether the current immutable hash set is a proper (strict) superset of a specified collection.</summary>
  2714. <param name="other">The collection to compare to the current set.</param>
  2715. <returns>
  2716. <see langword="true" /> if the current set is a proper superset of the specified collection; otherwise, <see langword="false" />.</returns>
  2717. </member>
  2718. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.IsSubsetOf(System.Collections.Generic.IEnumerable{`0})">
  2719. <summary>Determines whether the current immutable hash set is a subset of a specified collection.</summary>
  2720. <param name="other">The collection to compare to the current set.</param>
  2721. <returns>
  2722. <see langword="true" /> if the current set is a subset of the specified collection; otherwise, <see langword="false" />.</returns>
  2723. </member>
  2724. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.IsSupersetOf(System.Collections.Generic.IEnumerable{`0})">
  2725. <summary>Determines whether the current immutable hash set is a superset of a specified collection.</summary>
  2726. <param name="other">The collection to compare to the current set.</param>
  2727. <returns>
  2728. <see langword="true" /> if the current set is a superset of the specified collection; otherwise, <see langword="false" />.</returns>
  2729. </member>
  2730. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Overlaps(System.Collections.Generic.IEnumerable{`0})">
  2731. <summary>Determines whether the current immutable hash set overlaps with the specified collection.</summary>
  2732. <param name="other">The collection to compare to the current set.</param>
  2733. <returns>
  2734. <see langword="true" /> if the current set and the specified collection share at least one common element; otherwise, <see langword="false" />.</returns>
  2735. </member>
  2736. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Remove(`0)">
  2737. <summary>Removes the specified element from this immutable hash set.</summary>
  2738. <param name="item">The element to remove.</param>
  2739. <returns>A new set with the specified element removed, or the current set if the element cannot be found in the set.</returns>
  2740. </member>
  2741. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.SetEquals(System.Collections.Generic.IEnumerable{`0})">
  2742. <summary>Determines whether the current immutable hash set and the specified collection contain the same elements.</summary>
  2743. <param name="other">The collection to compare to the current set.</param>
  2744. <returns>
  2745. <see langword="true" /> if the sets are equal; otherwise, <see langword="false" />.</returns>
  2746. </member>
  2747. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.SymmetricExcept(System.Collections.Generic.IEnumerable{`0})">
  2748. <summary>Creates an immutable hash set that contains only elements that are present either in the current set or in the specified collection, but not both.</summary>
  2749. <param name="other">The collection to compare to the current set.</param>
  2750. <returns>A new set that contains the elements that are present only in the current set or in the specified collection, but not both.</returns>
  2751. </member>
  2752. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.System#Collections#Generic#ICollection{T}#Add(`0)">
  2753. <summary>Adds an item to the set.</summary>
  2754. <param name="item">The object to add to the set.</param>
  2755. <exception cref="T:System.NotSupportedException">The set is read-only.</exception>
  2756. </member>
  2757. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.System#Collections#Generic#ICollection{T}#Clear">
  2758. <summary>Removes all items from this set.</summary>
  2759. <exception cref="T:System.NotSupportedException">The set is read-only.</exception>
  2760. </member>
  2761. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.System#Collections#Generic#ICollection{T}#CopyTo(`0[],System.Int32)">
  2762. <summary>Copies the elements of the set to an array, starting at a particular index.</summary>
  2763. <param name="array">The one-dimensional array that is the destination of the elements copied from the set. The array must have zero-based indexing.</param>
  2764. <param name="arrayIndex">The zero-based index in <paramref name="array" /> at which copying begins.</param>
  2765. </member>
  2766. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.System#Collections#Generic#ICollection{T}#Remove(`0)">
  2767. <summary>Removes the first occurrence of a specific object from the set.</summary>
  2768. <param name="item">The object to remove from the set.</param>
  2769. <returns>
  2770. <see langword="true" /> if the element is successfully removed; otherwise, <see langword="false" />.</returns>
  2771. </member>
  2772. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.System#Collections#Generic#IEnumerable{T}#GetEnumerator">
  2773. <summary>Returns an enumerator that iterates through the collection.</summary>
  2774. <returns>An enumerator that iterates through the collection.</returns>
  2775. </member>
  2776. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.System#Collections#Generic#ISet{T}#Add(`0)">
  2777. <summary>Adds an element to the current set and returns a value that indicates whether the element was successfully added.</summary>
  2778. <param name="item">The element to add to the collection.</param>
  2779. <returns>
  2780. <see langword="true" /> if the element is added to the set; <see langword="false" /> if the element is already in the set.</returns>
  2781. </member>
  2782. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.System#Collections#Generic#ISet{T}#ExceptWith(System.Collections.Generic.IEnumerable{`0})">
  2783. <summary>Removes all elements in the specified collection from the current set.</summary>
  2784. <param name="other">The collection of items to remove.</param>
  2785. </member>
  2786. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.System#Collections#Generic#ISet{T}#IntersectWith(System.Collections.Generic.IEnumerable{`0})">
  2787. <summary>Modifies the current set so that it contains only elements that are also in a specified collection.</summary>
  2788. <param name="other">The collection to compare to the current collection.</param>
  2789. </member>
  2790. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.System#Collections#Generic#ISet{T}#SymmetricExceptWith(System.Collections.Generic.IEnumerable{`0})">
  2791. <summary>Modifies the current set so that it contains only elements that are present either in the current set or in the specified collection, but not both.</summary>
  2792. <param name="other">The collection to compare to the current set.</param>
  2793. </member>
  2794. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.System#Collections#Generic#ISet{T}#UnionWith(System.Collections.Generic.IEnumerable{`0})">
  2795. <summary>Modifies the current set so that it contains all elements that are present in either the current set or in the specified collection.</summary>
  2796. <param name="other">The collection to compare to the current set.</param>
  2797. </member>
  2798. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.System#Collections#ICollection#CopyTo(System.Array,System.Int32)">
  2799. <summary>Copies the elements of the set to an array, starting at a particular index.</summary>
  2800. <param name="array">The one-dimensional array that is the destination of the elements copied from the set. The array must have zero-based indexing.</param>
  2801. <param name="arrayIndex">The zero-based index in <paramref name="array" /> at which copying begins.</param>
  2802. </member>
  2803. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.System#Collections#IEnumerable#GetEnumerator">
  2804. <summary>Returns an enumerator that iterates through a set.</summary>
  2805. <returns>An enumerator that can be used to iterate through the set.</returns>
  2806. </member>
  2807. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.System#Collections#Immutable#IImmutableSet{T}#Add(`0)">
  2808. <summary>Adds the specified element to this immutable set.</summary>
  2809. <param name="item">The element to add.</param>
  2810. <returns>A new set with the element added, or this set if the element is already in the set.</returns>
  2811. </member>
  2812. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.System#Collections#Immutable#IImmutableSet{T}#Clear">
  2813. <summary>Retrieves an empty set that has the same sorting and ordering semantics as this instance.</summary>
  2814. <returns>An empty set that has the same sorting or ordering semantics as this instance.</returns>
  2815. </member>
  2816. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.System#Collections#Immutable#IImmutableSet{T}#Except(System.Collections.Generic.IEnumerable{`0})">
  2817. <summary>Removes the elements in the specified collection from the current set.</summary>
  2818. <param name="other">The collection of items to remove from this set.</param>
  2819. <returns>A new set with the items removed; or the original set if none of the items were in the set.</returns>
  2820. </member>
  2821. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.System#Collections#Immutable#IImmutableSet{T}#Intersect(System.Collections.Generic.IEnumerable{`0})">
  2822. <summary>Creates an immutable set that contains elements that exist in both this set and the specified set.</summary>
  2823. <param name="other">The collection to compare to the current set.</param>
  2824. <returns>A new immutable set that contains any elements that exist in both sets.</returns>
  2825. </member>
  2826. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.System#Collections#Immutable#IImmutableSet{T}#Remove(`0)">
  2827. <summary>Removes the specified element from this immutable set.</summary>
  2828. <param name="item">The element to remove.</param>
  2829. <returns>A new set with the specified element removed, or the current set if the element cannot be found in the set.</returns>
  2830. </member>
  2831. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.System#Collections#Immutable#IImmutableSet{T}#SymmetricExcept(System.Collections.Generic.IEnumerable{`0})">
  2832. <summary>Creates an immutable set that contains only elements that are present either in the current set or in the specified collection, but not both.</summary>
  2833. <param name="other">The collection to compare to the current set.</param>
  2834. <returns>A new set that contains the elements that are present only in the current set or in the specified collection, but not both.</returns>
  2835. </member>
  2836. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.System#Collections#Immutable#IImmutableSet{T}#Union(System.Collections.Generic.IEnumerable{`0})">
  2837. <summary>Creates a new immutable set that contains all elements that are present in either the current set or in the specified collection.</summary>
  2838. <param name="other">The collection to add elements from.</param>
  2839. <returns>A new immutable set with the items added; or the original set if all the items were already in the set.</returns>
  2840. </member>
  2841. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.ToBuilder">
  2842. <summary>Creates an immutable hash set that has the same contents as this set and can be efficiently mutated across multiple operations by using standard mutable interfaces.</summary>
  2843. <returns>A set with the same contents as this set that can be efficiently mutated across multiple operations by using standard mutable interfaces.</returns>
  2844. </member>
  2845. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.TryGetValue(`0,`0@)">
  2846. <summary>Searches the set for a given value and returns the equal value it finds, if any.</summary>
  2847. <param name="equalValue">The value to search for.</param>
  2848. <param name="actualValue">The value from the set that the search found, or the original value if the search yielded no match.</param>
  2849. <returns>A value indicating whether the search was successful.</returns>
  2850. </member>
  2851. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Union(System.Collections.Generic.IEnumerable{`0})">
  2852. <summary>Creates a new immutable hash set that contains all elements that are present in either the current set or in the specified collection.</summary>
  2853. <param name="other">The collection to add elements from.</param>
  2854. <returns>A new immutable hash set with the items added; or the original set if all the items were already in the set.</returns>
  2855. </member>
  2856. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.WithComparer(System.Collections.Generic.IEqualityComparer{`0})">
  2857. <summary>Gets an instance of the immutable hash set that uses the specified equality comparer for its search methods.</summary>
  2858. <param name="equalityComparer">The equality comparer to use.</param>
  2859. <returns>An instance of this immutable hash set that uses the given comparer.</returns>
  2860. </member>
  2861. <member name="P:System.Collections.Immutable.ImmutableHashSet`1.Count">
  2862. <summary>Gets the number of elements in the immutable hash set.</summary>
  2863. <returns>The number of elements in the hash set.</returns>
  2864. </member>
  2865. <member name="P:System.Collections.Immutable.ImmutableHashSet`1.IsEmpty">
  2866. <summary>Gets a value that indicates whether the current immutable hash set is empty.</summary>
  2867. <returns>
  2868. <see langword="true" /> if this instance is empty; otherwise, <see langword="false" />.</returns>
  2869. </member>
  2870. <member name="P:System.Collections.Immutable.ImmutableHashSet`1.KeyComparer">
  2871. <summary>Gets the object that is used to obtain hash codes for the keys and to check the equality of values in the immutable hash set.</summary>
  2872. <returns>The comparer used to obtain hash codes for the keys and check equality.</returns>
  2873. </member>
  2874. <member name="P:System.Collections.Immutable.ImmutableHashSet`1.System#Collections#Generic#ICollection{T}#IsReadOnly">
  2875. <summary>See the <see cref="T:System.Collections.Generic.ICollection`1" /> interface.</summary>
  2876. <returns>
  2877. <see langword="true" /> if the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only; otherwise, <see langword="false" />.</returns>
  2878. </member>
  2879. <member name="P:System.Collections.Immutable.ImmutableHashSet`1.System#Collections#ICollection#IsSynchronized">
  2880. <summary>See the <see cref="T:System.Collections.ICollection" /> interface.</summary>
  2881. <returns>
  2882. <see langword="true" /> if access to the <see cref="T:System.Collections.ICollection" /> is synchronized (thread safe); otherwise, <see langword="false" />.</returns>
  2883. </member>
  2884. <member name="P:System.Collections.Immutable.ImmutableHashSet`1.System#Collections#ICollection#SyncRoot">
  2885. <summary>See <see cref="T:System.Collections.ICollection" />.</summary>
  2886. <returns>An object that can be used to synchronize access to the <see cref="T:System.Collections.ICollection" />.</returns>
  2887. </member>
  2888. <member name="T:System.Collections.Immutable.ImmutableHashSet`1.Builder">
  2889. <summary>Represents a hash set that mutates with little or no memory allocations and that can produce or build on immutable hash set instances very efficiently.
  2890. NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
  2891. <typeparam name="T" />
  2892. </member>
  2893. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Builder.Add(`0)">
  2894. <summary>Adds the specified item to the immutable hash set.</summary>
  2895. <param name="item">The item to add.</param>
  2896. <returns>
  2897. <see langword="true" /> if the item did not already belong to the collection; otherwise, <see langword="false" />.</returns>
  2898. </member>
  2899. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Builder.Clear">
  2900. <summary>Removes all items from the immutable hash set.</summary>
  2901. <exception cref="T:System.NotSupportedException">The hash set is read-only.</exception>
  2902. </member>
  2903. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Builder.Contains(`0)">
  2904. <summary>Determines whether the immutable hash set contains a specific value.</summary>
  2905. <param name="item">The object to locate in the hash set.</param>
  2906. <returns>
  2907. <see langword="true" /> if <paramref name="item" /> is found in the hash set ; otherwise, <see langword="false" />.</returns>
  2908. </member>
  2909. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Builder.ExceptWith(System.Collections.Generic.IEnumerable{`0})">
  2910. <summary>Removes all elements in the specified collection from the current hash set.</summary>
  2911. <param name="other">The collection of items to remove from the set.</param>
  2912. </member>
  2913. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Builder.GetEnumerator">
  2914. <summary>Returns an enumerator that iterates through the immutable hash set.</summary>
  2915. <returns>An enumerator that can be used to iterate through the set.</returns>
  2916. </member>
  2917. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Builder.IntersectWith(System.Collections.Generic.IEnumerable{`0})">
  2918. <summary>Modifies the current set so that it contains only elements that are also in a specified collection.</summary>
  2919. <param name="other">The collection to compare to the current set.</param>
  2920. </member>
  2921. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Builder.IsProperSubsetOf(System.Collections.Generic.IEnumerable{`0})">
  2922. <summary>Determines whether the current set is a proper (strict) subset of a specified collection.</summary>
  2923. <param name="other">The collection to compare to the current set.</param>
  2924. <returns>
  2925. <see langword="true" /> if the current set is a proper subset of <paramref name="other" />; otherwise, <see langword="false" />.</returns>
  2926. </member>
  2927. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Builder.IsProperSupersetOf(System.Collections.Generic.IEnumerable{`0})">
  2928. <summary>Determines whether the current set is a proper (strict) superset of a specified collection.</summary>
  2929. <param name="other">The collection to compare to the current set.</param>
  2930. <returns>
  2931. <see langword="true" /> if the current set is a proper superset of <paramref name="other" />; otherwise, <see langword="false" />.</returns>
  2932. </member>
  2933. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Builder.IsSubsetOf(System.Collections.Generic.IEnumerable{`0})">
  2934. <summary>Determines whether the current set is a subset of a specified collection.</summary>
  2935. <param name="other">The collection to compare to the current set.</param>
  2936. <returns>
  2937. <see langword="true" /> if the current set is a subset of <paramref name="other" />; otherwise, <see langword="false" />.</returns>
  2938. </member>
  2939. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Builder.IsSupersetOf(System.Collections.Generic.IEnumerable{`0})">
  2940. <summary>Determines whether the current set is a superset of a specified collection.</summary>
  2941. <param name="other">The collection to compare to the current set.</param>
  2942. <returns>
  2943. <see langword="true" /> if the current set is a superset of <paramref name="other" />; otherwise, <see langword="false" />.</returns>
  2944. </member>
  2945. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Builder.Overlaps(System.Collections.Generic.IEnumerable{`0})">
  2946. <summary>Determines whether the current set overlaps with the specified collection.</summary>
  2947. <param name="other">The collection to compare to the current set.</param>
  2948. <returns>
  2949. <see langword="true" /> if the current set and <paramref name="other" /> share at least one common element; otherwise, <see langword="false" />.</returns>
  2950. </member>
  2951. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Builder.Remove(`0)">
  2952. <summary>Removes the first occurrence of a specific object from the immutable hash set.</summary>
  2953. <param name="item">The object to remove from the set.</param>
  2954. <exception cref="T:System.NotSupportedException">The set is read-only.</exception>
  2955. <returns>
  2956. <see langword="true" /> if <paramref name="item" /> was successfully removed from the set ; otherwise, <see langword="false" />. This method also returns <see langword="false" /> if <paramref name="item" /> is not found in the original set.</returns>
  2957. </member>
  2958. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Builder.SetEquals(System.Collections.Generic.IEnumerable{`0})">
  2959. <summary>Determines whether the current set and the specified collection contain the same elements.</summary>
  2960. <param name="other">The collection to compare to the current set.</param>
  2961. <returns>
  2962. <see langword="true" /> if the current set is equal to <paramref name="other" />; otherwise, <see langword="false" />.</returns>
  2963. </member>
  2964. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Builder.SymmetricExceptWith(System.Collections.Generic.IEnumerable{`0})">
  2965. <summary>Modifies the current set so that it contains only elements that are present either in the current set or in the specified collection, but not both.</summary>
  2966. <param name="other">The collection to compare to the current set.</param>
  2967. </member>
  2968. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Builder.System#Collections#Generic#ICollection{T}#Add(`0)">
  2969. <summary>Adds an item to the hash set.</summary>
  2970. <param name="item">The object to add to the set.</param>
  2971. <exception cref="T:System.NotSupportedException">The set is read-only.</exception>
  2972. </member>
  2973. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Builder.System#Collections#Generic#ICollection{T}#CopyTo(`0[],System.Int32)">
  2974. <summary>Copies the elements of the hash set to an array, starting at a particular array index.</summary>
  2975. <param name="array">The one-dimensional array that is the destination of the elements copied from the hash set. The array must have zero-based indexing.</param>
  2976. <param name="arrayIndex">The zero-based index in <paramref name="array" /> at which copying begins.</param>
  2977. </member>
  2978. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Builder.System#Collections#Generic#IEnumerable{T}#GetEnumerator">
  2979. <summary>Returns an enumerator that iterates through the collection.</summary>
  2980. <returns>An enumerator that can be used to iterate through the collection.</returns>
  2981. </member>
  2982. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Builder.System#Collections#IEnumerable#GetEnumerator">
  2983. <summary>Returns an enumerator that iterates through a collection.</summary>
  2984. <returns>An enumerator that can be used to iterate through the collection.</returns>
  2985. </member>
  2986. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Builder.ToImmutable">
  2987. <summary>Creates an immutable hash set based on the contents of this instance.</summary>
  2988. <returns>An immutable set.</returns>
  2989. </member>
  2990. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Builder.TryGetValue(`0,`0@)">
  2991. <summary>Searches the set for a given value and returns the equal value it finds, if any.</summary>
  2992. <param name="equalValue">The value for which to search.</param>
  2993. <param name="actualValue">The value from the set that the search found, or the original value if the search yielded no match.</param>
  2994. <returns>A value indicating whether the search was successful.</returns>
  2995. </member>
  2996. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Builder.UnionWith(System.Collections.Generic.IEnumerable{`0})">
  2997. <summary>Modifies the current set so that it contains all elements that are present in both the current set and in the specified collection.</summary>
  2998. <param name="other">The collection to compare to the current set.</param>
  2999. </member>
  3000. <member name="P:System.Collections.Immutable.ImmutableHashSet`1.Builder.Count">
  3001. <summary>Gets the number of elements contained in the immutable hash set.</summary>
  3002. <returns>The number of elements contained in the immutable hash set.</returns>
  3003. </member>
  3004. <member name="P:System.Collections.Immutable.ImmutableHashSet`1.Builder.KeyComparer">
  3005. <summary>Gets or sets the key comparer.</summary>
  3006. <returns>The key comparer.</returns>
  3007. </member>
  3008. <member name="P:System.Collections.Immutable.ImmutableHashSet`1.Builder.System#Collections#Generic#ICollection{T}#IsReadOnly">
  3009. <summary>Gets a value indicating whether the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only.</summary>
  3010. <returns>
  3011. <see langword="true" /> if the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only; otherwise, <see langword="false" />.</returns>
  3012. </member>
  3013. <member name="T:System.Collections.Immutable.ImmutableHashSet`1.Enumerator">
  3014. <summary>Enumerates the contents of the immutable hash set without allocating any memory.
  3015. NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
  3016. <typeparam name="T" />
  3017. </member>
  3018. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Enumerator.Dispose">
  3019. <summary>Releases the resources used by the current instance of the <see cref="T:System.Collections.Immutable.ImmutableHashSet`1.Enumerator" /> class.</summary>
  3020. </member>
  3021. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Enumerator.MoveNext">
  3022. <summary>Advances the enumerator to the next element of the immutable hash set.</summary>
  3023. <exception cref="T:System.InvalidOperationException">The hash set was modified after the enumerator was created.</exception>
  3024. <returns>
  3025. <see langword="true" /> if the enumerator was successfully advanced to the next element; <see langword="false" /> if the enumerator has passed the end of the hash set.</returns>
  3026. </member>
  3027. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Enumerator.Reset">
  3028. <summary>Sets the enumerator to its initial position, which is before the first element in the hash set.</summary>
  3029. <exception cref="T:System.InvalidOperationException">The hash set was modified after the enumerator was created.</exception>
  3030. </member>
  3031. <member name="P:System.Collections.Immutable.ImmutableHashSet`1.Enumerator.Current">
  3032. <summary>Gets the element at the current position of the enumerator.</summary>
  3033. <returns>The element at the current position of the enumerator.</returns>
  3034. </member>
  3035. <member name="P:System.Collections.Immutable.ImmutableHashSet`1.Enumerator.System#Collections#IEnumerator#Current">
  3036. <summary>Gets the current element.</summary>
  3037. <returns>The element in the collection at the current position of the enumerator.</returns>
  3038. </member>
  3039. <member name="T:System.Collections.Immutable.ImmutableInterlocked">
  3040. <summary>Contains interlocked exchange mechanisms for immutable collections.
  3041. NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
  3042. </member>
  3043. <member name="M:System.Collections.Immutable.ImmutableInterlocked.AddOrUpdate``2(System.Collections.Immutable.ImmutableDictionary{``0,``1}@,``0,``1,System.Func{``0,``1,``1})">
  3044. <summary>Obtains the value from a dictionary after having added it or updated an existing entry.</summary>
  3045. <param name="location">The variable or field to atomically update if the specified is not in the dictionary.</param>
  3046. <param name="key">The key for the value to add or update.</param>
  3047. <param name="addValue">The value to use if no previous value exists.</param>
  3048. <param name="updateValueFactory">The function that receives the key and prior value and returns the new value with which to update the dictionary.</param>
  3049. <typeparam name="TKey">The type of key stored by the dictionary.</typeparam>
  3050. <typeparam name="TValue">The type of value stored by the dictionary.</typeparam>
  3051. <returns>The added or updated value.</returns>
  3052. </member>
  3053. <member name="M:System.Collections.Immutable.ImmutableInterlocked.AddOrUpdate``2(System.Collections.Immutable.ImmutableDictionary{``0,``1}@,``0,System.Func{``0,``1},System.Func{``0,``1,``1})">
  3054. <summary>Obtains the value from a dictionary after having added it or updated an existing entry.</summary>
  3055. <param name="location">The variable or field to atomically update if the specified is not in the dictionary.</param>
  3056. <param name="key">The key for the value to add or update.</param>
  3057. <param name="addValueFactory">The function that receives the key and returns a new value to add to the dictionary when no value previously exists.</param>
  3058. <param name="updateValueFactory">The function that receives the key and prior value and returns the new value with which to update the dictionary.</param>
  3059. <typeparam name="TKey">The type of key stored by the dictionary.</typeparam>
  3060. <typeparam name="TValue">The type of value stored by the dictionary.</typeparam>
  3061. <returns>The added or updated value.</returns>
  3062. </member>
  3063. <member name="M:System.Collections.Immutable.ImmutableInterlocked.Enqueue``1(System.Collections.Immutable.ImmutableQueue{``0}@,``0)">
  3064. <summary>Atomically enqueues an element to the end of a queue.</summary>
  3065. <param name="location">The variable or field to atomically update.</param>
  3066. <param name="value">The value to enqueue.</param>
  3067. <typeparam name="T">The type of items contained in the collection.</typeparam>
  3068. </member>
  3069. <member name="M:System.Collections.Immutable.ImmutableInterlocked.GetOrAdd``2(System.Collections.Immutable.ImmutableDictionary{``0,``1}@,``0,``1)">
  3070. <summary>Gets the value for the specified key from the dictionary, or if the key was not found, adds a new value to the dictionary.</summary>
  3071. <param name="location">The variable or field to atomically update if the specified key is not in the dictionary.</param>
  3072. <param name="key">The key for the value to get or add.</param>
  3073. <param name="value">The value to add to the dictionary the key is not found.</param>
  3074. <typeparam name="TKey">The type of the keys contained in the collection.</typeparam>
  3075. <typeparam name="TValue">The type of the values contained in the collection.</typeparam>
  3076. <returns>The value at the specified key or <paramref name="valueFactory" /> if the key was not present.</returns>
  3077. </member>
  3078. <member name="M:System.Collections.Immutable.ImmutableInterlocked.GetOrAdd``2(System.Collections.Immutable.ImmutableDictionary{``0,``1}@,``0,System.Func{``0,``1})">
  3079. <summary>Gets the value for the specified key from the dictionary, or if the key was not found, adds a new value to the dictionary.</summary>
  3080. <param name="location">The variable or field to atomically update if the specified is not in the dictionary.</param>
  3081. <param name="key">The key for the value to retrieve or add.</param>
  3082. <param name="valueFactory">The function to execute to obtain the value to insert into the dictionary if the key is not found. This delegate will not be invoked more than once.</param>
  3083. <typeparam name="TKey">The type of the keys contained in the collection.</typeparam>
  3084. <typeparam name="TValue">The type of the values contained in the collection.</typeparam>
  3085. <returns>The value at the specified key or <paramref name="valueFactory" /> if the key was not present.</returns>
  3086. </member>
  3087. <member name="M:System.Collections.Immutable.ImmutableInterlocked.GetOrAdd``3(System.Collections.Immutable.ImmutableDictionary{``0,``1}@,``0,System.Func{``0,``2,``1},``2)">
  3088. <summary>Gets the value for the specified key from the dictionary, or if the key was not found, adds a new value to the dictionary.</summary>
  3089. <param name="location">The variable or field to update if the specified is not in the dictionary.</param>
  3090. <param name="key">The key for the value to retrieve or add.</param>
  3091. <param name="valueFactory">The function to execute to obtain the value to insert into the dictionary if the key is not found.</param>
  3092. <param name="factoryArgument">The argument to pass to the value factory.</param>
  3093. <typeparam name="TKey">The type of the keys contained in the collection.</typeparam>
  3094. <typeparam name="TValue">The type of the values contained in the collection.</typeparam>
  3095. <typeparam name="TArg">The type of the argument supplied to the value factory.</typeparam>
  3096. <returns>The value at the specified key or <paramref name="valueFactory" /> if the key was not present.</returns>
  3097. </member>
  3098. <member name="M:System.Collections.Immutable.ImmutableInterlocked.InterlockedCompareExchange``1(System.Collections.Immutable.ImmutableArray{``0}@,System.Collections.Immutable.ImmutableArray{``0},System.Collections.Immutable.ImmutableArray{``0})">
  3099. <summary>Compares two immutable arrays for equality and, if they are equal, replaces one of the arrays.</summary>
  3100. <param name="location">The destination, whose value is compared with <paramref name="comparand" /> and possibly replaced.</param>
  3101. <param name="value">The value that replaces the destination value if the comparison results in equality.</param>
  3102. <param name="comparand">The value that is compared to the value at <paramref name="location" />.</param>
  3103. <typeparam name="T">The type of element stored by the array.</typeparam>
  3104. <returns>The original value in <paramref name="location" />.</returns>
  3105. </member>
  3106. <member name="M:System.Collections.Immutable.ImmutableInterlocked.InterlockedExchange``1(System.Collections.Immutable.ImmutableArray{``0}@,System.Collections.Immutable.ImmutableArray{``0})">
  3107. <summary>Sets an array to the specified array and returns a reference to the original array, as an atomic operation.</summary>
  3108. <param name="location">The array to set to the specified value.</param>
  3109. <param name="value">The value to which the <paramref name="location" /> parameter is set.</param>
  3110. <typeparam name="T">The type of element stored by the array.</typeparam>
  3111. <returns>The original value of <paramref name="location" />.</returns>
  3112. </member>
  3113. <member name="M:System.Collections.Immutable.ImmutableInterlocked.InterlockedInitialize``1(System.Collections.Immutable.ImmutableArray{``0}@,System.Collections.Immutable.ImmutableArray{``0})">
  3114. <summary>Sets an array to the specified array if the array has not been initialized.</summary>
  3115. <param name="location">The array to set to the specified value.</param>
  3116. <param name="value">The value to which the <paramref name="location" /> parameter is set, if it's not initialized.</param>
  3117. <typeparam name="T">The type of element stored by the array.</typeparam>
  3118. <returns>
  3119. <see langword="true" /> if the array was assigned the specified value; otherwise, <see langword="false" />.</returns>
  3120. </member>
  3121. <member name="M:System.Collections.Immutable.ImmutableInterlocked.Push``1(System.Collections.Immutable.ImmutableStack{``0}@,``0)">
  3122. <summary>Pushes a new element onto the stack.</summary>
  3123. <param name="location">The stack to update.</param>
  3124. <param name="value">The value to push on the stack.</param>
  3125. <typeparam name="T">The type of items in the stack.</typeparam>
  3126. </member>
  3127. <member name="M:System.Collections.Immutable.ImmutableInterlocked.TryAdd``2(System.Collections.Immutable.ImmutableDictionary{``0,``1}@,``0,``1)">
  3128. <summary>Adds the specified key and value to the dictionary if the key is not in the dictionary.</summary>
  3129. <param name="location">The dictionary to update with the specified key and value.</param>
  3130. <param name="key">The key to add, if is not already defined in the dictionary.</param>
  3131. <param name="value">The value to add.</param>
  3132. <typeparam name="TKey">The type of the keys contained in the collection.</typeparam>
  3133. <typeparam name="TValue">The type of the values contained in the collection.</typeparam>
  3134. <returns>
  3135. <see langword="true" /> if the key is not in the dictionary; otherwise, <see langword="false" />.</returns>
  3136. </member>
  3137. <member name="M:System.Collections.Immutable.ImmutableInterlocked.TryDequeue``1(System.Collections.Immutable.ImmutableQueue{``0}@,``0@)">
  3138. <summary>Atomically removes and returns the specified element at the head of the queue, if the queue is not empty.</summary>
  3139. <param name="location">The variable or field to atomically update.</param>
  3140. <param name="value">Set to the value from the head of the queue, if the queue not empty.</param>
  3141. <typeparam name="T">The type of items in the queue.</typeparam>
  3142. <returns>
  3143. <see langword="true" /> if the queue is not empty and the head element is removed; otherwise, <see langword="false" />.</returns>
  3144. </member>
  3145. <member name="M:System.Collections.Immutable.ImmutableInterlocked.TryPop``1(System.Collections.Immutable.ImmutableStack{``0}@,``0@)">
  3146. <summary>Removes an element from the top of the stack, if there is an element to remove.</summary>
  3147. <param name="location">The stack to update.</param>
  3148. <param name="value">Receives the value removed from the stack, if the stack is not empty.</param>
  3149. <typeparam name="T">The type of items in the stack.</typeparam>
  3150. <returns>
  3151. <see langword="true" /> if an element is removed from the stack; otherwise, <see langword="false" />.</returns>
  3152. </member>
  3153. <member name="M:System.Collections.Immutable.ImmutableInterlocked.TryRemove``2(System.Collections.Immutable.ImmutableDictionary{``0,``1}@,``0,``1@)">
  3154. <summary>Removes the element with the specified key, if the key exists.</summary>
  3155. <param name="location">The dictionary to update.</param>
  3156. <param name="key">The key to remove.</param>
  3157. <param name="value">Receives the value of the removed item, if the dictionary is not empty.</param>
  3158. <typeparam name="TKey">The type of the keys contained in the collection.</typeparam>
  3159. <typeparam name="TValue">The type of the values contained in the collection.</typeparam>
  3160. <returns>
  3161. <see langword="true" /> if the key was found and removed; otherwise, <see langword="false" />.</returns>
  3162. </member>
  3163. <member name="M:System.Collections.Immutable.ImmutableInterlocked.TryUpdate``2(System.Collections.Immutable.ImmutableDictionary{``0,``1}@,``0,``1,``1)">
  3164. <summary>Sets the specified key to the specified value if the specified key already is set to a specific value.</summary>
  3165. <param name="location">The dictionary to update.</param>
  3166. <param name="key">The key to update.</param>
  3167. <param name="newValue">The new value to set.</param>
  3168. <param name="comparisonValue">The current value for <paramref name="key" /> in order for the update to succeed.</param>
  3169. <typeparam name="TKey">The type of the keys contained in the collection.</typeparam>
  3170. <typeparam name="TValue">The type of the values contained in the collection.</typeparam>
  3171. <returns>
  3172. <see langword="true" /> if <paramref name="key" /> and <paramref name="comparisonValue" /> are present in the dictionary and comparison was updated to <paramref name="newValue" />; otherwise, <see langword="false" />.</returns>
  3173. </member>
  3174. <member name="M:System.Collections.Immutable.ImmutableInterlocked.Update``1(``0@,System.Func{``0,``0})">
  3175. <summary>Mutates a value in-place with optimistic locking transaction semantics via a specified transformation function. The transformation is retried as many times as necessary to win the optimistic locking race.</summary>
  3176. <param name="location">The variable or field to be changed, which may be accessed by multiple threads.</param>
  3177. <param name="transformer">A function that mutates the value. This function should be side-effect free, as it may run multiple times when races occur with other threads.</param>
  3178. <typeparam name="T">The type of data.</typeparam>
  3179. <returns>
  3180. <see langword="true" /> if the location's value is changed by applying the result of the <paramref name="transformer" /> function; <see langword="false" /> if the location's value remained the same because the last invocation of <paramref name="transformer" /> returned the existing value.</returns>
  3181. </member>
  3182. <member name="M:System.Collections.Immutable.ImmutableInterlocked.Update``1(System.Collections.Immutable.ImmutableArray{``0}@,System.Func{System.Collections.Immutable.ImmutableArray{``0},System.Collections.Immutable.ImmutableArray{``0}})">
  3183. <summary>Mutates an immutable array in-place with optimistic locking transaction semantics via a specified transformation function.
  3184. The transformation is retried as many times as necessary to win the optimistic locking race.</summary>
  3185. <param name="location">The immutable array to be changed.</param>
  3186. <param name="transformer">A function that produces the new array from the old. This function should be side-effect free, as it may run multiple times when races occur with other threads.</param>
  3187. <typeparam name="T">The type of data in the immutable array.</typeparam>
  3188. <returns>
  3189. <see langword="true" /> if the location's value is changed by applying the result of the <paramref name="transformer" /> function; <see langword="false" /> if the location's value remained the same because the last invocation of <paramref name="transformer" /> returned the existing value.</returns>
  3190. </member>
  3191. <member name="M:System.Collections.Immutable.ImmutableInterlocked.Update``2(``0@,System.Func{``0,``1,``0},``1)">
  3192. <summary>Mutates a value in-place with optimistic locking transaction semantics via a specified transformation function. The transformation is retried as many times as necessary to win the optimistic locking race.</summary>
  3193. <param name="location">The variable or field to be changed, which may be accessed by multiple threads.</param>
  3194. <param name="transformer">A function that mutates the value. This function should be side-effect free, as it may run multiple times when races occur with other threads.</param>
  3195. <param name="transformerArgument">The argument to pass to <paramref name="transformer" />.</param>
  3196. <typeparam name="T">The type of data.</typeparam>
  3197. <typeparam name="TArg">The type of argument passed to the <paramref name="transformer" />.</typeparam>
  3198. <returns>
  3199. <see langword="true" /> if the location's value is changed by applying the result of the <paramref name="transformer" /> function; <see langword="false" /> if the location's value remained the same because the last invocation of <paramref name="transformer" /> returned the existing value.</returns>
  3200. </member>
  3201. <member name="M:System.Collections.Immutable.ImmutableInterlocked.Update``2(System.Collections.Immutable.ImmutableArray{``0}@,System.Func{System.Collections.Immutable.ImmutableArray{``0},``1,System.Collections.Immutable.ImmutableArray{``0}},``1)">
  3202. <summary>Mutates an immutable array in-place with optimistic locking transaction semantics via a specified transformation function.
  3203. The transformation is retried as many times as necessary to win the optimistic locking race.</summary>
  3204. <param name="location">The immutable array to be changed.</param>
  3205. <param name="transformer">A function that produces the new array from the old. This function should be side-effect free, as it may run multiple times when races occur with other threads.</param>
  3206. <param name="transformerArgument">The argument to pass to <paramref name="transformer" />.</param>
  3207. <typeparam name="T">The type of data in the immutable array.</typeparam>
  3208. <typeparam name="TArg">The type of argument passed to the <paramref name="transformer" />.</typeparam>
  3209. <returns>
  3210. <see langword="true" /> if the location's value is changed by applying the result of the <paramref name="transformer" /> function; <see langword="false" /> if the location's value remained the same because the last invocation of <paramref name="transformer" /> returned the existing value.</returns>
  3211. </member>
  3212. <member name="T:System.Collections.Immutable.ImmutableList">
  3213. <summary>Provides a set of initialization methods for instances of the <see cref="T:System.Collections.Immutable.ImmutableList`1" /> class.
  3214. NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
  3215. </member>
  3216. <member name="M:System.Collections.Immutable.ImmutableList.Create``1">
  3217. <summary>Creates an empty immutable list.</summary>
  3218. <typeparam name="T">The type of items to be stored in the .</typeparam>
  3219. <returns>An empty immutable list.</returns>
  3220. </member>
  3221. <member name="M:System.Collections.Immutable.ImmutableList.Create``1(``0)">
  3222. <summary>Creates a new immutable list that contains the specified item.</summary>
  3223. <param name="item">The item to prepopulate the list with.</param>
  3224. <typeparam name="T">The type of items in the .</typeparam>
  3225. <returns>A new that contains the specified item.</returns>
  3226. </member>
  3227. <member name="M:System.Collections.Immutable.ImmutableList.Create``1(``0[])">
  3228. <summary>Creates a new immutable list that contains the specified array of items.</summary>
  3229. <param name="items">An array that contains the items to prepopulate the list with.</param>
  3230. <typeparam name="T">The type of items in the .</typeparam>
  3231. <returns>A new immutable list that contains the specified items.</returns>
  3232. </member>
  3233. <member name="M:System.Collections.Immutable.ImmutableList.Create``1(System.ReadOnlySpan{``0})">
  3234. <summary>Creates a new immutable list that contains the items from the specified span of items.</summary>
  3235. <param name="items">A span that contains the items to prepopulate the list with.</param>
  3236. <typeparam name="T">The type of items stored by the collection.</typeparam>
  3237. <returns>A new immutable list that contains the specified items.</returns>
  3238. </member>
  3239. <member name="M:System.Collections.Immutable.ImmutableList.CreateBuilder``1">
  3240. <summary>Creates a new immutable list builder.</summary>
  3241. <typeparam name="T">The type of items stored by the collection.</typeparam>
  3242. <returns>The immutable collection builder.</returns>
  3243. </member>
  3244. <member name="M:System.Collections.Immutable.ImmutableList.CreateRange``1(System.Collections.Generic.IEnumerable{``0})">
  3245. <summary>Creates a new immutable list that contains the specified items.</summary>
  3246. <param name="items">The items to add to the list.</param>
  3247. <typeparam name="T">The type of items in the .</typeparam>
  3248. <returns>An immutable list that contains the specified items.</returns>
  3249. </member>
  3250. <member name="M:System.Collections.Immutable.ImmutableList.IndexOf``1(System.Collections.Immutable.IImmutableList{``0},``0)">
  3251. <summary>Searches for the specified object and returns the zero-based index of the first occurrence within the list.</summary>
  3252. <param name="list">The list to search.</param>
  3253. <param name="item">The object to locate in the list. The value can be null for reference types.</param>
  3254. <typeparam name="T">The type of items in the list.</typeparam>
  3255. <returns>The zero-based index of the first occurrence of item within the range of elements in the list that extends from index to the last element, if found; otherwise, -1.</returns>
  3256. </member>
  3257. <member name="M:System.Collections.Immutable.ImmutableList.IndexOf``1(System.Collections.Immutable.IImmutableList{``0},``0,System.Collections.Generic.IEqualityComparer{``0})">
  3258. <summary>Searches for the specified object and returns the zero-based index of the first occurrence within the list.</summary>
  3259. <param name="list">The list to search.</param>
  3260. <param name="item">The object to locate in the Immutable list. The value can be null for reference types.</param>
  3261. <param name="equalityComparer">The equality comparer to use in the search.</param>
  3262. <typeparam name="T">The type of items in the list.</typeparam>
  3263. <returns>The zero-based index of the first occurrence of item within the range of elements in the immutable list that extends from index to the last element, if found; otherwise, -1.</returns>
  3264. </member>
  3265. <member name="M:System.Collections.Immutable.ImmutableList.IndexOf``1(System.Collections.Immutable.IImmutableList{``0},``0,System.Int32)">
  3266. <summary>Searches for the specified object and returns the zero-based index of the first occurrence within the range of elements in the immutable list that extends from the specified index to the last element.</summary>
  3267. <param name="list">The list to search.</param>
  3268. <param name="item">The object to locate in the Immutable list. The value can be null for reference types.</param>
  3269. <param name="startIndex">The zero-based starting index of the search. 0 (zero) is valid in an empty list.</param>
  3270. <typeparam name="T">The type of items in the list.</typeparam>
  3271. <returns>The zero-based index of the first occurrence of item within the range of elements in the Immutable list that extends from index to the last element, if found; otherwise, -1.</returns>
  3272. </member>
  3273. <member name="M:System.Collections.Immutable.ImmutableList.IndexOf``1(System.Collections.Immutable.IImmutableList{``0},``0,System.Int32,System.Int32)">
  3274. <summary>Searches for the specified object and returns the zero-based index of the first occurrence within the range of elements in the immutable list that extends from the specified index to the last element.</summary>
  3275. <param name="list">The list to search.</param>
  3276. <param name="item">The object to locate in the Immutable list. The value can be null for reference types.</param>
  3277. <param name="startIndex">The zero-based starting index of the search. 0 (zero) is valid in an empty list.</param>
  3278. <param name="count">The number of elements in the section to search.</param>
  3279. <typeparam name="T">The type of items in the list.</typeparam>
  3280. <returns>The zero-based index of the first occurrence of item within the range of elements in the Immutable list that extends from index to the last element, if found; otherwise, -1.</returns>
  3281. </member>
  3282. <member name="M:System.Collections.Immutable.ImmutableList.LastIndexOf``1(System.Collections.Immutable.IImmutableList{``0},``0)">
  3283. <summary>Searches for the specified object and returns the zero-based index of the last occurrence within the entire immutable list.</summary>
  3284. <param name="list">The list to search.</param>
  3285. <param name="item">The object to locate in the Immutable list. The value can be null for reference types.</param>
  3286. <typeparam name="T">The type of items in the list.</typeparam>
  3287. <returns>The zero-based index of the last occurrence of item within the entire the Immutable list, if found; otherwise, -1.</returns>
  3288. </member>
  3289. <member name="M:System.Collections.Immutable.ImmutableList.LastIndexOf``1(System.Collections.Immutable.IImmutableList{``0},``0,System.Collections.Generic.IEqualityComparer{``0})">
  3290. <summary>Searches for the specified object and returns the zero-based index of the last occurrence within the entire immutable list.</summary>
  3291. <param name="list">The list to search.</param>
  3292. <param name="item">The object to locate in the Immutable list. The value can be null for reference types.</param>
  3293. <param name="equalityComparer">The equality comparer to use in the search.</param>
  3294. <typeparam name="T">The type of items in the list.</typeparam>
  3295. <returns>The zero-based index of the last occurrence of item within the entire the Immutable list, if found; otherwise, -1.</returns>
  3296. </member>
  3297. <member name="M:System.Collections.Immutable.ImmutableList.LastIndexOf``1(System.Collections.Immutable.IImmutableList{``0},``0,System.Int32)">
  3298. <summary>Searches for the specified object and returns the zero-based index of the last occurrence within the range of elements in the immutable list that extends from the first element to the specified index.</summary>
  3299. <param name="list">The list to search.</param>
  3300. <param name="item">The object to locate in the Immutable list. The value can be null for reference types.</param>
  3301. <param name="startIndex">The zero-based starting index of the backward search.</param>
  3302. <typeparam name="T">The type of items in the list.</typeparam>
  3303. <returns>The zero-based index of the last occurrence of item within the range of elements in the Immutable list that extends from the first element to index, if found; otherwise, -1.</returns>
  3304. </member>
  3305. <member name="M:System.Collections.Immutable.ImmutableList.LastIndexOf``1(System.Collections.Immutable.IImmutableList{``0},``0,System.Int32,System.Int32)">
  3306. <summary>Searches for the specified object and returns the zero-based index of the last occurrence within the range of elements in the immutable list that extends from the first element to the specified index.</summary>
  3307. <param name="list">The list to search.</param>
  3308. <param name="item">The object to locate in the Immutable list. The value can be null for reference types.</param>
  3309. <param name="startIndex">The zero-based starting index of the backward search.</param>
  3310. <param name="count">The number of elements in the section to search.</param>
  3311. <typeparam name="T">The type of items in the list.</typeparam>
  3312. <returns>The zero-based index of the last occurrence of item within the range of elements in the Immutable list that extends from the first element to index, if found; otherwise, -1.</returns>
  3313. </member>
  3314. <member name="M:System.Collections.Immutable.ImmutableList.Remove``1(System.Collections.Immutable.IImmutableList{``0},``0)">
  3315. <summary>Removes the specified value from this list.</summary>
  3316. <param name="list">The list to search.</param>
  3317. <param name="value">The value to remove.</param>
  3318. <typeparam name="T">The type of items in the list.</typeparam>
  3319. <returns>A new immutable list with the element removed, or this list if the element is not in this list.</returns>
  3320. </member>
  3321. <member name="M:System.Collections.Immutable.ImmutableList.RemoveRange``1(System.Collections.Immutable.IImmutableList{``0},System.Collections.Generic.IEnumerable{``0})">
  3322. <summary>Removes the specified values from this list.</summary>
  3323. <param name="list">The list to search.</param>
  3324. <param name="items">The items to remove if matches are found in this list.</param>
  3325. <typeparam name="T">The type of items in the list.</typeparam>
  3326. <returns>A new immutable list with the elements removed.</returns>
  3327. </member>
  3328. <member name="M:System.Collections.Immutable.ImmutableList.Replace``1(System.Collections.Immutable.IImmutableList{``0},``0,``0)">
  3329. <summary>Replaces the first equal element in the list with the specified element.</summary>
  3330. <param name="list">The list to search.</param>
  3331. <param name="oldValue">The element to replace.</param>
  3332. <param name="newValue">The element to replace the old element with.</param>
  3333. <typeparam name="T">The type of items in the list.</typeparam>
  3334. <exception cref="T:System.ArgumentException">
  3335. <paramref name="oldValue" /> does not exist in the list.</exception>
  3336. <returns>The new list -- even if the value being replaced is equal to the new value for that position.</returns>
  3337. </member>
  3338. <member name="M:System.Collections.Immutable.ImmutableList.ToImmutableList``1(System.Collections.Generic.IEnumerable{``0})">
  3339. <summary>Enumerates a sequence and produces an immutable list of its contents.</summary>
  3340. <param name="source">The sequence to enumerate.</param>
  3341. <typeparam name="TSource">The type of the elements in the sequence.</typeparam>
  3342. <returns>An immutable list that contains the items in the specified sequence.</returns>
  3343. </member>
  3344. <member name="M:System.Collections.Immutable.ImmutableList.ToImmutableList``1(System.Collections.Immutable.ImmutableList{``0}.Builder)">
  3345. <summary>Creates an immutable list from the current contents of the builder's collection.</summary>
  3346. <param name="builder">The builder to create the immutable list from.</param>
  3347. <typeparam name="TSource">The type of the elements in the list.</typeparam>
  3348. <returns>An immutable list that contains the current contents in the builder's collection.</returns>
  3349. </member>
  3350. <member name="T:System.Collections.Immutable.ImmutableList`1">
  3351. <summary>Represents an immutable list, which is a strongly typed list of objects that can be accessed by index.
  3352. NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
  3353. <typeparam name="T">The type of elements in the list.</typeparam>
  3354. </member>
  3355. <member name="F:System.Collections.Immutable.ImmutableList`1.Empty">
  3356. <summary>Gets an empty immutable list.</summary>
  3357. </member>
  3358. <member name="M:System.Collections.Immutable.ImmutableList`1.Add(`0)">
  3359. <summary>Adds the specified object to the end of the immutable list.</summary>
  3360. <param name="value">The object to add.</param>
  3361. <returns>A new immutable list with the object added.</returns>
  3362. </member>
  3363. <member name="M:System.Collections.Immutable.ImmutableList`1.AddRange(System.Collections.Generic.IEnumerable{`0})">
  3364. <summary>Adds the elements of the specified collection to the end of the immutable list.</summary>
  3365. <param name="items">The collection whose elements will be added to the end of the list.</param>
  3366. <returns>A new immutable list with the elements added.</returns>
  3367. </member>
  3368. <member name="M:System.Collections.Immutable.ImmutableList`1.BinarySearch(`0)">
  3369. <summary>Searches the entire sorted list for an element using the default comparer and returns the zero-based index of the element.</summary>
  3370. <param name="item">The object to locate. The value can be <see langword="null" /> for reference types.</param>
  3371. <exception cref="T:System.InvalidOperationException">The default comparer cannot find a comparer implementation of the for type T.</exception>
  3372. <returns>The zero-based index of item in the sorted List, if item is found; otherwise, a negative number that is the bitwise complement of the index of the next element that is larger than item or, if there is no larger element, the bitwise complement of <see cref="P:System.Collections.ICollection.Count" />.</returns>
  3373. </member>
  3374. <member name="M:System.Collections.Immutable.ImmutableList`1.BinarySearch(`0,System.Collections.Generic.IComparer{`0})">
  3375. <summary>Searches the entire sorted list for an element using the specified comparer and returns the zero-based index of the element.</summary>
  3376. <param name="item">The object to locate. The value can be null for reference types.</param>
  3377. <param name="comparer">The comparer implementation to use when comparing elements or null to use the default comparer.</param>
  3378. <exception cref="T:System.InvalidOperationException">comparer is <see langword="null" />, and the default comparer cannot find an comparer implementation for type T.</exception>
  3379. <returns>The zero-based index of item in the sorted List, if item is found; otherwise, a negative number that is the bitwise complement of the index of the next element that is larger than item or, if there is no larger element, the bitwise complement of <see cref="P:System.Collections.ICollection.Count" />.</returns>
  3380. </member>
  3381. <member name="M:System.Collections.Immutable.ImmutableList`1.BinarySearch(System.Int32,System.Int32,`0,System.Collections.Generic.IComparer{`0})">
  3382. <summary>Searches a range of elements in the sorted list for an element using the specified comparer and returns the zero-based index of the element.</summary>
  3383. <param name="index">The zero-based starting index of the range to search.</param>
  3384. <param name="count">The length of the range to search.</param>
  3385. <param name="item">The object to locate. The value can be null for reference types.</param>
  3386. <param name="comparer">The comparer implementation to use when comparing elements, or <see langword="null" /> to use the default comparer.</param>
  3387. <exception cref="T:System.ArgumentOutOfRangeException">index is less than 0 or <paramref name="count" /> is less than 0.</exception>
  3388. <exception cref="T:System.ArgumentException">index and <paramref name="count" /> do not denote a valid range in the list.</exception>
  3389. <exception cref="T:System.InvalidOperationException">
  3390. <paramref name="comparer" /> is <see langword="null" />, and the default comparer cannot find an comparer implementation for type T.</exception>
  3391. <returns>The zero-based index of item in the sorted list, if item is found; otherwise, a negative number that is the bitwise complement of the index of the next element that is larger than item or, if there is no larger element, the bitwise complement of <paramref name="count" />.</returns>
  3392. </member>
  3393. <member name="M:System.Collections.Immutable.ImmutableList`1.Clear">
  3394. <summary>Removes all elements from the immutable list.</summary>
  3395. <returns>An empty list that retains the same sort or unordered semantics that this instance has.</returns>
  3396. </member>
  3397. <member name="M:System.Collections.Immutable.ImmutableList`1.Contains(`0)">
  3398. <summary>Determines whether this immutable list contains the specified value.</summary>
  3399. <param name="value">The value to locate.</param>
  3400. <returns>
  3401. <see langword="true" /> if the list contains the specified value; otherwise, <see langword="false" />.</returns>
  3402. </member>
  3403. <member name="M:System.Collections.Immutable.ImmutableList`1.ConvertAll``1(System.Func{`0,``0})">
  3404. <summary>Converts the elements in the current immutable list to another type, and returns a list containing the converted elements.</summary>
  3405. <param name="converter">A delegate that converts each element from one type to another type.</param>
  3406. <typeparam name="TOutput">The type of the elements of the target array.</typeparam>
  3407. <returns>A list of the target type containing the converted elements from the current <see cref="T:System.Collections.Immutable.ImmutableList`1" />.</returns>
  3408. </member>
  3409. <member name="M:System.Collections.Immutable.ImmutableList`1.CopyTo(`0[])">
  3410. <summary>Copies the entire immutable list to a compatible one-dimensional array, starting at the beginning of the target array.</summary>
  3411. <param name="array">The one-dimensional array that is the destination of the elements copied from the immutable list. The array must have zero-based indexing.</param>
  3412. </member>
  3413. <member name="M:System.Collections.Immutable.ImmutableList`1.CopyTo(`0[],System.Int32)">
  3414. <summary>Copies the entire immutable list to a compatible one-dimensional array, starting at the specified index of the target array.</summary>
  3415. <param name="array">The one-dimensional array that is the destination of the elements copied from the immutable list. The array must have zero-based indexing.</param>
  3416. <param name="arrayIndex">The zero-based index in <paramref name="array" /> at which copying begins.</param>
  3417. </member>
  3418. <member name="M:System.Collections.Immutable.ImmutableList`1.CopyTo(System.Int32,`0[],System.Int32,System.Int32)">
  3419. <summary>Copies a range of elements from the immutable list to a compatible one-dimensional array, starting at the specified index of the target array.</summary>
  3420. <param name="index">The zero-based index in the source immutable list at which copying begins.</param>
  3421. <param name="array">The one-dimensional array that is the destination of the elements copied from the immutable list. The array must have zero-based indexing.</param>
  3422. <param name="arrayIndex">The zero-based index in array at which copying begins.</param>
  3423. <param name="count">The number of elements to copy.</param>
  3424. </member>
  3425. <member name="M:System.Collections.Immutable.ImmutableList`1.Exists(System.Predicate{`0})">
  3426. <summary>Determines whether the immutable list contains elements that match the conditions defined by the specified predicate.</summary>
  3427. <param name="match">The delegate that defines the conditions of the elements to search for.</param>
  3428. <returns>
  3429. <see langword="true" /> if the immutable list contains one or more elements that match the conditions defined by the specified predicate; otherwise, <see langword="false" />.</returns>
  3430. </member>
  3431. <member name="M:System.Collections.Immutable.ImmutableList`1.Find(System.Predicate{`0})">
  3432. <summary>Searches for an element that matches the conditions defined by the specified predicate, and returns the first occurrence within the entire immutable list.</summary>
  3433. <param name="match">The delegate that defines the conditions of the element to search for.</param>
  3434. <returns>The first element that matches the conditions defined by the specified predicate, if found; otherwise, the default value for type <paramref name="T" />.</returns>
  3435. </member>
  3436. <member name="M:System.Collections.Immutable.ImmutableList`1.FindAll(System.Predicate{`0})">
  3437. <summary>Retrieves all the elements that match the conditions defined by the specified predicate.</summary>
  3438. <param name="match">The delegate that defines the conditions of the elements to search for.</param>
  3439. <returns>An immutable list that contains all the elements that match the conditions defined by the specified predicate, if found; otherwise, an empty immutable list.</returns>
  3440. </member>
  3441. <member name="M:System.Collections.Immutable.ImmutableList`1.FindIndex(System.Int32,System.Int32,System.Predicate{`0})">
  3442. <summary>Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the first occurrence within the range of elements in the immutable list that starts at the specified index and contains the specified number of elements.</summary>
  3443. <param name="startIndex">The zero-based starting index of the search.</param>
  3444. <param name="count">The number of elements in the section to search.</param>
  3445. <param name="match">The delegate that defines the conditions of the element to search for.</param>
  3446. <returns>The zero-based index of the first occurrence of an element that matches the conditions defined by match, if found; otherwise, ?1.</returns>
  3447. </member>
  3448. <member name="M:System.Collections.Immutable.ImmutableList`1.FindIndex(System.Int32,System.Predicate{`0})">
  3449. <summary>Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the first occurrence within the range of elements in the immutable list that extends from the specified index to the last element.</summary>
  3450. <param name="startIndex">The zero-based starting index of the search.</param>
  3451. <param name="match">The delegate that defines the conditions of the element to search for.</param>
  3452. <returns>The zero-based index of the first occurrence of an element that matches the conditions defined by match, if found; otherwise, ?1.</returns>
  3453. </member>
  3454. <member name="M:System.Collections.Immutable.ImmutableList`1.FindIndex(System.Predicate{`0})">
  3455. <summary>Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the first occurrence within the entire immutable list.</summary>
  3456. <param name="match">The delegate that defines the conditions of the element to search for.</param>
  3457. <returns>The zero-based index of the first occurrence of an element that matches the conditions defined by match, if found; otherwise, -1.</returns>
  3458. </member>
  3459. <member name="M:System.Collections.Immutable.ImmutableList`1.FindLast(System.Predicate{`0})">
  3460. <summary>Searches for an element that matches the conditions defined by the specified predicate, and returns the last occurrence within the entire immutable list.</summary>
  3461. <param name="match">The delegate that defines the conditions of the element to search for.</param>
  3462. <returns>The last element that matches the conditions defined by the specified predicate, if found; otherwise, the default value for type <paramref name="T" />.</returns>
  3463. </member>
  3464. <member name="M:System.Collections.Immutable.ImmutableList`1.FindLastIndex(System.Int32,System.Int32,System.Predicate{`0})">
  3465. <summary>Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the last occurrence within the range of elements in the immutable list that contains the specified number of elements and ends at the specified index.</summary>
  3466. <param name="startIndex">The zero-based starting index of the backward search.</param>
  3467. <param name="count">The number of elements in the section to search.</param>
  3468. <param name="match">The delegate that defines the conditions of the element to search for.</param>
  3469. <returns>The zero-based index of the last occurrence of an element that matches the conditions defined by <paramref name="match" />, if found; otherwise, ?1.</returns>
  3470. </member>
  3471. <member name="M:System.Collections.Immutable.ImmutableList`1.FindLastIndex(System.Int32,System.Predicate{`0})">
  3472. <summary>Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the last occurrence within the range of elements in the immutable list that extends from the first element to the specified index.</summary>
  3473. <param name="startIndex">The zero-based starting index of the backward search.</param>
  3474. <param name="match">The delegate that defines the conditions of the element to search for.</param>
  3475. <returns>The zero-based index of the last occurrence of an element that matches the conditions defined by <paramref name="match" />, if found; otherwise, ?1.</returns>
  3476. </member>
  3477. <member name="M:System.Collections.Immutable.ImmutableList`1.FindLastIndex(System.Predicate{`0})">
  3478. <summary>Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the last occurrence within the entire immutable list.</summary>
  3479. <param name="match">The delegate that defines the conditions of the element to search for.</param>
  3480. <returns>The zero-based index of the last occurrence of an element that matches the conditions defined by <paramref name="match" />, if found; otherwise, ?1.</returns>
  3481. </member>
  3482. <member name="M:System.Collections.Immutable.ImmutableList`1.ForEach(System.Action{`0})">
  3483. <summary>Performs the specified action on each element of the immutable list.</summary>
  3484. <param name="action">The delegate to perform on each element of the immutable list.</param>
  3485. </member>
  3486. <member name="M:System.Collections.Immutable.ImmutableList`1.GetEnumerator">
  3487. <summary>Returns an enumerator that iterates through the immutable list.</summary>
  3488. <returns>An enumerator that can be used to iterate through the immutable list.</returns>
  3489. </member>
  3490. <member name="M:System.Collections.Immutable.ImmutableList`1.GetRange(System.Int32,System.Int32)">
  3491. <summary>Creates a shallow copy of a range of elements in the source immutable list.</summary>
  3492. <param name="index">The zero-based index at which the range starts.</param>
  3493. <param name="count">The number of elements in the range.</param>
  3494. <returns>A shallow copy of a range of elements in the source immutable list.</returns>
  3495. </member>
  3496. <member name="M:System.Collections.Immutable.ImmutableList`1.IndexOf(`0)">
  3497. <summary>Searches for the specified object and returns the zero-based index of the first occurrence within the entire immutable list.</summary>
  3498. <param name="value">The object to locate in the immutable list. The value can be <see langword="null" /> for reference types.</param>
  3499. <returns>The zero-based index of the first occurrence of <paramref name="value" /> within the entire immutable list, if found; otherwise, ?1.</returns>
  3500. </member>
  3501. <member name="M:System.Collections.Immutable.ImmutableList`1.IndexOf(`0,System.Int32,System.Int32,System.Collections.Generic.IEqualityComparer{`0})">
  3502. <summary>Searches for the specified object and returns the zero-based index of the first occurrence within the range of elements in the list that starts at the specified index and contains the specified number of elements.</summary>
  3503. <param name="item">The object to locate in the list The value can be null for reference types.</param>
  3504. <param name="index">The zero-based starting index of the search. 0 (zero) is valid in an empty list.</param>
  3505. <param name="count">The number of elements in the section to search.</param>
  3506. <param name="equalityComparer">The equality comparer to use in the search.</param>
  3507. <returns>The zero-based index of the first occurrence of item within the range of elements in the list that starts at index and contains count number of elements, if found; otherwise, -1.</returns>
  3508. </member>
  3509. <member name="M:System.Collections.Immutable.ImmutableList`1.Insert(System.Int32,`0)">
  3510. <summary>Inserts the specified object into the immutable list at the specified index.</summary>
  3511. <param name="index">The zero-based index at which to insert the object.</param>
  3512. <param name="item">The object to insert.</param>
  3513. <returns>The new immutable list after the object is inserted.</returns>
  3514. </member>
  3515. <member name="M:System.Collections.Immutable.ImmutableList`1.InsertRange(System.Int32,System.Collections.Generic.IEnumerable{`0})">
  3516. <summary>Inserts the elements of a collection into the immutable list at the specified index.</summary>
  3517. <param name="index">The zero-based index at which to insert the elements.</param>
  3518. <param name="items">The collection whose elements should be inserted.</param>
  3519. <returns>The new immutable list after the elements are inserted.</returns>
  3520. </member>
  3521. <member name="M:System.Collections.Immutable.ImmutableList`1.ItemRef(System.Int32)">
  3522. <summary>Gets a read-only reference to the element of the set at the given <paramref name="index" />.</summary>
  3523. <param name="index">The 0-based index of the element in the set to return.</param>
  3524. <exception cref="T:System.IndexOutOfRangeException">
  3525. <paramref name="index" /> is negative or not less than <see cref="P:System.Collections.Immutable.ImmutableList`1.Count" />.</exception>
  3526. <returns>A read-only reference to the element at the given position.</returns>
  3527. </member>
  3528. <member name="M:System.Collections.Immutable.ImmutableList`1.LastIndexOf(`0,System.Int32,System.Int32,System.Collections.Generic.IEqualityComparer{`0})">
  3529. <summary>Searches for the specified object and returns the zero-based index of the last occurrence within the range of elements in the list that contains the specified number of elements and ends at the specified index.</summary>
  3530. <param name="item">The object to locate in the list. The value can be null for reference types.</param>
  3531. <param name="index">The zero-based starting index of the backward search.</param>
  3532. <param name="count">The number of elements in the section to search.</param>
  3533. <param name="equalityComparer">The equality comparer to use in the search.</param>
  3534. <returns>The zero-based index of the last occurrence of item within the range of elements in the list that contains count number of elements and ends at index, if found; otherwise, -1.</returns>
  3535. </member>
  3536. <member name="M:System.Collections.Immutable.ImmutableList`1.Remove(`0)">
  3537. <summary>Removes the first occurrence of the specified object from this immutable list.</summary>
  3538. <param name="value">The object to remove.</param>
  3539. <returns>A new list with the object removed, or this list if the specified object is not in this list.</returns>
  3540. </member>
  3541. <member name="M:System.Collections.Immutable.ImmutableList`1.Remove(`0,System.Collections.Generic.IEqualityComparer{`0})">
  3542. <summary>Removes the first occurrence of the object that matches the specified value from this immutable list.</summary>
  3543. <param name="value">The value of the element to remove from the list.</param>
  3544. <param name="equalityComparer">The equality comparer to use in the search.</param>
  3545. <returns>A new list with the object removed, or this list if the specified object is not in this list.</returns>
  3546. </member>
  3547. <member name="M:System.Collections.Immutable.ImmutableList`1.RemoveAll(System.Predicate{`0})">
  3548. <summary>Removes all the elements that match the conditions defined by the specified predicate.</summary>
  3549. <param name="match">The delegate that defines the conditions of the elements to remove.</param>
  3550. <returns>The new list with the elements removed.</returns>
  3551. </member>
  3552. <member name="M:System.Collections.Immutable.ImmutableList`1.RemoveAt(System.Int32)">
  3553. <summary>Removes the element at the specified index.</summary>
  3554. <param name="index">The zero-based index of the element to remove.</param>
  3555. <returns>A new list with the element removed.</returns>
  3556. </member>
  3557. <member name="M:System.Collections.Immutable.ImmutableList`1.RemoveRange(System.Collections.Generic.IEnumerable{`0})">
  3558. <summary>Removes a range of elements from this immutable list.</summary>
  3559. <param name="items">The collection whose elements should be removed if matches are found in this list.</param>
  3560. <returns>A new list with the elements removed.</returns>
  3561. </member>
  3562. <member name="M:System.Collections.Immutable.ImmutableList`1.RemoveRange(System.Collections.Generic.IEnumerable{`0},System.Collections.Generic.IEqualityComparer{`0})">
  3563. <summary>Removes the specified values from this list.</summary>
  3564. <param name="items">The items to remove if matches are found in this list.</param>
  3565. <param name="equalityComparer">The equality comparer to use in the search.</param>
  3566. <returns>A new list with the elements removed.</returns>
  3567. </member>
  3568. <member name="M:System.Collections.Immutable.ImmutableList`1.RemoveRange(System.Int32,System.Int32)">
  3569. <summary>Removes a range of elements, starting from the specified index and containing the specified number of elements, from this immutable list.</summary>
  3570. <param name="index">The starting index to begin removal.</param>
  3571. <param name="count">The number of elements to remove.</param>
  3572. <returns>A new list with the elements removed.</returns>
  3573. </member>
  3574. <member name="M:System.Collections.Immutable.ImmutableList`1.Replace(`0,`0)">
  3575. <summary>Replaces the specified element in the immutable list with a new element.</summary>
  3576. <param name="oldValue">The element to replace.</param>
  3577. <param name="newValue">The element to replace <paramref name="oldValue" /> with.</param>
  3578. <exception cref="T:System.ArgumentException">
  3579. <paramref name="oldValue" /> does not exist in the immutable list.</exception>
  3580. <returns>The new list with the replaced element, even if it is equal to the old element.</returns>
  3581. </member>
  3582. <member name="M:System.Collections.Immutable.ImmutableList`1.Replace(`0,`0,System.Collections.Generic.IEqualityComparer{`0})">
  3583. <summary>Replaces the specified element in the immutable list with a new element.</summary>
  3584. <param name="oldValue">The element to replace in the list.</param>
  3585. <param name="newValue">The element to replace <paramref name="oldValue" /> with.</param>
  3586. <param name="equalityComparer">The comparer to use to check for equality.</param>
  3587. <returns>A new list with the object replaced, or this list if the specified object is not in this list.</returns>
  3588. </member>
  3589. <member name="M:System.Collections.Immutable.ImmutableList`1.Reverse">
  3590. <summary>Reverses the order of the elements in the entire immutable list.</summary>
  3591. <returns>The reversed list.</returns>
  3592. </member>
  3593. <member name="M:System.Collections.Immutable.ImmutableList`1.Reverse(System.Int32,System.Int32)">
  3594. <summary>Reverses the order of the elements in the specified range of the immutable list.</summary>
  3595. <param name="index">The zero-based starting index of the range to reverse.</param>
  3596. <param name="count">The number of elements in the range to reverse.</param>
  3597. <returns>The reversed list.</returns>
  3598. </member>
  3599. <member name="M:System.Collections.Immutable.ImmutableList`1.SetItem(System.Int32,`0)">
  3600. <summary>Replaces an element at a given position in the immutable list with the specified element.</summary>
  3601. <param name="index">The position in the list of the element to replace.</param>
  3602. <param name="value">The element to replace the old element with.</param>
  3603. <returns>The new list with the replaced element, even if it is equal to the old element at that position.</returns>
  3604. </member>
  3605. <member name="M:System.Collections.Immutable.ImmutableList`1.Sort">
  3606. <summary>Sorts the elements in the entire immutable list using the default comparer.</summary>
  3607. <returns>The sorted list.</returns>
  3608. </member>
  3609. <member name="M:System.Collections.Immutable.ImmutableList`1.Sort(System.Collections.Generic.IComparer{`0})">
  3610. <summary>Sorts the elements in the entire immutable list using the specified comparer.</summary>
  3611. <param name="comparer">The implementation to use when comparing elements, or <see langword="null" /> to use the default comparer (<see cref="P:System.Collections.Generic.Comparer`1.Default" />).</param>
  3612. <returns>The sorted list.</returns>
  3613. </member>
  3614. <member name="M:System.Collections.Immutable.ImmutableList`1.Sort(System.Comparison{`0})">
  3615. <summary>Sorts the elements in the entire immutable list using the specified comparer.</summary>
  3616. <param name="comparison">The delegate to use when comparing elements.</param>
  3617. <exception cref="T:System.ArgumentNullException">
  3618. <paramref name="comparison" /> is <see langword="null" />.</exception>
  3619. <returns>The sorted list.</returns>
  3620. </member>
  3621. <member name="M:System.Collections.Immutable.ImmutableList`1.Sort(System.Int32,System.Int32,System.Collections.Generic.IComparer{`0})">
  3622. <summary>Sorts a range of elements in the immutable list using the specified comparer.</summary>
  3623. <param name="index">The zero-based starting index of the range to sort.</param>
  3624. <param name="count">The length of the range to sort.</param>
  3625. <param name="comparer">The implementation to use when comparing elements, or <see langword="null" /> to use the default comparer (<see cref="P:System.Collections.Generic.Comparer`1.Default" />).</param>
  3626. <returns>The sorted list.</returns>
  3627. </member>
  3628. <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#Generic#ICollection{T}#Add(`0)">
  3629. <summary>Adds the specified item to the immutable list.</summary>
  3630. <param name="item">The item to add.</param>
  3631. <exception cref="T:System.NotSupportedException">Always thrown.</exception>
  3632. </member>
  3633. <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#Generic#ICollection{T}#Clear">
  3634. <summary>Removes all items from the immutable list.</summary>
  3635. <exception cref="T:System.NotSupportedException" />
  3636. </member>
  3637. <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#Generic#ICollection{T}#Remove(`0)">
  3638. <summary>Removes the first occurrence of a specific object from the immutable list.</summary>
  3639. <param name="item">The object to remove.</param>
  3640. <exception cref="T:System.NotSupportedException">Always thrown.</exception>
  3641. <returns>
  3642. <see langword="true" /> if <paramref name="item" /> was successfully removed from the list; otherwise, <see langword="false" />. This method also returns <see langword="false" /> if <paramref name="item" /> is not found in the original list.</returns>
  3643. </member>
  3644. <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#Generic#IEnumerable{T}#GetEnumerator">
  3645. <summary>Returns an enumerator that iterates through the immutable list.</summary>
  3646. <returns>An enumerator that can be used to iterate through the list.</returns>
  3647. </member>
  3648. <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#Generic#IList{T}#Insert(System.Int32,`0)">
  3649. <summary>Inserts an object in the immutable list at the specified index.</summary>
  3650. <param name="index">The zero-based index at which <paramref name="item" /> should be inserted.</param>
  3651. <param name="item">The object to insert.</param>
  3652. <exception cref="T:System.NotSupportedException" />
  3653. </member>
  3654. <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#Generic#IList{T}#RemoveAt(System.Int32)">
  3655. <summary>Removes the value at the specified index.</summary>
  3656. <param name="index">The zero-based index of the item to remove.</param>
  3657. <exception cref="T:System.NotSupportedException" />
  3658. </member>
  3659. <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#ICollection#CopyTo(System.Array,System.Int32)">
  3660. <summary>Copies the entire immutable list to a compatible one-dimensional array, starting at the specified array index.</summary>
  3661. <param name="array">The one-dimensional array that is the destination of the elements copied from immutable list.</param>
  3662. <param name="arrayIndex">The zero-based index in <paramref name="array" /> at which copying begins.</param>
  3663. </member>
  3664. <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#IEnumerable#GetEnumerator">
  3665. <summary>Returns an enumerator that iterates through the immutable list.</summary>
  3666. <returns>An enumerator that can be used to iterate through the list.</returns>
  3667. </member>
  3668. <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#IList#Add(System.Object)">
  3669. <summary>Adds an item to the immutable list.</summary>
  3670. <param name="value">The object to add to the list.</param>
  3671. <exception cref="T:System.NotSupportedException">Always thrown.</exception>
  3672. <returns>The position into which the new element was inserted, or -1 to indicate that the item was not inserted into the list.</returns>
  3673. </member>
  3674. <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#IList#Clear">
  3675. <summary>Removes all items from the immutable list.</summary>
  3676. <exception cref="T:System.NotSupportedException">Always thrown.</exception>
  3677. </member>
  3678. <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#IList#Contains(System.Object)">
  3679. <summary>Determines whether the immutable list contains a specific value.</summary>
  3680. <param name="value">The object to locate in the list.</param>
  3681. <exception cref="T:System.NotImplementedException" />
  3682. <returns>
  3683. <see langword="true" /> if the object is found in the list; otherwise, <see langword="false" />.</returns>
  3684. </member>
  3685. <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#IList#IndexOf(System.Object)">
  3686. <summary>Determines the index of a specific item in the immutable list.</summary>
  3687. <param name="value">The object to locate in the list.</param>
  3688. <exception cref="T:System.NotImplementedException" />
  3689. <returns>The index of <paramref name="value" /> if found in the list; otherwise, -1.</returns>
  3690. </member>
  3691. <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#IList#Insert(System.Int32,System.Object)">
  3692. <summary>Inserts an item into the immutable list at the specified index.</summary>
  3693. <param name="index">The zero-based index at which <paramref name="value" /> should be inserted.</param>
  3694. <param name="value">The object to insert into the list.</param>
  3695. <exception cref="T:System.NotSupportedException">Always thrown.</exception>
  3696. </member>
  3697. <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#IList#Remove(System.Object)">
  3698. <summary>Removes the first occurrence of a specific object from the immutable list.</summary>
  3699. <param name="value">The object to remove from the list.</param>
  3700. <exception cref="T:System.NotSupportedException">Always thrown.</exception>
  3701. </member>
  3702. <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#IList#RemoveAt(System.Int32)">
  3703. <summary>Removes the item at the specified index of the immutable list.</summary>
  3704. <param name="index">The zero-based index of the item to remove.</param>
  3705. <exception cref="T:System.NotSupportedException">Always thrown.</exception>
  3706. </member>
  3707. <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#Immutable#IImmutableList{T}#Add(`0)">
  3708. <summary>Adds the specified value to this immutable list.</summary>
  3709. <param name="value">The value to add.</param>
  3710. <returns>A new list with the element added.</returns>
  3711. </member>
  3712. <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#Immutable#IImmutableList{T}#AddRange(System.Collections.Generic.IEnumerable{`0})">
  3713. <summary>Adds the specified values to this immutable list.</summary>
  3714. <param name="items">The values to add.</param>
  3715. <returns>A new list with the elements added.</returns>
  3716. </member>
  3717. <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#Immutable#IImmutableList{T}#Clear">
  3718. <summary>Retrieves an empty list that has the same sorting and ordering semantics as this instance.</summary>
  3719. <returns>An empty list that has the same sorting and ordering semantics as this instance.</returns>
  3720. </member>
  3721. <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#Immutable#IImmutableList{T}#Insert(System.Int32,`0)">
  3722. <summary>Inserts the specified element at the specified index in the immutable list.</summary>
  3723. <param name="index">The index at which to insert the value.</param>
  3724. <param name="item">The element to insert.</param>
  3725. <returns>A new immutable list that includes the specified element.</returns>
  3726. </member>
  3727. <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#Immutable#IImmutableList{T}#InsertRange(System.Int32,System.Collections.Generic.IEnumerable{`0})">
  3728. <summary>Inserts the specified elements at the specified index in the immutable list.</summary>
  3729. <param name="index">The index at which to insert the elements.</param>
  3730. <param name="items">The elements to insert.</param>
  3731. <returns>A new immutable list that includes the specified elements.</returns>
  3732. </member>
  3733. <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#Immutable#IImmutableList{T}#Remove(`0,System.Collections.Generic.IEqualityComparer{`0})">
  3734. <summary>Removes the element with the specified value from the list.</summary>
  3735. <param name="value">The value of the element to remove from the list.</param>
  3736. <param name="equalityComparer">The comparer to use to compare elements for equality.</param>
  3737. <returns>A new <see cref="T:System.Collections.Immutable.ImmutableList`1" /> with the specified element removed.</returns>
  3738. </member>
  3739. <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#Immutable#IImmutableList{T}#RemoveAll(System.Predicate{`0})">
  3740. <summary>Removes all the elements that match the conditions defined by the specified predicate.</summary>
  3741. <param name="match">The delegate that defines the conditions of the elements to remove.</param>
  3742. <returns>A new immutable list with the elements removed.</returns>
  3743. </member>
  3744. <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#Immutable#IImmutableList{T}#RemoveAt(System.Int32)">
  3745. <summary>Removes the element at the specified index of the immutable list.</summary>
  3746. <param name="index">The index of the element to remove.</param>
  3747. <returns>A new list with the element removed.</returns>
  3748. </member>
  3749. <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#Immutable#IImmutableList{T}#RemoveRange(System.Collections.Generic.IEnumerable{`0},System.Collections.Generic.IEqualityComparer{`0})">
  3750. <summary>Removes a range of elements from this immutable list that match the items specified.</summary>
  3751. <param name="items">The range of items to remove from the list, if found.</param>
  3752. <param name="equalityComparer">The equality comparer to use to compare elements.</param>
  3753. <exception cref="T:System.ArgumentNullException">
  3754. <paramref name="items" /> or <paramref name="equalityComparer" /> is <see langword="null" />.</exception>
  3755. <returns>An immutable list with the items removed.</returns>
  3756. </member>
  3757. <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#Immutable#IImmutableList{T}#RemoveRange(System.Int32,System.Int32)">
  3758. <summary>Removes the specified number of elements at the specified location from this list.</summary>
  3759. <param name="index">The starting index of the range of elements to remove.</param>
  3760. <param name="count">The number of elements to remove.</param>
  3761. <returns>A new list with the elements removed.</returns>
  3762. </member>
  3763. <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#Immutable#IImmutableList{T}#Replace(`0,`0,System.Collections.Generic.IEqualityComparer{`0})">
  3764. <summary>Replaces an element in the list with the specified element.</summary>
  3765. <param name="oldValue">The element to replace.</param>
  3766. <param name="newValue">The element to replace the old element with.</param>
  3767. <param name="equalityComparer">The equality comparer to use in the search.</param>
  3768. <exception cref="T:System.ArgumentException">
  3769. <paramref name="oldValue" /> does not exist in the list.</exception>
  3770. <returns>The new list.</returns>
  3771. </member>
  3772. <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#Immutable#IImmutableList{T}#SetItem(System.Int32,`0)">
  3773. <summary>Replaces an element in the list at a given position with the specified element.</summary>
  3774. <param name="index">The position in the list of the element to replace.</param>
  3775. <param name="value">The element to replace the old element with.</param>
  3776. <returns>The new list.</returns>
  3777. </member>
  3778. <member name="M:System.Collections.Immutable.ImmutableList`1.ToBuilder">
  3779. <summary>Creates a list that has the same contents as this list and can be efficiently mutated across multiple operations using standard mutable interfaces.</summary>
  3780. <returns>The created list with the same contents as this list.</returns>
  3781. </member>
  3782. <member name="M:System.Collections.Immutable.ImmutableList`1.TrueForAll(System.Predicate{`0})">
  3783. <summary>Determines whether every element in the immutable list matches the conditions defined by the specified predicate.</summary>
  3784. <param name="match">The delegate that defines the conditions to check against the elements.</param>
  3785. <returns>
  3786. <see langword="true" /> if every element in the immutable list matches the conditions defined by the specified predicate; otherwise, <see langword="false" />. If the list has no elements, the return value is <see langword="true" />.</returns>
  3787. </member>
  3788. <member name="P:System.Collections.Immutable.ImmutableList`1.Count">
  3789. <summary>Gets the number of elements contained in the list.</summary>
  3790. <returns>The number of elements in the list.</returns>
  3791. </member>
  3792. <member name="P:System.Collections.Immutable.ImmutableList`1.IsEmpty">
  3793. <summary>Gets a value that indicates whether this list is empty.</summary>
  3794. <returns>
  3795. <see langword="true" /> if the list is empty; otherwise, <see langword="false" />.</returns>
  3796. </member>
  3797. <member name="P:System.Collections.Immutable.ImmutableList`1.Item(System.Int32)">
  3798. <summary>Gets the element at the specified index of the list.</summary>
  3799. <param name="index">The index of the element to retrieve.</param>
  3800. <exception cref="T:System.IndexOutOfRangeException">In a get operation, <paramref name="index" /> is negative or not less than <see cref="P:System.Collections.Immutable.ImmutableList`1.Count" />.</exception>
  3801. <returns>The element at the specified index.</returns>
  3802. </member>
  3803. <member name="P:System.Collections.Immutable.ImmutableList`1.System#Collections#Generic#ICollection{T}#IsReadOnly">
  3804. <summary>Gets a value indicating whether the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only.</summary>
  3805. <returns>
  3806. <see langword="true" /> if the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only; otherwise, <see langword="false" />.</returns>
  3807. </member>
  3808. <member name="P:System.Collections.Immutable.ImmutableList`1.System#Collections#Generic#IList{T}#Item(System.Int32)">
  3809. <summary>Gets or sets the value at the specified index.</summary>
  3810. <param name="index">The zero-based index of the item to access.</param>
  3811. <exception cref="T:System.IndexOutOfRangeException">Thrown from getter when <paramref name="index" /> is negative or not less than <see cref="P:System.Collections.Immutable.ImmutableList`1.Count" />.</exception>
  3812. <exception cref="T:System.NotSupportedException">Always thrown from the setter.</exception>
  3813. <returns>Value stored in the specified index.</returns>
  3814. </member>
  3815. <member name="P:System.Collections.Immutable.ImmutableList`1.System#Collections#ICollection#IsSynchronized">
  3816. <summary>This type is immutable, so it is always thread-safe. See the <see cref="T:System.Collections.ICollection" /> interface.</summary>
  3817. <returns>Boolean value determining whether the collection is thread-safe.</returns>
  3818. </member>
  3819. <member name="P:System.Collections.Immutable.ImmutableList`1.System#Collections#ICollection#SyncRoot">
  3820. <summary>See <see cref="T:System.Collections.ICollection" />.</summary>
  3821. <returns>Object used for synchronizing access to the collection.</returns>
  3822. </member>
  3823. <member name="P:System.Collections.Immutable.ImmutableList`1.System#Collections#IList#IsFixedSize">
  3824. <summary>Gets a value indicating whether the <see cref="T:System.Collections.IList" /> has a fixed size.</summary>
  3825. <returns>
  3826. <see langword="true" /> if the <see cref="T:System.Collections.IList" /> has a fixed size; otherwise, <see langword="false" />.</returns>
  3827. </member>
  3828. <member name="P:System.Collections.Immutable.ImmutableList`1.System#Collections#IList#IsReadOnly">
  3829. <summary>Gets a value indicating whether the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only.</summary>
  3830. <returns>
  3831. <see langword="true" /> if the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only; otherwise, <see langword="false" />.</returns>
  3832. </member>
  3833. <member name="P:System.Collections.Immutable.ImmutableList`1.System#Collections#IList#Item(System.Int32)">
  3834. <summary>Gets or sets the <see cref="T:System.Object" /> at the specified index.</summary>
  3835. <param name="index">The index.</param>
  3836. <exception cref="T:System.IndexOutOfRangeException">Thrown from getter when <paramref name="index" /> is negative or not less than <see cref="P:System.Collections.Immutable.ImmutableList`1.Count" />.</exception>
  3837. <exception cref="T:System.NotSupportedException">Always thrown from the setter.</exception>
  3838. <returns>The value at the specified index.</returns>
  3839. </member>
  3840. <member name="T:System.Collections.Immutable.ImmutableList`1.Builder">
  3841. <summary>Represents a list that mutates with little or no memory allocations and that can produce or build on immutable list instances very efficiently.
  3842. NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
  3843. <typeparam name="T" />
  3844. </member>
  3845. <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.Add(`0)">
  3846. <summary>Adds an item to the immutable list.</summary>
  3847. <param name="item">The item to add to the list.</param>
  3848. </member>
  3849. <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.AddRange(System.Collections.Generic.IEnumerable{`0})">
  3850. <summary>Adds a series of elements to the end of this list.</summary>
  3851. <param name="items">The elements to add to the end of the list.</param>
  3852. </member>
  3853. <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.BinarySearch(`0)">
  3854. <summary>Searches the entire <see cref="T:System.Collections.Immutable.ImmutableList`1.Builder" /> for an element using the default comparer and returns the zero-based index of the element.</summary>
  3855. <param name="item">The object to locate. The value can be null for reference types.</param>
  3856. <exception cref="T:System.InvalidOperationException">The default comparer <see cref="P:System.Collections.Generic.Comparer`1.Default" /> cannot find an implementation of the <see cref="T:System.IComparable`1" /> generic interface or the <see cref="T:System.IComparable" /> interface for type T.</exception>
  3857. <returns>The zero-based index of item in the <see cref="T:System.Collections.Immutable.ImmutableList`1.Builder" />, 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="item" />.</returns>
  3858. </member>
  3859. <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.BinarySearch(`0,System.Collections.Generic.IComparer{`0})">
  3860. <summary>Searches the entire <see cref="T:System.Collections.Immutable.ImmutableList`1.Builder" /> for an element using the specified comparer and returns the zero-based index of the element.</summary>
  3861. <param name="item">The object to locate. This value can be null for reference types.</param>
  3862. <param name="comparer">The implementation to use when comparing elements, or <see langword="null" /> for the default comparer.</param>
  3863. <exception cref="T:System.InvalidOperationException">
  3864. <paramref name="comparer" /> is <see langword="null" />, and the default comparer <see cref="P:System.Collections.Generic.Comparer`1.Default" /> cannot find an implementation of the <see cref="T:System.IComparable`1" /> generic interface or the <see cref="T:System.IComparable" /> interface for type T.</exception>
  3865. <returns>The zero-based index of item in the <see cref="T:System.Collections.Immutable.ImmutableList`1.Builder" />, 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="item" />.</returns>
  3866. </member>
  3867. <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.BinarySearch(System.Int32,System.Int32,`0,System.Collections.Generic.IComparer{`0})">
  3868. <summary>Searches the specified range of the <see cref="T:System.Collections.Immutable.ImmutableList`1.Builder" /> for an element using the specified comparer and returns the zero-based index of the element.</summary>
  3869. <param name="index">The zero-based starting index of the range to search.</param>
  3870. <param name="count">The length of the range to search.</param>
  3871. <param name="item">The object to locate. This value can be null for reference types.</param>
  3872. <param name="comparer">The implementation to use when comparing elements, or <see langword="null" /> for the default comparer.</param>
  3873. <exception cref="T:System.ArgumentOutOfRangeException">
  3874. <paramref name="index" /> is less than 0.
  3875. -or-
  3876. <paramref name="count" /> is less than 0.</exception>
  3877. <exception cref="T:System.ArgumentException">
  3878. <paramref name="index" /> and <paramref name="count" /> do not denote a valid range in the <see cref="T:System.Collections.Generic.List`1" />.</exception>
  3879. <exception cref="T:System.InvalidOperationException">
  3880. <paramref name="comparer" /> is <see langword="null" />, and the default comparer <see cref="P:System.Collections.Generic.Comparer`1.Default" /> cannot find an implementation of the <see cref="T:System.IComparable`1" /> generic interface or the <see cref="T:System.IComparable" /> interface for type T.</exception>
  3881. <returns>The zero-based index of item in the <see cref="T:System.Collections.Immutable.ImmutableList`1.Builder" />, 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="item" />.</returns>
  3882. </member>
  3883. <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.Clear">
  3884. <summary>Removes all items from the immutable list.</summary>
  3885. </member>
  3886. <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.Contains(`0)">
  3887. <summary>Determines whether the immutable list contains a specific value.</summary>
  3888. <param name="item">The object to locate in the list.</param>
  3889. <returns>
  3890. <see langword="true" /> if item is found in the list; otherwise, <see langword="false" />.</returns>
  3891. </member>
  3892. <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.ConvertAll``1(System.Func{`0,``0})">
  3893. <summary>Creates a new immutable list from the list represented by this builder by using the converter function.</summary>
  3894. <param name="converter">The converter function.</param>
  3895. <typeparam name="TOutput">The type of the output of the delegate converter function.</typeparam>
  3896. <returns>A new immutable list from the list represented by this builder.</returns>
  3897. </member>
  3898. <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.CopyTo(`0[])">
  3899. <summary>Copies the entire immutable list to a compatible one-dimensional array, starting at the beginning of the target array.</summary>
  3900. <param name="array">The one-dimensional array that is the destination of the elements copied from the immutable list. The array must have zero-based indexing.</param>
  3901. </member>
  3902. <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.CopyTo(`0[],System.Int32)">
  3903. <summary>Copies the entire immutable list to a compatible one-dimensional array, starting at the specified index of the target array.</summary>
  3904. <param name="array">The one-dimensional array that is the destination of the elements copied from the immutable list. The array must have zero-based indexing.</param>
  3905. <param name="arrayIndex">The zero-based index in array at which copying begins.</param>
  3906. </member>
  3907. <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.CopyTo(System.Int32,`0[],System.Int32,System.Int32)">
  3908. <summary>Copies the entire immutable list to a compatible one-dimensional array, starting at the specified index of the target array.</summary>
  3909. <param name="index">The zero-based index in the source immutable list at which copying begins.</param>
  3910. <param name="array">The one-dimensional array that is the destination of the elements copied from the immutable list. The array must have zero-based indexing.</param>
  3911. <param name="arrayIndex">The zero-based index in <paramref name="array" /> at which copying begins.</param>
  3912. <param name="count">The number of elements to copy.</param>
  3913. </member>
  3914. <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.Exists(System.Predicate{`0})">
  3915. <summary>Determines whether the immutable list contains elements that match the conditions defined by the specified predicate.</summary>
  3916. <param name="match">The delegate that defines the conditions of the elements to search for.</param>
  3917. <returns>
  3918. <see langword="true" /> if the immutable list contains one or more elements that match the conditions defined by the specified predicate; otherwise, <see langword="false" />.</returns>
  3919. </member>
  3920. <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.Find(System.Predicate{`0})">
  3921. <summary>Searches for an element that matches the conditions defined by the specified predicate, and returns the first occurrence within the entire immutable list.</summary>
  3922. <param name="match">The delegate that defines the conditions of the element to search for.</param>
  3923. <returns>The first element that matches the conditions defined by the specified predicate, if found; otherwise, the default value for type <paramref name="T" />.</returns>
  3924. </member>
  3925. <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.FindAll(System.Predicate{`0})">
  3926. <summary>Retrieves all the elements that match the conditions defined by the specified predicate.</summary>
  3927. <param name="match">The delegate that defines the conditions of the elements to search for.</param>
  3928. <returns>An immutable list containing all the elements that match the conditions defined by the specified predicate, if found; otherwise, an empty immutable list.</returns>
  3929. </member>
  3930. <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.FindIndex(System.Int32,System.Int32,System.Predicate{`0})">
  3931. <summary>Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the first occurrence within the range of elements in the immutable list that starts at the specified index and contains the specified number of elements.</summary>
  3932. <param name="startIndex">The zero-based starting index of the search.</param>
  3933. <param name="count">The number of elements in the section to search.</param>
  3934. <param name="match">The delegate that defines the conditions of the element to search for.</param>
  3935. <returns>The zero-based index of the first occurrence of an element that matches the conditions defined by <paramref name="match" />, if found; otherwise, -1.</returns>
  3936. </member>
  3937. <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.FindIndex(System.Int32,System.Predicate{`0})">
  3938. <summary>Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the first occurrence within the range of elements in the immutable list that extends from the specified index to the last element.</summary>
  3939. <param name="startIndex">The zero-based starting index of the search.</param>
  3940. <param name="match">The delegate that defines the conditions of the element to search for.</param>
  3941. <returns>The zero-based index of the first occurrence of an element that matches the conditions defined by <paramref name="match" />, if found; otherwise, -1.</returns>
  3942. </member>
  3943. <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.FindIndex(System.Predicate{`0})">
  3944. <summary>Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the first occurrence within the entire immutable list.</summary>
  3945. <param name="match">The delegate that defines the conditions of the element to search for.</param>
  3946. <returns>The zero-based index of the first occurrence of an element that matches the conditions defined by <paramref name="match" />, if found; otherwise, -1.</returns>
  3947. </member>
  3948. <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.FindLast(System.Predicate{`0})">
  3949. <summary>Searches for an element that matches the conditions defined by the specified predicate, and returns the last occurrence within the entire immutable list.</summary>
  3950. <param name="match">The delegate that defines the conditions of the element to search for.</param>
  3951. <returns>The last element that matches the conditions defined by the specified predicate, found; otherwise, the default value for type <paramref name="T" />.</returns>
  3952. </member>
  3953. <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.FindLastIndex(System.Int32,System.Int32,System.Predicate{`0})">
  3954. <summary>Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the last occurrence within the range of elements in the immutable list that contains the specified number of elements and ends at the specified index.</summary>
  3955. <param name="startIndex">The zero-based starting index of the backward search.</param>
  3956. <param name="count">The number of elements in the section to search.</param>
  3957. <param name="match">The delegate that defines the conditions of the element to search for.</param>
  3958. <returns>The zero-based index of the last occurrence of an element that matches the conditions defined by <paramref name="match" />, if found; otherwise, -1.</returns>
  3959. </member>
  3960. <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.FindLastIndex(System.Int32,System.Predicate{`0})">
  3961. <summary>Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the last occurrence within the range of elements in the immutable list that extends from the first element to the specified index.</summary>
  3962. <param name="startIndex">The zero-based starting index of the backward search.</param>
  3963. <param name="match">The delegate that defines the conditions of the element to search for.</param>
  3964. <returns>The zero-based index of the last occurrence of an element that matches the conditions defined by <paramref name="match" />, if found; otherwise, -1.</returns>
  3965. </member>
  3966. <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.FindLastIndex(System.Predicate{`0})">
  3967. <summary>Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the last occurrence within the entire immutable list.</summary>
  3968. <param name="match">The delegate that defines the conditions of the element to search for.</param>
  3969. <returns>The zero-based index of the last occurrence of an element that matches the conditions defined by <paramref name="match" />, if found; otherwise, -1.</returns>
  3970. </member>
  3971. <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.ForEach(System.Action{`0})">
  3972. <summary>Performs the specified action on each element of the list.</summary>
  3973. <param name="action">The delegate to perform on each element of the list.</param>
  3974. </member>
  3975. <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.GetEnumerator">
  3976. <summary>Returns an enumerator that iterates through the collection.</summary>
  3977. <returns>An enumerator that can be used to iterate through the list.</returns>
  3978. </member>
  3979. <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.GetRange(System.Int32,System.Int32)">
  3980. <summary>Creates a shallow copy of a range of elements in the source immutable list.</summary>
  3981. <param name="index">The zero-based index at which the range starts.</param>
  3982. <param name="count">The number of elements in the range.</param>
  3983. <returns>A shallow copy of a range of elements in the source immutable list.</returns>
  3984. </member>
  3985. <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.IndexOf(`0)">
  3986. <summary>Searches for the specified object and returns the zero-based index of the first occurrence within the range of elements in the immutable list.</summary>
  3987. <param name="item">The object to locate in the immutable list. The value can be <see langword="null" /> for reference types.</param>
  3988. <returns>The zero-based index of the first occurrence of <paramref name="item" /> within the range of elements in the immutable list, if found; otherwise, -1.</returns>
  3989. </member>
  3990. <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.IndexOf(`0,System.Int32)">
  3991. <summary>Searches for the specified object and returns the zero-based index of the first occurrence within the range of elements in the immutable list that extends from the specified index to the last element.</summary>
  3992. <param name="item">The object to locate in the immutable list. The value can be <see langword="null" /> for reference types.</param>
  3993. <param name="index">The zero-based starting index of the search. 0 (zero) is valid in an empty list.</param>
  3994. <returns>The zero-based index of the first occurrence of item within the range of elements in the immutable list that extends from <paramref name="index" /> to the last element, if found; otherwise, -1.</returns>
  3995. </member>
  3996. <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.IndexOf(`0,System.Int32,System.Int32)">
  3997. <summary>Searches for the specified object and returns the zero-based index of the first occurrence within the range of elements in the immutable list that starts at the specified index and contains the specified number of elements.</summary>
  3998. <param name="item">The object to locate in the immutable list. The value can be <see langword="null" /> for reference types.</param>
  3999. <param name="index">The zero-based starting index of the search. 0 (zero) is valid in an empty list.</param>
  4000. <param name="count">The number of elements in the section to search.</param>
  4001. <returns>The zero-based index of the first occurrence of item within the range of elements in the immutable list that starts at <paramref name="index" /> and contains <paramref name="count" /> number of elements, if found; otherwise, -1.</returns>
  4002. </member>
  4003. <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.IndexOf(`0,System.Int32,System.Int32,System.Collections.Generic.IEqualityComparer{`0})">
  4004. <summary>Searches for the specified object and returns the zero-based index of the first occurrence within the range of elements in the <see cref="T:System.Collections.Immutable.ImmutableList`1.Builder" /> that starts at the specified index and contains the specified number of elements.</summary>
  4005. <param name="item">The object to locate in the immutable list. The value can be <see langword="null" /> for reference types.</param>
  4006. <param name="index">The zero-based starting index of the search. 0 (zero) is valid in an empty list.</param>
  4007. <param name="count">The number of elements to search.</param>
  4008. <param name="equalityComparer">The value comparer to use for comparing elements for equality.</param>
  4009. <returns>The zero-based index of the first occurrence of item within the range of elements in the immutable list that starts at <paramref name="index" /> and contains <paramref name="count" /> number of elements, if found; otherwise, -1</returns>
  4010. </member>
  4011. <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.Insert(System.Int32,`0)">
  4012. <summary>Inserts an item to the immutable list at the specified index.</summary>
  4013. <param name="index">The zero-based index at which <paramref name="item" /> should be inserted.</param>
  4014. <param name="item">The object to insert into the immutable list.</param>
  4015. </member>
  4016. <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.InsertRange(System.Int32,System.Collections.Generic.IEnumerable{`0})">
  4017. <summary>Inserts the elements of a collection into the immutable list at the specified index.</summary>
  4018. <param name="index">The zero-based index at which the new elements should be inserted.</param>
  4019. <param name="items">The collection whose elements should be inserted into the immutable list. The collection itself cannot be <see langword="null" />, but it can contain elements that are null, if type <c>T</c> is a reference type.</param>
  4020. </member>
  4021. <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.ItemRef(System.Int32)">
  4022. <summary>Gets a read-only reference to the value for a given <paramref name="index" /> into the list.</summary>
  4023. <param name="index">The index of the desired element.</param>
  4024. <returns>A read-only reference to the value at the specified <paramref name="index" />.</returns>
  4025. </member>
  4026. <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.LastIndexOf(`0)">
  4027. <summary>Searches for the specified object and returns the zero-based index of the last occurrence within the entire immutable list.</summary>
  4028. <param name="item">The object to locate in the immutable list. The value can be <see langword="null" /> for reference types.</param>
  4029. <returns>The zero-based index of the last occurrence of <paramref name="item" /> within the entire immutable list, if found; otherwise, -1.</returns>
  4030. </member>
  4031. <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.LastIndexOf(`0,System.Int32)">
  4032. <summary>Searches for the specified object and returns the zero-based index of the last occurrence within the range of elements in the immutable list that extends from the first element to the specified index.</summary>
  4033. <param name="item">The object to locate in the immutable list. The value can be <see langword="null" /> for reference types.</param>
  4034. <param name="startIndex">The zero-based starting index of the backward search.</param>
  4035. <returns>The zero-based index of the last occurrence of <paramref name="item" /> within the range of elements in the immutable list that extends from the first element to <paramref name="index" />, if found; otherwise, -1.</returns>
  4036. </member>
  4037. <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.LastIndexOf(`0,System.Int32,System.Int32)">
  4038. <summary>Searches for the specified object and returns the zero-based index of the last occurrence within the range of elements in the immutable list that contains the specified number of elements and ends at the specified index.</summary>
  4039. <param name="item">The object to locate in the immutable list. The value can be <see langword="null" /> for reference types.</param>
  4040. <param name="startIndex">The zero-based starting index of the backward search.</param>
  4041. <param name="count">The number of elements in the section to search.</param>
  4042. <returns>The zero-based index of the last occurrence of <paramref name="item" /> within the range of elements in the immutable list that contains <paramref name="count" /> number of elements and ends at <paramref name="index" />, if found; otherwise, -1.</returns>
  4043. </member>
  4044. <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.LastIndexOf(`0,System.Int32,System.Int32,System.Collections.Generic.IEqualityComparer{`0})">
  4045. <summary>Searches for the specified object and returns the zero-based index of the last occurrence within the range of elements in the immutable list that contains the specified number of elements and ends at the specified index.</summary>
  4046. <param name="item">The object to locate in the immutable list. The value can be <see langword="null" /> for reference types.</param>
  4047. <param name="startIndex">The zero-based starting index of the search. 0 (zero) is valid in an empty list.</param>
  4048. <param name="count">The number of elements to search.</param>
  4049. <param name="equalityComparer">The value comparer to use for comparing elements for equality.</param>
  4050. <returns>The zero-based index of the first occurrence of item within the range of elements in the immutable list that starts at <paramref name="index" /> and contains <paramref name="count" /> number of elements, if found; otherwise, -1</returns>
  4051. </member>
  4052. <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.Remove(`0)">
  4053. <summary>Removes the first occurrence of a specific object from the immutable list.</summary>
  4054. <param name="item">The object to remove from the list.</param>
  4055. <returns>
  4056. <see langword="true" /> if item was successfully removed from the list; otherwise, <see langword="false" />. This method also returns <see langword="false" /> if item is not found in the list.</returns>
  4057. </member>
  4058. <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.Remove(`0,System.Collections.Generic.IEqualityComparer{`0})">
  4059. <summary>Removes the first occurrence matching the specified value from this list.</summary>
  4060. <param name="item">The item to remove.</param>
  4061. <param name="equalityComparer">The equality comparer to use in the search.
  4062. If <see langword="null" />, <see cref="P:System.Collections.Generic.EqualityComparer`1.Default" /> is used.</param>
  4063. <returns>A value indicating whether the specified element was found and removed from the collection.</returns>
  4064. </member>
  4065. <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.RemoveAll(System.Predicate{`0})">
  4066. <summary>Removes all the elements that match the conditions defined by the specified predicate.</summary>
  4067. <param name="match">The delegate that defines the conditions of the elements to remove.</param>
  4068. <returns>The number of elements removed from the immutable list.</returns>
  4069. </member>
  4070. <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.RemoveAt(System.Int32)">
  4071. <summary>Removes the item at the specified index of the immutable list.</summary>
  4072. <param name="index">The zero-based index of the item to remove from the list.</param>
  4073. </member>
  4074. <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.RemoveRange(System.Collections.Generic.IEnumerable{`0})">
  4075. <summary>Removes any first occurrences of the specified values from this list.</summary>
  4076. <param name="items">The items to remove if matches are found in this list.</param>
  4077. </member>
  4078. <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.RemoveRange(System.Collections.Generic.IEnumerable{`0},System.Collections.Generic.IEqualityComparer{`0})">
  4079. <summary>Removes any first occurrences of the specified values from this list.</summary>
  4080. <param name="items">The items to remove if matches are found in this list.</param>
  4081. <param name="equalityComparer">The equality comparer to use in the search.
  4082. If <see langword="null" />, <see cref="P:System.Collections.Generic.EqualityComparer`1.Default" /> is used.</param>
  4083. </member>
  4084. <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.RemoveRange(System.Int32,System.Int32)">
  4085. <summary>Removes the specified range of values from this list.</summary>
  4086. <param name="index">The starting index to begin removal.</param>
  4087. <param name="count">The number of elements to remove.</param>
  4088. </member>
  4089. <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.Replace(`0,`0)">
  4090. <summary>Replaces the first equal element in the list with the specified element.</summary>
  4091. <param name="oldValue">The element to replace.</param>
  4092. <param name="newValue">The element to replace the old element with.</param>
  4093. <exception cref="T:System.ArgumentException">The old value does not exist in the list.</exception>
  4094. </member>
  4095. <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.Replace(`0,`0,System.Collections.Generic.IEqualityComparer{`0})">
  4096. <summary>Replaces the first equal element in the list with the specified element.</summary>
  4097. <param name="oldValue">The element to replace.</param>
  4098. <param name="newValue">The element to replace the old element with.</param>
  4099. <param name="equalityComparer">The equality comparer to use in the search.
  4100. If <see langword="null" />, <see cref="P:System.Collections.Generic.EqualityComparer`1.Default" /> is used.</param>
  4101. <exception cref="T:System.ArgumentException">The old value does not exist in the list.</exception>
  4102. </member>
  4103. <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.Reverse">
  4104. <summary>Reverses the order of the elements in the entire immutable list.</summary>
  4105. </member>
  4106. <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.Reverse(System.Int32,System.Int32)">
  4107. <summary>Reverses the order of the elements in the specified range of the immutable list.</summary>
  4108. <param name="index">The zero-based starting index of the range to reverse.</param>
  4109. <param name="count">The number of elements in the range to reverse.</param>
  4110. </member>
  4111. <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.Sort">
  4112. <summary>Sorts the elements in the entire immutable list by using the default comparer.</summary>
  4113. </member>
  4114. <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.Sort(System.Collections.Generic.IComparer{`0})">
  4115. <summary>Sorts the elements in the entire immutable list by using the specified comparer.</summary>
  4116. <param name="comparer">The implementation to use when comparing elements, or <see langword="null" /> to use the default comparer (<see cref="P:System.Collections.Generic.Comparer`1.Default" />).</param>
  4117. </member>
  4118. <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.Sort(System.Comparison{`0})">
  4119. <summary>Sorts the elements in the entire immutable list by using the specified comparison object.</summary>
  4120. <param name="comparison">The object to use when comparing elements.</param>
  4121. <exception cref="T:System.ArgumentNullException">
  4122. <paramref name="comparison" /> is <see langword="null" />.</exception>
  4123. </member>
  4124. <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.Sort(System.Int32,System.Int32,System.Collections.Generic.IComparer{`0})">
  4125. <summary>Sorts the elements in a range of elements in the immutable list by using the specified comparer.</summary>
  4126. <param name="index">The zero-based starting index of the range to sort.</param>
  4127. <param name="count">The length of the range to sort.</param>
  4128. <param name="comparer">The implementation to use when comparing elements, or <see langword="null" /> to use the default comparer (<see cref="P:System.Collections.Generic.Comparer`1.Default" />).</param>
  4129. </member>
  4130. <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.System#Collections#Generic#IEnumerable{T}#GetEnumerator">
  4131. <summary>Returns an enumerator that iterates through the collection.</summary>
  4132. <returns>An enumerator that can be used to iterate through the collection.</returns>
  4133. </member>
  4134. <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.System#Collections#ICollection#CopyTo(System.Array,System.Int32)">
  4135. <summary>Copies the elements of the list to an array, starting at a particular array index.</summary>
  4136. <param name="array">The one-dimensional array that is the destination of the elements copied from the list. The array must have zero-based indexing.</param>
  4137. <param name="arrayIndex">The zero-based index in <paramref name="array" /> at which copying begins.</param>
  4138. <exception cref="T:System.NotImplementedException" />
  4139. </member>
  4140. <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.System#Collections#IEnumerable#GetEnumerator">
  4141. <summary>Returns an enumerator that iterates through the collection.</summary>
  4142. <returns>An enumerator that can be used to iterate through the collection.</returns>
  4143. </member>
  4144. <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.System#Collections#IList#Add(System.Object)">
  4145. <summary>Adds an item to the list.</summary>
  4146. <param name="value">The object to add to the list.</param>
  4147. <exception cref="T:System.NotImplementedException" />
  4148. <returns>The position into which the new element was inserted, or -1 to indicate that the item was not inserted into the collection.</returns>
  4149. </member>
  4150. <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.System#Collections#IList#Clear">
  4151. <summary>Removes all items from the list.</summary>
  4152. <exception cref="T:System.NotImplementedException" />
  4153. </member>
  4154. <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.System#Collections#IList#Contains(System.Object)">
  4155. <summary>Determines whether the list contains a specific value.</summary>
  4156. <param name="value">The object to locate in the list.</param>
  4157. <exception cref="T:System.NotImplementedException" />
  4158. <returns>
  4159. <see langword="true" /> if the <see cref="T:System.Object" /> is found in the list; otherwise, <see langword="false" />.</returns>
  4160. </member>
  4161. <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.System#Collections#IList#IndexOf(System.Object)">
  4162. <summary>Determines the index of a specific item in the list.</summary>
  4163. <param name="value">The object to locate in the list.</param>
  4164. <exception cref="T:System.NotImplementedException" />
  4165. <returns>The index of <paramref name="value" /> if found in the list; otherwise, -1.</returns>
  4166. </member>
  4167. <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.System#Collections#IList#Insert(System.Int32,System.Object)">
  4168. <summary>Inserts an item to the list at the specified index.</summary>
  4169. <param name="index">The zero-based index at which <paramref name="value" /> should be inserted.</param>
  4170. <param name="value">The object to insert into the list.</param>
  4171. <exception cref="T:System.NotImplementedException" />
  4172. </member>
  4173. <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.System#Collections#IList#Remove(System.Object)">
  4174. <summary>Removes the first occurrence of a specific object from the list.</summary>
  4175. <param name="value">The object to remove from the list.</param>
  4176. <exception cref="T:System.NotImplementedException" />
  4177. </member>
  4178. <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.ToImmutable">
  4179. <summary>Creates an immutable list based on the contents of this instance.</summary>
  4180. <returns>An immutable list.</returns>
  4181. </member>
  4182. <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.TrueForAll(System.Predicate{`0})">
  4183. <summary>Determines whether every element in the immutable list matches the conditions defined by the specified predicate.</summary>
  4184. <param name="match">The delegate that defines the conditions to check against the elements.</param>
  4185. <returns>
  4186. <see langword="true" /> if every element in the immutable list matches the conditions defined by the specified predicate; otherwise, <see langword="false" />. If the list has no elements, the return value is <see langword="true" />.</returns>
  4187. </member>
  4188. <member name="P:System.Collections.Immutable.ImmutableList`1.Builder.Count">
  4189. <summary>Gets the number of elements in this immutable list.</summary>
  4190. <returns>The number of elements in this list.</returns>
  4191. </member>
  4192. <member name="P:System.Collections.Immutable.ImmutableList`1.Builder.Item(System.Int32)">
  4193. <summary>Gets or sets the value for a given index in the list.</summary>
  4194. <param name="index">The index of the item to get or set.</param>
  4195. <returns>The value at the specified index.</returns>
  4196. </member>
  4197. <member name="P:System.Collections.Immutable.ImmutableList`1.Builder.System#Collections#Generic#ICollection{T}#IsReadOnly">
  4198. <summary>Gets a value that indicates whether this instance is read-only.</summary>
  4199. <returns>Always <see langword="false" />.</returns>
  4200. </member>
  4201. <member name="P:System.Collections.Immutable.ImmutableList`1.Builder.System#Collections#ICollection#IsSynchronized">
  4202. <summary>Gets a value that indicates whether access to the <see cref="T:System.Collections.ICollection" /> is synchronized (thread safe).</summary>
  4203. <returns>
  4204. <see langword="true" /> if access to the <see cref="T:System.Collections.ICollection" /> is synchronized (thread safe); otherwise, <see langword="false" />.</returns>
  4205. </member>
  4206. <member name="P:System.Collections.Immutable.ImmutableList`1.Builder.System#Collections#ICollection#SyncRoot">
  4207. <summary>Gets an object that can be used to synchronize access to the <see cref="T:System.Collections.ICollection" />.</summary>
  4208. <returns>An object that can be used to synchronize access to the <see cref="T:System.Collections.ICollection" />.</returns>
  4209. </member>
  4210. <member name="P:System.Collections.Immutable.ImmutableList`1.Builder.System#Collections#IList#IsFixedSize">
  4211. <summary>Gets a value that indicates whether the <see cref="T:System.Collections.IList" /> has a fixed size.</summary>
  4212. <returns>
  4213. <see langword="true" /> if the <see cref="T:System.Collections.IList" /> has a fixed size; otherwise, <see langword="false" />.</returns>
  4214. </member>
  4215. <member name="P:System.Collections.Immutable.ImmutableList`1.Builder.System#Collections#IList#IsReadOnly">
  4216. <summary>Gets a value that indicates whether the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only.</summary>
  4217. <returns>
  4218. <see langword="true" /> if the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only; otherwise, <see langword="false" />.</returns>
  4219. </member>
  4220. <member name="P:System.Collections.Immutable.ImmutableList`1.Builder.System#Collections#IList#Item(System.Int32)">
  4221. <summary>Gets or sets the <see cref="T:System.Object" /> at the specified index.</summary>
  4222. <param name="index">The index.</param>
  4223. <returns>The object at the specified index.</returns>
  4224. </member>
  4225. <member name="T:System.Collections.Immutable.ImmutableList`1.Enumerator">
  4226. <summary>Enumerates the contents of a binary tree.
  4227. NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
  4228. <typeparam name="T" />
  4229. </member>
  4230. <member name="M:System.Collections.Immutable.ImmutableList`1.Enumerator.Dispose">
  4231. <summary>Releases the resources used by the current instance of the <see cref="T:System.Collections.Immutable.ImmutableList`1.Enumerator" /> class.</summary>
  4232. </member>
  4233. <member name="M:System.Collections.Immutable.ImmutableList`1.Enumerator.MoveNext">
  4234. <summary>Advances enumeration to the next element of the immutable list.</summary>
  4235. <returns>
  4236. <see langword="true" /> if the enumerator was successfully advanced to the next element; <see langword="false" /> if the enumerator has passed the end of the list.</returns>
  4237. </member>
  4238. <member name="M:System.Collections.Immutable.ImmutableList`1.Enumerator.Reset">
  4239. <summary>Sets the enumerator to its initial position, which is before the first element in the immutable list.</summary>
  4240. </member>
  4241. <member name="P:System.Collections.Immutable.ImmutableList`1.Enumerator.Current">
  4242. <summary>Gets the element at the current position of the enumerator.</summary>
  4243. <returns>The element at the current position of the enumerator.</returns>
  4244. </member>
  4245. <member name="P:System.Collections.Immutable.ImmutableList`1.Enumerator.System#Collections#IEnumerator#Current">
  4246. <summary>The current element.</summary>
  4247. <returns>The element in the collection at the current position of the enumerator.</returns>
  4248. </member>
  4249. <member name="T:System.Collections.Immutable.ImmutableQueue">
  4250. <summary>Provides a set of initialization methods for instances of the <see cref="T:System.Collections.Immutable.ImmutableQueue`1" /> class.
  4251. NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
  4252. </member>
  4253. <member name="M:System.Collections.Immutable.ImmutableQueue.Create``1">
  4254. <summary>Creates an empty immutable queue.</summary>
  4255. <typeparam name="T">The type of items to be stored in the immutable queue.</typeparam>
  4256. <returns>An empty immutable queue.</returns>
  4257. </member>
  4258. <member name="M:System.Collections.Immutable.ImmutableQueue.Create``1(``0)">
  4259. <summary>Creates a new immutable queue that contains the specified item.</summary>
  4260. <param name="item">The item to prepopulate the queue with.</param>
  4261. <typeparam name="T">The type of items in the immutable queue.</typeparam>
  4262. <returns>A new immutable queue that contains the specified item.</returns>
  4263. </member>
  4264. <member name="M:System.Collections.Immutable.ImmutableQueue.Create``1(``0[])">
  4265. <summary>Creates a new immutable queue that contains the specified array of items.</summary>
  4266. <param name="items">An array that contains the items to prepopulate the queue with.</param>
  4267. <typeparam name="T">The type of items in the immutable queue.</typeparam>
  4268. <returns>A new immutable queue that contains the specified items.</returns>
  4269. </member>
  4270. <member name="M:System.Collections.Immutable.ImmutableQueue.Create``1(System.ReadOnlySpan{``0})">
  4271. <summary>Creates a new immutable queue that contains the specified array of items.</summary>
  4272. <param name="items">A span that contains the items to prepopulate the queue with.</param>
  4273. <typeparam name="T">The type of items in the immutable queue.</typeparam>
  4274. <returns>A new immutable queue that contains the specified items.</returns>
  4275. </member>
  4276. <member name="M:System.Collections.Immutable.ImmutableQueue.CreateRange``1(System.Collections.Generic.IEnumerable{``0})">
  4277. <summary>Creates a new immutable queue that contains the specified items.</summary>
  4278. <param name="items">The items to add to the queue before immutability is applied.</param>
  4279. <typeparam name="T">The type of elements in the queue.</typeparam>
  4280. <returns>An immutable queue that contains the specified items.</returns>
  4281. </member>
  4282. <member name="M:System.Collections.Immutable.ImmutableQueue.Dequeue``1(System.Collections.Immutable.IImmutableQueue{``0},``0@)">
  4283. <summary>Removes the item at the beginning of the immutable queue, and returns the new queue.</summary>
  4284. <param name="queue">The queue to remove the item from.</param>
  4285. <param name="value">When this method returns, contains the item from the beginning of the queue.</param>
  4286. <typeparam name="T">The type of elements in the immutable queue.</typeparam>
  4287. <exception cref="T:System.InvalidOperationException">The stack is empty.</exception>
  4288. <returns>The new queue with the item removed.</returns>
  4289. </member>
  4290. <member name="T:System.Collections.Immutable.ImmutableQueue`1">
  4291. <summary>Represents an immutable queue.
  4292. NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
  4293. <typeparam name="T">The type of elements in the queue.</typeparam>
  4294. </member>
  4295. <member name="M:System.Collections.Immutable.ImmutableQueue`1.Clear">
  4296. <summary>Removes all objects from the immutable queue.</summary>
  4297. <returns>The empty immutable queue.</returns>
  4298. </member>
  4299. <member name="M:System.Collections.Immutable.ImmutableQueue`1.Dequeue">
  4300. <summary>Removes the element at the beginning of the immutable queue, and returns the new queue.</summary>
  4301. <exception cref="T:System.InvalidOperationException">The queue is empty.</exception>
  4302. <returns>The new immutable queue; never <see langword="null" />.</returns>
  4303. </member>
  4304. <member name="M:System.Collections.Immutable.ImmutableQueue`1.Dequeue(`0@)">
  4305. <summary>Removes the item at the beginning of the immutable queue, and returns the new queue.</summary>
  4306. <param name="value">When this method returns, contains the element from the beginning of the queue.</param>
  4307. <exception cref="T:System.InvalidOperationException">The queue is empty.</exception>
  4308. <returns>The new immutable queue with the beginning element removed.</returns>
  4309. </member>
  4310. <member name="M:System.Collections.Immutable.ImmutableQueue`1.Enqueue(`0)">
  4311. <summary>Adds an element to the end of the immutable queue, and returns the new queue.</summary>
  4312. <param name="value">The element to add.</param>
  4313. <returns>The new immutable queue.</returns>
  4314. </member>
  4315. <member name="M:System.Collections.Immutable.ImmutableQueue`1.GetEnumerator">
  4316. <summary>Returns an enumerator that iterates through the immutable queue.</summary>
  4317. <returns>An enumerator that can be used to iterate through the queue.</returns>
  4318. </member>
  4319. <member name="M:System.Collections.Immutable.ImmutableQueue`1.Peek">
  4320. <summary>Returns the element at the beginning of the immutable queue without removing it.</summary>
  4321. <exception cref="T:System.InvalidOperationException">The queue is empty.</exception>
  4322. <returns>The element at the beginning of the queue.</returns>
  4323. </member>
  4324. <member name="M:System.Collections.Immutable.ImmutableQueue`1.PeekRef">
  4325. <summary>Gets a read-only reference to the element at the front of the queue.</summary>
  4326. <exception cref="T:System.InvalidOperationException">The queue is empty.</exception>
  4327. <returns>Read-only reference to the element at the front of the queue.</returns>
  4328. </member>
  4329. <member name="M:System.Collections.Immutable.ImmutableQueue`1.System#Collections#Generic#IEnumerable{T}#GetEnumerator">
  4330. <summary>Returns an enumerator that iterates through the collection.</summary>
  4331. <returns>An enumerator that can be used to iterate through the collection.</returns>
  4332. </member>
  4333. <member name="M:System.Collections.Immutable.ImmutableQueue`1.System#Collections#IEnumerable#GetEnumerator">
  4334. <summary>Returns an enumerator that iterates through a collection.</summary>
  4335. <returns>An <see cref="T:System.Collections.IEnumerator" /> object that can be used to iterate through the collection.</returns>
  4336. </member>
  4337. <member name="M:System.Collections.Immutable.ImmutableQueue`1.System#Collections#Immutable#IImmutableQueue{T}#Clear">
  4338. <summary>Removes all elements from the immutable queue.</summary>
  4339. <returns>The empty immutable queue.</returns>
  4340. </member>
  4341. <member name="M:System.Collections.Immutable.ImmutableQueue`1.System#Collections#Immutable#IImmutableQueue{T}#Dequeue">
  4342. <summary>Removes the element at the beginning of the immutable queue, and returns the new queue.</summary>
  4343. <exception cref="T:System.InvalidOperationException">The queue is empty.</exception>
  4344. <returns>The new immutable queue; never <see langword="null" />.</returns>
  4345. </member>
  4346. <member name="M:System.Collections.Immutable.ImmutableQueue`1.System#Collections#Immutable#IImmutableQueue{T}#Enqueue(`0)">
  4347. <summary>Adds an element to the end of the immutable queue, and returns the new queue.</summary>
  4348. <param name="value">The element to add.</param>
  4349. <returns>The new immutable queue.</returns>
  4350. </member>
  4351. <member name="P:System.Collections.Immutable.ImmutableQueue`1.Empty">
  4352. <summary>Gets an empty immutable queue.</summary>
  4353. <returns>An empty immutable queue.</returns>
  4354. </member>
  4355. <member name="P:System.Collections.Immutable.ImmutableQueue`1.IsEmpty">
  4356. <summary>Gets a value that indicates whether this immutable queue is empty.
  4357. NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
  4358. <returns>
  4359. <see langword="true" /> if this queue is empty; otherwise, <see langword="false" />.</returns>
  4360. </member>
  4361. <member name="T:System.Collections.Immutable.ImmutableQueue`1.Enumerator">
  4362. <summary>Enumerates the contents of an immutable queue without allocating any memory.
  4363. NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
  4364. <typeparam name="T" />
  4365. </member>
  4366. <member name="M:System.Collections.Immutable.ImmutableQueue`1.Enumerator.MoveNext">
  4367. <summary>Advances the enumerator to the next element of the immutable queue.</summary>
  4368. <returns>
  4369. <see langword="true" /> if the enumerator was successfully advanced to the next element; <see langword="false" /> if the enumerator has passed the end of the queue.</returns>
  4370. </member>
  4371. <member name="P:System.Collections.Immutable.ImmutableQueue`1.Enumerator.Current">
  4372. <summary>Gets the element at the current position of the enumerator.</summary>
  4373. <returns>The element at the current position of the enumerator.</returns>
  4374. </member>
  4375. <member name="T:System.Collections.Immutable.ImmutableSortedDictionary">
  4376. <summary>Provides a set of initialization methods for instances of the <see cref="T:System.Collections.Immutable.ImmutableSortedDictionary`2" /> class.
  4377. NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
  4378. </member>
  4379. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary.Create``2">
  4380. <summary>Creates an empty immutable sorted dictionary.</summary>
  4381. <typeparam name="TKey">The type of keys stored by the dictionary.</typeparam>
  4382. <typeparam name="TValue">The type of values stored by the dictionary.</typeparam>
  4383. <returns>An empty immutable sorted dictionary.</returns>
  4384. </member>
  4385. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary.Create``2(System.Collections.Generic.IComparer{``0})">
  4386. <summary>Creates an empty immutable sorted dictionary that uses the specified key comparer.</summary>
  4387. <param name="keyComparer">The implementation to use to determine the equality of keys in the dictionary.</param>
  4388. <typeparam name="TKey">The type of keys stored by the dictionary.</typeparam>
  4389. <typeparam name="TValue">The type of values stored by the dictionary.</typeparam>
  4390. <returns>An empty immutable sorted dictionary.</returns>
  4391. </member>
  4392. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary.Create``2(System.Collections.Generic.IComparer{``0},System.Collections.Generic.IEqualityComparer{``1})">
  4393. <summary>Creates an empty immutable sorted dictionary that uses the specified key and value comparers.</summary>
  4394. <param name="keyComparer">The implementation to use to determine the equality of keys in the dictionary.</param>
  4395. <param name="valueComparer">The implementation to use to determine the equality of values in the dictionary.</param>
  4396. <typeparam name="TKey">The type of keys stored by the dictionary.</typeparam>
  4397. <typeparam name="TValue">The type of values stored by the dictionary.</typeparam>
  4398. <returns>An empty immutable sorted dictionary.</returns>
  4399. </member>
  4400. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary.CreateBuilder``2">
  4401. <summary>Creates a new immutable sorted dictionary builder.</summary>
  4402. <typeparam name="TKey">The type of keys stored by the dictionary.</typeparam>
  4403. <typeparam name="TValue">The type of values stored by the dictionary.</typeparam>
  4404. <returns>The immutable collection builder.</returns>
  4405. </member>
  4406. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary.CreateBuilder``2(System.Collections.Generic.IComparer{``0})">
  4407. <summary>Creates a new immutable sorted dictionary builder.</summary>
  4408. <param name="keyComparer">The key comparer.</param>
  4409. <typeparam name="TKey">The type of keys stored by the dictionary.</typeparam>
  4410. <typeparam name="TValue">The type of values stored by the dictionary.</typeparam>
  4411. <returns>The immutable collection builder.</returns>
  4412. </member>
  4413. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary.CreateBuilder``2(System.Collections.Generic.IComparer{``0},System.Collections.Generic.IEqualityComparer{``1})">
  4414. <summary>Creates a new immutable sorted dictionary builder.</summary>
  4415. <param name="keyComparer">The key comparer.</param>
  4416. <param name="valueComparer">The value comparer.</param>
  4417. <typeparam name="TKey">The type of keys stored by the dictionary.</typeparam>
  4418. <typeparam name="TValue">The type of values stored by the dictionary.</typeparam>
  4419. <returns>The immutable collection builder.</returns>
  4420. </member>
  4421. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary.CreateRange``2(System.Collections.Generic.IComparer{``0},System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{``0,``1}})">
  4422. <summary>Creates a new immutable sorted dictionary from the specified range of items with the specified key comparer.</summary>
  4423. <param name="keyComparer">The comparer implementation to use to evaluate keys for equality and sorting.</param>
  4424. <param name="items">The items to add to the sorted dictionary.</param>
  4425. <typeparam name="TKey">The type of keys stored in the dictionary.</typeparam>
  4426. <typeparam name="TValue">The type of values stored in the dictionary.</typeparam>
  4427. <returns>The new immutable sorted dictionary that contains the specified items and uses the specified key comparer.</returns>
  4428. </member>
  4429. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary.CreateRange``2(System.Collections.Generic.IComparer{``0},System.Collections.Generic.IEqualityComparer{``1},System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{``0,``1}})">
  4430. <summary>Creates a new immutable sorted dictionary from the specified range of items with the specified key and value comparers.</summary>
  4431. <param name="keyComparer">The comparer implementation to use to compare keys for equality and sorting.</param>
  4432. <param name="valueComparer">The comparer implementation to use to compare values for equality.</param>
  4433. <param name="items">The items to add to the sorted dictionary before it's immutable.</param>
  4434. <typeparam name="TKey">The type of keys stored in the dictionary.</typeparam>
  4435. <typeparam name="TValue">The type of values stored in the dictionary.</typeparam>
  4436. <returns>An immutable sorted dictionary that contains the specified items and uses the specified comparers.</returns>
  4437. </member>
  4438. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary.CreateRange``2(System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{``0,``1}})">
  4439. <summary>Creates an immutable sorted dictionary that contains the specified items and uses the default comparer.</summary>
  4440. <param name="items">The items to add to the sorted dictionary before it's immutable.</param>
  4441. <typeparam name="TKey">The type of keys stored in the dictionary.</typeparam>
  4442. <typeparam name="TValue">The type of values stored in the dictionary.</typeparam>
  4443. <returns>An immutable sorted dictionary that contains the specified items.</returns>
  4444. </member>
  4445. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary.ToImmutableSortedDictionary``2(System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{``0,``1}})">
  4446. <summary>Enumerates a sequence of key/value pairs and produces an immutable sorted dictionary of its contents.</summary>
  4447. <param name="source">The sequence of key/value pairs to enumerate.</param>
  4448. <typeparam name="TKey">The type of the keys in the dictionary.</typeparam>
  4449. <typeparam name="TValue">The type of the values in the dictionary.</typeparam>
  4450. <returns>An immutable sorted dictionary that contains the key/value pairs in the specified sequence.</returns>
  4451. </member>
  4452. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary.ToImmutableSortedDictionary``2(System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{``0,``1}},System.Collections.Generic.IComparer{``0})">
  4453. <summary>Enumerates a sequence of key/value pairs and produces an immutable dictionary of its contents by using the specified key comparer.</summary>
  4454. <param name="source">The sequence of key/value pairs to enumerate.</param>
  4455. <param name="keyComparer">The key comparer to use when building the immutable dictionary.</param>
  4456. <typeparam name="TKey">The type of the keys in the dictionary.</typeparam>
  4457. <typeparam name="TValue">The type of the values in the dictionary.</typeparam>
  4458. <returns>An immutable sorted dictionary that contains the key/value pairs in the specified sequence.</returns>
  4459. </member>
  4460. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary.ToImmutableSortedDictionary``2(System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{``0,``1}},System.Collections.Generic.IComparer{``0},System.Collections.Generic.IEqualityComparer{``1})">
  4461. <summary>Enumerates a sequence of key/value pairs and produces an immutable sorted dictionary of its contents by using the specified key and value comparers.</summary>
  4462. <param name="source">The sequence of key/value pairs to enumerate.</param>
  4463. <param name="keyComparer">The key comparer to use when building the immutable dictionary.</param>
  4464. <param name="valueComparer">The value comparer to use for the immutable dictionary.</param>
  4465. <typeparam name="TKey">The type of the keys in the dictionary.</typeparam>
  4466. <typeparam name="TValue">The type of the values in the dictionary.</typeparam>
  4467. <returns>An immutable sorted dictionary that contains the key/value pairs in the specified sequence.</returns>
  4468. </member>
  4469. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary.ToImmutableSortedDictionary``2(System.Collections.Immutable.ImmutableSortedDictionary{``0,``1}.Builder)">
  4470. <summary>Creates an immutable sorted dictionary from the current contents of the builder's dictionary.</summary>
  4471. <param name="builder">The builder to create the immutable sorted dictionary from.</param>
  4472. <typeparam name="TKey">The type of the keys in the dictionary.</typeparam>
  4473. <typeparam name="TValue">The type of the values in the dictionary.</typeparam>
  4474. <returns>An immutable sorted dictionary that contains the current contents in the builder's dictionary.</returns>
  4475. </member>
  4476. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary.ToImmutableSortedDictionary``3(System.Collections.Generic.IEnumerable{``0},System.Func{``0,``1},System.Func{``0,``2})">
  4477. <summary>Enumerates and transforms a sequence, and produces an immutable sorted dictionary of its contents.</summary>
  4478. <param name="source">The sequence to enumerate to generate the dictionary.</param>
  4479. <param name="keySelector">The function that will produce the key for the dictionary from each sequence element.</param>
  4480. <param name="elementSelector">The function that will produce the value for the dictionary from each sequence element.</param>
  4481. <typeparam name="TSource">The type of the elements in the sequence.</typeparam>
  4482. <typeparam name="TKey">The type of the keys in the resulting dictionary.</typeparam>
  4483. <typeparam name="TValue">The type of the values in the resulting dictionary.</typeparam>
  4484. <returns>An immutable sorted dictionary that contains the items in the specified sequence.</returns>
  4485. </member>
  4486. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary.ToImmutableSortedDictionary``3(System.Collections.Generic.IEnumerable{``0},System.Func{``0,``1},System.Func{``0,``2},System.Collections.Generic.IComparer{``1})">
  4487. <summary>Enumerates and transforms a sequence, and produces an immutable sorted dictionary of its contents by using the specified key comparer.</summary>
  4488. <param name="source">The sequence to enumerate to generate the dictionary.</param>
  4489. <param name="keySelector">The function that will produce the key for the dictionary from each sequence element.</param>
  4490. <param name="elementSelector">The function that will produce the value for the dictionary from each sequence element.</param>
  4491. <param name="keyComparer">The key comparer to use for the dictionary.</param>
  4492. <typeparam name="TSource">The type of the elements in the sequence.</typeparam>
  4493. <typeparam name="TKey">The type of the keys in the resulting dictionary.</typeparam>
  4494. <typeparam name="TValue">The type of the values in the resulting dictionary.</typeparam>
  4495. <returns>An immutable dictionary that contains the items in the specified sequence.</returns>
  4496. </member>
  4497. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary.ToImmutableSortedDictionary``3(System.Collections.Generic.IEnumerable{``0},System.Func{``0,``1},System.Func{``0,``2},System.Collections.Generic.IComparer{``1},System.Collections.Generic.IEqualityComparer{``2})">
  4498. <summary>Enumerates and transforms a sequence, and produces an immutable sorted dictionary of its contents by using the specified key and value comparers.</summary>
  4499. <param name="source">The sequence to enumerate to generate the dictionary.</param>
  4500. <param name="keySelector">The function that will produce the key for the dictionary from each sequence element.</param>
  4501. <param name="elementSelector">The function that will produce the value for the dictionary from each sequence element.</param>
  4502. <param name="keyComparer">The key comparer to use for the dictionary.</param>
  4503. <param name="valueComparer">The value comparer to use for the dictionary.</param>
  4504. <typeparam name="TSource">The type of the elements in the sequence.</typeparam>
  4505. <typeparam name="TKey">The type of the keys in the resulting dictionary.</typeparam>
  4506. <typeparam name="TValue">The type of the values in the resulting dictionary.</typeparam>
  4507. <returns>An immutable sorted dictionary that contains the items in the specified sequence.</returns>
  4508. </member>
  4509. <member name="T:System.Collections.Immutable.ImmutableSortedDictionary`2">
  4510. <summary>Represents an immutable sorted dictionary.
  4511. NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
  4512. <typeparam name="TKey">The type of the key contained in the dictionary.</typeparam>
  4513. <typeparam name="TValue">The type of the value contained in the dictionary.</typeparam>
  4514. </member>
  4515. <member name="F:System.Collections.Immutable.ImmutableSortedDictionary`2.Empty">
  4516. <summary>Gets an empty immutable sorted dictionary.</summary>
  4517. </member>
  4518. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Add(`0,`1)">
  4519. <summary>Adds an element with the specified key and value to the immutable sorted dictionary.</summary>
  4520. <param name="key">The key of the entry to add.</param>
  4521. <param name="value">The value of entry to add.</param>
  4522. <exception cref="T:System.ArgumentException">The given key already exists in the dictionary but has a different value.</exception>
  4523. <returns>A new immutable sorted dictionary that contains the additional key/value pair.</returns>
  4524. </member>
  4525. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.AddRange(System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{`0,`1}})">
  4526. <summary>Adds the specific key/value pairs to the immutable sorted dictionary.</summary>
  4527. <param name="items">The key/value pairs to add.</param>
  4528. <exception cref="T:System.ArgumentException">One of the given keys already exists in the dictionary but has a different value.</exception>
  4529. <returns>A new immutable dictionary that contains the additional key/value pairs.</returns>
  4530. </member>
  4531. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Clear">
  4532. <summary>Retrieves an empty immutable sorted dictionary that has the same ordering and key/value comparison rules as this dictionary instance.</summary>
  4533. <returns>An empty dictionary with equivalent ordering and key/value comparison rules.</returns>
  4534. </member>
  4535. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Contains(System.Collections.Generic.KeyValuePair{`0,`1})">
  4536. <summary>Determines whether this immutable sorted dictionary contains the specified key/value pair.</summary>
  4537. <param name="pair">The key/value pair to locate.</param>
  4538. <returns>
  4539. <see langword="true" /> if the specified key/value pair is found in the dictionary; otherwise, <see langword="false" />.</returns>
  4540. </member>
  4541. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.ContainsKey(`0)">
  4542. <summary>Determines whether this immutable sorted map contains the specified key.</summary>
  4543. <param name="key">The key to locate.</param>
  4544. <returns>
  4545. <see langword="true" /> if the immutable dictionary contains the specified key; otherwise, <see langword="false" />.</returns>
  4546. </member>
  4547. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.ContainsValue(`1)">
  4548. <summary>Determines whether the immutable sorted dictionary contains an element with the specified value.</summary>
  4549. <param name="value">The value to locate. The value can be <see langword="null" /> for reference types.</param>
  4550. <returns>
  4551. <see langword="true" /> if the dictionary contains an element with the specified value; otherwise, <see langword="false" />.</returns>
  4552. </member>
  4553. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.GetEnumerator">
  4554. <summary>Returns an enumerator that iterates through the immutable sorted dictionary.</summary>
  4555. <returns>An enumerator that can be used to iterate through the dictionary.</returns>
  4556. </member>
  4557. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Remove(`0)">
  4558. <summary>Removes the element with the specified value from the immutable sorted dictionary.</summary>
  4559. <param name="value">The value of the element to remove.</param>
  4560. <returns>A new immutable dictionary with the specified element removed; or this instance if the specified value cannot be found in the dictionary.</returns>
  4561. </member>
  4562. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.RemoveRange(System.Collections.Generic.IEnumerable{`0})">
  4563. <summary>Removes the elements with the specified keys from the immutable sorted dictionary.</summary>
  4564. <param name="keys">The keys of the elements to remove.</param>
  4565. <returns>A new immutable dictionary with the specified keys removed; or this instance if the specified keys cannot be found in the dictionary.</returns>
  4566. </member>
  4567. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.SetItem(`0,`1)">
  4568. <summary>Sets the specified key and value in the immutable sorted dictionary, possibly overwriting an existing value for the given key.</summary>
  4569. <param name="key">The key of the entry to add.</param>
  4570. <param name="value">The key value to set.</param>
  4571. <returns>A new immutable sorted dictionary that contains the specified key/value pair.</returns>
  4572. </member>
  4573. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.SetItems(System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{`0,`1}})">
  4574. <summary>Sets the specified key/value pairs in the immutable sorted dictionary, possibly overwriting existing values for the keys.</summary>
  4575. <param name="items">The key/value pairs to set in the dictionary. If any of the keys already exist in the dictionary, this method will overwrite their previous values.</param>
  4576. <returns>An immutable dictionary that contains the specified key/value pairs.</returns>
  4577. </member>
  4578. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#Generic#ICollection{System#Collections#Generic#KeyValuePair{TKey@TValue}}#Add(System.Collections.Generic.KeyValuePair{`0,`1})">
  4579. <summary>Adds an item to the <see cref="T:System.Collections.Generic.ICollection`1" />.</summary>
  4580. <param name="item">The object to add to the <see cref="T:System.Collections.Generic.ICollection`1" />.</param>
  4581. </member>
  4582. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#Generic#ICollection{System#Collections#Generic#KeyValuePair{TKey@TValue}}#Clear">
  4583. <summary>Removes all items from the <see cref="T:System.Collections.Generic.ICollection`1" />.</summary>
  4584. </member>
  4585. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#Generic#ICollection{System#Collections#Generic#KeyValuePair{TKey@TValue}}#CopyTo(System.Collections.Generic.KeyValuePair{`0,`1}[],System.Int32)">
  4586. <summary>Copies the elements of the <see cref="T:System.Collections.Generic.ICollection`1" /> to an <see cref="T:System.Array" />, starting at a particular <see cref="T:System.Array" /> index.</summary>
  4587. <param name="array">The one-dimensional <see cref="T:System.Array" /> that is the destination of the elements copied from <see cref="T:System.Collections.Generic.ICollection`1" />. The <see cref="T:System.Array" /> must have zero-based indexing.</param>
  4588. <param name="arrayIndex">The zero-based index in <paramref name="array" /> at which copying begins.</param>
  4589. </member>
  4590. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#Generic#ICollection{System#Collections#Generic#KeyValuePair{TKey@TValue}}#Remove(System.Collections.Generic.KeyValuePair{`0,`1})">
  4591. <summary>Removes the first occurrence of a specific object from the <see cref="T:System.Collections.Generic.ICollection`1" />.</summary>
  4592. <param name="item">The object to remove from the <see cref="T:System.Collections.Generic.ICollection`1" />.</param>
  4593. <returns>
  4594. <see langword="true" /> if <paramref name="item" /> was successfully removed from the <see cref="T:System.Collections.Generic.ICollection`1" />; otherwise, <see langword="false" />. This method also returns <see langword="false" /> if <paramref name="item" /> is not found in the original <see cref="T:System.Collections.Generic.ICollection`1" />.</returns>
  4595. </member>
  4596. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#Generic#IDictionary{TKey@TValue}#Add(`0,`1)">
  4597. <summary>Adds an element with the provided key and value to the generic dictionary.</summary>
  4598. <param name="key">The object to use as the key of the element to add.</param>
  4599. <param name="value">The object to use as the value of the element to add.</param>
  4600. <exception cref="T:System.ArgumentNullException">
  4601. <paramref name="key" /> is <see langword="null" />.</exception>
  4602. <exception cref="T:System.ArgumentException">An element with the same key already exists in the <see cref="T:System.Collections.Generic.IDictionary`2" />.</exception>
  4603. <exception cref="T:System.NotSupportedException">The <see cref="T:System.Collections.Generic.IDictionary`2" /> is read-only.</exception>
  4604. </member>
  4605. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#Generic#IDictionary{TKey@TValue}#Remove(`0)">
  4606. <summary>Removes the element with the specified key from the generic dictionary.</summary>
  4607. <param name="key">The key of the element to remove.</param>
  4608. <exception cref="T:System.ArgumentNullException">
  4609. <paramref name="key" /> is <see langword="null" />.</exception>
  4610. <exception cref="T:System.NotSupportedException">The <see cref="T:System.Collections.Generic.IDictionary`2" /> is read-only.</exception>
  4611. <returns>
  4612. <see langword="true" /> if the element is successfully removed; otherwise, <see langword="false" />. This method also returns <see langword="false" /> if <paramref name="key" /> was not found in the original generic dictionary.</returns>
  4613. </member>
  4614. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#Generic#IEnumerable{System#Collections#Generic#KeyValuePair{TKey@TValue}}#GetEnumerator">
  4615. <summary>Returns an enumerator that iterates through the collection.</summary>
  4616. <returns>An enumerator that can be used to iterate through the collection.</returns>
  4617. </member>
  4618. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#ICollection#CopyTo(System.Array,System.Int32)">
  4619. <summary>Copies the elements of the dictionary to an array, starting at a particular array index.</summary>
  4620. <param name="array">The one-dimensional array that is the destination of the elements copied from the dictionary. The array must have zero-based indexing.</param>
  4621. <param name="index">The zero-based index in <paramref name="array" /> at which copying begins.</param>
  4622. </member>
  4623. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#IDictionary#Add(System.Object,System.Object)">
  4624. <summary>Adds an element with the provided key and value to the dictionary object.</summary>
  4625. <param name="key">The object to use as the key of the element to add.</param>
  4626. <param name="value">The object to use as the value of the element to add.</param>
  4627. </member>
  4628. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#IDictionary#Clear">
  4629. <summary>Clears this instance.</summary>
  4630. <exception cref="T:System.NotSupportedException">The dictionary object is read-only.</exception>
  4631. </member>
  4632. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#IDictionary#Contains(System.Object)">
  4633. <summary>Determines whether the immutable dictionary object contains an element with the specified key.</summary>
  4634. <param name="key">The key to locate in the dictionary object.</param>
  4635. <returns>
  4636. <see langword="true" /> if the dictionary contains an element with the key; otherwise, <see langword="false" />.</returns>
  4637. </member>
  4638. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#IDictionary#GetEnumerator">
  4639. <summary>Returns an <see cref="T:System.Collections.IDictionaryEnumerator" /> object for the immutable dictionary object.</summary>
  4640. <returns>An enumerator object for the dictionary object.</returns>
  4641. </member>
  4642. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#IDictionary#Remove(System.Object)">
  4643. <summary>Removes the element with the specified key from the immutable dictionary object.</summary>
  4644. <param name="key">The key of the element to remove.</param>
  4645. </member>
  4646. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#IEnumerable#GetEnumerator">
  4647. <summary>Returns an enumerator that iterates through a collection.</summary>
  4648. <returns>An enumerator object that can be used to iterate through the collection.</returns>
  4649. </member>
  4650. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#Immutable#IImmutableDictionary{TKey@TValue}#Add(`0,`1)">
  4651. <summary>See the <see cref="T:System.Collections.Immutable.IImmutableDictionary`2" /> interface.</summary>
  4652. <param name="key">Key of the entry to be added.</param>
  4653. <param name="value">Value of the entry to be added.</param>
  4654. <returns>The <see cref="T:System.Collections.Immutable.IImmutableDictionary`2" /> instance.</returns>
  4655. </member>
  4656. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#Immutable#IImmutableDictionary{TKey@TValue}#AddRange(System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{`0,`1}})">
  4657. <summary>See the <see cref="T:System.Collections.Immutable.IImmutableDictionary`2" /> interface.</summary>
  4658. <param name="pairs">Sequence of key/value pairs to be added.</param>
  4659. <returns>The <see cref="T:System.Collections.Immutable.IImmutableDictionary`2" /> instance.</returns>
  4660. </member>
  4661. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#Immutable#IImmutableDictionary{TKey@TValue}#Clear">
  4662. <summary>See the <see cref="T:System.Collections.Immutable.IImmutableDictionary`2" /> interface.</summary>
  4663. <returns>The <see cref="T:System.Collections.Immutable.IImmutableDictionary`2" /> instance.</returns>
  4664. </member>
  4665. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#Immutable#IImmutableDictionary{TKey@TValue}#Remove(`0)">
  4666. <summary>See the <see cref="T:System.Collections.Immutable.IImmutableDictionary`2" /> interface.</summary>
  4667. <param name="key">Key of entry to be removed.</param>
  4668. <returns>The <see cref="T:System.Collections.Immutable.IImmutableDictionary`2" /> instance.</returns>
  4669. </member>
  4670. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#Immutable#IImmutableDictionary{TKey@TValue}#RemoveRange(System.Collections.Generic.IEnumerable{`0})">
  4671. <summary>See the <see cref="T:System.Collections.Immutable.IImmutableDictionary`2" /> interface.</summary>
  4672. <param name="keys">Sequence of keys to be removed.</param>
  4673. <returns>The <see cref="T:System.Collections.Immutable.IImmutableDictionary`2" /> instance.</returns>
  4674. </member>
  4675. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#Immutable#IImmutableDictionary{TKey@TValue}#SetItem(`0,`1)">
  4676. <summary>See the <see cref="T:System.Collections.Immutable.IImmutableDictionary`2" /> interface.</summary>
  4677. <param name="key">Key of entry to be updated.</param>
  4678. <param name="value">Value of entry to be updated.</param>
  4679. <returns>The <see cref="T:System.Collections.Immutable.IImmutableDictionary`2" /> instance.</returns>
  4680. </member>
  4681. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#Immutable#IImmutableDictionary{TKey@TValue}#SetItems(System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{`0,`1}})">
  4682. <summary>Applies a given set of key-value pairs to an immutable dictionary, replacing any conflicting keys in the resulting dictionary.</summary>
  4683. <param name="items">A set of key-value pairs to set on the map.</param>
  4684. <returns>The <see cref="T:System.Collections.Immutable.IImmutableDictionary`2" /> instance.</returns>
  4685. </member>
  4686. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.ToBuilder">
  4687. <summary>Creates an immutable sorted dictionary with the same contents as this dictionary that can be efficiently mutated across multiple operations by using standard mutable interfaces.</summary>
  4688. <returns>A collection with the same contents as this dictionary.</returns>
  4689. </member>
  4690. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.TryGetKey(`0,`0@)">
  4691. <summary>Determines whether this dictionary contains a specified key.</summary>
  4692. <param name="equalKey">The key to search for.</param>
  4693. <param name="actualKey">The matching key located in the dictionary if found, or <c>equalkey</c> if no match is found.</param>
  4694. <returns>
  4695. <see langword="true" /> if a match for <paramref name="equalKey" /> is found; otherwise, <see langword="false" />.</returns>
  4696. </member>
  4697. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.TryGetValue(`0,`1@)">
  4698. <summary>Gets the value associated with the specified key.</summary>
  4699. <param name="key">The key whose value will be retrieved.</param>
  4700. <param name="value">When this method returns, contains the value associated with the specified key, if the key is found; otherwise, contains the default value for the type of the <paramref name="value" /> parameter.</param>
  4701. <returns>
  4702. <see langword="true" /> if the dictionary contains an element with the specified key; otherwise, <see langword="false" />.</returns>
  4703. </member>
  4704. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.ValueRef(`0)">
  4705. <summary>Returns a read-only reference to the value associated with the provided <paramref name="key" />.</summary>
  4706. <param name="key">Key of the entry to be looked up.</param>
  4707. <exception cref="T:System.Collections.Generic.KeyNotFoundException">The <paramref name="key" /> is not present.</exception>
  4708. <returns>A read-only reference to the value associated with the provided <paramref name="key" />.</returns>
  4709. </member>
  4710. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.WithComparers(System.Collections.Generic.IComparer{`0})">
  4711. <summary>Gets an instance of the immutable sorted dictionary that uses the specified key comparer.</summary>
  4712. <param name="keyComparer">The key comparer to use.</param>
  4713. <returns>An instance of the immutable dictionary that uses the given comparer.</returns>
  4714. </member>
  4715. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.WithComparers(System.Collections.Generic.IComparer{`0},System.Collections.Generic.IEqualityComparer{`1})">
  4716. <summary>Gets an instance of the immutable sorted dictionary that uses the specified key and value comparers.</summary>
  4717. <param name="keyComparer">The key comparer to use.</param>
  4718. <param name="valueComparer">The value comparer to use.</param>
  4719. <returns>An instance of the immutable dictionary that uses the given comparers.</returns>
  4720. </member>
  4721. <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.Count">
  4722. <summary>Gets the number of key/value pairs in the immutable sorted dictionary.</summary>
  4723. <returns>The number of key/value pairs in the dictionary.</returns>
  4724. </member>
  4725. <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.IsEmpty">
  4726. <summary>Gets a value that indicates whether this instance of the immutable sorted dictionary is empty.</summary>
  4727. <returns>
  4728. <see langword="true" /> if this instance is empty; otherwise, <see langword="false" />.</returns>
  4729. </member>
  4730. <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.Item(`0)">
  4731. <summary>Gets the <paramref name="TValue" /> associated with the specified key.</summary>
  4732. <param name="key">The key to retrieve the value for.</param>
  4733. <returns>The value associated with the specified key. If no results are found, the operation throws an exception.</returns>
  4734. </member>
  4735. <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.KeyComparer">
  4736. <summary>Gets the key comparer for the immutable sorted dictionary.</summary>
  4737. <returns>The key comparer for the dictionary.</returns>
  4738. </member>
  4739. <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.Keys">
  4740. <summary>Gets the keys in the immutable sorted dictionary.</summary>
  4741. <returns>The keys in the immutable dictionary.</returns>
  4742. </member>
  4743. <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#Generic#ICollection{System#Collections#Generic#KeyValuePair{TKey@TValue}}#IsReadOnly">
  4744. <summary>Gets a value indicating whether the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only.</summary>
  4745. <returns>
  4746. <see langword="true" /> if the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only; otherwise, <see langword="false" />.</returns>
  4747. </member>
  4748. <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#Generic#IDictionary{TKey@TValue}#Item(`0)">
  4749. <summary>Gets or sets the <typeparamref name="TValue" /> with the specified key.</summary>
  4750. <param name="key">The object to use as the key of the element to access.</param>
  4751. <returns>An object of type <typeparamref name="TValue" /> associated with the <paramref name="key" />.</returns>
  4752. </member>
  4753. <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#Generic#IDictionary{TKey@TValue}#Keys">
  4754. <summary>Gets the keys.</summary>
  4755. <returns>A collection containing the keys.</returns>
  4756. </member>
  4757. <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#Generic#IDictionary{TKey@TValue}#Values">
  4758. <summary>Gets the values.</summary>
  4759. <returns>A collection containing the values.</returns>
  4760. </member>
  4761. <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#ICollection#IsSynchronized">
  4762. <summary>Gets a value indicating whether access to the <see cref="T:System.Collections.ICollection" /> is synchronized (thread safe).</summary>
  4763. <returns>
  4764. <see langword="true" /> if access to the <see cref="T:System.Collections.ICollection" /> is synchronized (thread-safe); otherwise, <see langword="false" />.</returns>
  4765. </member>
  4766. <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#ICollection#SyncRoot">
  4767. <summary>Gets an object that can be used to synchronize access to the <see cref="T:System.Collections.ICollection" />.</summary>
  4768. <returns>An object that can be used to synchronize access to the <see cref="T:System.Collections.ICollection" />.</returns>
  4769. </member>
  4770. <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#IDictionary#IsFixedSize">
  4771. <summary>Gets a value indicating whether the <see cref="T:System.Collections.IDictionary" /> object has a fixed size.</summary>
  4772. <returns>
  4773. <see langword="true" /> if the <see cref="T:System.Collections.IDictionary" /> object has a fixed size; otherwise, <see langword="false" />.</returns>
  4774. </member>
  4775. <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#IDictionary#IsReadOnly">
  4776. <summary>Gets a value indicating whether the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only.</summary>
  4777. <returns>
  4778. <see langword="true" /> if the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only; otherwise, <see langword="false" />.</returns>
  4779. </member>
  4780. <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#IDictionary#Item(System.Object)">
  4781. <summary>Gets or sets the element with the specified key.</summary>
  4782. <param name="key">The key of the element to be accessed.</param>
  4783. <returns>Value stored under the specified key.</returns>
  4784. </member>
  4785. <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#IDictionary#Keys">
  4786. <summary>Gets an <see cref="T:System.Collections.Generic.ICollection`1" /> containing the keys of the <see cref="T:System.Collections.Generic.IDictionary`2" />.</summary>
  4787. <returns>An <see cref="T:System.Collections.Generic.ICollection`1" /> containing the keys of the object that implements <see cref="T:System.Collections.Generic.IDictionary`2" />.</returns>
  4788. </member>
  4789. <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#IDictionary#Values">
  4790. <summary>Gets an <see cref="T:System.Collections.Generic.ICollection`1" /> containing the values in the <see cref="T:System.Collections.Generic.IDictionary`2" />.</summary>
  4791. <returns>An <see cref="T:System.Collections.Generic.ICollection`1" /> containing the values in the object that implements <see cref="T:System.Collections.Generic.IDictionary`2" />.</returns>
  4792. </member>
  4793. <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.ValueComparer">
  4794. <summary>Gets the value comparer used to determine whether values are equal.</summary>
  4795. <returns>The value comparer used to determine whether values are equal.</returns>
  4796. </member>
  4797. <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.Values">
  4798. <summary>Gets the values in the immutable sorted dictionary.</summary>
  4799. <returns>The values in the dictionary.</returns>
  4800. </member>
  4801. <member name="T:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder">
  4802. <summary>Represents a sorted dictionary that mutates with little or no memory allocations and that can produce or build on immutable sorted dictionary instances very efficiently.
  4803. NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
  4804. <typeparam name="TKey" />
  4805. <typeparam name="TValue" />
  4806. </member>
  4807. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.Add(`0,`1)">
  4808. <summary>Adds an element that has the specified key and value to the immutable sorted dictionary.</summary>
  4809. <param name="key">The key of the element to add.</param>
  4810. <param name="value">The value of the element to add.</param>
  4811. </member>
  4812. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.Add(System.Collections.Generic.KeyValuePair{`0,`1})">
  4813. <summary>Adds the specified item to the immutable sorted dictionary.</summary>
  4814. <param name="item">The object to add to the dictionary.</param>
  4815. </member>
  4816. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.AddRange(System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{`0,`1}})">
  4817. <summary>Adds a sequence of values to the immutable sorted dictionary.</summary>
  4818. <param name="items">The items to add to the dictionary.</param>
  4819. </member>
  4820. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.Clear">
  4821. <summary>Removes all items from the immutable sorted dictionary.</summary>
  4822. </member>
  4823. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.Contains(System.Collections.Generic.KeyValuePair{`0,`1})">
  4824. <summary>Determines whether the immutable sorted dictionary contains a specific value.</summary>
  4825. <param name="item">The object to locate in the dictionary.</param>
  4826. <returns>
  4827. <see langword="true" /> if <paramref name="item" /> is found in the dictionary; otherwise, <see langword="false" />.</returns>
  4828. </member>
  4829. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.ContainsKey(`0)">
  4830. <summary>Determines whether the immutable sorted dictionary contains an element with the specified key.</summary>
  4831. <param name="key">The key to locate in the dictionary.</param>
  4832. <returns>
  4833. <see langword="true" /> if the dictionary contains an element with the key; otherwise, <see langword="false" />.</returns>
  4834. </member>
  4835. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.ContainsValue(`1)">
  4836. <summary>Determines whether the immutable sorted dictionary contains an element with the specified value.</summary>
  4837. <param name="value">The value to locate in the dictionary. The value can be <see langword="null" /> for reference types.</param>
  4838. <returns>
  4839. <see langword="true" /> if the immutable sorted dictionary contains an element with the specified value; otherwise, <see langword="false" />.</returns>
  4840. </member>
  4841. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.GetEnumerator">
  4842. <summary>Returns an enumerator that iterates through the immutable sorted dictionary.</summary>
  4843. <returns>An enumerator that can be used to iterate through the dictionary.</returns>
  4844. </member>
  4845. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.GetValueOrDefault(`0)">
  4846. <summary>Gets the value for a given key if a matching key exists in the dictionary; otherwise the default value.</summary>
  4847. <param name="key">The key to search for.</param>
  4848. <returns>The value for the key, or <c>default(TValue)</c> if no matching key was found.</returns>
  4849. </member>
  4850. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.GetValueOrDefault(`0,`1)">
  4851. <summary>Gets the value for a given key if a matching key exists in the dictionary; otherwise the default value.</summary>
  4852. <param name="key">The key to search for.</param>
  4853. <param name="defaultValue">The default value to return if no matching key is found in the dictionary.</param>
  4854. <returns>The value for the key, or <paramref name="defaultValue" /> if no matching key was found.</returns>
  4855. </member>
  4856. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.Remove(`0)">
  4857. <summary>Removes the element with the specified key from the immutable sorted dictionary.</summary>
  4858. <param name="key">The key of the element to remove.</param>
  4859. <returns>
  4860. <see langword="true" /> if the element is successfully removed; otherwise, <see langword="false" />. This method also returns <see langword="false" /> if <paramref name="key" /> was not found in the original dictionary.</returns>
  4861. </member>
  4862. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.Remove(System.Collections.Generic.KeyValuePair{`0,`1})">
  4863. <summary>Removes the first occurrence of a specific object from the immutable sorted dictionary.</summary>
  4864. <param name="item">The object to remove from the dictionary.</param>
  4865. <returns>
  4866. <see langword="true" /> if <paramref name="item" /> was successfully removed from the dictionary; otherwise, <see langword="false" />. This method also returns <see langword="false" /> if <paramref name="item" /> is not found in the dictionary.</returns>
  4867. </member>
  4868. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.RemoveRange(System.Collections.Generic.IEnumerable{`0})">
  4869. <summary>Removes any entries with keys that match those found in the specified sequence from the immutable sorted dictionary.</summary>
  4870. <param name="keys">The keys for entries to remove from the dictionary.</param>
  4871. </member>
  4872. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.System#Collections#Generic#ICollection{System#Collections#Generic#KeyValuePair{TKey@TValue}}#CopyTo(System.Collections.Generic.KeyValuePair{`0,`1}[],System.Int32)">
  4873. <summary>See <see cref="T:System.Collections.Generic.IDictionary`2" />.</summary>
  4874. <param name="array">The one-dimensional array that is the destination of the elements copied from the dictionary. The array must have zero-based indexing.</param>
  4875. <param name="arrayIndex">The zero-based index in <paramref name="array" /> at which copying begins.</param>
  4876. </member>
  4877. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.System#Collections#Generic#IEnumerable{System#Collections#Generic#KeyValuePair{TKey@TValue}}#GetEnumerator">
  4878. <summary>See <see cref="T:System.Collections.Generic.IDictionary`2" />.</summary>
  4879. <returns>An enumerator that can be used to iterate through the collection.</returns>
  4880. </member>
  4881. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.System#Collections#ICollection#CopyTo(System.Array,System.Int32)">
  4882. <summary>Copies the elements of the dictionary to an array, starting at a particular array index.
  4883. NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
  4884. <param name="array">The one-dimensional array that is the destination of the elements copied from the dictionary. The array must have zero-based indexing.</param>
  4885. <param name="index">The zero-based index in <paramref name="array" /> at which copying begins.</param>
  4886. </member>
  4887. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.System#Collections#IDictionary#Add(System.Object,System.Object)">
  4888. <summary>Adds an element with the provided key and value to the dictionary object.</summary>
  4889. <param name="key">The key of the element to add.</param>
  4890. <param name="value">The value of the element to add.</param>
  4891. </member>
  4892. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.System#Collections#IDictionary#Contains(System.Object)">
  4893. <summary>Determines whether the dictionary object contains an element with the specified key.</summary>
  4894. <param name="key">The key to locate.</param>
  4895. <returns>
  4896. <see langword="true" /> if the dictionary contains an element with the key; otherwise, <see langword="false" />.</returns>
  4897. </member>
  4898. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.System#Collections#IDictionary#GetEnumerator">
  4899. <summary>Returns an <see cref="T:System.Collections.IDictionaryEnumerator" /> object for the dictionary.</summary>
  4900. <returns>An <see cref="T:System.Collections.IDictionaryEnumerator" /> object for the dictionary.</returns>
  4901. </member>
  4902. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.System#Collections#IDictionary#Remove(System.Object)">
  4903. <summary>Removes the element with the specified key from the dictionary.</summary>
  4904. <param name="key">The key of the element to remove.</param>
  4905. </member>
  4906. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.System#Collections#IEnumerable#GetEnumerator">
  4907. <summary>Returns an enumerator that iterates through a collection.</summary>
  4908. <returns>An enumerator object that can be used to iterate through the collection.</returns>
  4909. </member>
  4910. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.ToImmutable">
  4911. <summary>Creates an immutable sorted dictionary based on the contents of this instance.</summary>
  4912. <returns>An immutable sorted dictionary.</returns>
  4913. </member>
  4914. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.TryGetKey(`0,`0@)">
  4915. <summary>Determines whether this dictionary contains a specified key.</summary>
  4916. <param name="equalKey">The key to search for.</param>
  4917. <param name="actualKey">The matching key located in the dictionary if found, or <c>equalkey</c> if no match is found.</param>
  4918. <returns>
  4919. <see langword="true" /> if a match for <paramref name="equalKey" /> is found; otherwise, <see langword="false" />.</returns>
  4920. </member>
  4921. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.TryGetValue(`0,`1@)">
  4922. <summary>Gets the value associated with the specified key.</summary>
  4923. <param name="key">The key whose value will be retrieved.</param>
  4924. <param name="value">When this method returns, contains the value associated with the specified key, if the key is found; otherwise, contains the default value for the type of the <paramref name="value" /> parameter. This parameter is passed uninitialized.</param>
  4925. <returns>
  4926. <see langword="true" /> if the object that implements the dictionary contains an element with the specified key; otherwise, <see langword="false" />.</returns>
  4927. </member>
  4928. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.ValueRef(`0)">
  4929. <summary>Returns a read-only reference to the value associated with the provided <paramref name="key" />.</summary>
  4930. <param name="key">Key of the entry to be looked up.</param>
  4931. <exception cref="T:System.Collections.Generic.KeyNotFoundException">The <paramref name="key" /> is not present.</exception>
  4932. <returns>A read-only reference to the value associated with the provided <paramref name="key" />.</returns>
  4933. </member>
  4934. <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.Count">
  4935. <summary>Gets the number of elements in this immutable sorted dictionary.</summary>
  4936. <returns>The number of elements in this dictionary.</returns>
  4937. </member>
  4938. <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.Item(`0)">
  4939. <summary>Gets or sets the value for a specified key in the immutable sorted dictionary.</summary>
  4940. <param name="key">The key to retrieve the value for.</param>
  4941. <returns>The value associated with the given key.</returns>
  4942. </member>
  4943. <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.KeyComparer">
  4944. <summary>Gets or sets the key comparer.</summary>
  4945. <returns>The key comparer.</returns>
  4946. </member>
  4947. <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.Keys">
  4948. <summary>Gets a strongly typed, read-only collection of elements.</summary>
  4949. <returns>A strongly typed, read-only collection of elements.</returns>
  4950. </member>
  4951. <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.System#Collections#Generic#ICollection{System#Collections#Generic#KeyValuePair{TKey@TValue}}#IsReadOnly">
  4952. <summary>Gets a value that indicates whether this instance is read-only.</summary>
  4953. <returns>Always <see langword="false" />.</returns>
  4954. </member>
  4955. <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.System#Collections#Generic#IDictionary{TKey@TValue}#Keys">
  4956. <summary>Returns a collection containing all keys stored in the dictionary. See <see cref="T:System.Collections.Generic.IDictionary`2" />.</summary>
  4957. <returns>A collection containing all keys stored in the dictionary.</returns>
  4958. </member>
  4959. <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.System#Collections#Generic#IDictionary{TKey@TValue}#Values">
  4960. <summary>Returns a collection containing all values stored in the dictionary. See <see cref="T:System.Collections.Generic.IDictionary`2" />.</summary>
  4961. <returns>A collection containing all values stored in the dictionary.</returns>
  4962. </member>
  4963. <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.System#Collections#ICollection#IsSynchronized">
  4964. <summary>Gets a value that indicates whether access to the <see cref="T:System.Collections.ICollection" /> is synchronized (thread safe).</summary>
  4965. <returns>
  4966. <see langword="true" /> if access to the <see cref="T:System.Collections.ICollection" /> is synchronized (thread safe); otherwise, <see langword="false" />.</returns>
  4967. </member>
  4968. <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.System#Collections#ICollection#SyncRoot">
  4969. <summary>Gets an object that can be used to synchronize access to the <see cref="T:System.Collections.ICollection" />.</summary>
  4970. <returns>An object that can be used to synchronize access to the <see cref="T:System.Collections.ICollection" />.</returns>
  4971. </member>
  4972. <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.System#Collections#IDictionary#IsFixedSize">
  4973. <summary>Gets a value that indicates whether the <see cref="T:System.Collections.IDictionary" /> object has a fixed size.</summary>
  4974. <returns>
  4975. <see langword="true" /> if the <see cref="T:System.Collections.IDictionary" /> object has a fixed size; otherwise, <see langword="false" />.</returns>
  4976. </member>
  4977. <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.System#Collections#IDictionary#IsReadOnly">
  4978. <summary>Gets a value that indicates whether the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only.</summary>
  4979. <returns>
  4980. <see langword="true" /> if the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only; otherwise, <see langword="false" />.</returns>
  4981. </member>
  4982. <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.System#Collections#IDictionary#Item(System.Object)">
  4983. <summary>Gets or sets the element with the specified key.</summary>
  4984. <param name="key">The key.</param>
  4985. <returns>The value associated with the specified key.</returns>
  4986. </member>
  4987. <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.System#Collections#IDictionary#Keys">
  4988. <summary>Gets an <see cref="T:System.Collections.Generic.ICollection`1" /> containing the keys of the <see cref="T:System.Collections.Generic.IDictionary`2" />.</summary>
  4989. <returns>An <see cref="T:System.Collections.Generic.ICollection`1" /> containing the keys of the object that implements <see cref="T:System.Collections.Generic.IDictionary`2" />.</returns>
  4990. </member>
  4991. <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.System#Collections#IDictionary#Values">
  4992. <summary>Gets an <see cref="T:System.Collections.Generic.ICollection`1" /> containing the values in the <see cref="T:System.Collections.Generic.IDictionary`2" />.</summary>
  4993. <returns>An <see cref="T:System.Collections.Generic.ICollection`1" /> containing the values in the object that implements <see cref="T:System.Collections.Generic.IDictionary`2" />.</returns>
  4994. </member>
  4995. <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.ValueComparer">
  4996. <summary>Gets or sets the value comparer.</summary>
  4997. <returns>The value comparer.</returns>
  4998. </member>
  4999. <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.Values">
  5000. <summary>Gets a collection that contains the values of the immutable sorted dictionary.</summary>
  5001. <returns>A collection that contains the values of the object that implements the dictionary.</returns>
  5002. </member>
  5003. <member name="T:System.Collections.Immutable.ImmutableSortedDictionary`2.Enumerator">
  5004. <summary>Enumerates the contents of a binary tree.
  5005. NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
  5006. <typeparam name="TKey" />
  5007. <typeparam name="TValue" />
  5008. </member>
  5009. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Enumerator.Dispose">
  5010. <summary>Releases the resources used by the current instance of the <see cref="T:System.Collections.Immutable.ImmutableSortedDictionary`2.Enumerator" /> class.</summary>
  5011. </member>
  5012. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Enumerator.MoveNext">
  5013. <summary>Advances the enumerator to the next element of the immutable sorted dictionary.</summary>
  5014. <returns>
  5015. <see langword="true" /> if the enumerator was successfully advanced to the next element; <see langword="false" /> if the enumerator has passed the end of the sorted dictionary.</returns>
  5016. </member>
  5017. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Enumerator.Reset">
  5018. <summary>Sets the enumerator to its initial position, which is before the first element in the immutable sorted dictionary.</summary>
  5019. </member>
  5020. <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.Enumerator.Current">
  5021. <summary>Gets the element at the current position of the enumerator.</summary>
  5022. <returns>The element at the current position of the enumerator.</returns>
  5023. </member>
  5024. <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.Enumerator.System#Collections#IEnumerator#Current">
  5025. <summary>The current element.</summary>
  5026. <returns>The element in the collection at the current position of the enumerator.</returns>
  5027. </member>
  5028. <member name="T:System.Collections.Immutable.ImmutableSortedSet">
  5029. <summary>Provides a set of initialization methods for instances of the <see cref="T:System.Collections.Immutable.ImmutableSortedSet`1" /> class.
  5030. NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
  5031. </member>
  5032. <member name="M:System.Collections.Immutable.ImmutableSortedSet.Create``1">
  5033. <summary>Creates an empty immutable sorted set.</summary>
  5034. <typeparam name="T">The type of items to be stored in the immutable set.</typeparam>
  5035. <returns>An empty immutable sorted set.</returns>
  5036. </member>
  5037. <member name="M:System.Collections.Immutable.ImmutableSortedSet.Create``1(``0)">
  5038. <summary>Creates a new immutable sorted set that contains the specified item.</summary>
  5039. <param name="item">The item to prepopulate the set with.</param>
  5040. <typeparam name="T">The type of items in the immutable set.</typeparam>
  5041. <returns>A new immutable set that contains the specified item.</returns>
  5042. </member>
  5043. <member name="M:System.Collections.Immutable.ImmutableSortedSet.Create``1(``0[])">
  5044. <summary>Creates a new immutable sorted set that contains the specified array of items.</summary>
  5045. <param name="items">An array that contains the items to prepopulate the set with.</param>
  5046. <typeparam name="T">The type of items in the immutable set.</typeparam>
  5047. <returns>A new immutable set that contains the specified items.</returns>
  5048. </member>
  5049. <member name="M:System.Collections.Immutable.ImmutableSortedSet.Create``1(System.Collections.Generic.IComparer{``0})">
  5050. <summary>Creates an empty immutable sorted set that uses the specified comparer.</summary>
  5051. <param name="comparer">The implementation to use when comparing items in the set.</param>
  5052. <typeparam name="T">The type of items in the immutable set.</typeparam>
  5053. <returns>An empty immutable set.</returns>
  5054. </member>
  5055. <member name="M:System.Collections.Immutable.ImmutableSortedSet.Create``1(System.Collections.Generic.IComparer{``0},``0)">
  5056. <summary>Creates a new immutable sorted set that contains the specified item and uses the specified comparer.</summary>
  5057. <param name="comparer">The implementation to use when comparing items in the set.</param>
  5058. <param name="item">The item to prepopulate the set with.</param>
  5059. <typeparam name="T">The type of items stored in the immutable set.</typeparam>
  5060. <returns>A new immutable set that contains the specified item.</returns>
  5061. </member>
  5062. <member name="M:System.Collections.Immutable.ImmutableSortedSet.Create``1(System.Collections.Generic.IComparer{``0},``0[])">
  5063. <summary>Creates a new immutable sorted set that contains the specified array of items and uses the specified comparer.</summary>
  5064. <param name="comparer">The implementation to use when comparing items in the set.</param>
  5065. <param name="items">An array that contains the items to prepopulate the set with.</param>
  5066. <typeparam name="T">The type of items in the immutable set.</typeparam>
  5067. <returns>A new immutable set that contains the specified items.</returns>
  5068. </member>
  5069. <member name="M:System.Collections.Immutable.ImmutableSortedSet.Create``1(System.Collections.Generic.IComparer{``0},System.ReadOnlySpan{``0})">
  5070. <summary>Creates a new immutable collection prefilled with the specified items.</summary>
  5071. <param name="comparer">The comparer.</param>
  5072. <param name="items">The items to prepopulate.</param>
  5073. <typeparam name="T">The type of items stored by the collection.</typeparam>
  5074. <returns>The new immutable collection.</returns>
  5075. </member>
  5076. <member name="M:System.Collections.Immutable.ImmutableSortedSet.Create``1(System.ReadOnlySpan{``0})">
  5077. <summary>Creates a new immutable sorted set that contains the specified array of items.</summary>
  5078. <param name="items">A span that contains the items to prepopulate the set with.</param>
  5079. <typeparam name="T">The type of items in the immutable set.</typeparam>
  5080. <returns>A new immutable set that contains the specified items.</returns>
  5081. </member>
  5082. <member name="M:System.Collections.Immutable.ImmutableSortedSet.CreateBuilder``1">
  5083. <summary>Returns a collection that can be used to build an immutable sorted set.</summary>
  5084. <typeparam name="T">The type of items stored by the collection.</typeparam>
  5085. <returns>The immutable collection builder.</returns>
  5086. </member>
  5087. <member name="M:System.Collections.Immutable.ImmutableSortedSet.CreateBuilder``1(System.Collections.Generic.IComparer{``0})">
  5088. <summary>Returns a collection that can be used to build an immutable sorted set.</summary>
  5089. <param name="comparer">The comparer used to compare items in the set for equality.</param>
  5090. <typeparam name="T">The type of items stored by the collection.</typeparam>
  5091. <returns>The immutable collection.</returns>
  5092. </member>
  5093. <member name="M:System.Collections.Immutable.ImmutableSortedSet.CreateRange``1(System.Collections.Generic.IComparer{``0},System.Collections.Generic.IEnumerable{``0})">
  5094. <summary>Creates a new immutable collection that contains the specified items.</summary>
  5095. <param name="comparer">The comparer to use to compare elements in this set.</param>
  5096. <param name="items">The items to add to the set before it's immutable.</param>
  5097. <typeparam name="T">The type of items stored by the collection.</typeparam>
  5098. <returns>The new immutable set that contains the specified items.</returns>
  5099. </member>
  5100. <member name="M:System.Collections.Immutable.ImmutableSortedSet.CreateRange``1(System.Collections.Generic.IEnumerable{``0})">
  5101. <summary>Creates a new immutable collection that contains the specified items.</summary>
  5102. <param name="items">The items to add to the set with before it's immutable.</param>
  5103. <typeparam name="T">The type of items stored by the collection.</typeparam>
  5104. <returns>The new immutable set that contains the specified items.</returns>
  5105. </member>
  5106. <member name="M:System.Collections.Immutable.ImmutableSortedSet.ToImmutableSortedSet``1(System.Collections.Generic.IEnumerable{``0})">
  5107. <summary>Enumerates a sequence and produces an immutable sorted set of its contents.</summary>
  5108. <param name="source">The sequence to enumerate.</param>
  5109. <typeparam name="TSource">The type of the elements in the sequence.</typeparam>
  5110. <returns>An immutable sorted set that contains the items in the specified sequence.</returns>
  5111. </member>
  5112. <member name="M:System.Collections.Immutable.ImmutableSortedSet.ToImmutableSortedSet``1(System.Collections.Generic.IEnumerable{``0},System.Collections.Generic.IComparer{``0})">
  5113. <summary>Enumerates a sequence, produces an immutable sorted set of its contents, and uses the specified comparer.</summary>
  5114. <param name="source">The sequence to enumerate.</param>
  5115. <param name="comparer">The comparer to use for initializing and adding members to the sorted set.</param>
  5116. <typeparam name="TSource">The type of the elements in the sequence.</typeparam>
  5117. <returns>An immutable sorted set that contains the items in the specified sequence.</returns>
  5118. </member>
  5119. <member name="M:System.Collections.Immutable.ImmutableSortedSet.ToImmutableSortedSet``1(System.Collections.Immutable.ImmutableSortedSet{``0}.Builder)">
  5120. <summary>Creates an immutable sorted set from the current contents of the builder's set.</summary>
  5121. <param name="builder">The builder to create the immutable sorted set from.</param>
  5122. <typeparam name="TSource">The type of the elements in the immutable sorted set.</typeparam>
  5123. <returns>An immutable sorted set that contains the current contents in the builder's set.</returns>
  5124. </member>
  5125. <member name="T:System.Collections.Immutable.ImmutableSortedSet`1">
  5126. <summary>Represents an immutable sorted set implementation.
  5127. NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
  5128. <typeparam name="T">The type of elements in the set.</typeparam>
  5129. </member>
  5130. <member name="F:System.Collections.Immutable.ImmutableSortedSet`1.Empty">
  5131. <summary>Gets an empty immutable sorted set.</summary>
  5132. </member>
  5133. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Add(`0)">
  5134. <summary>Adds the specified value to this immutable sorted set.</summary>
  5135. <param name="value">The value to add.</param>
  5136. <returns>A new set with the element added, or this set if the element is already in this set.</returns>
  5137. </member>
  5138. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Clear">
  5139. <summary>Removes all elements from the immutable sorted set.</summary>
  5140. <returns>An empty set with the elements removed.</returns>
  5141. </member>
  5142. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Contains(`0)">
  5143. <summary>Determines whether this immutable sorted set contains the specified value.</summary>
  5144. <param name="value">The value to check for.</param>
  5145. <returns>
  5146. <see langword="true" /> if the set contains the specified value; otherwise, <see langword="false" />.</returns>
  5147. </member>
  5148. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Except(System.Collections.Generic.IEnumerable{`0})">
  5149. <summary>Removes a specified set of items from this immutable sorted set.</summary>
  5150. <param name="other">The items to remove from this set.</param>
  5151. <returns>A new set with the items removed; or the original set if none of the items were in the set.</returns>
  5152. </member>
  5153. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.GetEnumerator">
  5154. <summary>Returns an enumerator that iterates through the immutable sorted set.</summary>
  5155. <returns>An enumerator that can be used to iterate through the set.</returns>
  5156. </member>
  5157. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.IndexOf(`0)">
  5158. <summary>Gets the position within this immutable sorted set that the specified value appears in.</summary>
  5159. <param name="item">The value whose position is being sought.</param>
  5160. <returns>The index of the specified <paramref name="item" /> in the sorted set, if <paramref name="item" /> is found. If <paramref name="item" /> is not found and is less than one or more elements in this set, this method returns a negative number that is the bitwise complement of the index of the first element that is larger than value. If <paramref name="item" /> is not found and is greater than any of the elements in the set, this method returns a negative number that is the bitwise complement of the index of the last element plus 1.</returns>
  5161. </member>
  5162. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Intersect(System.Collections.Generic.IEnumerable{`0})">
  5163. <summary>Creates an immutable sorted set that contains elements that exist both in this set and in the specified set.</summary>
  5164. <param name="other">The set to intersect with this one.</param>
  5165. <returns>A new immutable sorted set that contains any elements that exist in both sets.</returns>
  5166. </member>
  5167. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.IsProperSubsetOf(System.Collections.Generic.IEnumerable{`0})">
  5168. <summary>Determines whether the current immutable sorted set is a proper (strict) subset of the specified collection.</summary>
  5169. <param name="other">The collection to compare to the current set.</param>
  5170. <returns>
  5171. <see langword="true" /> if the current set is a proper subset of <paramref name="other" />; otherwise, <see langword="false" />.</returns>
  5172. </member>
  5173. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.IsProperSupersetOf(System.Collections.Generic.IEnumerable{`0})">
  5174. <summary>Determines whether the current immutable sorted set is a proper superset of a specified collection.</summary>
  5175. <param name="other">The collection to compare to the current set.</param>
  5176. <returns>
  5177. <see langword="true" /> if the current set is a proper superset of <paramref name="other" />; otherwise, <see langword="false" />.</returns>
  5178. </member>
  5179. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.IsSubsetOf(System.Collections.Generic.IEnumerable{`0})">
  5180. <summary>Determines whether the current immutable sorted set is a subset of a specified collection.</summary>
  5181. <param name="other">The collection to compare to the current set.</param>
  5182. <returns>
  5183. <see langword="true" /> if the current set is a subset of <paramref name="other" />; otherwise, <see langword="false" />.</returns>
  5184. </member>
  5185. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.IsSupersetOf(System.Collections.Generic.IEnumerable{`0})">
  5186. <summary>Determines whether the current immutable sorted set is a superset of a specified collection.</summary>
  5187. <param name="other">The collection to compare to the current set.</param>
  5188. <returns>
  5189. <see langword="true" /> if the current set is a superset of <paramref name="other" />; otherwise, <see langword="false" />.</returns>
  5190. </member>
  5191. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.ItemRef(System.Int32)">
  5192. <summary>Gets a read-only reference of the element of the set at the given <paramref name="index" />.</summary>
  5193. <param name="index">The 0-based index of the element in the set to return.</param>
  5194. <returns>A read-only reference of the element at the given position.</returns>
  5195. </member>
  5196. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Overlaps(System.Collections.Generic.IEnumerable{`0})">
  5197. <summary>Determines whether the current immutable sorted set and a specified collection share common elements.</summary>
  5198. <param name="other">The collection to compare to the current set.</param>
  5199. <returns>
  5200. <see langword="true" /> if the current set and <paramref name="other" /> share at least one common element; otherwise, <see langword="false" />.</returns>
  5201. </member>
  5202. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Remove(`0)">
  5203. <summary>Removes the specified value from this immutable sorted set.</summary>
  5204. <param name="value">The element to remove.</param>
  5205. <returns>A new immutable sorted set with the element removed, or this set if the element was not found in the set.</returns>
  5206. </member>
  5207. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Reverse">
  5208. <summary>Returns an <see cref="T:System.Collections.Generic.IEnumerable`1" /> that iterates over this immutable sorted set in reverse order.</summary>
  5209. <returns>An enumerator that iterates over the immutable sorted set in reverse order.</returns>
  5210. </member>
  5211. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.SetEquals(System.Collections.Generic.IEnumerable{`0})">
  5212. <summary>Determines whether the current immutable sorted set and the specified collection contain the same elements.</summary>
  5213. <param name="other">The collection to compare to the current set.</param>
  5214. <returns>
  5215. <see langword="true" /> if the sets are equal; otherwise, <see langword="false" />.</returns>
  5216. </member>
  5217. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.SymmetricExcept(System.Collections.Generic.IEnumerable{`0})">
  5218. <summary>Creates an immutable sorted set that contains elements that exist either in this set or in a given sequence, but not both.</summary>
  5219. <param name="other">The other sequence of items.</param>
  5220. <returns>The new immutable sorted set.</returns>
  5221. </member>
  5222. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#Generic#ICollection{T}#Add(`0)">
  5223. <summary>Adds the specified value to the collection.</summary>
  5224. <param name="item">The value to add.</param>
  5225. </member>
  5226. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#Generic#ICollection{T}#Clear">
  5227. <summary>Removes all the items from the collection.</summary>
  5228. </member>
  5229. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#Generic#ICollection{T}#CopyTo(`0[],System.Int32)">
  5230. <summary>Copies the elements of the collection to an array, starting at a particular array index.</summary>
  5231. <param name="array">The one-dimensional array that is the destination of the elements copied from collection. The array must have zero-based indexing.</param>
  5232. <param name="arrayIndex">The zero-based index in <paramref name="array" /> at which copying begins.</param>
  5233. </member>
  5234. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#Generic#ICollection{T}#Remove(`0)">
  5235. <summary>Removes the first occurrence of a specific object from the collection.</summary>
  5236. <param name="item">The object to remove from the collection.</param>
  5237. <returns>
  5238. <see langword="true" /> if <paramref name="item" /> was successfully removed from the collection; otherwise, <see langword="false" />.</returns>
  5239. </member>
  5240. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#Generic#IEnumerable{T}#GetEnumerator">
  5241. <summary>Returns an enumerator that iterates through the collection.</summary>
  5242. <returns>An enumerator that can be used to iterate through the collection.</returns>
  5243. </member>
  5244. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#Generic#IList{T}#Insert(System.Int32,`0)">
  5245. <summary>Inserts an item in the set at the specified index.</summary>
  5246. <param name="index">The zero-based index at which <paramref name="item" /> should be inserted.</param>
  5247. <param name="item">The object to insert into the set.</param>
  5248. </member>
  5249. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#Generic#IList{T}#RemoveAt(System.Int32)">
  5250. <summary>Removes the item at the specified index.</summary>
  5251. <param name="index">The zero-based index of the item to remove.</param>
  5252. </member>
  5253. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#Generic#ISet{T}#Add(`0)">
  5254. <summary>Adds an element to the current set and returns a value to indicate if the element was successfully added.</summary>
  5255. <param name="item">The element to add to the set.</param>
  5256. <returns>
  5257. <see langword="true" /> if the element is added to the set; <see langword="false" /> if the element is already in the set.</returns>
  5258. </member>
  5259. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#Generic#ISet{T}#ExceptWith(System.Collections.Generic.IEnumerable{`0})">
  5260. <summary>Removes all elements in the specified collection from the current set.</summary>
  5261. <param name="other">The collection of items to remove from the set.</param>
  5262. </member>
  5263. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#Generic#ISet{T}#IntersectWith(System.Collections.Generic.IEnumerable{`0})">
  5264. <summary>Modifies the current set so that it contains only elements that are also in a specified collection.</summary>
  5265. <param name="other">The collection to compare to the current set.</param>
  5266. </member>
  5267. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#Generic#ISet{T}#SymmetricExceptWith(System.Collections.Generic.IEnumerable{`0})">
  5268. <summary>Modifies the current set so that it contains only elements that are present either in the current set or in the specified collection, but not both.</summary>
  5269. <param name="other">The collection to compare to the current set.</param>
  5270. </member>
  5271. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#Generic#ISet{T}#UnionWith(System.Collections.Generic.IEnumerable{`0})">
  5272. <summary>Modifies the current set so that it contains all elements that are present in either the current set or the specified collection.</summary>
  5273. <param name="other">The collection to compare to the current set.</param>
  5274. </member>
  5275. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#ICollection#CopyTo(System.Array,System.Int32)">
  5276. <summary>Copies the elements of the set to an array, starting at a particular array index.</summary>
  5277. <param name="array">The one-dimensional array that is the destination of the elements copied from the set. The array must have zero-based indexing.</param>
  5278. <param name="index">The zero-based index in <paramref name="array" /> at which copying begins.</param>
  5279. </member>
  5280. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#IEnumerable#GetEnumerator">
  5281. <summary>Returns an enumerator that iterates through a collection.</summary>
  5282. <returns>An enumerator object that can be used to iterate through the collection.</returns>
  5283. </member>
  5284. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#IList#Add(System.Object)">
  5285. <summary>Adds an item to the set.</summary>
  5286. <param name="value">The object to add to the set.</param>
  5287. <exception cref="T:System.NotSupportedException">The set is read-only or has a fixed size.</exception>
  5288. <returns>The position into which the new element was inserted, or -1 to indicate that the item was not inserted into the collection.</returns>
  5289. </member>
  5290. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#IList#Clear">
  5291. <summary>Removes all items from the set.</summary>
  5292. <exception cref="T:System.NotSupportedException">Thrown in all cases.</exception>
  5293. </member>
  5294. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#IList#Contains(System.Object)">
  5295. <summary>Determines whether the set contains a specific value.</summary>
  5296. <param name="value">The object to locate in the set.</param>
  5297. <returns>
  5298. <see langword="true" /> if the object is found in the set; otherwise, <see langword="false" />.</returns>
  5299. </member>
  5300. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#IList#IndexOf(System.Object)">
  5301. <summary>Determines the index of a specific item in the set.</summary>
  5302. <param name="value">The object to locate in the set.</param>
  5303. <returns>The index of <paramref name="value" /> if found in the list; otherwise, -1.</returns>
  5304. </member>
  5305. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#IList#Insert(System.Int32,System.Object)">
  5306. <summary>Inserts an item into the set at the specified index.</summary>
  5307. <param name="index">The zero-based index at which <paramref name="value" /> should be inserted.</param>
  5308. <param name="value">The object to insert into the set.</param>
  5309. <exception cref="T:System.NotSupportedException">The set is read-only or has a fixed size.</exception>
  5310. </member>
  5311. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#IList#Remove(System.Object)">
  5312. <summary>Removes the first occurrence of a specific object from the set.</summary>
  5313. <param name="value">The object to remove from the set.</param>
  5314. <exception cref="T:System.NotSupportedException">The set is read-only or has a fixed size.</exception>
  5315. </member>
  5316. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#IList#RemoveAt(System.Int32)">
  5317. <summary>Removes the item at the specified index of the set.</summary>
  5318. <param name="index">The zero-based index of the item to remove.</param>
  5319. <exception cref="T:System.NotSupportedException">The set is read-only or has a fixed size.</exception>
  5320. </member>
  5321. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#Immutable#IImmutableSet{T}#Add(`0)">
  5322. <summary>Adds the specified element to this immutable set.</summary>
  5323. <param name="value">The element to add.</param>
  5324. <returns>A new set with the element added, or this set if the element is already in the set.</returns>
  5325. </member>
  5326. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#Immutable#IImmutableSet{T}#Clear">
  5327. <summary>Retrieves an empty immutable set that has the same sorting and ordering semantics as this instance.</summary>
  5328. <returns>An empty set that has the same sorting and ordering semantics as this instance.</returns>
  5329. </member>
  5330. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#Immutable#IImmutableSet{T}#Except(System.Collections.Generic.IEnumerable{`0})">
  5331. <summary>Removes the elements in the specified collection from the current immutable set.</summary>
  5332. <param name="other">The items to remove from this set.</param>
  5333. <returns>The new set with the items removed; or the original set if none of the items were in the set.</returns>
  5334. </member>
  5335. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#Immutable#IImmutableSet{T}#Intersect(System.Collections.Generic.IEnumerable{`0})">
  5336. <summary>Creates an immutable set that contains elements that exist in both this set and the specified set.</summary>
  5337. <param name="other">The collection to compare to the current set.</param>
  5338. <returns>A new immutable set that contains any elements that exist in both sets.</returns>
  5339. </member>
  5340. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#Immutable#IImmutableSet{T}#Remove(`0)">
  5341. <summary>Removes the specified element from this immutable set.</summary>
  5342. <param name="value">The element to remove.</param>
  5343. <returns>A new set with the specified element removed, or the current set if the element cannot be found in the set.</returns>
  5344. </member>
  5345. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#Immutable#IImmutableSet{T}#SymmetricExcept(System.Collections.Generic.IEnumerable{`0})">
  5346. <summary>Creates an immutable set that contains only elements that are present either in the current set or in the specified collection, but not both.</summary>
  5347. <param name="other">The collection to compare to the current set.</param>
  5348. <returns>A new set that contains the elements that are present only in the current set or in the specified collection, but not both.</returns>
  5349. </member>
  5350. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#Immutable#IImmutableSet{T}#Union(System.Collections.Generic.IEnumerable{`0})">
  5351. <summary>Creates a new immutable set that contains all elements that are present in either the current set or in the specified collection.</summary>
  5352. <param name="other">The collection to add elements from.</param>
  5353. <returns>A new immutable set with the items added; or the original set if all the items were already in the set.</returns>
  5354. </member>
  5355. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.ToBuilder">
  5356. <summary>Creates a collection that has the same contents as this immutable sorted set that can be efficiently manipulated by using standard mutable interfaces.</summary>
  5357. <returns>The sorted set builder.</returns>
  5358. </member>
  5359. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.TryGetValue(`0,`0@)">
  5360. <summary>Searches the set for a given value and returns the equal value it finds, if any.</summary>
  5361. <param name="equalValue">The value to search for.</param>
  5362. <param name="actualValue">The value from the set that the search found, or the original value if the search yielded no match.</param>
  5363. <returns>A value indicating whether the search was successful.</returns>
  5364. </member>
  5365. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Union(System.Collections.Generic.IEnumerable{`0})">
  5366. <summary>Adds a given set of items to this immutable sorted set.</summary>
  5367. <param name="other">The items to add.</param>
  5368. <returns>The new set with the items added; or the original set if all the items were already in the set.</returns>
  5369. </member>
  5370. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.WithComparer(System.Collections.Generic.IComparer{`0})">
  5371. <summary>Returns the immutable sorted set that has the specified key comparer.</summary>
  5372. <param name="comparer">The comparer to check for.</param>
  5373. <returns>The immutable sorted set that has the specified key comparer.</returns>
  5374. </member>
  5375. <member name="P:System.Collections.Immutable.ImmutableSortedSet`1.Count">
  5376. <summary>Gets the number of elements in the immutable sorted set.</summary>
  5377. <returns>The number of elements in the immutable sorted set.</returns>
  5378. </member>
  5379. <member name="P:System.Collections.Immutable.ImmutableSortedSet`1.IsEmpty">
  5380. <summary>Gets a value that indicates whether this immutable sorted set is empty.</summary>
  5381. <returns>
  5382. <see langword="true" /> if this set is empty; otherwise, <see langword="false" />.</returns>
  5383. </member>
  5384. <member name="P:System.Collections.Immutable.ImmutableSortedSet`1.Item(System.Int32)">
  5385. <summary>Gets the element of the immutable sorted set at the given index.</summary>
  5386. <param name="index">The index of the element to retrieve from the sorted set.</param>
  5387. <returns>The element at the given index.</returns>
  5388. </member>
  5389. <member name="P:System.Collections.Immutable.ImmutableSortedSet`1.KeyComparer">
  5390. <summary>Gets the comparer used to sort keys in the immutable sorted set.</summary>
  5391. <returns>The comparer used to sort keys.</returns>
  5392. </member>
  5393. <member name="P:System.Collections.Immutable.ImmutableSortedSet`1.Max">
  5394. <summary>Gets the maximum value in the immutable sorted set, as defined by the comparer.</summary>
  5395. <returns>The maximum value in the set.</returns>
  5396. </member>
  5397. <member name="P:System.Collections.Immutable.ImmutableSortedSet`1.Min">
  5398. <summary>Gets the minimum value in the immutable sorted set, as defined by the comparer.</summary>
  5399. <returns>The minimum value in the set.</returns>
  5400. </member>
  5401. <member name="P:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#Generic#ICollection{T}#IsReadOnly">
  5402. <summary>Returns true, since immutable collections are always read-only. See the <see cref="T:System.Collections.Generic.ICollection`1" /> interface.</summary>
  5403. <returns>A boolean value indicating whether the collection is read-only.</returns>
  5404. </member>
  5405. <member name="P:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#Generic#IList{T}#Item(System.Int32)">
  5406. <summary>See the <see cref="T:System.Collections.Generic.IList`1" /> interface.</summary>
  5407. <param name="index">The zero-based index of the item to access.</param>
  5408. <returns>The element stored at the specified index.</returns>
  5409. </member>
  5410. <member name="P:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#ICollection#IsSynchronized">
  5411. <summary>Returns true, since immutable collections are always thread-safe. See the <see cref="T:System.Collections.ICollection" /> interface.</summary>
  5412. <returns>A boolean value indicating whether the collection is thread-safe.</returns>
  5413. </member>
  5414. <member name="P:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#ICollection#SyncRoot">
  5415. <summary>See <see cref="T:System.Collections.ICollection" />.</summary>
  5416. <returns>Object used for synchronizing access to the collection.</returns>
  5417. </member>
  5418. <member name="P:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#IList#IsFixedSize">
  5419. <summary>Gets a value that indicates whether the <see cref="T:System.Collections.IList" /> has a fixed size.</summary>
  5420. <returns>
  5421. <see langword="true" /> if the <see cref="T:System.Collections.IList" /> has a fixed size; otherwise, <see langword="false" />.</returns>
  5422. </member>
  5423. <member name="P:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#IList#IsReadOnly">
  5424. <summary>Gets a value that indicates whether the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only.</summary>
  5425. <returns>
  5426. <see langword="true" /> if the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only; otherwise, <see langword="false" />.</returns>
  5427. </member>
  5428. <member name="P:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#IList#Item(System.Int32)">
  5429. <summary>Gets or sets the <see cref="T:System.Object" /> at the specified index.</summary>
  5430. <param name="index">The index.</param>
  5431. <exception cref="T:System.NotSupportedException" />
  5432. <returns>The <see cref="T:System.Object" />.</returns>
  5433. </member>
  5434. <member name="T:System.Collections.Immutable.ImmutableSortedSet`1.Builder">
  5435. <summary>Represents a sorted set that enables changes with little or no memory allocations, and efficiently manipulates or builds immutable sorted sets.
  5436. NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
  5437. <typeparam name="T" />
  5438. </member>
  5439. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Builder.Add(`0)">
  5440. <summary>Adds an element to the current set and returns a value to indicate whether the element was successfully added.</summary>
  5441. <param name="item">The element to add to the set.</param>
  5442. <returns>
  5443. <see langword="true" /> if the element is added to the set; <see langword="false" /> if the element is already in the set.</returns>
  5444. </member>
  5445. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Builder.Clear">
  5446. <summary>Removes all elements from this set.</summary>
  5447. </member>
  5448. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Builder.Contains(`0)">
  5449. <summary>Determines whether the set contains the specified object.</summary>
  5450. <param name="item">The object to locate in the set.</param>
  5451. <returns>
  5452. <see langword="true" /> if <paramref name="item" /> is found in the set; otherwise, <see langword="false" />.</returns>
  5453. </member>
  5454. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Builder.ExceptWith(System.Collections.Generic.IEnumerable{`0})">
  5455. <summary>Removes the specified set of items from the current set.</summary>
  5456. <param name="other">The collection of items to remove from the set.</param>
  5457. </member>
  5458. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Builder.GetEnumerator">
  5459. <summary>Returns an enumerator that iterates through the set.</summary>
  5460. <returns>A enumerator that can be used to iterate through the set.</returns>
  5461. </member>
  5462. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Builder.IndexOf(`0)">
  5463. <summary>Searches for the first index within this set that the specified value is contained.</summary>
  5464. <param name="item">The value to locate within the set.</param>
  5465. <returns>The index of the specified <paramref name="item" /> in the sorted set, if <paramref name="item" /> is found. If <paramref name="item" /> is not found and <paramref name="item" /> is less than one or more elements in this set, returns a negative number that is the bitwise complement of the index of the first element that's larger than <paramref name="item" />. If <paramref name="item" /> is not found and <paramref name="item" /> is greater than any of the elements in the set, returns a negative number that is the bitwise complement of (the index of the last element plus 1).</returns>
  5466. </member>
  5467. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Builder.IntersectWith(System.Collections.Generic.IEnumerable{`0})">
  5468. <summary>Modifies the current set so that it contains only elements that are also in a specified collection.</summary>
  5469. <param name="other">The collection to compare to the current set.</param>
  5470. </member>
  5471. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Builder.IsProperSubsetOf(System.Collections.Generic.IEnumerable{`0})">
  5472. <summary>Determines whether the current set is a proper (strict) subset of a specified collection.</summary>
  5473. <param name="other">The collection to compare to the current set.</param>
  5474. <returns>
  5475. <see langword="true" /> if the current set is a proper subset of <paramref name="other" />; otherwise, <see langword="false" />.</returns>
  5476. </member>
  5477. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Builder.IsProperSupersetOf(System.Collections.Generic.IEnumerable{`0})">
  5478. <summary>Determines whether the current set is a proper (strict) superset of a specified collection.</summary>
  5479. <param name="other">The collection to compare to the current set.</param>
  5480. <returns>
  5481. <see langword="true" /> if the current set is a proper superset of <paramref name="other" />; otherwise, <see langword="false" />.</returns>
  5482. </member>
  5483. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Builder.IsSubsetOf(System.Collections.Generic.IEnumerable{`0})">
  5484. <summary>Determines whether the current set is a subset of a specified collection.</summary>
  5485. <param name="other">The collection is compare to the current set.</param>
  5486. <returns>
  5487. <see langword="true" /> if the current set is a subset of <paramref name="other" />; otherwise, <see langword="false" />.</returns>
  5488. </member>
  5489. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Builder.IsSupersetOf(System.Collections.Generic.IEnumerable{`0})">
  5490. <summary>Determines whether the current set is a superset of a specified collection.</summary>
  5491. <param name="other">The collection to compare to the current set.</param>
  5492. <returns>
  5493. <see langword="true" /> if the current set is a superset of <paramref name="other" />; otherwise, <see langword="false" />.</returns>
  5494. </member>
  5495. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Builder.ItemRef(System.Int32)">
  5496. <summary>Gets a read-only reference to the element of the set at the given <paramref name="index" />.</summary>
  5497. <param name="index">The 0-based index of the element in the set to return.</param>
  5498. <returns>A read-only reference to the element at the given position.</returns>
  5499. </member>
  5500. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Builder.Overlaps(System.Collections.Generic.IEnumerable{`0})">
  5501. <summary>Determines whether the current set overlaps with the specified collection.</summary>
  5502. <param name="other">The collection to compare to the current set.</param>
  5503. <returns>
  5504. <see langword="true" /> if the current set and <paramref name="other" /> share at least one common element; otherwise, <see langword="false" />.</returns>
  5505. </member>
  5506. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Builder.Remove(`0)">
  5507. <summary>Removes the first occurrence of the specified object from the set.</summary>
  5508. <param name="item">The object to remove from the set.</param>
  5509. <returns>
  5510. <see langword="true" /> if <paramref name="item" /> was removed from the set; <see langword="false" /> if <paramref name="item" /> was not found in the set.</returns>
  5511. </member>
  5512. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Builder.Reverse">
  5513. <summary>Returns an enumerator that iterates over the immutable sorted set in reverse order.</summary>
  5514. <returns>An enumerator that iterates over the set in reverse order.</returns>
  5515. </member>
  5516. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Builder.SetEquals(System.Collections.Generic.IEnumerable{`0})">
  5517. <summary>Determines whether the current set and the specified collection contain the same elements.</summary>
  5518. <param name="other">The collection to compare to the current set.</param>
  5519. <returns>
  5520. <see langword="true" /> if the current set is equal to <paramref name="other" />; otherwise, <see langword="false" />.</returns>
  5521. </member>
  5522. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Builder.SymmetricExceptWith(System.Collections.Generic.IEnumerable{`0})">
  5523. <summary>Modifies the current set so that it contains only elements that are present either in the current set or in the specified collection, but not both.</summary>
  5524. <param name="other">The collection to compare to the current set.</param>
  5525. </member>
  5526. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Builder.System#Collections#Generic#ICollection{T}#Add(`0)">
  5527. <summary>Adds an element to the current set and returns a value to indicate whether the element was successfully added.</summary>
  5528. <param name="item">The element to add to the set.</param>
  5529. </member>
  5530. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Builder.System#Collections#Generic#ICollection{T}#CopyTo(`0[],System.Int32)">
  5531. <summary>Copies the elements of the collection to an array, starting at a particular array index.</summary>
  5532. <param name="array">The one-dimensional array that is the destination of the elements copied from collection. The array must have zero-based indexing.</param>
  5533. <param name="arrayIndex">The zero-based index in <paramref name="array" /> at which copying begins.</param>
  5534. </member>
  5535. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Builder.System#Collections#Generic#IEnumerable{T}#GetEnumerator">
  5536. <summary>Returns an enumerator that iterates through the collection.</summary>
  5537. <returns>A enumerator that can be used to iterate through the collection.</returns>
  5538. </member>
  5539. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Builder.System#Collections#ICollection#CopyTo(System.Array,System.Int32)">
  5540. <summary>Copies the elements of the set to an array, starting at a particular array index.</summary>
  5541. <param name="array">The one-dimensional array that is the destination of the elements copied from the set. The array must have zero-based indexing.</param>
  5542. <param name="arrayIndex">The zero-based index in <paramref name="array" /> at which copying begins.</param>
  5543. </member>
  5544. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Builder.System#Collections#IEnumerable#GetEnumerator">
  5545. <summary>Returns an enumerator that iterates through the collection.</summary>
  5546. <returns>A enumerator that can be used to iterate through the collection.</returns>
  5547. </member>
  5548. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Builder.ToImmutable">
  5549. <summary>Creates an immutable sorted set based on the contents of this instance.</summary>
  5550. <returns>An immutable set.</returns>
  5551. </member>
  5552. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Builder.TryGetValue(`0,`0@)">
  5553. <summary>Searches the set for a given value and returns the equal value it finds, if any.</summary>
  5554. <param name="equalValue">The value for which to search.</param>
  5555. <param name="actualValue">The value from the set that the search found, or the original value if the search yielded no match.</param>
  5556. <returns>A value indicating whether the search was successful.</returns>
  5557. </member>
  5558. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Builder.UnionWith(System.Collections.Generic.IEnumerable{`0})">
  5559. <summary>Modifies the current set so that it contains all elements that are present in both the current set and in the specified collection.</summary>
  5560. <param name="other">The collection to compare to the current state.</param>
  5561. </member>
  5562. <member name="P:System.Collections.Immutable.ImmutableSortedSet`1.Builder.Count">
  5563. <summary>Gets the number of elements in the immutable sorted set.</summary>
  5564. <returns>The number of elements in this set.</returns>
  5565. </member>
  5566. <member name="P:System.Collections.Immutable.ImmutableSortedSet`1.Builder.Item(System.Int32)">
  5567. <summary>Gets the element of the set at the given index.</summary>
  5568. <param name="index">The 0-based index of the element in the set to return.</param>
  5569. <returns>The element at the given position.</returns>
  5570. </member>
  5571. <member name="P:System.Collections.Immutable.ImmutableSortedSet`1.Builder.KeyComparer">
  5572. <summary>Gets or sets the object that is used to determine equality for the values in the immutable sorted set.</summary>
  5573. <returns>The comparer that is used to determine equality for the values in the set.</returns>
  5574. </member>
  5575. <member name="P:System.Collections.Immutable.ImmutableSortedSet`1.Builder.Max">
  5576. <summary>Gets the maximum value in the immutable sorted set, as defined by the comparer.</summary>
  5577. <returns>The maximum value in the set.</returns>
  5578. </member>
  5579. <member name="P:System.Collections.Immutable.ImmutableSortedSet`1.Builder.Min">
  5580. <summary>Gets the minimum value in the immutable sorted set, as defined by the comparer.</summary>
  5581. <returns>The minimum value in the set.</returns>
  5582. </member>
  5583. <member name="P:System.Collections.Immutable.ImmutableSortedSet`1.Builder.System#Collections#Generic#ICollection{T}#IsReadOnly">
  5584. <summary>Gets a value that indicates whether this instance is read-only.</summary>
  5585. <returns>Always <see langword="false" />.</returns>
  5586. </member>
  5587. <member name="P:System.Collections.Immutable.ImmutableSortedSet`1.Builder.System#Collections#ICollection#IsSynchronized">
  5588. <summary>Gets a value that indicates whether access to the <see cref="T:System.Collections.ICollection" /> is synchronized (thread-safe).</summary>
  5589. <returns>
  5590. <see langword="true" /> if access to the <see cref="T:System.Collections.ICollection" /> is synchronized (thread-safe); otherwise, <see langword="false" />.</returns>
  5591. </member>
  5592. <member name="P:System.Collections.Immutable.ImmutableSortedSet`1.Builder.System#Collections#ICollection#SyncRoot">
  5593. <summary>Gets an object that can be used to synchronize access to the <see cref="T:System.Collections.ICollection" />.</summary>
  5594. <returns>An object that can be used to synchronize access to the <see cref="T:System.Collections.ICollection" />.</returns>
  5595. </member>
  5596. <member name="T:System.Collections.Immutable.ImmutableSortedSet`1.Enumerator">
  5597. <summary>Enumerates the contents of a binary tree.
  5598. NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
  5599. <typeparam name="T" />
  5600. </member>
  5601. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Enumerator.Dispose">
  5602. <summary>Releases the resources used by the current instance of the <see cref="T:System.Collections.Immutable.ImmutableSortedSet`1.Enumerator" /> class.
  5603. NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
  5604. </member>
  5605. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Enumerator.MoveNext">
  5606. <summary>Advances the enumerator to the next element of the immutable sorted set.
  5607. NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
  5608. <returns>
  5609. <see langword="true" /> if the enumerator was successfully advanced to the next element; <see langword="false" /> if the enumerator has passed the end of the sorted set.</returns>
  5610. </member>
  5611. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Enumerator.Reset">
  5612. <summary>Sets the enumerator to its initial position, which is before the first element in the immutable sorted set.
  5613. NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
  5614. </member>
  5615. <member name="P:System.Collections.Immutable.ImmutableSortedSet`1.Enumerator.Current">
  5616. <summary>Gets the element at the current position of the enumerator.
  5617. NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
  5618. <returns>The element at the current position of the enumerator.</returns>
  5619. </member>
  5620. <member name="P:System.Collections.Immutable.ImmutableSortedSet`1.Enumerator.System#Collections#IEnumerator#Current">
  5621. <summary>The current element.</summary>
  5622. <returns>The element in the collection at the current position of the enumerator.</returns>
  5623. </member>
  5624. <member name="T:System.Collections.Immutable.ImmutableStack">
  5625. <summary>Provides a set of initialization methods for instances of the <see cref="T:System.Collections.Immutable.ImmutableStack`1" /> class.
  5626. NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
  5627. </member>
  5628. <member name="M:System.Collections.Immutable.ImmutableStack.Create``1">
  5629. <summary>Creates an empty immutable stack.</summary>
  5630. <typeparam name="T">The type of items to be stored in the immutable stack.</typeparam>
  5631. <returns>An empty immutable stack.</returns>
  5632. </member>
  5633. <member name="M:System.Collections.Immutable.ImmutableStack.Create``1(``0)">
  5634. <summary>Creates a new immutable stack that contains the specified item.</summary>
  5635. <param name="item">The item to prepopulate the stack with.</param>
  5636. <typeparam name="T">The type of items in the immutable stack.</typeparam>
  5637. <returns>A new immutable collection that contains the specified item.</returns>
  5638. </member>
  5639. <member name="M:System.Collections.Immutable.ImmutableStack.Create``1(``0[])">
  5640. <summary>Creates a new immutable stack that contains the specified array of items.</summary>
  5641. <param name="items">An array that contains the items to prepopulate the stack with.</param>
  5642. <typeparam name="T">The type of items in the immutable stack.</typeparam>
  5643. <returns>A new immutable stack that contains the specified items.</returns>
  5644. </member>
  5645. <member name="M:System.Collections.Immutable.ImmutableStack.Create``1(System.ReadOnlySpan{``0})">
  5646. <summary>Creates a new immutable stack that contains the specified array of items.</summary>
  5647. <param name="items">A span that contains the items to prepopulate the stack with.</param>
  5648. <typeparam name="T">The type of items in the immutable stack.</typeparam>
  5649. <returns>A new immutable stack that contains the specified items.</returns>
  5650. </member>
  5651. <member name="M:System.Collections.Immutable.ImmutableStack.CreateRange``1(System.Collections.Generic.IEnumerable{``0})">
  5652. <summary>Creates a new immutable stack that contains the specified items.</summary>
  5653. <param name="items">The items to add to the stack before it's immutable.</param>
  5654. <typeparam name="T">The type of items in the stack.</typeparam>
  5655. <returns>An immutable stack that contains the specified items.</returns>
  5656. </member>
  5657. <member name="M:System.Collections.Immutable.ImmutableStack.Pop``1(System.Collections.Immutable.IImmutableStack{``0},``0@)">
  5658. <summary>Removes the specified item from an immutable stack.</summary>
  5659. <param name="stack">The stack to modify.</param>
  5660. <param name="value">The item to remove from the stack.</param>
  5661. <typeparam name="T">The type of items contained in the stack.</typeparam>
  5662. <exception cref="T:System.InvalidOperationException">The stack is empty.</exception>
  5663. <returns>A stack; never <see langword="null" />.</returns>
  5664. </member>
  5665. <member name="T:System.Collections.Immutable.ImmutableStack`1">
  5666. <summary>Represents an immutable stack.
  5667. NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
  5668. <typeparam name="T">The type of element on the stack.</typeparam>
  5669. </member>
  5670. <member name="M:System.Collections.Immutable.ImmutableStack`1.Clear">
  5671. <summary>Removes all objects from the immutable stack.</summary>
  5672. <returns>An empty immutable stack.</returns>
  5673. </member>
  5674. <member name="M:System.Collections.Immutable.ImmutableStack`1.GetEnumerator">
  5675. <summary>Returns an enumerator that iterates through the immutable stack.</summary>
  5676. <returns>An enumerator that can be used to iterate through the stack.</returns>
  5677. </member>
  5678. <member name="M:System.Collections.Immutable.ImmutableStack`1.Peek">
  5679. <summary>Returns the object at the top of the stack without removing it.</summary>
  5680. <exception cref="T:System.InvalidOperationException">The stack is empty.</exception>
  5681. <returns>The object at the top of the stack.</returns>
  5682. </member>
  5683. <member name="M:System.Collections.Immutable.ImmutableStack`1.PeekRef">
  5684. <summary>Gets a read-only reference to the element on the top of the stack.</summary>
  5685. <exception cref="T:System.InvalidOperationException">The stack is empty.</exception>
  5686. <returns>A read-only reference to the element on the top of the stack.</returns>
  5687. </member>
  5688. <member name="M:System.Collections.Immutable.ImmutableStack`1.Pop">
  5689. <summary>Removes the element at the top of the immutable stack and returns the stack after the removal.</summary>
  5690. <exception cref="T:System.InvalidOperationException">The stack is empty.</exception>
  5691. <returns>A stack; never <see langword="null" />.</returns>
  5692. </member>
  5693. <member name="M:System.Collections.Immutable.ImmutableStack`1.Pop(`0@)">
  5694. <summary>Removes the specified element from the immutable stack and returns the stack after the removal.</summary>
  5695. <param name="value">The value to remove from the stack.</param>
  5696. <returns>A stack; never <see langword="null" />.</returns>
  5697. </member>
  5698. <member name="M:System.Collections.Immutable.ImmutableStack`1.Push(`0)">
  5699. <summary>Inserts an object at the top of the immutable stack and returns the new stack.</summary>
  5700. <param name="value">The object to push onto the stack.</param>
  5701. <returns>The new stack.</returns>
  5702. </member>
  5703. <member name="M:System.Collections.Immutable.ImmutableStack`1.System#Collections#Generic#IEnumerable{T}#GetEnumerator">
  5704. <summary>Returns an enumerator that iterates through the collection.</summary>
  5705. <returns>An enumerator that can be used to iterate through the collection.</returns>
  5706. </member>
  5707. <member name="M:System.Collections.Immutable.ImmutableStack`1.System#Collections#IEnumerable#GetEnumerator">
  5708. <summary>Returns an enumerator that iterates through a collection.</summary>
  5709. <returns>An <see cref="T:System.Collections.IEnumerator" /> object that can be used to iterate through the collection.</returns>
  5710. </member>
  5711. <member name="M:System.Collections.Immutable.ImmutableStack`1.System#Collections#Immutable#IImmutableStack{T}#Clear">
  5712. <summary>Removes all elements from the immutable stack.</summary>
  5713. <returns>The empty immutable stack.</returns>
  5714. </member>
  5715. <member name="M:System.Collections.Immutable.ImmutableStack`1.System#Collections#Immutable#IImmutableStack{T}#Pop">
  5716. <summary>Removes the element at the top of the immutable stack and returns the new stack.</summary>
  5717. <exception cref="T:System.InvalidOperationException">The stack is empty.</exception>
  5718. <returns>The new stack; never <see langword="null" />.</returns>
  5719. </member>
  5720. <member name="M:System.Collections.Immutable.ImmutableStack`1.System#Collections#Immutable#IImmutableStack{T}#Push(`0)">
  5721. <summary>Inserts an element at the top of the immutable stack and returns the new stack.</summary>
  5722. <param name="value">The element to push onto the stack.</param>
  5723. <returns>The new stack.</returns>
  5724. </member>
  5725. <member name="P:System.Collections.Immutable.ImmutableStack`1.Empty">
  5726. <summary>Gets an empty immutable stack.</summary>
  5727. <returns>An empty immutable stack.</returns>
  5728. </member>
  5729. <member name="P:System.Collections.Immutable.ImmutableStack`1.IsEmpty">
  5730. <summary>Gets a value that indicates whether this instance of the immutable stack is empty.</summary>
  5731. <returns>
  5732. <see langword="true" /> if this instance is empty; otherwise, <see langword="false" />.</returns>
  5733. </member>
  5734. <member name="T:System.Collections.Immutable.ImmutableStack`1.Enumerator">
  5735. <summary>Enumerates the contents of an immutable stack without allocating any memory.
  5736. NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
  5737. <typeparam name="T" />
  5738. </member>
  5739. <member name="M:System.Collections.Immutable.ImmutableStack`1.Enumerator.MoveNext">
  5740. <summary>Advances the enumerator to the next element of the immutable stack.</summary>
  5741. <returns>
  5742. <see langword="true" /> if the enumerator was successfully advanced to the next element; <see langword="false" /> if the enumerator has passed the end of the stack.</returns>
  5743. </member>
  5744. <member name="P:System.Collections.Immutable.ImmutableStack`1.Enumerator.Current">
  5745. <summary>Gets the element at the current position of the enumerator.</summary>
  5746. <returns>The element at the current position of the enumerator.</returns>
  5747. </member>
  5748. <member name="T:System.Linq.ImmutableArrayExtensions">
  5749. <summary>LINQ extension method overrides that offer greater efficiency for <see cref="T:System.Collections.Immutable.ImmutableArray`1" /> than the standard LINQ methods
  5750. NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
  5751. </member>
  5752. <member name="M:System.Linq.ImmutableArrayExtensions.Aggregate``1(System.Collections.Immutable.ImmutableArray{``0},System.Func{``0,``0,``0})">
  5753. <summary>Applies a function to a sequence of elements in a cumulative way.</summary>
  5754. <param name="immutableArray">The collection to apply the function to.</param>
  5755. <param name="func">A function to be invoked on each element, in a cumulative way.</param>
  5756. <typeparam name="T">The type of element contained by the collection.</typeparam>
  5757. <returns>The final value after the cumulative function has been applied to all elements.</returns>
  5758. </member>
  5759. <member name="M:System.Linq.ImmutableArrayExtensions.Aggregate``2(System.Collections.Immutable.ImmutableArray{``1},``0,System.Func{``0,``1,``0})">
  5760. <summary>Applies a function to a sequence of elements in a cumulative way.</summary>
  5761. <param name="immutableArray">The collection to apply the function to.</param>
  5762. <param name="seed">The initial accumulator value.</param>
  5763. <param name="func">A function to be invoked on each element, in a cumulative way.</param>
  5764. <typeparam name="TAccumulate">The type of the accumulated value.</typeparam>
  5765. <typeparam name="T">The type of element contained by the collection.</typeparam>
  5766. <returns>The final accumulator value.</returns>
  5767. </member>
  5768. <member name="M:System.Linq.ImmutableArrayExtensions.Aggregate``3(System.Collections.Immutable.ImmutableArray{``2},``0,System.Func{``0,``2,``0},System.Func{``0,``1})">
  5769. <summary>Applies a function to a sequence of elements in a cumulative way.</summary>
  5770. <param name="immutableArray">The collection to apply the function to.</param>
  5771. <param name="seed">The initial accumulator value.</param>
  5772. <param name="func">A function to be invoked on each element, in a cumulative way.</param>
  5773. <param name="resultSelector">A function to transform the final accumulator value into the result type.</param>
  5774. <typeparam name="TAccumulate">The type of the accumulated value.</typeparam>
  5775. <typeparam name="TResult">The type of result returned by the result selector.</typeparam>
  5776. <typeparam name="T">The type of element contained by the collection.</typeparam>
  5777. <returns>The final accumulator value.</returns>
  5778. </member>
  5779. <member name="M:System.Linq.ImmutableArrayExtensions.All``1(System.Collections.Immutable.ImmutableArray{``0},System.Func{``0,System.Boolean})">
  5780. <summary>Gets a value indicating whether all elements in this array match a given condition.</summary>
  5781. <param name="immutableArray">The array to check for matches.</param>
  5782. <param name="predicate">The predicate.</param>
  5783. <typeparam name="T">The type of element contained by the collection.</typeparam>
  5784. <returns>
  5785. <see langword="true" /> if every element of the source sequence passes the test in the specified predicate; otherwise, <see langword="false" />.</returns>
  5786. </member>
  5787. <member name="M:System.Linq.ImmutableArrayExtensions.Any``1(System.Collections.Immutable.ImmutableArray{``0}.Builder)">
  5788. <summary>Returns a value indicating whether this collection contains any elements.</summary>
  5789. <param name="builder">The builder to check for matches.</param>
  5790. <typeparam name="T">The type of elements in the array.</typeparam>
  5791. <returns>
  5792. <see langword="true" /> if the array builder contains any elements; otherwise, <see langword="false" />.</returns>
  5793. </member>
  5794. <member name="M:System.Linq.ImmutableArrayExtensions.Any``1(System.Collections.Immutable.ImmutableArray{``0})">
  5795. <summary>Gets a value indicating whether the array contains any elements.</summary>
  5796. <param name="immutableArray">The array to check for elements.</param>
  5797. <typeparam name="T">The type of element contained by the collection.</typeparam>
  5798. <returns>
  5799. <see langword="true" /> if the array contains an elements; otherwise, <see langword="false" />.</returns>
  5800. </member>
  5801. <member name="M:System.Linq.ImmutableArrayExtensions.Any``1(System.Collections.Immutable.ImmutableArray{``0},System.Func{``0,System.Boolean})">
  5802. <summary>Gets a value indicating whether the array contains any elements that match a specified condition.</summary>
  5803. <param name="immutableArray">The array to check for elements.</param>
  5804. <param name="predicate">The delegate that defines the condition to match to an element.</param>
  5805. <typeparam name="T">The type of element contained by the collection.</typeparam>
  5806. <returns>
  5807. <see langword="true" /> if an element matches the specified condition; otherwise, <see langword="false" />.</returns>
  5808. </member>
  5809. <member name="M:System.Linq.ImmutableArrayExtensions.ElementAt``1(System.Collections.Immutable.ImmutableArray{``0},System.Int32)">
  5810. <summary>Returns the element at a specified index in the array.</summary>
  5811. <param name="immutableArray">The array to find an element in.</param>
  5812. <param name="index">The index for the element to retrieve.</param>
  5813. <typeparam name="T">The type of element contained by the collection.</typeparam>
  5814. <returns>The item at the specified index.</returns>
  5815. </member>
  5816. <member name="M:System.Linq.ImmutableArrayExtensions.ElementAtOrDefault``1(System.Collections.Immutable.ImmutableArray{``0},System.Int32)">
  5817. <summary>Returns the element at a specified index in a sequence or a default value if the index is out of range.</summary>
  5818. <param name="immutableArray">The array to find an element in.</param>
  5819. <param name="index">The index for the element to retrieve.</param>
  5820. <typeparam name="T">The type of element contained by the collection.</typeparam>
  5821. <returns>The item at the specified index, or the default value if the index is not found.</returns>
  5822. </member>
  5823. <member name="M:System.Linq.ImmutableArrayExtensions.First``1(System.Collections.Immutable.ImmutableArray{``0}.Builder)">
  5824. <summary>Returns the first element in the collection.</summary>
  5825. <param name="builder">The builder to retrieve an item from.</param>
  5826. <typeparam name="T">The type of items in the array.</typeparam>
  5827. <exception cref="T:System.InvalidOperationException">If the array is empty.</exception>
  5828. <returns>The first item in the list.</returns>
  5829. </member>
  5830. <member name="M:System.Linq.ImmutableArrayExtensions.First``1(System.Collections.Immutable.ImmutableArray{``0})">
  5831. <summary>Returns the first element in an array.</summary>
  5832. <param name="immutableArray">The array to get an item from.</param>
  5833. <typeparam name="T">The type of element contained by the collection.</typeparam>
  5834. <exception cref="T:System.InvalidOperationException">If the array is empty.</exception>
  5835. <returns>The first item in the array.</returns>
  5836. </member>
  5837. <member name="M:System.Linq.ImmutableArrayExtensions.First``1(System.Collections.Immutable.ImmutableArray{``0},System.Func{``0,System.Boolean})">
  5838. <summary>Returns the first element in a sequence that satisfies a specified condition.</summary>
  5839. <param name="immutableArray">The array to get an item from.</param>
  5840. <param name="predicate">The delegate that defines the conditions of the element to search for.</param>
  5841. <typeparam name="T">The type of element contained by the collection.</typeparam>
  5842. <exception cref="T:System.InvalidOperationException">If the array is empty.</exception>
  5843. <returns>The first item in the list if it meets the condition specified by <paramref name="predicate" />.</returns>
  5844. </member>
  5845. <member name="M:System.Linq.ImmutableArrayExtensions.FirstOrDefault``1(System.Collections.Immutable.ImmutableArray{``0}.Builder)">
  5846. <summary>Returns the first element in the collection, or the default value if the collection is empty.</summary>
  5847. <param name="builder">The builder to retrieve an element from.</param>
  5848. <typeparam name="T">The type of item in the builder.</typeparam>
  5849. <returns>The first item in the list, if found; otherwise the default value for the item type.</returns>
  5850. </member>
  5851. <member name="M:System.Linq.ImmutableArrayExtensions.FirstOrDefault``1(System.Collections.Immutable.ImmutableArray{``0})">
  5852. <summary>Returns the first element of a sequence, or a default value if the sequence contains no elements.</summary>
  5853. <param name="immutableArray">The array to retrieve items from.</param>
  5854. <typeparam name="T">The type of element contained by the collection.</typeparam>
  5855. <returns>The first item in the list, if found; otherwise the default value for the item type.</returns>
  5856. </member>
  5857. <member name="M:System.Linq.ImmutableArrayExtensions.FirstOrDefault``1(System.Collections.Immutable.ImmutableArray{``0},System.Func{``0,System.Boolean})">
  5858. <summary>Returns the first element of the sequence that satisfies a condition or a default value if no such element is found.</summary>
  5859. <param name="immutableArray">The array to retrieve elements from.</param>
  5860. <param name="predicate">The delegate that defines the conditions of the element to search for.</param>
  5861. <typeparam name="T">The type of element contained by the collection.</typeparam>
  5862. <returns>The first item in the list, if found; otherwise the default value for the item type.</returns>
  5863. </member>
  5864. <member name="M:System.Linq.ImmutableArrayExtensions.Last``1(System.Collections.Immutable.ImmutableArray{``0}.Builder)">
  5865. <summary>Returns the last element in the collection.</summary>
  5866. <param name="builder">The builder to retrieve elements from.</param>
  5867. <typeparam name="T">The type of item in the builder.</typeparam>
  5868. <exception cref="T:System.InvalidOperationException">The collection is empty.</exception>
  5869. <returns>The last element in the builder.</returns>
  5870. </member>
  5871. <member name="M:System.Linq.ImmutableArrayExtensions.Last``1(System.Collections.Immutable.ImmutableArray{``0})">
  5872. <summary>Returns the last element of the array.</summary>
  5873. <param name="immutableArray">The array to retrieve items from.</param>
  5874. <typeparam name="T">The type of element contained by the array.</typeparam>
  5875. <exception cref="T:System.InvalidOperationException">The collection is empty.</exception>
  5876. <returns>The last element in the array.</returns>
  5877. </member>
  5878. <member name="M:System.Linq.ImmutableArrayExtensions.Last``1(System.Collections.Immutable.ImmutableArray{``0},System.Func{``0,System.Boolean})">
  5879. <summary>Returns the last element of a sequence that satisfies a specified condition.</summary>
  5880. <param name="immutableArray">The array to retrieve elements from.</param>
  5881. <param name="predicate">The delegate that defines the conditions of the element to retrieve.</param>
  5882. <typeparam name="T">The type of element contained by the collection.</typeparam>
  5883. <exception cref="T:System.InvalidOperationException">The collection is empty.</exception>
  5884. <returns>The last element of the array that satisfies the <paramref name="predicate" /> condition.</returns>
  5885. </member>
  5886. <member name="M:System.Linq.ImmutableArrayExtensions.LastOrDefault``1(System.Collections.Immutable.ImmutableArray{``0}.Builder)">
  5887. <summary>Returns the last element in the collection, or the default value if the collection is empty.</summary>
  5888. <param name="builder">The builder to retrieve an element from.</param>
  5889. <typeparam name="T">The type of item in the builder.</typeparam>
  5890. <returns>The last element of a sequence, or a default value if the sequence contains no elements.</returns>
  5891. </member>
  5892. <member name="M:System.Linq.ImmutableArrayExtensions.LastOrDefault``1(System.Collections.Immutable.ImmutableArray{``0})">
  5893. <summary>Returns the last element of a sequence, or a default value if the sequence contains no elements.</summary>
  5894. <param name="immutableArray">The array to retrieve items from.</param>
  5895. <typeparam name="T">The type of element contained by the collection.</typeparam>
  5896. <returns>The last element of a sequence, or a default value if the sequence contains no elements.</returns>
  5897. </member>
  5898. <member name="M:System.Linq.ImmutableArrayExtensions.LastOrDefault``1(System.Collections.Immutable.ImmutableArray{``0},System.Func{``0,System.Boolean})">
  5899. <summary>Returns the last element of a sequence that satisfies a condition or a default value if no such element is found.</summary>
  5900. <param name="immutableArray">The array to retrieve an element from.</param>
  5901. <param name="predicate">The delegate that defines the conditions of the element to search for.</param>
  5902. <typeparam name="T">The type of element contained by the collection.</typeparam>
  5903. <returns>The last element of a sequence, or a default value if the sequence contains no elements.</returns>
  5904. </member>
  5905. <member name="M:System.Linq.ImmutableArrayExtensions.Select``2(System.Collections.Immutable.ImmutableArray{``0},System.Func{``0,``1})">
  5906. <summary>Projects each element of a sequence into a new form.</summary>
  5907. <param name="immutableArray">The immutable array to select items from.</param>
  5908. <param name="selector">A transform function to apply to each element.</param>
  5909. <typeparam name="T">The type of element contained by the collection.</typeparam>
  5910. <typeparam name="TResult">The type of the result element.</typeparam>
  5911. <returns>An <see cref="T:System.Collections.Generic.IEnumerable`1" /> whose elements are the result of invoking the transform function on each element of source.</returns>
  5912. </member>
  5913. <member name="M:System.Linq.ImmutableArrayExtensions.SelectMany``3(System.Collections.Immutable.ImmutableArray{``0},System.Func{``0,System.Collections.Generic.IEnumerable{``1}},System.Func{``0,``1,``2})">
  5914. <summary>Projects each element of a sequence to an <see cref="T:System.Collections.Generic.IEnumerable`1" />, flattens the resulting sequences into one sequence, and invokes a result selector function on each element therein.</summary>
  5915. <param name="immutableArray">The immutable array.</param>
  5916. <param name="collectionSelector">A transform function to apply to each element of the input sequence.</param>
  5917. <param name="resultSelector">A transform function to apply to each element of the intermediate sequence.</param>
  5918. <typeparam name="TSource">The type of the elements of <paramref name="immutableArray" />.</typeparam>
  5919. <typeparam name="TCollection">The type of the intermediate elements collected by <paramref name="collectionSelector" />.</typeparam>
  5920. <typeparam name="TResult">The type of the elements of the resulting sequence.</typeparam>
  5921. <returns>An <see cref="T:System.Collections.Generic.IEnumerable`1" /> whose elements are the result of invoking the one-to-many transform function <paramref name="collectionSelector" /> on each element of <paramref name="immutableArray" /> and then mapping each of those sequence elements and their corresponding source element to a result element.</returns>
  5922. </member>
  5923. <member name="M:System.Linq.ImmutableArrayExtensions.SequenceEqual``2(System.Collections.Immutable.ImmutableArray{``1},System.Collections.Generic.IEnumerable{``0},System.Collections.Generic.IEqualityComparer{``1})">
  5924. <summary>Determines whether two sequences are equal according to an equality comparer.</summary>
  5925. <param name="immutableArray">The array to use for comparison.</param>
  5926. <param name="items">The items to use for comparison.</param>
  5927. <param name="comparer">The comparer to use to check for equality.</param>
  5928. <typeparam name="TDerived">The type of element in the compared array.</typeparam>
  5929. <typeparam name="TBase">The type of element contained by the collection.</typeparam>
  5930. <returns>
  5931. <see langword="true" /> to indicate the sequences are equal; otherwise, <see langword="false" />.</returns>
  5932. </member>
  5933. <member name="M:System.Linq.ImmutableArrayExtensions.SequenceEqual``2(System.Collections.Immutable.ImmutableArray{``1},System.Collections.Immutable.ImmutableArray{``0},System.Collections.Generic.IEqualityComparer{``1})">
  5934. <summary>Determines whether two sequences are equal according to an equality comparer.</summary>
  5935. <param name="immutableArray">The array to use for comparison.</param>
  5936. <param name="items">The items to use for comparison.</param>
  5937. <param name="comparer">The comparer to use to check for equality.</param>
  5938. <typeparam name="TDerived">The type of element in the compared array.</typeparam>
  5939. <typeparam name="TBase">The type of element contained by the collection.</typeparam>
  5940. <returns>
  5941. <see langword="true" /> to indicate the sequences are equal; otherwise, <see langword="false" />.</returns>
  5942. </member>
  5943. <member name="M:System.Linq.ImmutableArrayExtensions.SequenceEqual``2(System.Collections.Immutable.ImmutableArray{``1},System.Collections.Immutable.ImmutableArray{``0},System.Func{``1,``1,System.Boolean})">
  5944. <summary>Determines whether two sequences are equal according to an equality comparer.</summary>
  5945. <param name="immutableArray">The array to use for comparison.</param>
  5946. <param name="items">The items to use for comparison.</param>
  5947. <param name="predicate">The comparer to use to check for equality.</param>
  5948. <typeparam name="TDerived">The type of element in the compared array.</typeparam>
  5949. <typeparam name="TBase">The type of element contained by the collection.</typeparam>
  5950. <returns>
  5951. <see langword="true" /> to indicate the sequences are equal; otherwise, <see langword="false" />.</returns>
  5952. </member>
  5953. <member name="M:System.Linq.ImmutableArrayExtensions.Single``1(System.Collections.Immutable.ImmutableArray{``0})">
  5954. <summary>Returns the only element of a sequence, and throws an exception if there is not exactly one element in the sequence.</summary>
  5955. <param name="immutableArray">The array to retrieve the element from.</param>
  5956. <typeparam name="T">The type of element contained by the collection.</typeparam>
  5957. <returns>The element in the sequence.</returns>
  5958. </member>
  5959. <member name="M:System.Linq.ImmutableArrayExtensions.Single``1(System.Collections.Immutable.ImmutableArray{``0},System.Func{``0,System.Boolean})">
  5960. <summary>Returns the only element of a sequence that satisfies a specified condition, and throws an exception if more than one such element exists.</summary>
  5961. <param name="immutableArray">The immutable array to return a single element from.</param>
  5962. <param name="predicate">The function to test whether an element should be returned.</param>
  5963. <typeparam name="T">The type of element contained by the collection.</typeparam>
  5964. <returns>Returns <see cref="T:System.Boolean" />.</returns>
  5965. </member>
  5966. <member name="M:System.Linq.ImmutableArrayExtensions.SingleOrDefault``1(System.Collections.Immutable.ImmutableArray{``0})">
  5967. <summary>Returns the only element of the array, or a default value if the sequence is empty; this method throws an exception if there is more than one element in the sequence.</summary>
  5968. <param name="immutableArray">The array.</param>
  5969. <typeparam name="T">The type of element contained by the collection.</typeparam>
  5970. <exception cref="T:System.InvalidOperationException">
  5971. <paramref name="source" /> contains more than one element.</exception>
  5972. <returns>The element in the array, or the default value if the array is empty.</returns>
  5973. </member>
  5974. <member name="M:System.Linq.ImmutableArrayExtensions.SingleOrDefault``1(System.Collections.Immutable.ImmutableArray{``0},System.Func{``0,System.Boolean})">
  5975. <summary>Returns the only element of a sequence that satisfies a specified condition or a default value if no such element exists; this method throws an exception if more than one element satisfies the condition.</summary>
  5976. <param name="immutableArray">The array to get the element from.</param>
  5977. <param name="predicate">The condition the element must satisfy.</param>
  5978. <typeparam name="T">The type of element contained by the collection.</typeparam>
  5979. <exception cref="T:System.InvalidOperationException">More than one element satisfies the condition in <paramref name="predicate" />.</exception>
  5980. <returns>The element if it satisfies the specified condition; otherwise the default element.</returns>
  5981. </member>
  5982. <member name="M:System.Linq.ImmutableArrayExtensions.ToArray``1(System.Collections.Immutable.ImmutableArray{``0})">
  5983. <summary>Copies the contents of this array to a mutable array.</summary>
  5984. <param name="immutableArray">The immutable array to copy into a mutable one.</param>
  5985. <typeparam name="T">The type of element contained by the collection.</typeparam>
  5986. <returns>The newly instantiated array.</returns>
  5987. </member>
  5988. <member name="M:System.Linq.ImmutableArrayExtensions.ToDictionary``2(System.Collections.Immutable.ImmutableArray{``1},System.Func{``1,``0})">
  5989. <summary>Creates a dictionary based on the contents of this array.</summary>
  5990. <param name="immutableArray">The array to create a dictionary from.</param>
  5991. <param name="keySelector">The key selector.</param>
  5992. <typeparam name="TKey">The type of the key.</typeparam>
  5993. <typeparam name="T">The type of element contained by the collection.</typeparam>
  5994. <returns>The newly initialized dictionary.</returns>
  5995. </member>
  5996. <member name="M:System.Linq.ImmutableArrayExtensions.ToDictionary``2(System.Collections.Immutable.ImmutableArray{``1},System.Func{``1,``0},System.Collections.Generic.IEqualityComparer{``0})">
  5997. <summary>Creates a dictionary based on the contents of this array.</summary>
  5998. <param name="immutableArray">The array to create a dictionary from.</param>
  5999. <param name="keySelector">The key selector.</param>
  6000. <param name="comparer">The comparer to initialize the dictionary with.</param>
  6001. <typeparam name="TKey">The type of the key.</typeparam>
  6002. <typeparam name="T">The type of element contained by the collection.</typeparam>
  6003. <returns>The newly initialized dictionary.</returns>
  6004. </member>
  6005. <member name="M:System.Linq.ImmutableArrayExtensions.ToDictionary``3(System.Collections.Immutable.ImmutableArray{``2},System.Func{``2,``0},System.Func{``2,``1})">
  6006. <summary>Creates a dictionary based on the contents of this array.</summary>
  6007. <param name="immutableArray">The array to create a dictionary from.</param>
  6008. <param name="keySelector">The key selector.</param>
  6009. <param name="elementSelector">The element selector.</param>
  6010. <typeparam name="TKey">The type of the key.</typeparam>
  6011. <typeparam name="TElement">The type of the element.</typeparam>
  6012. <typeparam name="T">The type of element contained by the collection.</typeparam>
  6013. <returns>The newly initialized dictionary.</returns>
  6014. </member>
  6015. <member name="M:System.Linq.ImmutableArrayExtensions.ToDictionary``3(System.Collections.Immutable.ImmutableArray{``2},System.Func{``2,``0},System.Func{``2,``1},System.Collections.Generic.IEqualityComparer{``0})">
  6016. <summary>Creates a dictionary based on the contents of this array.</summary>
  6017. <param name="immutableArray">The array to create a dictionary from.</param>
  6018. <param name="keySelector">The key selector.</param>
  6019. <param name="elementSelector">The element selector.</param>
  6020. <param name="comparer">The comparer to initialize the dictionary with.</param>
  6021. <typeparam name="TKey">The type of the key.</typeparam>
  6022. <typeparam name="TElement">The type of the element.</typeparam>
  6023. <typeparam name="T">The type of element contained by the collection.</typeparam>
  6024. <returns>The newly initialized dictionary.</returns>
  6025. </member>
  6026. <member name="M:System.Linq.ImmutableArrayExtensions.Where``1(System.Collections.Immutable.ImmutableArray{``0},System.Func{``0,System.Boolean})">
  6027. <summary>Filters a sequence of values based on a predicate.</summary>
  6028. <param name="immutableArray">The array to filter.</param>
  6029. <param name="predicate">The condition to use for filtering the array content.</param>
  6030. <typeparam name="T">The type of element contained by the collection.</typeparam>
  6031. <returns>Returns <see cref="T:System.Collections.Generic.IEnumerable`1" /> that contains elements that meet the condition.</returns>
  6032. </member>
  6033. <member name="T:System.Runtime.InteropServices.ImmutableCollectionsMarshal">
  6034. <summary>An unsafe class that provides a set of methods to access the underlying data representations of immutable collections.</summary>
  6035. </member>
  6036. <member name="M:System.Runtime.InteropServices.ImmutableCollectionsMarshal.AsArray``1(System.Collections.Immutable.ImmutableArray{``0})">
  6037. <summary>Gets the underlying <typeparamref name="T" /> array for an input <see cref="T:System.Collections.Immutable.ImmutableArray`1" /> value.</summary>
  6038. <param name="array">The input <see cref="T:System.Collections.Immutable.ImmutableArray`1" /> value to get the underlying <typeparamref name="T" /> array from.</param>
  6039. <typeparam name="T">The type of elements in the input <see cref="T:System.Collections.Immutable.ImmutableArray`1" /> value.</typeparam>
  6040. <returns>The underlying <typeparamref name="T" /> array for <paramref name="array" />, if present.</returns>
  6041. </member>
  6042. <member name="M:System.Runtime.InteropServices.ImmutableCollectionsMarshal.AsImmutableArray``1(``0[])">
  6043. <summary>Gets an <see cref="T:System.Collections.Immutable.ImmutableArray`1" /> value wrapping the input <typeparamref name="T" /> array.</summary>
  6044. <param name="array">The input array to wrap in the returned <see cref="T:System.Collections.Immutable.ImmutableArray`1" /> value.</param>
  6045. <typeparam name="T">The type of elements in the input array.</typeparam>
  6046. <returns>An <see cref="T:System.Collections.Immutable.ImmutableArray`1" /> value wrapping <paramref name="array" />.</returns>
  6047. </member>
  6048. </members>
  6049. </doc>