1 <?xml version="1.0" encoding="utf-8"?>
4 <name>System.Collections.Immutable</name>
7 <member name="T:System.Collections.Immutable.IImmutableDictionary`2">
8 <summary>Represents an immutable collection of key/value pairs.
9 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
10 <typeparam name="TKey">The type of keys in the dictionary.</typeparam>
11 <typeparam name="TValue">The type of values in the dictionary.</typeparam>
13 <member name="M:System.Collections.Immutable.IImmutableDictionary`2.Add(`0,`1)">
14 <summary>Adds an element with the specified key and value to the dictionary.</summary>
15 <param name="key">The key of the element to add.</param>
16 <param name="value">The value of the element to add.</param>
17 <returns>A new immutable dictionary that contains the additional key/value pair.</returns>
18 <exception cref="T:System.ArgumentException">The given key already exists in the dictionary but has a different value.</exception>
20 <member name="M:System.Collections.Immutable.IImmutableDictionary`2.AddRange(System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{`0,`1}})">
21 <summary>Adds the specified key/value pairs to the dictionary.</summary>
22 <param name="pairs">The key/value pairs to add.</param>
23 <returns>A new immutable dictionary that contains the additional key/value pairs.</returns>
24 <exception cref="T:System.ArgumentException">One of the given keys already exists in the dictionary but has a different value.</exception>
26 <member name="M:System.Collections.Immutable.IImmutableDictionary`2.Clear">
27 <summary>Retrieves an empty dictionary that has the same ordering and key/value comparison rules as this dictionary instance.</summary>
28 <returns>An empty dictionary with equivalent ordering and key/value comparison rules.</returns>
30 <member name="M:System.Collections.Immutable.IImmutableDictionary`2.Contains(System.Collections.Generic.KeyValuePair{`0,`1})">
31 <summary>Determines whether the immutable dictionary contains the specified key/value pair.</summary>
32 <param name="pair">The key/value pair to locate.</param>
34 <see langword="true" /> if the specified key/value pair is found in the dictionary; otherwise, <see langword="false" />.</returns>
36 <member name="M:System.Collections.Immutable.IImmutableDictionary`2.Remove(`0)">
37 <summary>Removes the element with the specified key from the immutable dictionary.</summary>
38 <param name="key">The key of the element to remove.</param>
39 <returns>A new immutable dictionary with the specified element removed; or this instance if the specified key cannot be found in the dictionary.</returns>
41 <member name="M:System.Collections.Immutable.IImmutableDictionary`2.RemoveRange(System.Collections.Generic.IEnumerable{`0})">
42 <summary>Removes the elements with the specified keys from the immutable dictionary.</summary>
43 <param name="keys">The keys of the elements to remove.</param>
44 <returns>A new immutable dictionary with the specified keys removed; or this instance if the specified keys cannot be found in the dictionary.</returns>
46 <member name="M:System.Collections.Immutable.IImmutableDictionary`2.SetItem(`0,`1)">
47 <summary>Sets the specified key and value in the immutable dictionary, possibly overwriting an existing value for the key.</summary>
48 <param name="key">The key of the entry to add.</param>
49 <param name="value">The key value to set.</param>
50 <returns>A new immutable dictionary that contains the specified key/value pair.</returns>
52 <member name="M:System.Collections.Immutable.IImmutableDictionary`2.SetItems(System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{`0,`1}})">
53 <summary>Sets the specified key/value pairs in the immutable dictionary, possibly overwriting existing values for the keys.</summary>
54 <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>
55 <returns>A new immutable dictionary that contains the specified key/value pairs.</returns>
57 <member name="M:System.Collections.Immutable.IImmutableDictionary`2.TryGetKey(`0,`0@)">
58 <summary>Determines whether this dictionary contains a specified key.</summary>
59 <param name="equalKey">The key to search for.</param>
60 <param name="actualKey">The matching key located in the dictionary if found, or <c>equalkey</c> if no match is found.</param>
62 <see langword="true" /> if a match for <paramref name="equalKey" /> is found; otherwise, <see langword="false" />.</returns>
64 <member name="T:System.Collections.Immutable.IImmutableList`1">
65 <summary>Represents a list of elements that cannot be modified.
66 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
67 <typeparam name="T">The type of elements in the list.</typeparam>
69 <member name="M:System.Collections.Immutable.IImmutableList`1.Add(`0)">
70 <summary>Makes a copy of the list, and adds the specified object to the end of the copied list.</summary>
71 <param name="value">The object to add to the list.</param>
72 <returns>A new list with the object added.</returns>
74 <member name="M:System.Collections.Immutable.IImmutableList`1.AddRange(System.Collections.Generic.IEnumerable{`0})">
75 <summary>Makes a copy of the list and adds the specified objects to the end of the copied list.</summary>
76 <param name="items">The objects to add to the list.</param>
77 <returns>A new list with the elements added.</returns>
79 <member name="M:System.Collections.Immutable.IImmutableList`1.Clear">
80 <summary>Creates a list with all the items removed, but with the same sorting and ordering semantics as this list.</summary>
81 <returns>An empty list that has the same sorting and ordering semantics as this instance.</returns>
83 <member name="M:System.Collections.Immutable.IImmutableList`1.IndexOf(`0,System.Int32,System.Int32,System.Collections.Generic.IEqualityComparer{`0})">
84 <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>
85 <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>
86 <param name="index">The zero-based starting indexes of the search. 0 (zero) is valid in an empty list.</param>
87 <param name="count">The number of elements in the section to search.</param>
88 <param name="equalityComparer">The equality comparer to use to locate <paramref name="item" />.</param>
89 <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>
91 <member name="M:System.Collections.Immutable.IImmutableList`1.Insert(System.Int32,`0)">
92 <summary>Inserts the specified element at the specified index in the immutable list.</summary>
93 <param name="index">The zero-based index at which to insert the value.</param>
94 <param name="element">The object to insert.</param>
95 <returns>A new immutable list that includes the specified element.</returns>
97 <member name="M:System.Collections.Immutable.IImmutableList`1.InsertRange(System.Int32,System.Collections.Generic.IEnumerable{`0})">
98 <summary>Inserts the specified elements at the specified index in the immutable list.</summary>
99 <param name="index">The zero-based index at which the new elements should be inserted.</param>
100 <param name="items">The elements to insert.</param>
101 <returns>A new immutable list that includes the specified elements.</returns>
103 <member name="M:System.Collections.Immutable.IImmutableList`1.LastIndexOf(`0,System.Int32,System.Int32,System.Collections.Generic.IEqualityComparer{`0})">
104 <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>
105 <param name="item">The object to locate in the list. The value can be <see langword="null" /> for reference types.</param>
106 <param name="index">The zero-based starting index of the search. 0 (zero) is valid in an empty list.</param>
107 <param name="count">The number of elements in the section to search.</param>
108 <param name="equalityComparer">The equality comparer to match <paramref name="item" />.</param>
109 <returns>Returns <see cref="T:System.Int32" />.</returns>
111 <member name="M:System.Collections.Immutable.IImmutableList`1.Remove(`0,System.Collections.Generic.IEqualityComparer{`0})">
112 <summary>Removes the first occurrence of a specified object from this immutable list.</summary>
113 <param name="value">The object to remove from the list.</param>
114 <param name="equalityComparer">The equality comparer to use to locate <paramref name="value" />.</param>
115 <returns>A new list with the specified object removed.</returns>
117 <member name="M:System.Collections.Immutable.IImmutableList`1.RemoveAll(System.Predicate{`0})">
118 <summary>Removes all the elements that match the conditions defined by the specified predicate.</summary>
119 <param name="match">The delegate that defines the conditions of the elements to remove.</param>
120 <returns>A new immutable list with the elements removed.</returns>
122 <member name="M:System.Collections.Immutable.IImmutableList`1.RemoveAt(System.Int32)">
123 <summary>Removes the element at the specified index of the immutable list.</summary>
124 <param name="index">The index of the element to remove.</param>
125 <returns>A new list with the element removed.</returns>
127 <member name="M:System.Collections.Immutable.IImmutableList`1.RemoveRange(System.Collections.Generic.IEnumerable{`0},System.Collections.Generic.IEqualityComparer{`0})">
128 <summary>Removes the specified object from the list.</summary>
129 <param name="items">The objects to remove from the list.</param>
130 <param name="equalityComparer">The equality comparer to use to determine if <paramref name="items" /> match any objects in the list.</param>
131 <returns>A new immutable list with the specified objects removed, if <paramref name="items" /> matched objects in the list.</returns>
133 <member name="M:System.Collections.Immutable.IImmutableList`1.RemoveRange(System.Int32,System.Int32)">
134 <summary>Removes a range of elements from the <see cref="T:System.Collections.Immutable.IImmutableList`1" />.</summary>
135 <param name="index">The zero-based starting index of the range of elements to remove.</param>
136 <param name="count">The number of elements to remove.</param>
137 <returns>A new immutable list with the elements removed.</returns>
139 <member name="M:System.Collections.Immutable.IImmutableList`1.Replace(`0,`0,System.Collections.Generic.IEqualityComparer{`0})">
140 <summary>Returns a new list with the first matching element in the list replaced with the specified element.</summary>
141 <param name="oldValue">The element to be replaced.</param>
142 <param name="newValue">The element to replace the first occurrence of <paramref name="oldValue" /> with</param>
143 <param name="equalityComparer">The equality comparer to use for matching <paramref name="oldValue" />.</param>
144 <returns>A new list that contains <paramref name="newValue" />, even if <paramref name="oldvalue" /> is the same as <paramref name="newValue" />.</returns>
145 <exception cref="T:System.ArgumentException">
146 <paramref name="oldValue" /> does not exist in the list.</exception>
148 <member name="M:System.Collections.Immutable.IImmutableList`1.SetItem(System.Int32,`0)">
149 <summary>Replaces an element in the list at a given position with the specified element.</summary>
150 <param name="index">The position in the list of the element to replace.</param>
151 <param name="value">The element to replace the old element with.</param>
152 <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>
154 <member name="T:System.Collections.Immutable.IImmutableQueue`1">
155 <summary>Represents an immutable first-in, first-out collection of objects.
156 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
157 <typeparam name="T">The type of elements in the queue.</typeparam>
159 <member name="M:System.Collections.Immutable.IImmutableQueue`1.Clear">
160 <summary>Returns a new queue with all the elements removed.</summary>
161 <returns>An empty immutable queue.</returns>
163 <member name="M:System.Collections.Immutable.IImmutableQueue`1.Dequeue">
164 <summary>Removes the first element in the immutable queue, and returns the new queue.</summary>
165 <returns>The new immutable queue with the first element removed. This value is never <c>null</c>.</returns>
166 <exception cref="T:System.InvalidOperationException">The queue is empty.</exception>
168 <member name="M:System.Collections.Immutable.IImmutableQueue`1.Enqueue(`0)">
169 <summary>Adds an element to the end of the immutable queue, and returns the new queue.</summary>
170 <param name="value">The element to add.</param>
171 <returns>The new immutable queue with the specified element added.</returns>
173 <member name="P:System.Collections.Immutable.IImmutableQueue`1.IsEmpty">
174 <summary>Gets a value that indicates whether this immutable queue is empty.</summary>
176 <see langword="true" /> if this queue is empty; otherwise, <see langword="false" />.</returns>
178 <member name="M:System.Collections.Immutable.IImmutableQueue`1.Peek">
179 <summary>Returns the element at the beginning of the immutable queue without removing it.</summary>
180 <returns>The element at the beginning of the queue.</returns>
181 <exception cref="T:System.InvalidOperationException">The queue is empty.</exception>
183 <member name="T:System.Collections.Immutable.IImmutableSet`1">
184 <summary>Represents a set of elements that can only be modified by creating a new instance of the set.
185 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
186 <typeparam name="T">The type of element stored in the set.</typeparam>
188 <member name="M:System.Collections.Immutable.IImmutableSet`1.Add(`0)">
189 <summary>Adds the specified element to this immutable set.</summary>
190 <param name="value">The element to add.</param>
191 <returns>A new set with the element added, or this set if the element is already in the set.</returns>
193 <member name="M:System.Collections.Immutable.IImmutableSet`1.Clear">
194 <summary>Retrieves an empty immutable set that has the same sorting and ordering semantics as this instance.</summary>
195 <returns>An empty set that has the same sorting and ordering semantics as this instance.</returns>
197 <member name="M:System.Collections.Immutable.IImmutableSet`1.Contains(`0)">
198 <summary>Determines whether this immutable set contains a specified element.</summary>
199 <param name="value">The element to locate in the set.</param>
201 <see langword="true" /> if the set contains the specified value; otherwise, <see langword="false" />.</returns>
203 <member name="M:System.Collections.Immutable.IImmutableSet`1.Except(System.Collections.Generic.IEnumerable{`0})">
204 <summary>Removes the elements in the specified collection from the current immutable set.</summary>
205 <param name="other">The collection of items to remove from this set.</param>
206 <returns>A new set with the items removed; or the original set if none of the items were in the set.</returns>
208 <member name="M:System.Collections.Immutable.IImmutableSet`1.Intersect(System.Collections.Generic.IEnumerable{`0})">
209 <summary>Creates an immutable set that contains only elements that exist in this set and the specified set.</summary>
210 <param name="other">The collection to compare to the current <see cref="T:System.Collections.Immutable.IImmutableSet`1" />.</param>
211 <returns>A new immutable set that contains elements that exist in both sets.</returns>
213 <member name="M:System.Collections.Immutable.IImmutableSet`1.IsProperSubsetOf(System.Collections.Generic.IEnumerable{`0})">
214 <summary>Determines whether the current immutable set is a proper (strict) subset of the specified collection.</summary>
215 <param name="other">The collection to compare to the current set.</param>
217 <see langword="true" /> if the current set is a proper subset of the specified collection; otherwise, <see langword="false" />.</returns>
219 <member name="M:System.Collections.Immutable.IImmutableSet`1.IsProperSupersetOf(System.Collections.Generic.IEnumerable{`0})">
220 <summary>Determines whether the current immutable set is a proper (strict) superset of the specified collection.</summary>
221 <param name="other">The collection to compare to the current set.</param>
223 <see langword="true" /> if the current set is a proper superset of the specified collection; otherwise, false.</returns>
225 <member name="M:System.Collections.Immutable.IImmutableSet`1.IsSubsetOf(System.Collections.Generic.IEnumerable{`0})">
226 <summary>Determines whether the current immutable set is a subset of a specified collection.</summary>
227 <param name="other">The collection to compare to the current set.</param>
229 <see langword="true" /> if the current set is a subset of the specified collection; otherwise, <see langword="false" />.</returns>
231 <member name="M:System.Collections.Immutable.IImmutableSet`1.IsSupersetOf(System.Collections.Generic.IEnumerable{`0})">
232 <summary>Determines whether the current immutable set is a superset of a specified collection.</summary>
233 <param name="other">The collection to compare to the current set.</param>
235 <see langword="true" /> if the current set is a superset of the specified collection; otherwise, <see langword="false" />.</returns>
237 <member name="M:System.Collections.Immutable.IImmutableSet`1.Overlaps(System.Collections.Generic.IEnumerable{`0})">
238 <summary>Determines whether the current immutable set overlaps with the specified collection.</summary>
239 <param name="other">The collection to compare to the current set.</param>
241 <see langword="true" /> if the current set and the specified collection share at least one common element; otherwise, <see langword="false" />.</returns>
243 <member name="M:System.Collections.Immutable.IImmutableSet`1.Remove(`0)">
244 <summary>Removes the specified element from this immutable set.</summary>
245 <param name="value">The element to remove.</param>
246 <returns>A new set with the specified element removed, or the current set if the element cannot be found in the set.</returns>
248 <member name="M:System.Collections.Immutable.IImmutableSet`1.SetEquals(System.Collections.Generic.IEnumerable{`0})">
249 <summary>Determines whether the current immutable set and the specified collection contain the same elements.</summary>
250 <param name="other">The collection to compare to the current set.</param>
252 <see langword="true" /> if the sets are equal; otherwise, <see langword="false" />.</returns>
254 <member name="M:System.Collections.Immutable.IImmutableSet`1.SymmetricExcept(System.Collections.Generic.IEnumerable{`0})">
255 <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>
256 <param name="other">The collection to compare to the current set.</param>
257 <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>
259 <member name="M:System.Collections.Immutable.IImmutableSet`1.TryGetValue(`0,`0@)">
260 <summary>Determines whether the set contains a specified value.</summary>
261 <param name="equalValue">The value to search for.</param>
262 <param name="actualValue">The matching value from the set, if found, or <c>equalvalue</c> if there are no matches.</param>
264 <see langword="true" /> if a matching value was found; otherwise, <see langword="false" />.</returns>
266 <member name="M:System.Collections.Immutable.IImmutableSet`1.Union(System.Collections.Generic.IEnumerable{`0})">
267 <summary>Creates a new immutable set that contains all elements that are present in either the current set or in the specified collection.</summary>
268 <param name="other">The collection to add elements from.</param>
269 <returns>A new immutable set with the items added; or the original set if all the items were already in the set.</returns>
271 <member name="T:System.Collections.Immutable.IImmutableStack`1">
272 <summary>Represents an immutable last-in-first-out (LIFO) collection.
273 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
274 <typeparam name="T">The type of elements in the stack.</typeparam>
276 <member name="M:System.Collections.Immutable.IImmutableStack`1.Clear">
277 <summary>Removes all objects from the immutable stack.</summary>
278 <returns>An empty immutable stack.</returns>
280 <member name="P:System.Collections.Immutable.IImmutableStack`1.IsEmpty">
281 <summary>Gets a value that indicates whether this immutable stack is empty.</summary>
283 <see langword="true" /> if this stack is empty; otherwise,<see langword="false" />.</returns>
285 <member name="M:System.Collections.Immutable.IImmutableStack`1.Peek">
286 <summary>Returns the element at the top of the immutable stack without removing it.</summary>
287 <returns>The element at the top of the stack.</returns>
288 <exception cref="T:System.InvalidOperationException">The stack is empty.</exception>
290 <member name="M:System.Collections.Immutable.IImmutableStack`1.Pop">
291 <summary>Removes the element at the top of the immutable stack and returns the new stack.</summary>
292 <returns>The new stack; never <c>null</c></returns>
293 <exception cref="T:System.InvalidOperationException">The stack is empty.</exception>
295 <member name="M:System.Collections.Immutable.IImmutableStack`1.Push(`0)">
296 <summary>Inserts an element at the top of the immutable stack and returns the new stack.</summary>
297 <param name="value">The element to push onto the stack.</param>
298 <returns>The new stack.</returns>
300 <member name="T:System.Collections.Immutable.ImmutableArray">
301 <summary>Provides methods for creating an array that is immutable; meaning it cannot be changed once it is created.
302 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
304 <member name="M:System.Collections.Immutable.ImmutableArray.BinarySearch``1(System.Collections.Immutable.ImmutableArray{``0},``0)">
305 <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>
306 <param name="array">The sorted array to search.</param>
307 <param name="value">The object to search for.</param>
308 <typeparam name="T">The type of element stored in the array.</typeparam>
309 <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>
310 <exception cref="T:System.InvalidOperationException">
311 <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>
313 <member name="M:System.Collections.Immutable.ImmutableArray.BinarySearch``1(System.Collections.Immutable.ImmutableArray{``0},``0,System.Collections.Generic.IComparer{``0})">
314 <summary>Searches a sorted immutable array for a specified element and returns the zero-based index of the element, if it's found.</summary>
315 <param name="array">The sorted array to search.</param>
316 <param name="value">The object to search for.</param>
317 <param name="comparer">The comparer implementation to use when comparing elements, or null to use the default comparer.</param>
318 <typeparam name="T">The type of element stored in the array.</typeparam>
319 <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>
320 <exception cref="T:System.InvalidOperationException">
321 <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>
323 <member name="M:System.Collections.Immutable.ImmutableArray.BinarySearch``1(System.Collections.Immutable.ImmutableArray{``0},System.Int32,System.Int32,``0)">
324 <summary>Searches a sorted immutable array for a specified element and returns the zero-based index of the element, if it's found.</summary>
325 <param name="array">The sorted array to search.</param>
326 <param name="index">The starting index of the range to search.</param>
327 <param name="length">The length of the range to search.</param>
328 <param name="value">The object to search for.</param>
329 <typeparam name="T">The type of element stored in the array.</typeparam>
330 <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>
331 <exception cref="T:System.InvalidOperationException">
332 <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>
333 <exception cref="T:System.ArgumentException">
334 <paramref name="index" /> and <paramref name="length" /> do not specify a valid range in <paramref name="array" />.</exception>
335 <exception cref="T:System.ArgumentOutOfRangeException">
336 <paramref name="index" /> is less than the lower bound of <paramref name="array" />.
338 <paramref name="length" /> is less than zero.</exception>
340 <member name="M:System.Collections.Immutable.ImmutableArray.BinarySearch``1(System.Collections.Immutable.ImmutableArray{``0},System.Int32,System.Int32,``0,System.Collections.Generic.IComparer{``0})">
341 <summary>Searches a sorted immutable array for a specified element and returns the zero-based index of the element.</summary>
342 <param name="array">The sorted array to search.</param>
343 <param name="index">The starting index of the range to search.</param>
344 <param name="length">The length of the range to search.</param>
345 <param name="value">The object to search for.</param>
346 <param name="comparer">The comparer to use when comparing elements for equality or <see langword="null" /> to use the default comparer.</param>
347 <typeparam name="T">The type of element stored in the array.</typeparam>
348 <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>
349 <exception cref="T:System.InvalidOperationException">
350 <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>
351 <exception cref="T:System.ArgumentException">
352 <paramref name="index" /> and <paramref name="length" /> do not specify a valid range in <paramref name="array" />.
354 <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>
355 <exception cref="T:System.ArgumentOutOfRangeException">
356 <paramref name="index" /> is less than the lower bound of <paramref name="array" />.
358 <paramref name="length" /> is less than zero.</exception>
360 <member name="M:System.Collections.Immutable.ImmutableArray.Create``1">
361 <summary>Creates an empty immutable array.</summary>
362 <typeparam name="T">The type of elements stored in the array.</typeparam>
363 <returns>An empty immutable array.</returns>
365 <member name="M:System.Collections.Immutable.ImmutableArray.Create``1(``0)">
366 <summary>Creates an immutable array that contains the specified object.</summary>
367 <param name="item">The object to store in the array.</param>
368 <typeparam name="T">The type of elements stored in the array.</typeparam>
369 <returns>An immutable array that contains the specified object.</returns>
371 <member name="M:System.Collections.Immutable.ImmutableArray.Create``1(``0,``0)">
372 <summary>Creates an immutable array that contains the specified objects.</summary>
373 <param name="item1">The first object to store in the array.</param>
374 <param name="item2">The second object to store in the array.</param>
375 <typeparam name="T">The type of elements stored in the array.</typeparam>
376 <returns>An immutable array that contains the specified objects.</returns>
378 <member name="M:System.Collections.Immutable.ImmutableArray.Create``1(``0,``0,``0)">
379 <summary>Creates an immutable array that contains the specified objects.</summary>
380 <param name="item1">The first object to store in the array.</param>
381 <param name="item2">The second object to store in the array.</param>
382 <param name="item3">The third object to store in the array.</param>
383 <typeparam name="T">The type of elements stored in the array.</typeparam>
384 <returns>An immutable array that contains the specified objects.</returns>
386 <member name="M:System.Collections.Immutable.ImmutableArray.Create``1(``0,``0,``0,``0)">
387 <summary>Creates an immutable array that contains the specified objects.</summary>
388 <param name="item1">The first object to store in the array.</param>
389 <param name="item2">The second object to store in the array.</param>
390 <param name="item3">The third object to store in the array.</param>
391 <param name="item4">The fourth object to store in the array.</param>
392 <typeparam name="T">The type of elements stored in the array.</typeparam>
393 <returns>An immutable array that contains the specified objects.</returns>
395 <member name="M:System.Collections.Immutable.ImmutableArray.Create``1(``0[])">
396 <summary>Creates an immutable array from the specified array of objects.</summary>
397 <param name="items">The array of objects to populate the array with.</param>
398 <typeparam name="T">The type of elements stored in the array.</typeparam>
399 <returns>An immutable array that contains the array of items.</returns>
401 <member name="M:System.Collections.Immutable.ImmutableArray.Create``1(``0[],System.Int32,System.Int32)">
402 <summary>Creates an immutable array with specified objects from another array.</summary>
403 <param name="items">The source array of objects.</param>
404 <param name="start">The index of the first element to copy from <paramref name="items" />.</param>
405 <param name="length">The number of elements from <paramref name="items" /> to include in this immutable array.</param>
406 <typeparam name="T">The type of elements stored in the array.</typeparam>
407 <returns>An immutable array that contains the specified objects from the source array.</returns>
409 <member name="M:System.Collections.Immutable.ImmutableArray.Create``1(System.Collections.Immutable.ImmutableArray{``0},System.Int32,System.Int32)">
410 <summary>Creates an immutable array with the specified objects from another immutable array.</summary>
411 <param name="items">The source array of objects.</param>
412 <param name="start">The index of the first element to copy from <paramref name="items" />.</param>
413 <param name="length">The number of elements from <paramref name="items" /> to include in this immutable array.</param>
414 <typeparam name="T">The type of elements stored in the array.</typeparam>
415 <returns>An immutable array that contains the specified objects from the source array.</returns>
417 <member name="M:System.Collections.Immutable.ImmutableArray.CreateBuilder``1">
418 <summary>Creates a mutable array that can be converted to an <see cref="T:System.Collections.Immutable.ImmutableArray" /> without allocating new memory.</summary>
419 <typeparam name="T">The type of elements stored in the builder.</typeparam>
420 <returns>A mutable array of the specified type that can be efficiently converted to an immutable array.</returns>
422 <member name="M:System.Collections.Immutable.ImmutableArray.CreateBuilder``1(System.Int32)">
423 <summary>Creates a mutable array that can be converted to an <see cref="T:System.Collections.Immutable.ImmutableArray" /> without allocating new memory.</summary>
424 <param name="initialCapacity">The initial capacity of the builder.</param>
425 <typeparam name="T">The type of elements stored in the builder.</typeparam>
426 <returns>A mutable array of the specified type that can be efficiently converted to an immutable array.</returns>
428 <member name="M:System.Collections.Immutable.ImmutableArray.CreateRange``1(System.Collections.Generic.IEnumerable{``0})">
429 <summary>Creates a new <see cref="T:System.Collections.Immutable.ImmutableArray`1" /> populated with the specified items.</summary>
430 <param name="items">The elements to add to the array.</param>
431 <typeparam name="T">The type of element stored in the array.</typeparam>
432 <returns>An immutable array that contains the specified items.</returns>
434 <member name="M:System.Collections.Immutable.ImmutableArray.CreateRange``2(System.Collections.Immutable.ImmutableArray{``0},System.Func{``0,``1})">
435 <summary>Initializes a new instance of the <see cref="T:System.Collections.Immutable.ImmutableArray`1" /> struct.</summary>
436 <param name="items">The source array to initialize the resulting array with.</param>
437 <param name="selector">The function to apply to each element from the source array.</param>
438 <typeparam name="TSource" />
439 <typeparam name="TResult" />
441 <member name="M:System.Collections.Immutable.ImmutableArray.CreateRange``2(System.Collections.Immutable.ImmutableArray{``0},System.Int32,System.Int32,System.Func{``0,``1})">
442 <summary>Initializes a new instance of the <see cref="T:System.Collections.Immutable.ImmutableArray`1" /> struct.</summary>
443 <param name="items">The source array to initialize the resulting array with.</param>
444 <param name="start">The index of the first element in the source array to include in the resulting array.</param>
445 <param name="length">The number of elements from the source array to include in the resulting array.</param>
446 <param name="selector">The function to apply to each element from the source array included in the resulting array.</param>
447 <typeparam name="TSource" />
448 <typeparam name="TResult" />
450 <member name="M:System.Collections.Immutable.ImmutableArray.CreateRange``3(System.Collections.Immutable.ImmutableArray{``0},System.Func{``0,``1,``2},``1)">
451 <summary>Initializes a new instance of the <see cref="T:System.Collections.Immutable.ImmutableArray`1" /> struct.</summary>
452 <param name="items">The source array to initialize the resulting array with.</param>
453 <param name="selector">The function to apply to each element from the source array.</param>
454 <param name="arg">An argument to be passed to the selector mapping function.</param>
455 <typeparam name="TSource" />
456 <typeparam name="TArg" />
457 <typeparam name="TResult" />
459 <member name="M:System.Collections.Immutable.ImmutableArray.CreateRange``3(System.Collections.Immutable.ImmutableArray{``0},System.Int32,System.Int32,System.Func{``0,``1,``2},``1)">
460 <summary>Initializes a new instance of the <see cref="T:System.Collections.Immutable.ImmutableArray`1" /> struct.</summary>
461 <param name="items">The source array to initialize the resulting array with.</param>
462 <param name="start">The index of the first element in the source array to include in the resulting array.</param>
463 <param name="length">The number of elements from the source array to include in the resulting array.</param>
464 <param name="selector">The function to apply to each element from the source array included in the resulting array.</param>
465 <param name="arg">An argument to be passed to the selector mapping function.</param>
466 <typeparam name="TSource" />
467 <typeparam name="TArg" />
468 <typeparam name="TResult" />
470 <member name="M:System.Collections.Immutable.ImmutableArray.ToImmutableArray``1(System.Collections.Generic.IEnumerable{``0})">
471 <summary>Creates an immutable array from the specified collection.</summary>
472 <param name="items">The collection of objects to copy to the immutable array.</param>
473 <typeparam name="TSource">The type of elements contained in <paramref name="items" />.</typeparam>
474 <returns>An immutable array that contains the specified collection of objects.</returns>
476 <member name="M:System.Collections.Immutable.ImmutableArray.ToImmutableArray``1(System.Collections.Immutable.ImmutableArray{``0}.Builder)">
477 <summary>Creates an immutable array from the current contents of the builder's array.</summary>
478 <param name="builder">The builder to create the immutable array from.</param>
479 <typeparam name="TSource">The type of elements contained in the immutable array.</typeparam>
480 <returns>An immutable array that contains the current contents of the builder's array.</returns>
482 <member name="T:System.Collections.Immutable.ImmutableArray`1">
483 <summary>Represents an array that is immutable; meaning it cannot be changed once it is created.
484 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
485 <typeparam name="T">The type of element stored by the array.</typeparam>
487 <member name="M:System.Collections.Immutable.ImmutableArray`1.Add(`0)">
488 <summary>Returns a copy of the original array with the specified item added to the end.</summary>
489 <param name="item">The item to be added to the end of the array.</param>
490 <returns>A new array with the specified item added to the end.</returns>
492 <member name="M:System.Collections.Immutable.ImmutableArray`1.AddRange(System.Collections.Generic.IEnumerable{`0})">
493 <summary>Returns a copy of the original array with the specified elements added to the end of the array.</summary>
494 <param name="items">The elements to add to the array.</param>
495 <returns>A new array with the elements added.</returns>
497 <member name="M:System.Collections.Immutable.ImmutableArray`1.AddRange(System.Collections.Immutable.ImmutableArray{`0})">
498 <summary>Returns a copy of the original array with the specified elements added to the end of the array.</summary>
499 <param name="items">The elements to add to the array.</param>
500 <returns>A new array with the elements added.</returns>
502 <member name="M:System.Collections.Immutable.ImmutableArray`1.As``1">
503 <summary>Returns a new immutable array that contains the elements of this array cast to a different type.</summary>
504 <typeparam name="TOther">The type of array element to return.</typeparam>
505 <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>
507 <member name="M:System.Collections.Immutable.ImmutableArray`1.AsMemory">
508 <summary>Creates a new read-only memory region over this immutable array.</summary>
509 <returns>The read-only memory representation of this immutable array.</returns>
511 <member name="M:System.Collections.Immutable.ImmutableArray`1.AsSpan">
512 <summary>Creates a new read-only span over this immutable array.</summary>
513 <returns>The read-only span representation of this immutable array.</returns>
515 <member name="T:System.Collections.Immutable.ImmutableArray`1.Builder">
516 <summary>A writable array accessor that can be converted into an <see cref="T:System.Collections.Immutable.ImmutableArray`1" /> instance without allocating extra memory.
517 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
518 <typeparam name="T" />
520 <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.Add(`0)">
521 <summary>Adds the specified item to the array.</summary>
522 <param name="item">The object to add to the array.</param>
524 <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.AddRange(`0[])">
525 <summary>Adds the specified items to the end of the array.</summary>
526 <param name="items">The items to add to the array.</param>
528 <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.AddRange(`0[],System.Int32)">
529 <summary>Adds the specified items to the end of the array.</summary>
530 <param name="items">The items to add to the array.</param>
531 <param name="length">The number of elements from the source array to add.</param>
533 <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.AddRange(System.Collections.Generic.IEnumerable{`0})">
534 <summary>Adds the specified items to the end of the array.</summary>
535 <param name="items">The items to add to the array.</param>
537 <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.AddRange(System.Collections.Immutable.ImmutableArray{`0})">
538 <summary>Adds the specified items to the end of the array.</summary>
539 <param name="items">The items to add to the array.</param>
541 <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.AddRange(System.Collections.Immutable.ImmutableArray{`0},System.Int32)">
542 <summary>Adds the specified items to the end of the array.</summary>
543 <param name="items">The items to add to the array.</param>
544 <param name="length">The number of elements from the source array to add.</param>
546 <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.AddRange(System.Collections.Immutable.ImmutableArray{`0}.Builder)">
547 <summary>Adds the specified items to the end of the array.</summary>
548 <param name="items">The items to add to the array.</param>
550 <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.AddRange``1(``0[])">
551 <summary>Adds the specified items that derive from the type currently in the array, to the end of the array.</summary>
552 <param name="items">The items to add to end of the array.</param>
553 <typeparam name="TDerived">The type that derives from the type of item already in the array.</typeparam>
555 <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.AddRange``1(System.Collections.Immutable.ImmutableArray{``0})">
556 <summary>Adds the specified items that derive from the type currently in the array, to the end of the array</summary>
557 <param name="items">The items to add to the end of the array.</param>
558 <typeparam name="TDerived">The type that derives from the type of item already in the array.</typeparam>
560 <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.AddRange``1(System.Collections.Immutable.ImmutableArray{``0}.Builder)">
561 <summary>Adds the specified items that derive from the type currently in the array, to the end of the array.</summary>
562 <param name="items">The items to add to the end of the array.</param>
563 <typeparam name="TDerived">The type that derives from the type of item already in the array.</typeparam>
565 <member name="P:System.Collections.Immutable.ImmutableArray`1.Builder.Capacity">
566 <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>
567 <returns>The length of the internal array.</returns>
569 <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.Clear">
570 <summary>Removes all items from the array.</summary>
572 <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.Contains(`0)">
573 <summary>Determines whether the array contains a specific value.</summary>
574 <param name="item">The object to locate in the array.</param>
576 <see langword="true" /> if the object is found; otherwise, <see langword="false" />.</returns>
578 <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.CopyTo(`0[],System.Int32)">
579 <summary>Copies the current contents to the specified array.</summary>
580 <param name="array">The array to copy to.</param>
581 <param name="index">The index to start the copy operation.</param>
583 <member name="P:System.Collections.Immutable.ImmutableArray`1.Builder.Count">
584 <summary>Gets or sets the number of items in the array.</summary>
585 <returns>The number of items in the array.</returns>
587 <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.GetEnumerator">
588 <summary>Gets an object that can be used to iterate through the collection.</summary>
589 <returns>An object that can be used to iterate through the collection.</returns>
591 <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.IndexOf(`0)">
592 <summary>Determines the index of a specific item in the array.</summary>
593 <param name="item">The item to locate in the array.</param>
594 <returns>The index of <paramref name="item" /> if it's found in the list; otherwise, -1.</returns>
596 <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.IndexOf(`0,System.Int32)">
597 <summary>Determines the index of the specified item.</summary>
598 <param name="item">The item to locate in the array.</param>
599 <param name="startIndex">The starting position of the search.</param>
600 <returns>The index of <paramref name="item" /> if it's found in the list; otherwise, -1.</returns>
602 <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.IndexOf(`0,System.Int32,System.Int32)">
603 <summary>Determines the index of the specified item.</summary>
604 <param name="item">The item to locate in the array.</param>
605 <param name="startIndex">The starting position of the search.</param>
606 <param name="count">The number of elements to search.</param>
607 <returns>The index of <paramref name="item" /> if it's found in the list; otherwise, -1.</returns>
609 <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.IndexOf(`0,System.Int32,System.Int32,System.Collections.Generic.IEqualityComparer{`0})">
610 <summary>Determines the index for the specified item.</summary>
611 <param name="item">The item to locate in the array.</param>
612 <param name="startIndex">The index at which to begin the search.</param>
613 <param name="count">The starting position of the search.</param>
614 <param name="equalityComparer">The equality comparer to use in the search</param>
615 <returns>The index of <paramref name="item" /> if it's found in the list; otherwise, -1.</returns>
617 <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.Insert(System.Int32,`0)">
618 <summary>Inserts an item in the array at the specified index.</summary>
619 <param name="index">The zero-based index at which to insert the item.</param>
620 <param name="item">The object to insert into the array.</param>
622 <member name="P:System.Collections.Immutable.ImmutableArray`1.Builder.Item(System.Int32)">
623 <summary>Gets or sets the item at the specified index.</summary>
624 <param name="index">The index of the item to get or set.</param>
625 <returns>The item at the specified index.</returns>
626 <exception cref="T:System.IndexOutOfRangeException">The specified index is not in the array.</exception>
628 <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.ItemRef(System.Int32)">
629 <summary>Gets a read-only reference to the element at the specified index.</summary>
630 <param name="index">The item index.</param>
631 <returns>The read-only reference to the element at the specified index.</returns>
632 <exception cref="T:System.IndexOutOfRangeException">
633 <paramref name="index" /> is greater or equal to the array count.</exception>
635 <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.LastIndexOf(`0)">
636 <summary>Determines the 0-based index of the last occurrence of the specified item in this array.</summary>
637 <param name="item">The item to search for.</param>
638 <returns>The 0-based index where the item was found; or -1 if it could not be found.</returns>
640 <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.LastIndexOf(`0,System.Int32)">
641 <summary>Determines the 0-based index of the last occurrence of the specified item in this array.</summary>
642 <param name="item">The item to search for.</param>
643 <param name="startIndex">The starting position of the search.</param>
644 <returns>The 0-based index into the array where the item was found; or -1 if it could not be found.</returns>
646 <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.LastIndexOf(`0,System.Int32,System.Int32)">
647 <summary>Determines the 0-based index of the last occurrence of the specified item in this array.</summary>
648 <param name="item">The item to search for.</param>
649 <param name="startIndex">The starting position of the search.</param>
650 <param name="count">The number of elements to search.</param>
651 <returns>The 0-based index into the array where the item was found; or -1 if it could not be found.</returns>
653 <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.LastIndexOf(`0,System.Int32,System.Int32,System.Collections.Generic.IEqualityComparer{`0})">
654 <summary>Determines the 0-based index of the last occurrence of the specified item in this array.</summary>
655 <param name="item">The item to search for.</param>
656 <param name="startIndex">The starting position of the search.</param>
657 <param name="count">The number of elements to search.</param>
658 <param name="equalityComparer">The equality comparer to use in the search.</param>
659 <returns>The 0-based index into the array where the item was found; or -1 if it could not be found.</returns>
661 <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.MoveToImmutable">
662 <summary>Extracts the internal array as an <see cref="T:System.Collections.Immutable.ImmutableArray`1" /> and replaces it with a zero length array.</summary>
663 <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>
665 <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.Remove(`0)">
666 <summary>Removes the specified element.</summary>
667 <param name="element">The item to remove.</param>
669 <see langword="true" /> if <paramref name="element" /> was found and removed; otherwise, <see langword="false" />.</returns>
671 <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.RemoveAt(System.Int32)">
672 <summary>Removes the item at the specified index from the array.</summary>
673 <param name="index">The zero-based index of the item to remove.</param>
675 <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.Reverse">
676 <summary>Reverses the order of elements in the collection.</summary>
678 <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.Sort">
679 <summary>Sorts the contents of the array.</summary>
681 <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.Sort(System.Collections.Generic.IComparer{`0})">
682 <summary>Sorts the contents of the array.</summary>
683 <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>
685 <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.Sort(System.Comparison{`0})">
686 <summary>Sorts the elements in the entire array using the specified <see cref="T:System.Comparison`1" />.</summary>
687 <param name="comparison">The <see cref="T:System.Comparison`1" /> to use when comparing elements.</param>
688 <exception cref="T:System.ArgumentNullException">
689 <paramref name="comparison" /> is null.</exception>
691 <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.Sort(System.Int32,System.Int32,System.Collections.Generic.IComparer{`0})">
692 <summary>Sorts the contents of the array.</summary>
693 <param name="index">The starting index for the sort.</param>
694 <param name="count">The number of elements to include in the sort.</param>
695 <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>
697 <member name="P:System.Collections.Immutable.ImmutableArray`1.Builder.System#Collections#Generic#ICollection{T}#IsReadOnly">
698 <summary>Gets a value that indicates whether the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only.</summary>
700 <see langword="true" /> if the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only; otherwise, <see langword="false" />.</returns>
702 <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.System#Collections#Generic#IEnumerable{T}#GetEnumerator">
703 <summary>Returns an enumerator that iterates through the array.</summary>
704 <returns>An enumerator that iterates through the array.</returns>
706 <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.System#Collections#IEnumerable#GetEnumerator">
707 <summary>Returns an enumerator that iterates through the array.</summary>
708 <returns>An enumerator that iterates through the array.</returns>
710 <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.ToArray">
711 <summary>Creates a new array with the current contents of this <see cref="T:System.Collections.Immutable.ImmutableArray`1.Builder" />.</summary>
712 <returns>A new array with the contents of this <see cref="T:System.Collections.Immutable.ImmutableArray`1.Builder" />.</returns>
714 <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.ToImmutable">
715 <summary>Returns an immutable array that contains the current contents of this <see cref="T:System.Collections.Immutable.ImmutableArray`1.Builder" />.</summary>
716 <returns>An immutable array that contains the current contents of this <see cref="T:System.Collections.Immutable.ImmutableArray`1.Builder" />.</returns>
718 <member name="M:System.Collections.Immutable.ImmutableArray`1.CastArray``1">
719 <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>
720 <typeparam name="TOther" />
721 <exception cref="T:System.InvalidCastException">Thrown if the cast is illegal.</exception>
723 <member name="M:System.Collections.Immutable.ImmutableArray`1.CastUp``1(System.Collections.Immutable.ImmutableArray{``0})">
724 <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>
725 <param name="items">The array to initialize the array with. No copy is made.</param>
726 <typeparam name="TDerived" />
728 <member name="M:System.Collections.Immutable.ImmutableArray`1.Clear">
729 <summary>Returns an array with all the elements removed.</summary>
730 <returns>An array with all of the elements removed.</returns>
732 <member name="M:System.Collections.Immutable.ImmutableArray`1.Contains(`0)">
733 <summary>Determines whether the specified item exists in the array.</summary>
734 <param name="item">The item to search for.</param>
736 <see langword="true" /> if the specified item was found in the array; otherwise <see langword="false" />.</returns>
738 <member name="M:System.Collections.Immutable.ImmutableArray`1.CopyTo(`0[])">
739 <summary>Copies the contents of this array to the specified array.</summary>
740 <param name="destination">The array to copy to.</param>
742 <member name="M:System.Collections.Immutable.ImmutableArray`1.CopyTo(`0[],System.Int32)">
743 <summary>Copies the contents of this array to the specified array starting at the specified destination index.</summary>
744 <param name="destination">The array to copy to.</param>
745 <param name="destinationIndex">The index in <paramref name="array" /> where copying begins.</param>
747 <member name="M:System.Collections.Immutable.ImmutableArray`1.CopyTo(System.Int32,`0[],System.Int32,System.Int32)">
748 <summary>Copies the specified items in this array to the specified array at the specified starting index.</summary>
749 <param name="sourceIndex">The index of this array where copying begins.</param>
750 <param name="destination">The array to copy to.</param>
751 <param name="destinationIndex">The index in <paramref name="array" /> where copying begins.</param>
752 <param name="length">The number of elements to copy from this array.</param>
754 <member name="F:System.Collections.Immutable.ImmutableArray`1.Empty">
755 <summary>Gets an empty immutable array.</summary>
757 <member name="T:System.Collections.Immutable.ImmutableArray`1.Enumerator">
758 <summary>An array enumerator.
759 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
760 <typeparam name="T" />
762 <member name="P:System.Collections.Immutable.ImmutableArray`1.Enumerator.Current">
763 <summary>Gets the current item.</summary>
764 <returns>The current item.</returns>
766 <member name="M:System.Collections.Immutable.ImmutableArray`1.Enumerator.MoveNext">
767 <summary>Advances to the next value in the array.</summary>
769 <see langword="true" /> if another item exists in the array; otherwise, <see langword="false" />.</returns>
771 <member name="M:System.Collections.Immutable.ImmutableArray`1.Equals(System.Collections.Immutable.ImmutableArray{`0})">
772 <summary>Indicates whether specified array is equal to this array.</summary>
773 <param name="other">An object to compare with this object.</param>
775 <see langword="true" /> if <paramref name="other" /> is equal to this array; otherwise, <see langword="false" />.</returns>
777 <member name="M:System.Collections.Immutable.ImmutableArray`1.Equals(System.Object)">
778 <summary>Determines if this array is equal to the specified object.</summary>
779 <param name="obj">The <see cref="T:System.Object" /> to compare with this array.</param>
781 <see langword="true" /> if this array is equal to <paramref name="obj" />; otherwise, <see langword="false" />.</returns>
783 <member name="M:System.Collections.Immutable.ImmutableArray`1.GetEnumerator">
784 <summary>Returns an enumerator that iterates through the contents of the array.</summary>
785 <returns>An enumerator.</returns>
787 <member name="M:System.Collections.Immutable.ImmutableArray`1.GetHashCode">
788 <summary>Returns a hash code for this instance.</summary>
789 <returns>A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.</returns>
791 <member name="M:System.Collections.Immutable.ImmutableArray`1.IndexOf(`0)">
792 <summary>Searches the array for the specified item.</summary>
793 <param name="item">The item to search for.</param>
794 <returns>The zero-based index position of the item if it is found, or -1 if it is not.</returns>
796 <member name="M:System.Collections.Immutable.ImmutableArray`1.IndexOf(`0,System.Int32)">
797 <summary>Searches the array for the specified item.</summary>
798 <param name="item">The item to search for.</param>
799 <param name="startIndex">The index at which to begin the search.</param>
800 <returns>The zero-based index position of the item if it is found, or -1 if it is not.</returns>
802 <member name="M:System.Collections.Immutable.ImmutableArray`1.IndexOf(`0,System.Int32,System.Collections.Generic.IEqualityComparer{`0})">
803 <summary>Searches the array for the specified item.</summary>
804 <param name="item">The item to search for.</param>
805 <param name="startIndex">The index at which to begin the search.</param>
806 <param name="equalityComparer">The equality comparer to use in the search.</param>
807 <returns>The zero-based index position of the item if it is found, or -1 if it is not.</returns>
809 <member name="M:System.Collections.Immutable.ImmutableArray`1.IndexOf(`0,System.Int32,System.Int32)">
810 <summary>Searches the array for the specified item.</summary>
811 <param name="item">The item to search for.</param>
812 <param name="startIndex">The index at which to begin the search.</param>
813 <param name="count">The number of elements to search.</param>
814 <returns>The zero-based index position of the item if it is found, or -1 if it is not.</returns>
816 <member name="M:System.Collections.Immutable.ImmutableArray`1.IndexOf(`0,System.Int32,System.Int32,System.Collections.Generic.IEqualityComparer{`0})">
817 <summary>Searches the array for the specified item.</summary>
818 <param name="item">The item to search for.</param>
819 <param name="startIndex">The index at which to begin the search.</param>
820 <param name="count">The number of elements to search.</param>
821 <param name="equalityComparer">The equality comparer to use in the search.</param>
822 <returns>The zero-based index position of the item if it is found, or -1 if it is not.</returns>
824 <member name="M:System.Collections.Immutable.ImmutableArray`1.Insert(System.Int32,`0)">
825 <summary>Returns a new array with the specified value inserted at the specified position.</summary>
826 <param name="index">The 0-based index into the array at which the new item should be added.</param>
827 <param name="item">The item to insert at the start of the array.</param>
828 <returns>A new array with the item inserted at the specified index.</returns>
830 <member name="M:System.Collections.Immutable.ImmutableArray`1.InsertRange(System.Int32,System.Collections.Generic.IEnumerable{`0})">
831 <summary>Inserts the specified values at the specified index.</summary>
832 <param name="index">The index at which to insert the value.</param>
833 <param name="items">The elements to insert.</param>
834 <returns>A new immutable array with the items inserted at the specified index.</returns>
836 <member name="M:System.Collections.Immutable.ImmutableArray`1.InsertRange(System.Int32,System.Collections.Immutable.ImmutableArray{`0})">
837 <summary>Inserts the specified values at the specified index.</summary>
838 <param name="index">The index at which to insert the value.</param>
839 <param name="items">The elements to insert.</param>
840 <returns>A new immutable array with the items inserted at the specified index.</returns>
842 <member name="P:System.Collections.Immutable.ImmutableArray`1.IsDefault">
843 <summary>Gets a value indicating whether this array was declared but not initialized.</summary>
845 <see langword="true" /> if the <see cref="T:System.Collections.Immutable.ImmutableArray`1" /> is <see langword="null" />; otherwise, <see langword="false" />.</returns>
847 <member name="P:System.Collections.Immutable.ImmutableArray`1.IsDefaultOrEmpty">
848 <summary>Gets a value indicating whether this <see cref="T:System.Collections.Immutable.ImmutableArray`1" /> is empty or is not initialized.</summary>
850 <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>
852 <member name="P:System.Collections.Immutable.ImmutableArray`1.IsEmpty">
853 <summary>Gets a value indicating whether this <see cref="T:System.Collections.Immutable.ImmutableArray`1" /> is empty.</summary>
855 <see langword="true" /> if the <see cref="T:System.Collections.Immutable.ImmutableArray`1" /> is empty; otherwise, <see langword="false" />.</returns>
857 <member name="P:System.Collections.Immutable.ImmutableArray`1.Item(System.Int32)">
858 <summary>Gets the element at the specified index in the immutable array.</summary>
859 <param name="index">The zero-based index of the element to get.</param>
860 <returns>The element at the specified index in the immutable array.</returns>
862 <member name="M:System.Collections.Immutable.ImmutableArray`1.ItemRef(System.Int32)">
863 <summary>Gets a read-only reference to the element at the specified <paramref name="index" /> in the read-only list.</summary>
864 <param name="index">The zero-based index of the element to get a reference to.</param>
865 <returns>A read-only reference to the element at the specified <paramref name="index" /> in the read-only list.</returns>
867 <member name="M:System.Collections.Immutable.ImmutableArray`1.LastIndexOf(`0)">
868 <summary>Searches the array for the specified item; starting at the end of the array.</summary>
869 <param name="item">The item to search for.</param>
870 <returns>The 0-based index into the array where the item was found; or -1 if it could not be found.</returns>
872 <member name="M:System.Collections.Immutable.ImmutableArray`1.LastIndexOf(`0,System.Int32)">
873 <summary>Searches the array for the specified item; starting at the end of the array.</summary>
874 <param name="item">The item to search for.</param>
875 <param name="startIndex">The index at which to begin the search.</param>
876 <returns>The 0-based index into the array where the item was found; or -1 if it could not be found.</returns>
878 <member name="M:System.Collections.Immutable.ImmutableArray`1.LastIndexOf(`0,System.Int32,System.Int32)">
879 <summary>Searches the array for the specified item; starting at the end of the array.</summary>
880 <param name="item">The item to search for.</param>
881 <param name="startIndex">The index at which to begin the search.</param>
882 <param name="count">The number of elements to search.</param>
883 <returns>The 0-based index into the array where the item was found; or -1 if it could not be found.</returns>
885 <member name="M:System.Collections.Immutable.ImmutableArray`1.LastIndexOf(`0,System.Int32,System.Int32,System.Collections.Generic.IEqualityComparer{`0})">
886 <summary>Searches the array for the specified item; starting at the end of the array.</summary>
887 <param name="item">The item to search for.</param>
888 <param name="startIndex">The index at which to begin the search.</param>
889 <param name="count">The number of elements to search.</param>
890 <param name="equalityComparer">The equality comparer to use in the search.</param>
891 <returns>The 0-based index into the array where the item was found; or -1 if it could not be found.</returns>
893 <member name="P:System.Collections.Immutable.ImmutableArray`1.Length">
894 <summary>Gets the number of elements in the array.</summary>
895 <returns>The number of elements in the array</returns>
897 <member name="M:System.Collections.Immutable.ImmutableArray`1.OfType``1">
898 <summary>Filters the elements of this array to those assignable to the specified type.</summary>
899 <typeparam name="TResult">The type to filter the elements of the sequence on.</typeparam>
900 <returns>An <see cref="T:System.Collections.IEnumerable" /> that contains elements from the input sequence of type of <paramref name="TResult" />.</returns>
902 <member name="M:System.Collections.Immutable.ImmutableArray`1.op_Equality(System.Collections.Immutable.ImmutableArray{`0},System.Collections.Immutable.ImmutableArray{`0})">
903 <summary>Returns a value that indicates if two arrays are equal.</summary>
904 <param name="left">The array to the left of the operator.</param>
905 <param name="right">The array to the right of the operator.</param>
907 <see langword="true" /> if the arrays are equal; otherwise, <see langword="false" />.</returns>
909 <member name="M:System.Collections.Immutable.ImmutableArray`1.op_Equality(System.Nullable{System.Collections.Immutable.ImmutableArray{`0}},System.Nullable{System.Collections.Immutable.ImmutableArray{`0}})">
910 <summary>Returns a value that indicates if two arrays are equal.</summary>
911 <param name="left">The array to the left of the operator.</param>
912 <param name="right">The array to the right of the operator.</param>
914 <see langword="true" /> if the arrays are equal; otherwise, <see langword="false" />.</returns>
916 <member name="M:System.Collections.Immutable.ImmutableArray`1.op_Inequality(System.Collections.Immutable.ImmutableArray{`0},System.Collections.Immutable.ImmutableArray{`0})">
917 <summary>Returns a value that indicates whether two arrays are not equal.</summary>
918 <param name="left">The array to the left of the operator.</param>
919 <param name="right">The array to the right of the operator.</param>
921 <see langword="true" /> if the arrays are not equal; otherwise, <see langword="false" />.</returns>
923 <member name="M:System.Collections.Immutable.ImmutableArray`1.op_Inequality(System.Nullable{System.Collections.Immutable.ImmutableArray{`0}},System.Nullable{System.Collections.Immutable.ImmutableArray{`0}})">
924 <summary>Checks for inequality between two array.</summary>
925 <param name="left">The object to the left of the operator.</param>
926 <param name="right">The object to the right of the operator.</param>
928 <see langword="true" /> if the two arrays are not equal; otherwise, <see langword="false" />.</returns>
930 <member name="M:System.Collections.Immutable.ImmutableArray`1.Remove(`0)">
931 <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>
932 <param name="item">The item to remove.</param>
933 <returns>A new array with the item removed.</returns>
935 <member name="M:System.Collections.Immutable.ImmutableArray`1.Remove(`0,System.Collections.Generic.IEqualityComparer{`0})">
936 <summary>Returns an array with the first occurrence of the specified element removed from the array.
937 If no match is found, the current array is returned.</summary>
938 <param name="item">The item to remove.</param>
939 <param name="equalityComparer">The equality comparer to use in the search.</param>
940 <returns>A new array with the specified item removed.</returns>
942 <member name="M:System.Collections.Immutable.ImmutableArray`1.RemoveAll(System.Predicate{`0})">
943 <summary>Removes all the items from the array that meet the specified condition.</summary>
944 <param name="match">The delegate that defines the conditions of the elements to remove.</param>
945 <returns>A new array with items that meet the specified condition removed.</returns>
947 <member name="M:System.Collections.Immutable.ImmutableArray`1.RemoveAt(System.Int32)">
948 <summary>Returns an array with the element at the specified position removed.</summary>
949 <param name="index">The 0-based index of the element to remove from the returned array.</param>
950 <returns>A new array with the item at the specified index removed.</returns>
952 <member name="M:System.Collections.Immutable.ImmutableArray`1.RemoveRange(System.Collections.Generic.IEnumerable{`0})">
953 <summary>Removes the specified items from this array.</summary>
954 <param name="items">The items to remove if matches are found in this list.</param>
955 <returns>A new array with the elements removed.</returns>
957 <member name="M:System.Collections.Immutable.ImmutableArray`1.RemoveRange(System.Collections.Generic.IEnumerable{`0},System.Collections.Generic.IEqualityComparer{`0})">
958 <summary>Removes the specified items from this array.</summary>
959 <param name="items">The items to remove if matches are found in this list.</param>
960 <param name="equalityComparer">The equality comparer to use in the search.</param>
961 <returns>A new array with the elements removed.</returns>
963 <member name="M:System.Collections.Immutable.ImmutableArray`1.RemoveRange(System.Collections.Immutable.ImmutableArray{`0})">
964 <summary>Removes the specified values from this list.</summary>
965 <param name="items">The items to remove if matches are found in this list.</param>
966 <returns>A new list with the elements removed.</returns>
968 <member name="M:System.Collections.Immutable.ImmutableArray`1.RemoveRange(System.Collections.Immutable.ImmutableArray{`0},System.Collections.Generic.IEqualityComparer{`0})">
969 <summary>Removes the specified items from this list.</summary>
970 <param name="items">The items to remove if matches are found in this list.</param>
971 <param name="equalityComparer">The equality comparer to use in the search.</param>
972 <returns>A new array with the elements removed.</returns>
974 <member name="M:System.Collections.Immutable.ImmutableArray`1.RemoveRange(System.Int32,System.Int32)">
975 <summary>Returns an array with the elements at the specified position removed.</summary>
976 <param name="index">The 0-based index of the starting element to remove from the array.</param>
977 <param name="length">The number of elements to remove from the array.</param>
978 <returns>The new array with the specified elements removed.</returns>
980 <member name="M:System.Collections.Immutable.ImmutableArray`1.Replace(`0,`0)">
981 <summary>Finds the first element in the array equal to the specified value and replaces the value with the specified new value.</summary>
982 <param name="oldValue">The value to find and replace in the array.</param>
983 <param name="newValue">The value to replace the <c>oldvalue</c> with.</param>
984 <returns>A new array that contains <paramref name="newValue" /> even if the new and old values are the same.</returns>
985 <exception cref="T:System.ArgumentException">
986 <paramref name="oldValue" /> is not found in the array.</exception>
988 <member name="M:System.Collections.Immutable.ImmutableArray`1.Replace(`0,`0,System.Collections.Generic.IEqualityComparer{`0})">
989 <summary>Finds the first element in the array equal to the specified value and replaces the value with the specified new value.</summary>
990 <param name="oldValue">The value to find and replace in the array.</param>
991 <param name="newValue">The value to replace the <c>oldvalue</c> with.</param>
992 <param name="equalityComparer">The equality comparer to use to compare values.</param>
993 <returns>A new array that contains <paramref name="newValue" /> even if the new and old values are the same.</returns>
994 <exception cref="T:System.ArgumentException">
995 <paramref name="oldValue" /> is not found in the array.</exception>
997 <member name="M:System.Collections.Immutable.ImmutableArray`1.SetItem(System.Int32,`0)">
998 <summary>Replaces the item at the specified index with the specified item.</summary>
999 <param name="index">The index of the item to replace.</param>
1000 <param name="item">The item to add to the list.</param>
1001 <returns>The new array that contains <paramref name="item" /> at the specified index.</returns>
1003 <member name="M:System.Collections.Immutable.ImmutableArray`1.Sort">
1004 <summary>Sorts the elements in the immutable array using the default comparer.</summary>
1005 <returns>A new immutable array that contains the items in this array, in sorted order.</returns>
1007 <member name="M:System.Collections.Immutable.ImmutableArray`1.Sort(System.Collections.Generic.IComparer{`0})">
1008 <summary>Sorts the elements in the immutable array using the specified comparer.</summary>
1009 <param name="comparer">The implementation to use when comparing elements, or <see langword="null" /> to use the default comparer</param>
1010 <returns>A new immutable array that contains the items in this array, in sorted order.</returns>
1012 <member name="M:System.Collections.Immutable.ImmutableArray`1.Sort(System.Comparison{`0})">
1013 <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>
1014 <param name="comparison">The <see cref="T:System.Comparison`1" /> to use when comparing elements.</param>
1015 <returns>The sorted list.</returns>
1016 <exception cref="T:System.ArgumentNullException">
1017 <paramref name="comparison" /> is null.</exception>
1019 <member name="M:System.Collections.Immutable.ImmutableArray`1.Sort(System.Int32,System.Int32,System.Collections.Generic.IComparer{`0})">
1020 <summary>Sorts the specified elements in the immutable array using the specified comparer.</summary>
1021 <param name="index">The index of the first element to sort.</param>
1022 <param name="count">The number of elements to include in the sort.</param>
1023 <param name="comparer">The implementation to use when comparing elements, or <see langword="null" /> to use the default comparer</param>
1024 <returns>A new immutable array that contains the items in this array, in sorted order.</returns>
1026 <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#Generic#ICollection{T}#Add(`0)">
1027 <summary>Throws <see cref="T:System.NotSupportedException" /> in all cases.</summary>
1028 <param name="item">The item to add to the end of the array.</param>
1030 <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#Generic#ICollection{T}#Clear">
1031 <summary>Throws <see cref="T:System.NotSupportedException" /> in all cases.</summary>
1033 <member name="P:System.Collections.Immutable.ImmutableArray`1.System#Collections#Generic#ICollection{T}#Count">
1034 <summary>Gets the number of array in the collection.</summary>
1035 <exception cref="T:System.InvalidOperationException">Thrown if the <see cref="P:System.Collections.Immutable.ImmutableArray`1.IsDefault" /> property returns true.</exception>
1037 <member name="P:System.Collections.Immutable.ImmutableArray`1.System#Collections#Generic#ICollection{T}#IsReadOnly">
1038 <summary>Gets a value indicating whether this instance is read only.</summary>
1040 <c>true</c> if this instance is read only; otherwise, <c>false</c>.</returns>
1042 <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#Generic#ICollection{T}#Remove(`0)">
1043 <summary>Throws <see cref="T:System.NotSupportedException" /> in all cases.</summary>
1044 <param name="item">The object to remove from the array.</param>
1045 <returns>Throws <see cref="T:System.NotSupportedException" /> in all cases.</returns>
1047 <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#Generic#IEnumerable{T}#GetEnumerator">
1048 <summary>Returns an enumerator that iterates through the array.</summary>
1049 <returns>An enumerator that can be used to iterate through the array.</returns>
1051 <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#Generic#IList{T}#Insert(System.Int32,`0)">
1052 <summary>Throws <see cref="T:System.NotSupportedException" /> in all cases.</summary>
1053 <param name="index">The index of the location to insert the item.</param>
1054 <param name="item">The item to insert.</param>
1056 <member name="P:System.Collections.Immutable.ImmutableArray`1.System#Collections#Generic#IList{T}#Item(System.Int32)">
1057 <summary>Gets or sets the element at the specified index in the read-only list.</summary>
1058 <param name="index">The zero-based index of the element to get.</param>
1059 <returns>The element at the specified index in the read-only list.</returns>
1060 <exception cref="T:System.NotSupportedException">Always thrown from the setter.</exception>
1061 <exception cref="T:System.InvalidOperationException">Thrown if the <see cref="P:System.Collections.Immutable.ImmutableArray`1.IsDefault" /> property returns true.</exception>
1063 <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#Generic#IList{T}#RemoveAt(System.Int32)">
1064 <summary>Throws <see cref="T:System.NotSupportedException" /> in all cases.</summary>
1065 <param name="index">The index.</param>
1067 <member name="P:System.Collections.Immutable.ImmutableArray`1.System#Collections#Generic#IReadOnlyCollection{T}#Count">
1068 <summary>Gets the number of array in the collection.</summary>
1069 <exception cref="T:System.InvalidOperationException">Thrown if the <see cref="P:System.Collections.Immutable.ImmutableArray`1.IsDefault" /> property returns true.</exception>
1071 <member name="P:System.Collections.Immutable.ImmutableArray`1.System#Collections#Generic#IReadOnlyList{T}#Item(System.Int32)">
1072 <summary>Gets the element at the specified index.</summary>
1073 <param name="index">The index.</param>
1074 <returns>The element.</returns>
1075 <exception cref="T:System.InvalidOperationException">Thrown if the <see cref="P:System.Collections.Immutable.ImmutableArray`1.IsDefault" /> property returns true.</exception>
1077 <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#ICollection#CopyTo(System.Array,System.Int32)">
1078 <summary>Copies this array to another array starting at the specified index.</summary>
1079 <param name="array">The array to copy this array to.</param>
1080 <param name="index">The index in the destination array to start the copy operation.</param>
1082 <member name="P:System.Collections.Immutable.ImmutableArray`1.System#Collections#ICollection#Count">
1083 <summary>Gets the size of the array.</summary>
1084 <exception cref="T:System.InvalidOperationException">Thrown if the <see cref="P:System.Collections.Immutable.ImmutableArray`1.IsDefault" /> property returns true.</exception>
1086 <member name="P:System.Collections.Immutable.ImmutableArray`1.System#Collections#ICollection#IsSynchronized">
1087 <summary>See the <see cref="T:System.Collections.ICollection" /> interface.</summary>
1089 <member name="P:System.Collections.Immutable.ImmutableArray`1.System#Collections#ICollection#SyncRoot">
1090 <summary>Gets the sync root.</summary>
1092 <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#IEnumerable#GetEnumerator">
1093 <summary>Returns an enumerator that iterates through the immutable array.</summary>
1094 <returns>An enumerator that iterates through the immutable array.</returns>
1095 <exception cref="T:System.InvalidOperationException">The <see cref="P:System.Collections.Immutable.ImmutableArray`1.IsDefault" /> property returns <see langword="true" />.</exception>
1097 <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#IList#Add(System.Object)">
1098 <summary>Throws <see cref="T:System.NotSupportedException" /> in all cases.</summary>
1099 <param name="value">The value to add to the array.</param>
1100 <returns>Throws <see cref="T:System.NotSupportedException" /> in all cases.</returns>
1101 <exception cref="T:System.NotSupportedException">Thrown in all cases.</exception>
1103 <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#IList#Clear">
1104 <summary>Throws <see cref="T:System.NotSupportedException" /> in all cases.</summary>
1105 <exception cref="T:System.NotSupportedException">Thrown in all cases.</exception>
1107 <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#IList#Contains(System.Object)">
1108 <summary>Throws <see cref="T:System.NotSupportedException" /> in all cases.</summary>
1109 <param name="value">The value to check for.</param>
1110 <returns>Throws <see cref="T:System.NotSupportedException" /> in all cases.</returns>
1112 <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#IList#IndexOf(System.Object)">
1113 <summary>Gets the value at the specified index.</summary>
1114 <param name="value">The value to return the index of.</param>
1115 <returns>The value of the element at the specified index.</returns>
1117 <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#IList#Insert(System.Int32,System.Object)">
1118 <summary>Throws <see cref="T:System.NotSupportedException" /> in all cases.</summary>
1119 <param name="index">Index that indicates where to insert the item.</param>
1120 <param name="value">The value to insert.</param>
1121 <exception cref="T:System.NotSupportedException">Thrown in all cases.</exception>
1123 <member name="P:System.Collections.Immutable.ImmutableArray`1.System#Collections#IList#IsFixedSize">
1124 <summary>Gets a value indicating whether this instance is fixed size.</summary>
1126 <c>true</c> if this instance is fixed size; otherwise, <c>false</c>.</returns>
1128 <member name="P:System.Collections.Immutable.ImmutableArray`1.System#Collections#IList#IsReadOnly">
1129 <summary>Gets a value indicating whether this instance is read only.</summary>
1131 <c>true</c> if this instance is read only; otherwise, <c>false</c>.</returns>
1133 <member name="P:System.Collections.Immutable.ImmutableArray`1.System#Collections#IList#Item(System.Int32)">
1134 <summary>Gets or sets the <see cref="T:System.Object" /> at the specified index.</summary>
1135 <param name="index">The index.</param>
1136 <exception cref="T:System.NotSupportedException">Always thrown from the setter.</exception>
1137 <exception cref="T:System.InvalidOperationException">Thrown if the <see cref="P:System.Collections.Immutable.ImmutableArray`1.IsDefault" /> property returns true.</exception>
1139 <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#IList#Remove(System.Object)">
1140 <summary>Throws <see cref="T:System.NotSupportedException" /> in all cases.</summary>
1141 <param name="value">The value to remove from the array.</param>
1142 <exception cref="T:System.NotSupportedException">Thrown in all cases.</exception>
1144 <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#IList#RemoveAt(System.Int32)">
1145 <summary>Throws <see cref="T:System.NotSupportedException" /> in all cases.</summary>
1146 <param name="index">The index of the item to remove.</param>
1147 <exception cref="T:System.NotSupportedException">Thrown in all cases.</exception>
1149 <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#Immutable#IImmutableList{T}#Add(`0)">
1150 <summary>Returns a copy of the original array with the specified item added to the end.</summary>
1151 <param name="value">The value to add to the end of the array.</param>
1152 <returns>A new array with the specified item added to the end.</returns>
1154 <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#Immutable#IImmutableList{T}#AddRange(System.Collections.Generic.IEnumerable{`0})">
1155 <summary>Returns a copy of the original array with the specified elements added to the end of the array.</summary>
1156 <param name="items">The elements to add to the end of the array.</param>
1157 <returns>A new array with the elements added to the end.</returns>
1159 <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#Immutable#IImmutableList{T}#Clear">
1160 <summary>Returns an array with all the elements removed.</summary>
1161 <returns>An array with all the elements removed.</returns>
1163 <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#Immutable#IImmutableList{T}#Insert(System.Int32,`0)">
1164 <summary>Returns a new array with the specified value inserted at the specified position.</summary>
1165 <param name="index">The 0-based index into the array at which the new item should be added.</param>
1166 <param name="element">The item to insert at the start of the array.</param>
1167 <returns>A new array with the specified value inserted.</returns>
1169 <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#Immutable#IImmutableList{T}#InsertRange(System.Int32,System.Collections.Generic.IEnumerable{`0})">
1170 <summary>Inserts the specified values at the specified index</summary>
1171 <param name="index">The index at which to insert the value.</param>
1172 <param name="items">The elements to insert.</param>
1173 <returns>A new array with the specified values inserted.</returns>
1175 <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#Immutable#IImmutableList{T}#Remove(`0,System.Collections.Generic.IEqualityComparer{`0})">
1176 <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>
1177 <param name="value">The value to remove from the array.</param>
1178 <param name="equalityComparer">The equality comparer to use in the search.</param>
1179 <returns>A new array with the value removed.</returns>
1181 <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#Immutable#IImmutableList{T}#RemoveAll(System.Predicate{`0})">
1182 <summary>Removes all the items from the array that meet the specified condition.</summary>
1183 <param name="match">The delegate that defines the conditions of the elements to remove.</param>
1184 <returns>A new array with items that meet the specified condition removed.</returns>
1186 <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#Immutable#IImmutableList{T}#RemoveAt(System.Int32)">
1187 <summary>Returns an array with the element at the specified position removed.</summary>
1188 <param name="index">The 0-based index of the element to remove from the returned array.</param>
1189 <returns>A new array with the specified item removed.</returns>
1191 <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#Immutable#IImmutableList{T}#RemoveRange(System.Collections.Generic.IEnumerable{`0},System.Collections.Generic.IEqualityComparer{`0})">
1192 <summary>Removes the specified items from this array.</summary>
1193 <param name="items">The items to remove if matches are found in this list.</param>
1194 <param name="equalityComparer">The equality comparer to use in the search.</param>
1195 <returns>A new array with the elements removed.</returns>
1197 <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#Immutable#IImmutableList{T}#RemoveRange(System.Int32,System.Int32)">
1198 <summary>Returns an array with the elements at the specified position removed.</summary>
1199 <param name="index">The 0-based index of the starting element to remove from the array.</param>
1200 <param name="count">The number of elements to remove from the array.</param>
1201 <returns>The new array with the specified elements removed.</returns>
1203 <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#Immutable#IImmutableList{T}#Replace(`0,`0,System.Collections.Generic.IEqualityComparer{`0})">
1204 <summary>Finds the first element in the array equal to the specified value and replaces the value with the specified new value.</summary>
1205 <param name="oldValue">The value to find and replace in the array.</param>
1206 <param name="newValue">The value to replace the <c>oldvalue</c> with.</param>
1207 <param name="equalityComparer">The equality comparer to use to compare values.</param>
1208 <returns>A new array that contains <paramref name="newValue" /> even if the new and old values are the same.</returns>
1209 <exception cref="T:System.ArgumentException">
1210 <paramref name="oldValue" /> is not found in the array.</exception>
1212 <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#Immutable#IImmutableList{T}#SetItem(System.Int32,`0)">
1213 <summary>Replaces the item at the specified index with the specified item.</summary>
1214 <param name="index">The index of the item to replace.</param>
1215 <param name="value">The value to add to the list.</param>
1216 <returns>The new array that contains <paramref name="item" /> at the specified index.</returns>
1218 <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#IStructuralComparable#CompareTo(System.Object,System.Collections.IComparer)">
1219 <summary>Determines whether the current collection element precedes, occurs in the same position as, or follows another element in the sort order.</summary>
1220 <param name="other">The element to compare with the current instance.</param>
1221 <param name="comparer">The object used to compare members of the current array with the corresponding members of other array.</param>
1222 <returns>An integer that indicates whether the current element precedes, is in the same position or follows the other element.</returns>
1223 <exception cref="T:System.ArgumentException">The arrays are not the same length.</exception>
1225 <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#IStructuralEquatable#Equals(System.Object,System.Collections.IEqualityComparer)">
1226 <summary>Determines whether this array is structurally equal to the specified array.</summary>
1227 <param name="other">The array to compare with the current instance.</param>
1228 <param name="comparer">An object that determines whether the current instance and other are structurally equal.</param>
1230 <see langword="true" /> if the two arrays are structurally equal; otherwise, <see langword="false" />.</returns>
1232 <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#IStructuralEquatable#GetHashCode(System.Collections.IEqualityComparer)">
1233 <summary>Returns a hash code for the current instance.</summary>
1234 <param name="comparer">An object that computes the hash code of the current object.</param>
1235 <returns>The hash code for the current instance.</returns>
1237 <member name="M:System.Collections.Immutable.ImmutableArray`1.ToBuilder">
1238 <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>
1239 <returns>The new builder with the same contents as this array.</returns>
1241 <member name="T:System.Collections.Immutable.ImmutableDictionary">
1242 <summary>Provides a set of initialization methods for instances of the <see cref="T:System.Collections.Immutable.ImmutableDictionary`2" /> class.
1243 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
1245 <member name="M:System.Collections.Immutable.ImmutableDictionary.Contains``2(System.Collections.Immutable.IImmutableDictionary{``0,``1},``0,``1)">
1246 <summary>Determines whether the specified immutable dictionary contains the specified key/value pair.</summary>
1247 <param name="map">The immutable dictionary to search.</param>
1248 <param name="key">The key to locate in the immutable dictionary.</param>
1249 <param name="value">The value to locate on the specified key, if the key is found.</param>
1250 <typeparam name="TKey">The type of the keys in the immutable dictionary.</typeparam>
1251 <typeparam name="TValue">The type of the values in the immutable dictionary.</typeparam>
1253 <see langword="true" /> if this map contains the specified key/value pair; otherwise, <see langword="false" />.</returns>
1255 <member name="M:System.Collections.Immutable.ImmutableDictionary.Create``2">
1256 <summary>Creates an empty immutable dictionary.</summary>
1257 <typeparam name="TKey">The type of keys stored by the dictionary.</typeparam>
1258 <typeparam name="TValue">The type of values stored by the dictionary.</typeparam>
1259 <returns>An empty immutable dictionary.</returns>
1261 <member name="M:System.Collections.Immutable.ImmutableDictionary.Create``2(System.Collections.Generic.IEqualityComparer{``0})">
1262 <summary>Creates an empty immutable dictionary that uses the specified key comparer.</summary>
1263 <param name="keyComparer">The implementation to use to determine the equality of keys in the dictionary.</param>
1264 <typeparam name="TKey">The type of keys stored by the dictionary.</typeparam>
1265 <typeparam name="TValue">The type of values stored by the dictionary.</typeparam>
1266 <returns>An empty immutable dictionary.</returns>
1268 <member name="M:System.Collections.Immutable.ImmutableDictionary.Create``2(System.Collections.Generic.IEqualityComparer{``0},System.Collections.Generic.IEqualityComparer{``1})">
1269 <summary>Creates an empty immutable dictionary that uses the specified key and value comparers.</summary>
1270 <param name="keyComparer">The implementation to use to determine the equality of keys in the dictionary.</param>
1271 <param name="valueComparer">The implementation to use to determine the equality of values in the dictionary.</param>
1272 <typeparam name="TKey">The type of keys stored by the dictionary.</typeparam>
1273 <typeparam name="TValue">The type of values stored by the dictionary.</typeparam>
1274 <returns>An empty immutable dictionary.</returns>
1276 <member name="M:System.Collections.Immutable.ImmutableDictionary.CreateBuilder``2">
1277 <summary>Creates a new immutable dictionary builder.</summary>
1278 <typeparam name="TKey">The type of keys stored by the dictionary.</typeparam>
1279 <typeparam name="TValue">The type of values stored by the dictionary.</typeparam>
1280 <returns>The new builder.</returns>
1282 <member name="M:System.Collections.Immutable.ImmutableDictionary.CreateBuilder``2(System.Collections.Generic.IEqualityComparer{``0})">
1283 <summary>Creates a new immutable dictionary builder.</summary>
1284 <param name="keyComparer">The key comparer.</param>
1285 <typeparam name="TKey">The type of keys stored by the dictionary.</typeparam>
1286 <typeparam name="TValue">The type of values stored by the dictionary.</typeparam>
1287 <returns>The new builder.</returns>
1289 <member name="M:System.Collections.Immutable.ImmutableDictionary.CreateBuilder``2(System.Collections.Generic.IEqualityComparer{``0},System.Collections.Generic.IEqualityComparer{``1})">
1290 <summary>Creates a new immutable dictionary builder.</summary>
1291 <param name="keyComparer">The key comparer.</param>
1292 <param name="valueComparer">The value comparer.</param>
1293 <typeparam name="TKey">The type of keys stored by the dictionary.</typeparam>
1294 <typeparam name="TValue">The type of values stored by the dictionary.</typeparam>
1295 <returns>The new builder.</returns>
1297 <member name="M:System.Collections.Immutable.ImmutableDictionary.CreateRange``2(System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{``0,``1}})">
1298 <summary>Creates a new immutable dictionary that contains the specified items.</summary>
1299 <param name="items">The items used to populate the dictionary before it's immutable.</param>
1300 <typeparam name="TKey">The type of keys in the dictionary.</typeparam>
1301 <typeparam name="TValue">The type of values in the dictionary.</typeparam>
1302 <returns>A new immutable dictionary that contains the specified items.</returns>
1304 <member name="M:System.Collections.Immutable.ImmutableDictionary.CreateRange``2(System.Collections.Generic.IEqualityComparer{``0},System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{``0,``1}})">
1305 <summary>Creates a new immutable dictionary that contains the specified items and uses the specified key comparer.</summary>
1306 <param name="keyComparer">The comparer implementation to use to compare keys for equality.</param>
1307 <param name="items">The items to add to the dictionary before it's immutable.</param>
1308 <typeparam name="TKey">The type of keys in the dictionary.</typeparam>
1309 <typeparam name="TValue">The type of values in the dictionary.</typeparam>
1310 <returns>A new immutable dictionary that contains the specified items and uses the specified comparer.</returns>
1312 <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}})">
1313 <summary>Creates a new immutable dictionary that contains the specified items and uses the specified key comparer.</summary>
1314 <param name="keyComparer">The comparer implementation to use to compare keys for equality.</param>
1315 <param name="valueComparer">The comparer implementation to use to compare values for equality.</param>
1316 <param name="items">The items to add to the dictionary before it's immutable.</param>
1317 <typeparam name="TKey">The type of keys in the dictionary.</typeparam>
1318 <typeparam name="TValue">The type of values in the dictionary.</typeparam>
1319 <returns>A new immutable dictionary that contains the specified items and uses the specified comparer.</returns>
1321 <member name="M:System.Collections.Immutable.ImmutableDictionary.GetValueOrDefault``2(System.Collections.Immutable.IImmutableDictionary{``0,``1},``0)">
1322 <summary>Gets the value for a given key if a matching key exists in the dictionary.</summary>
1323 <param name="dictionary">The dictionary to retrieve the value from.</param>
1324 <param name="key">The key to search for.</param>
1325 <typeparam name="TKey">The type of the key.</typeparam>
1326 <typeparam name="TValue">The type of the value.</typeparam>
1327 <returns>The value for the key, or <c>default(TValue)</c> if no matching key was found.</returns>
1329 <member name="M:System.Collections.Immutable.ImmutableDictionary.GetValueOrDefault``2(System.Collections.Immutable.IImmutableDictionary{``0,``1},``0,``1)">
1330 <summary>Gets the value for a given key if a matching key exists in the dictionary.</summary>
1331 <param name="dictionary">The dictionary to retrieve the value from.</param>
1332 <param name="key">The key to search for.</param>
1333 <param name="defaultValue">The default value to return if no matching key is found in the dictionary.</param>
1334 <typeparam name="TKey">The type of the key.</typeparam>
1335 <typeparam name="TValue">The type of the value.</typeparam>
1336 <returns>The value for the key, or <paramref name="defaultValue" /> if no matching key was found.</returns>
1338 <member name="M:System.Collections.Immutable.ImmutableDictionary.ToImmutableDictionary``2(System.Collections.Generic.IEnumerable{``0},System.Func{``0,``1})">
1339 <summary>Constructs an immutable dictionary from an existing collection of elements, applying a transformation function to the source keys.</summary>
1340 <param name="source">The source collection used to generate the immutable dictionary.</param>
1341 <param name="keySelector">The function used to transform keys for the immutable dictionary.</param>
1342 <typeparam name="TSource">The type of element in the source collection.</typeparam>
1343 <typeparam name="TKey">The type of key in the resulting immutable dictionary.</typeparam>
1344 <returns>The immutable dictionary that contains elements from <paramref name="source" />, with keys transformed by applying <paramref name="keySelector" />.</returns>
1346 <member name="M:System.Collections.Immutable.ImmutableDictionary.ToImmutableDictionary``2(System.Collections.Generic.IEnumerable{``0},System.Func{``0,``1},System.Collections.Generic.IEqualityComparer{``1})">
1347 <summary>Constructs an immutable dictionary based on some transformation of a sequence.</summary>
1348 <param name="source">The source collection used to generate the immutable dictionary.</param>
1349 <param name="keySelector">The function used to transform keys for the immutable dictionary.</param>
1350 <param name="keyComparer">The key comparer to use for the dictionary.</param>
1351 <typeparam name="TSource">The type of element in the source collection.</typeparam>
1352 <typeparam name="TKey">The type of key in the resulting immutable dictionary.</typeparam>
1353 <returns>The immutable dictionary that contains elements from <paramref name="source" />, with keys transformed by applying <paramref name="keySelector" />.</returns>
1355 <member name="M:System.Collections.Immutable.ImmutableDictionary.ToImmutableDictionary``2(System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{``0,``1}})">
1356 <summary>Enumerates a sequence of key/value pairs and produces an immutable dictionary of its contents.</summary>
1357 <param name="source">The sequence of key/value pairs to enumerate.</param>
1358 <typeparam name="TKey">The type of the keys in the dictionary.</typeparam>
1359 <typeparam name="TValue">The type of the values in the dictionary.</typeparam>
1360 <returns>An immutable dictionary that contains the key/value pairs in the specified sequence.</returns>
1362 <member name="M:System.Collections.Immutable.ImmutableDictionary.ToImmutableDictionary``2(System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{``0,``1}},System.Collections.Generic.IEqualityComparer{``0})">
1363 <summary>Enumerates a sequence of key/value pairs and produces an immutable dictionary of its contents by using the specified key comparer.</summary>
1364 <param name="source">The sequence of key/value pairs to enumerate.</param>
1365 <param name="keyComparer">The key comparer to use when building the immutable dictionary.</param>
1366 <typeparam name="TKey">The type of the keys in the dictionary.</typeparam>
1367 <typeparam name="TValue">The type of the values in the dictionary.</typeparam>
1368 <returns>An immutable dictionary that contains the key/value pairs in the specified sequence.</returns>
1370 <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})">
1371 <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>
1372 <param name="source">The sequence of key/value pairs to enumerate.</param>
1373 <param name="keyComparer">The key comparer to use when building the immutable dictionary.</param>
1374 <param name="valueComparer">The value comparer to use for the immutable dictionary.</param>
1375 <typeparam name="TKey">The type of the keys in the dictionary.</typeparam>
1376 <typeparam name="TValue">The type of the values in the dictionary.</typeparam>
1377 <returns>An immutable dictionary that contains the key/value pairs in the specified sequence.</returns>
1379 <member name="M:System.Collections.Immutable.ImmutableDictionary.ToImmutableDictionary``2(System.Collections.Immutable.ImmutableDictionary{``0,``1}.Builder)">
1380 <summary>Creates an immutable dictionary from the current contents of the builder's dictionary.</summary>
1381 <param name="builder">The builder to create the immutable dictionary from.</param>
1382 <typeparam name="TKey">The type of the keys in the dictionary.</typeparam>
1383 <typeparam name="TValue">The type of the values in the dictionary.</typeparam>
1384 <returns>An immutable dictionary that contains the current contents in the builder's dictionary.</returns>
1386 <member name="M:System.Collections.Immutable.ImmutableDictionary.ToImmutableDictionary``3(System.Collections.Generic.IEnumerable{``0},System.Func{``0,``1},System.Func{``0,``2})">
1387 <summary>Enumerates and transforms a sequence, and produces an immutable dictionary of its contents.</summary>
1388 <param name="source">The sequence to enumerate to generate the dictionary.</param>
1389 <param name="keySelector">The function that will produce the key for the dictionary from each sequence element.</param>
1390 <param name="elementSelector">The function that will produce the value for the dictionary from each sequence element.</param>
1391 <typeparam name="TSource">The type of the elements in the sequence.</typeparam>
1392 <typeparam name="TKey">The type of the keys in the resulting dictionary.</typeparam>
1393 <typeparam name="TValue">The type of the values in the resulting dictionary.</typeparam>
1394 <returns>An immutable dictionary that contains the items in the specified sequence.</returns>
1396 <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})">
1397 <summary>Enumerates and transforms a sequence, and produces an immutable dictionary of its contents by using the specified key comparer.</summary>
1398 <param name="source">The sequence to enumerate to generate the dictionary.</param>
1399 <param name="keySelector">The function that will produce the key for the dictionary from each sequence element.</param>
1400 <param name="elementSelector">The function that will produce the value for the dictionary from each sequence element.</param>
1401 <param name="keyComparer">The key comparer to use for the dictionary.</param>
1402 <typeparam name="TSource">The type of the elements in the sequence.</typeparam>
1403 <typeparam name="TKey">The type of the keys in the resulting dictionary.</typeparam>
1404 <typeparam name="TValue">The type of the values in the resulting dictionary.</typeparam>
1405 <returns>An immutable dictionary that contains the items in the specified sequence.</returns>
1407 <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})">
1408 <summary>Enumerates and transforms a sequence, and produces an immutable dictionary of its contents by using the specified key and value comparers.</summary>
1409 <param name="source">The sequence to enumerate to generate the dictionary.</param>
1410 <param name="keySelector">The function that will produce the key for the dictionary from each sequence element.</param>
1411 <param name="elementSelector">The function that will produce the value for the dictionary from each sequence element.</param>
1412 <param name="keyComparer">The key comparer to use for the dictionary.</param>
1413 <param name="valueComparer">The value comparer to use for the dictionary.</param>
1414 <typeparam name="TSource">The type of the elements in the sequence.</typeparam>
1415 <typeparam name="TKey">The type of the keys in the resulting dictionary.</typeparam>
1416 <typeparam name="TValue">The type of the values in the resulting dictionary.</typeparam>
1417 <returns>An immutable dictionary that contains the items in the specified sequence.</returns>
1419 <member name="T:System.Collections.Immutable.ImmutableDictionary`2">
1420 <summary>Represents an immutable, unordered collection of keys and values.
1421 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
1422 <typeparam name="TKey">The type of the keys in the dictionary.</typeparam>
1423 <typeparam name="TValue">The type of the values in the dictionary.</typeparam>
1425 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Add(`0,`1)">
1426 <summary>Adds an element with the specified key and value to the immutable dictionary.</summary>
1427 <param name="key">The key of the element to add.</param>
1428 <param name="value">The value of the element to add.</param>
1429 <returns>A new immutable dictionary that contains the additional key/value pair.</returns>
1430 <exception cref="T:System.ArgumentException">The given key already exists in the dictionary but has a different value.</exception>
1432 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.AddRange(System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{`0,`1}})">
1433 <summary>Adds the specified key/value pairs to the immutable dictionary.</summary>
1434 <param name="pairs">The key/value pairs to add.</param>
1435 <returns>A new immutable dictionary that contains the additional key/value pairs.</returns>
1436 <exception cref="T:System.ArgumentException">One of the given keys already exists in the dictionary but has a different value.</exception>
1438 <member name="T:System.Collections.Immutable.ImmutableDictionary`2.Builder">
1439 <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.
1440 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
1441 <typeparam name="TKey" />
1442 <typeparam name="TValue" />
1444 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Builder.Add(`0,`1)">
1445 <summary>Adds an element that has the specified key and value to the immutable dictionary.</summary>
1446 <param name="key">The key of the element to add.</param>
1447 <param name="value">The value of the element to add.</param>
1448 <exception cref="T:System.ArgumentNullException">
1449 <paramref name="key" /> is null.</exception>
1450 <exception cref="T:System.ArgumentException">An element with the same key already exists in the dictionary.</exception>
1451 <exception cref="T:System.NotSupportedException">The dictionary is read-only.</exception>
1453 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Builder.Add(System.Collections.Generic.KeyValuePair{`0,`1})">
1454 <summary>Adds the specified item to the immutable dictionary.</summary>
1455 <param name="item">The object to add to the dictionary.</param>
1456 <exception cref="T:System.NotSupportedException">The dictionary is read-only.</exception>
1458 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Builder.AddRange(System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{`0,`1}})">
1459 <summary>Adds a sequence of values to this collection.</summary>
1460 <param name="items">The items to add to this collection.</param>
1462 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Builder.Clear">
1463 <summary>Removes all items from the immutable dictionary.</summary>
1464 <exception cref="T:System.NotSupportedException">The dictionary is read-only.</exception>
1466 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Builder.Contains(System.Collections.Generic.KeyValuePair{`0,`1})">
1467 <summary>Determines whether the immutable dictionary contains a specific value.</summary>
1468 <param name="item">The object to locate in the dictionary.</param>
1470 <see langword="true" /> if <paramref name="item" /> is found in the dictionary; otherwise, <see langword="false" />.</returns>
1472 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Builder.ContainsKey(`0)">
1473 <summary>Determines whether the immutable dictionary contains an element that has the specified key.</summary>
1474 <param name="key">The key to locate in the dictionary.</param>
1476 <see langword="true" /> if the dictionary contains an element with the key; otherwise, <see langword="false" />.</returns>
1477 <exception cref="T:System.ArgumentNullException">
1478 <paramref name="key" /> is null.</exception>
1480 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Builder.ContainsValue(`1)">
1481 <summary>Determines whether the immutable dictionary contains an element that has the specified value.</summary>
1482 <param name="value">The value to locate in the immutable dictionary. The value can be <see langword="null" /> for reference types.</param>
1484 <see langword="true" /> if the dictionary contains an element with the specified value; otherwise, <see langword="false" />.</returns>
1486 <member name="P:System.Collections.Immutable.ImmutableDictionary`2.Builder.Count">
1487 <summary>Gets the number of elements contained in the immutable dictionary.</summary>
1488 <returns>The number of elements contained in the immutable dictionary.</returns>
1490 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Builder.GetEnumerator">
1491 <summary>Returns an enumerator that iterates through the immutable dictionary.</summary>
1492 <returns>An enumerator that can be used to iterate through the collection.</returns>
1494 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Builder.GetValueOrDefault(`0)">
1495 <summary>Gets the value for a given key if a matching key exists in the dictionary.</summary>
1496 <param name="key">The key to search for.</param>
1497 <returns>The value for the key, or <c>default(TValue)</c> if no matching key was found.</returns>
1499 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Builder.GetValueOrDefault(`0,`1)">
1500 <summary>Gets the value for a given key if a matching key exists in the dictionary.</summary>
1501 <param name="key">The key to search for.</param>
1502 <param name="defaultValue">The default value to return if no matching key is found in the dictionary.</param>
1503 <returns>The value for the key, or <paramref name="defaultValue" /> if no matching key was found.</returns>
1505 <member name="P:System.Collections.Immutable.ImmutableDictionary`2.Builder.Item(`0)">
1506 <summary>Gets or sets the element with the specified key.</summary>
1507 <param name="key">The element to get or set.</param>
1508 <returns>The element that has the specified key.</returns>
1509 <exception cref="T:System.ArgumentNullException">
1510 <paramref name="key" /> is <see langword="null" />.</exception>
1511 <exception cref="T:System.Collections.Generic.KeyNotFoundException">The property is being retrieved, and <paramref name="key" /> is not found.</exception>
1512 <exception cref="T:System.NotSupportedException">The property is being set, and the <see cref="T:System.Collections.Generic.IDictionary`2" /> is read-only.</exception>
1514 <member name="P:System.Collections.Immutable.ImmutableDictionary`2.Builder.KeyComparer">
1515 <summary>Gets or sets the key comparer.</summary>
1516 <returns>The key comparer.</returns>
1518 <member name="P:System.Collections.Immutable.ImmutableDictionary`2.Builder.Keys">
1519 <summary>Gets a collection that contains the keys of the immutable dictionary.</summary>
1520 <returns>A collection that contains the keys of the object that implements the immutable dictionary.</returns>
1522 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Builder.Remove(`0)">
1523 <summary>Removes the element with the specified key from the immutable dictionary.</summary>
1524 <param name="key">The key of the element to remove.</param>
1526 <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>
1527 <exception cref="T:System.ArgumentNullException">
1528 <paramref name="key" /> is null.</exception>
1529 <exception cref="T:System.NotSupportedException">The dictionary is read-only.</exception>
1531 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Builder.Remove(System.Collections.Generic.KeyValuePair{`0,`1})">
1532 <summary>Removes the first occurrence of a specific object from the immutable dictionary.</summary>
1533 <param name="item">The object to remove from the dictionary.</param>
1535 <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>
1536 <exception cref="T:System.NotSupportedException">The dictionary is read-only.</exception>
1538 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Builder.RemoveRange(System.Collections.Generic.IEnumerable{`0})">
1539 <summary>Removes any entries with keys that match those found in the specified sequence from the immutable dictionary.</summary>
1540 <param name="keys">The keys for entries to remove from the dictionary.</param>
1542 <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)">
1543 <param name="array" />
1544 <param name="arrayIndex" />
1546 <member name="P:System.Collections.Immutable.ImmutableDictionary`2.Builder.System#Collections#Generic#ICollection{System#Collections#Generic#KeyValuePair{TKey@TValue}}#IsReadOnly" />
1547 <member name="P:System.Collections.Immutable.ImmutableDictionary`2.Builder.System#Collections#Generic#IDictionary{TKey@TValue}#Keys" />
1548 <member name="P:System.Collections.Immutable.ImmutableDictionary`2.Builder.System#Collections#Generic#IDictionary{TKey@TValue}#Values" />
1549 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Builder.System#Collections#Generic#IEnumerable{System#Collections#Generic#KeyValuePair{TKey@TValue}}#GetEnumerator" />
1550 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Builder.System#Collections#ICollection#CopyTo(System.Array,System.Int32)">
1551 <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>
1552 <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>
1553 <param name="arrayIndex">The zero-based index in <paramref name="array" /> at which copying begins.</param>
1555 <member name="P:System.Collections.Immutable.ImmutableDictionary`2.Builder.System#Collections#ICollection#IsSynchronized">
1556 <summary>Gets a value that indicates whether access to the <see cref="T:System.Collections.ICollection" /> is synchronized (thread safe).</summary>
1558 <see langword="true" /> if access to the <see cref="T:System.Collections.ICollection" /> is synchronized (thread safe); otherwise, <see langword="false" />.</returns>
1560 <member name="P:System.Collections.Immutable.ImmutableDictionary`2.Builder.System#Collections#ICollection#SyncRoot">
1561 <summary>Gets an object that can be used to synchronize access to the <see cref="T:System.Collections.ICollection" />.</summary>
1562 <returns>An object that can be used to synchronize access to the <see cref="T:System.Collections.ICollection" />.</returns>
1564 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Builder.System#Collections#IDictionary#Add(System.Object,System.Object)">
1565 <summary>Adds an element with the provided key and value to the dictionary object.</summary>
1566 <param name="key">The key of the element to add.</param>
1567 <param name="value">The value of the element to add.</param>
1569 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Builder.System#Collections#IDictionary#Contains(System.Object)">
1570 <summary>Determines whether the dictionary object contains an element with the specified key.</summary>
1571 <param name="key">The key to locate.</param>
1573 <see langword="true" /> if the dictionary contains an element with the key; otherwise, <see langword="false" />.</returns>
1575 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Builder.System#Collections#IDictionary#GetEnumerator">
1576 <summary>Returns an <see cref="T:System.Collections.IDictionaryEnumerator" /> object for the dictionary.</summary>
1577 <returns>An <see cref="T:System.Collections.IDictionaryEnumerator" /> object for the dictionary.</returns>
1578 <exception cref="T:System.NotImplementedException" />
1580 <member name="P:System.Collections.Immutable.ImmutableDictionary`2.Builder.System#Collections#IDictionary#IsFixedSize">
1581 <summary>Gets a value that indicates whether the <see cref="T:System.Collections.IDictionary" /> object has a fixed size.</summary>
1583 <see langword="true" /> if the <see cref="T:System.Collections.IDictionary" /> object has a fixed size; otherwise, <see langword="false" />.</returns>
1585 <member name="P:System.Collections.Immutable.ImmutableDictionary`2.Builder.System#Collections#IDictionary#IsReadOnly">
1586 <summary>Gets a value that indicates whether the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only.</summary>
1588 <see langword="true" /> if the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only; otherwise, <see langword="false" />.</returns>
1590 <member name="P:System.Collections.Immutable.ImmutableDictionary`2.Builder.System#Collections#IDictionary#Item(System.Object)">
1591 <summary>Gets or sets the element with the specified key.</summary>
1592 <param name="key">The key.</param>
1594 <member name="P:System.Collections.Immutable.ImmutableDictionary`2.Builder.System#Collections#IDictionary#Keys">
1595 <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>
1596 <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>
1598 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Builder.System#Collections#IDictionary#Remove(System.Object)">
1599 <summary>Removes the element with the specified key from the dictionary.</summary>
1600 <param name="key">The key of the element to remove.</param>
1602 <member name="P:System.Collections.Immutable.ImmutableDictionary`2.Builder.System#Collections#IDictionary#Values">
1603 <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>
1604 <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>
1606 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Builder.System#Collections#IEnumerable#GetEnumerator">
1607 <summary>Returns an enumerator that iterates through a collection.</summary>
1608 <returns>An enumerator object that can be used to iterate through the collection.</returns>
1610 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Builder.ToImmutable">
1611 <summary>Creates an immutable dictionary based on the contents of this instance.</summary>
1612 <returns>An immutable dictionary.</returns>
1614 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Builder.TryGetKey(`0,`0@)">
1615 <summary>Determines whether this dictionary contains a specified key.</summary>
1616 <param name="equalKey">The key to search for.</param>
1617 <param name="actualKey">The matching key located in the dictionary if found, or <c>equalkey</c> if no match is found.</param>
1619 <see langword="true" /> if a match for <paramref name="equalKey" /> is found; otherwise, <see langword="false" />.</returns>
1621 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Builder.TryGetValue(`0,`1@)">
1622 <summary>Returns the value associated with the specified key.</summary>
1623 <param name="key">The key whose value will be retrieved.</param>
1624 <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>
1626 <see langword="true" /> if the object that implements the immutable dictionary contains an element with the specified key; otherwise, <see langword="false" />.</returns>
1627 <exception cref="T:System.ArgumentNullException">
1628 <paramref name="key" /> is null.</exception>
1630 <member name="P:System.Collections.Immutable.ImmutableDictionary`2.Builder.ValueComparer">
1631 <summary>Gets or sets the value comparer.</summary>
1632 <returns>The value comparer.</returns>
1634 <member name="P:System.Collections.Immutable.ImmutableDictionary`2.Builder.Values">
1635 <summary>Gets a collection that contains the values of the immutable dictionary.</summary>
1636 <returns>A collection that contains the values of the object that implements the dictionary.</returns>
1638 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Clear">
1639 <summary>Retrieves an empty immutable dictionary that has the same ordering and key/value comparison rules as this dictionary instance.</summary>
1640 <returns>An empty dictionary with equivalent ordering and key/value comparison rules.</returns>
1642 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Contains(System.Collections.Generic.KeyValuePair{`0,`1})">
1643 <summary>Determines whether this immutable dictionary contains the specified key/value pair.</summary>
1644 <param name="pair">The key/value pair to locate.</param>
1646 <see langword="true" /> if the specified key/value pair is found in the dictionary; otherwise, <see langword="false" />.</returns>
1648 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.ContainsKey(`0)">
1649 <summary>Determines whether the immutable dictionary contains an element with the specified key.</summary>
1650 <param name="key">The key to locate.</param>
1652 <see langword="true" /> if the immutable dictionary contains an element with the specified key; otherwise, <see langword="false" />.</returns>
1654 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.ContainsValue(`1)">
1655 <summary>Determines whether the immutable dictionary contains an element with the specified value.</summary>
1656 <param name="value">The value to locate. The value can be <see langword="null" /> for reference types.</param>
1658 <see langword="true" /> if the dictionary contains an element with the specified value; otherwise, <see langword="false" />.</returns>
1660 <member name="P:System.Collections.Immutable.ImmutableDictionary`2.Count">
1661 <summary>Gets the number of key/value pairs in the immutable dictionary.</summary>
1662 <returns>The number of key/value pairs in the dictionary.</returns>
1664 <member name="F:System.Collections.Immutable.ImmutableDictionary`2.Empty">
1665 <summary>Gets an empty immutable dictionary</summary>
1667 <member name="T:System.Collections.Immutable.ImmutableDictionary`2.Enumerator">
1668 <summary>Enumerates the contents of the immutable dictionary without allocating any memory.
1669 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
1670 <typeparam name="TKey" />
1671 <typeparam name="TValue" />
1673 <member name="P:System.Collections.Immutable.ImmutableDictionary`2.Enumerator.Current">
1674 <summary>Gets the element at the current position of the enumerator.</summary>
1675 <returns>The element in the dictionary at the current position of the enumerator.</returns>
1677 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Enumerator.Dispose">
1678 <summary>Releases the resources used by the current instance of the <see cref="T:System.Collections.Immutable.ImmutableDictionary`2.Enumerator" /> class.</summary>
1680 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Enumerator.MoveNext">
1681 <summary>Advances the enumerator to the next element of the immutable dictionary.</summary>
1683 <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>
1684 <exception cref="T:System.InvalidOperationException">The dictionary was modified after the enumerator was created.</exception>
1686 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Enumerator.Reset">
1687 <summary>Sets the enumerator to its initial position, which is before the first element in the dictionary.</summary>
1688 <exception cref="T:System.InvalidOperationException">The dictionary was modified after the enumerator was created.</exception>
1690 <member name="P:System.Collections.Immutable.ImmutableDictionary`2.Enumerator.System#Collections#IEnumerator#Current">
1691 <summary>Gets the current element.</summary>
1693 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.GetEnumerator">
1694 <summary>Returns an enumerator that iterates through the immutable dictionary.</summary>
1695 <returns>An enumerator that can be used to iterate through the dictionary.</returns>
1697 <member name="P:System.Collections.Immutable.ImmutableDictionary`2.IsEmpty">
1698 <summary>Gets a value that indicates whether this instance of the immutable dictionary is empty.</summary>
1700 <see langword="true" /> if this instance is empty; otherwise, <see langword="false" />.</returns>
1702 <member name="P:System.Collections.Immutable.ImmutableDictionary`2.Item(`0)">
1703 <summary>Gets the <paramref name="TValue" /> associated with the specified key.</summary>
1704 <param name="key">The type of the key.</param>
1705 <returns>The value associated with the specified key. If no results are found, the operation throws an exception.</returns>
1707 <member name="P:System.Collections.Immutable.ImmutableDictionary`2.KeyComparer">
1708 <summary>Gets the key comparer for the immutable dictionary.</summary>
1709 <returns>The key comparer.</returns>
1711 <member name="P:System.Collections.Immutable.ImmutableDictionary`2.Keys">
1712 <summary>Gets the keys in the immutable dictionary.</summary>
1713 <returns>The keys in the immutable dictionary.</returns>
1715 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Remove(`0)">
1716 <summary>Removes the element with the specified key from the immutable dictionary.</summary>
1717 <param name="key">The key of the element to remove.</param>
1718 <returns>A new immutable dictionary with the specified element removed; or this instance if the specified key cannot be found in the dictionary.</returns>
1720 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.RemoveRange(System.Collections.Generic.IEnumerable{`0})">
1721 <summary>Removes the elements with the specified keys from the immutable dictionary.</summary>
1722 <param name="keys">The keys of the elements to remove.</param>
1723 <returns>A new immutable dictionary with the specified keys removed; or this instance if the specified keys cannot be found in the dictionary.</returns>
1725 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.SetItem(`0,`1)">
1726 <summary>Sets the specified key and value in the immutable dictionary, possibly overwriting an existing value for the key.</summary>
1727 <param name="key">The key of the entry to add.</param>
1728 <param name="value">The key value to set.</param>
1729 <returns>A new immutable dictionary that contains the specified key/value pair.</returns>
1731 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.SetItems(System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{`0,`1}})">
1732 <summary>Sets the specified key/value pairs in the immutable dictionary, possibly overwriting existing values for the keys.</summary>
1733 <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>
1734 <returns>A new immutable dictionary that contains the specified key/value pairs.</returns>
1736 <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})">
1737 <param name="item" />
1739 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#Generic#ICollection{System#Collections#Generic#KeyValuePair{TKey@TValue}}#Clear" />
1740 <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)">
1741 <param name="array" />
1742 <param name="arrayIndex" />
1744 <member name="P:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#Generic#ICollection{System#Collections#Generic#KeyValuePair{TKey@TValue}}#IsReadOnly" />
1745 <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})">
1746 <param name="item" />
1748 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#Generic#IDictionary{TKey@TValue}#Add(`0,`1)">
1749 <param name="key" />
1750 <param name="value" />
1752 <member name="P:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#Generic#IDictionary{TKey@TValue}#Item(`0)">
1753 <param name="key" />
1755 <member name="P:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#Generic#IDictionary{TKey@TValue}#Keys" />
1756 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#Generic#IDictionary{TKey@TValue}#Remove(`0)">
1757 <param name="key" />
1759 <member name="P:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#Generic#IDictionary{TKey@TValue}#Values" />
1760 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#Generic#IEnumerable{System#Collections#Generic#KeyValuePair{TKey@TValue}}#GetEnumerator" />
1761 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#ICollection#CopyTo(System.Array,System.Int32)">
1762 <summary>Copies the elements of the dictionary to an array, starting at a particular array index.</summary>
1763 <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>
1764 <param name="arrayIndex">The zero-based index in <paramref name="array" /> at which copying begins.</param>
1766 <member name="P:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#ICollection#IsSynchronized">
1767 <summary>Gets a value indicating whether access to the <see cref="T:System.Collections.ICollection" /> is synchronized (thread safe).</summary>
1769 <see langword="true" /> if access to the <see cref="T:System.Collections.ICollection" /> is synchronized (thread safe); otherwise, <see langword="false" />.</returns>
1771 <member name="P:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#ICollection#SyncRoot">
1772 <summary>Gets an object that can be used to synchronize access to the <see cref="T:System.Collections.ICollection" />.</summary>
1773 <returns>An object that can be used to synchronize access to the <see cref="T:System.Collections.ICollection" />.</returns>
1775 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#IDictionary#Add(System.Object,System.Object)">
1776 <summary>Adds an element with the provided key and value to the immutable dictionary object.</summary>
1777 <param name="key">The object to use as the key of the element to add.</param>
1778 <param name="value">The object to use as the value of the element to add.</param>
1780 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#IDictionary#Clear">
1781 <summary>Clears this instance.</summary>
1782 <exception cref="T:System.NotSupportedException">The dictionary object is read-only.</exception>
1784 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#IDictionary#Contains(System.Object)">
1785 <summary>Determines whether the immutable dictionary object contains an element with the specified key.</summary>
1786 <param name="key">The key to locate in the dictionary object.</param>
1788 <see langword="true" /> if the dictionary contains an element with the key; otherwise, <see langword="false" />.</returns>
1790 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#IDictionary#GetEnumerator">
1791 <summary>Returns an <see cref="T:System.Collections.IDictionaryEnumerator" /> object for the immutable dictionary object.</summary>
1792 <returns>An enumerator object for the dictionary object.</returns>
1794 <member name="P:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#IDictionary#IsFixedSize">
1795 <summary>Gets a value indicating whether the <see cref="T:System.Collections.IDictionary" /> object has a fixed size.</summary>
1797 <see langword="true" /> if the <see cref="T:System.Collections.IDictionary" /> object has a fixed size; otherwise, <see langword="false" />.</returns>
1799 <member name="P:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#IDictionary#IsReadOnly">
1800 <summary>Gets a value indicating whether the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only.</summary>
1802 <see langword="true" /> if the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only; otherwise, <see langword="false" />.</returns>
1804 <member name="P:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#IDictionary#Item(System.Object)">
1805 <summary>Gets or sets the element with the specified key.</summary>
1806 <param name="key">The key.</param>
1808 <member name="P:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#IDictionary#Keys">
1809 <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>
1810 <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>
1812 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#IDictionary#Remove(System.Object)">
1813 <summary>Removes the element with the specified key from the immutable dictionary object.</summary>
1814 <param name="key">The key of the element to remove.</param>
1816 <member name="P:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#IDictionary#Values">
1817 <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>
1818 <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>
1820 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#IEnumerable#GetEnumerator">
1821 <summary>Returns an enumerator that iterates through a collection.</summary>
1822 <returns>An enumerator object that can be used to iterate through the collection.</returns>
1824 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#Immutable#IImmutableDictionary{TKey@TValue}#Add(`0,`1)">
1825 <param name="key" />
1826 <param name="value" />
1828 <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}})">
1829 <param name="pairs" />
1831 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#Immutable#IImmutableDictionary{TKey@TValue}#Clear" />
1832 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#Immutable#IImmutableDictionary{TKey@TValue}#Remove(`0)">
1833 <param name="key" />
1835 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#Immutable#IImmutableDictionary{TKey@TValue}#RemoveRange(System.Collections.Generic.IEnumerable{`0})">
1836 <param name="keys" />
1838 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#Immutable#IImmutableDictionary{TKey@TValue}#SetItem(`0,`1)">
1839 <param name="key" />
1840 <param name="value" />
1842 <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}})">
1843 <param name="items" />
1845 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.ToBuilder">
1846 <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>
1847 <returns>A collection with the same contents as this dictionary that can be efficiently mutated across multiple operations by using standard mutable interfaces.</returns>
1849 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.TryGetKey(`0,`0@)">
1850 <summary>Determines whether this dictionary contains a specified key.</summary>
1851 <param name="equalKey">The key to search for.</param>
1852 <param name="actualKey">The matching key located in the dictionary if found, or <c>equalkey</c> if no match is found.</param>
1854 <see langword="true" /> if a match for <paramref name="equalKey" /> is found; otherwise, <see langword="false" />.</returns>
1856 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.TryGetValue(`0,`1@)">
1857 <summary>Gets the value associated with the specified key.</summary>
1858 <param name="key">The key whose value will be retrieved.</param>
1859 <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>
1861 <see langword="true" /> if the object that implements the dictionary contains an element with the specified key; otherwise, <see langword="false" />.</returns>
1862 <exception cref="T:System.ArgumentNullException">
1863 <paramref name="key" /> is null.</exception>
1865 <member name="P:System.Collections.Immutable.ImmutableDictionary`2.ValueComparer">
1866 <summary>Gets the value comparer used to determine whether values are equal.</summary>
1867 <returns>The value comparer used to determine whether values are equal.</returns>
1869 <member name="P:System.Collections.Immutable.ImmutableDictionary`2.Values">
1870 <summary>Gets the values in the immutable dictionary.</summary>
1871 <returns>The values in the immutable dictionary.</returns>
1873 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.WithComparers(System.Collections.Generic.IEqualityComparer{`0})">
1874 <summary>Gets an instance of the immutable dictionary that uses the specified key comparer.</summary>
1875 <param name="keyComparer">The key comparer to use.</param>
1876 <returns>An instance of the immutable dictionary that uses the given comparer.</returns>
1878 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.WithComparers(System.Collections.Generic.IEqualityComparer{`0},System.Collections.Generic.IEqualityComparer{`1})">
1879 <summary>Gets an instance of the immutable dictionary that uses the specified key and value comparers.</summary>
1880 <param name="keyComparer">The key comparer to use.</param>
1881 <param name="valueComparer">The value comparer to use.</param>
1882 <returns>An instance of the immutable dictionary that uses the given comparers.</returns>
1884 <member name="T:System.Collections.Immutable.ImmutableHashSet">
1885 <summary>Provides a set of initialization methods for instances of the <see cref="T:System.Collections.Immutable.ImmutableHashSet`1" /> class.
1886 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
1888 <member name="M:System.Collections.Immutable.ImmutableHashSet.Create``1">
1889 <summary>Creates an empty immutable hash set.</summary>
1890 <typeparam name="T">The type of items to be stored in the immutable hash set.</typeparam>
1891 <returns>An empty immutable hash set.</returns>
1893 <member name="M:System.Collections.Immutable.ImmutableHashSet.Create``1(``0)">
1894 <summary>Creates a new immutable hash set that contains the specified item.</summary>
1895 <param name="item">The item to prepopulate the hash set with.</param>
1896 <typeparam name="T">The type of items in the immutable hash set.</typeparam>
1897 <returns>A new immutable hash set that contains the specified item.</returns>
1899 <member name="M:System.Collections.Immutable.ImmutableHashSet.Create``1(``0[])">
1900 <summary>Creates a new immutable hash set that contains the specified array of items.</summary>
1901 <param name="items">An array that contains the items to prepopulate the hash set with.</param>
1902 <typeparam name="T">The type of items in the immutable hash set.</typeparam>
1903 <returns>A new immutable hash set that contains the specified items.</returns>
1905 <member name="M:System.Collections.Immutable.ImmutableHashSet.Create``1(System.Collections.Generic.IEqualityComparer{``0})">
1906 <summary>Creates an empty immutable hash set that uses the specified equality comparer.</summary>
1907 <param name="equalityComparer">The object to use for comparing objects in the set for equality.</param>
1908 <typeparam name="T">The type of items in the immutable hash set.</typeparam>
1909 <returns>An empty immutable hash set.</returns>
1911 <member name="M:System.Collections.Immutable.ImmutableHashSet.Create``1(System.Collections.Generic.IEqualityComparer{``0},``0)">
1912 <summary>Creates a new immutable hash set that contains the specified item and uses the specified equality comparer for the set type.</summary>
1913 <param name="equalityComparer">The object to use for comparing objects in the set for equality.</param>
1914 <param name="item">The item to prepopulate the hash set with.</param>
1915 <typeparam name="T">The type of items in the immutable hash set.</typeparam>
1916 <returns>A new immutable hash set that contains the specified item.</returns>
1918 <member name="M:System.Collections.Immutable.ImmutableHashSet.Create``1(System.Collections.Generic.IEqualityComparer{``0},``0[])">
1919 <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>
1920 <param name="equalityComparer">The object to use for comparing objects in the set for equality.</param>
1921 <param name="items">An array that contains the items to prepopulate the hash set with.</param>
1922 <typeparam name="T">The type of items stored in the immutable hash set.</typeparam>
1923 <returns>A new immutable hash set that contains the specified items.</returns>
1925 <member name="M:System.Collections.Immutable.ImmutableHashSet.CreateBuilder``1">
1926 <summary>Creates a new immutable hash set builder.</summary>
1927 <typeparam name="T">The type of items stored by the collection.</typeparam>
1928 <returns>The immutable hash set builder.</returns>
1930 <member name="M:System.Collections.Immutable.ImmutableHashSet.CreateBuilder``1(System.Collections.Generic.IEqualityComparer{``0})">
1931 <summary>Creates a new immutable hash set builder.</summary>
1932 <param name="equalityComparer">The object to use for comparing objects in the set for equality.</param>
1933 <typeparam name="T">The type of items stored by the collection.</typeparam>
1934 <returns>The new immutable hash set builder.</returns>
1936 <member name="M:System.Collections.Immutable.ImmutableHashSet.CreateRange``1(System.Collections.Generic.IEnumerable{``0})">
1937 <summary>Creates a new immutable hash set prefilled with the specified items.</summary>
1938 <param name="items">The items to add to the hash set.</param>
1939 <typeparam name="T">The type of items stored by the collection.</typeparam>
1940 <returns>The new immutable hash set that contains the specified items.</returns>
1942 <member name="M:System.Collections.Immutable.ImmutableHashSet.CreateRange``1(System.Collections.Generic.IEqualityComparer{``0},System.Collections.Generic.IEnumerable{``0})">
1943 <summary>Creates a new immutable hash set that contains the specified items and uses the specified equality comparer for the set type.</summary>
1944 <param name="equalityComparer">The object to use for comparing objects in the set for equality.</param>
1945 <param name="items">The items add to the collection before immutability is applied.</param>
1946 <typeparam name="T">The type of items stored in the collection.</typeparam>
1947 <returns>The new immutable hash set.</returns>
1949 <member name="M:System.Collections.Immutable.ImmutableHashSet.ToImmutableHashSet``1(System.Collections.Generic.IEnumerable{``0})">
1950 <summary>Enumerates a sequence and produces an immutable hash set of its contents.</summary>
1951 <param name="source">The sequence to enumerate.</param>
1952 <typeparam name="TSource">The type of the elements in the sequence.</typeparam>
1953 <returns>An immutable hash set that contains the items in the specified sequence.</returns>
1955 <member name="M:System.Collections.Immutable.ImmutableHashSet.ToImmutableHashSet``1(System.Collections.Generic.IEnumerable{``0},System.Collections.Generic.IEqualityComparer{``0})">
1956 <summary>Enumerates a sequence, produces an immutable hash set of its contents, and uses the specified equality comparer for the set type.</summary>
1957 <param name="source">The sequence to enumerate.</param>
1958 <param name="equalityComparer">The object to use for comparing objects in the set for equality.</param>
1959 <typeparam name="TSource">The type of the elements in the sequence.</typeparam>
1960 <returns>An immutable hash set that contains the items in the specified sequence and uses the specified equality comparer.</returns>
1962 <member name="M:System.Collections.Immutable.ImmutableHashSet.ToImmutableHashSet``1(System.Collections.Immutable.ImmutableHashSet{``0}.Builder)">
1963 <summary>Creates an immutable hash set from the current contents of the builder's set.</summary>
1964 <param name="builder">The builder to create the immutable hash set from.</param>
1965 <typeparam name="TSource">The type of the elements in the hash set.</typeparam>
1966 <returns>An immutable hash set that contains the current contents in the builder's set.</returns>
1968 <member name="T:System.Collections.Immutable.ImmutableHashSet`1">
1969 <summary>Represents an immutable, unordered hash set.
1970 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
1971 <typeparam name="T">The type of elements in the hash set.</typeparam>
1973 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Add(`0)">
1974 <summary>Adds the specified element to the hash set.</summary>
1975 <param name="item">The element to add to the set.</param>
1976 <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>
1978 <member name="T:System.Collections.Immutable.ImmutableHashSet`1.Builder">
1979 <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.
1980 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
1981 <typeparam name="T" />
1983 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Builder.Add(`0)">
1984 <summary>Adds the specified item to the immutable hash set.</summary>
1985 <param name="item">The item to add.</param>
1987 <see langword="true" /> if the item did not already belong to the collection; otherwise, <see langword="false" />.</returns>
1989 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Builder.Clear">
1990 <summary>Removes all items from the immutable hash set.</summary>
1991 <exception cref="T:System.NotSupportedException">The hash set is read-only.</exception>
1993 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Builder.Contains(`0)">
1994 <summary>Determines whether the immutable hash set contains a specific value.</summary>
1995 <param name="item">The object to locate in the hash set.</param>
1997 <see langword="true" /> if <paramref name="item" /> is found in the hash set ; otherwise, <see langword="false" />.</returns>
1999 <member name="P:System.Collections.Immutable.ImmutableHashSet`1.Builder.Count">
2000 <summary>Gets the number of elements contained in the immutable hash set.</summary>
2001 <returns>The number of elements contained in the immutable hash set.</returns>
2003 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Builder.ExceptWith(System.Collections.Generic.IEnumerable{`0})">
2004 <summary>Removes all elements in the specified collection from the current hash set.</summary>
2005 <param name="other">The collection of items to remove from the set.</param>
2007 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Builder.GetEnumerator">
2008 <summary>Returns an enumerator that iterates through the immutable hash set.</summary>
2009 <returns>An enumerator that can be used to iterate through the set.</returns>
2011 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Builder.IntersectWith(System.Collections.Generic.IEnumerable{`0})">
2012 <summary>Modifies the current set so that it contains only elements that are also in a specified collection.</summary>
2013 <param name="other">The collection to compare to the current set.</param>
2015 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Builder.IsProperSubsetOf(System.Collections.Generic.IEnumerable{`0})">
2016 <summary>Determines whether the current set is a proper (strict) subset of a specified collection.</summary>
2017 <param name="other">The collection to compare to the current set.</param>
2019 <see langword="true" /> if the current set is a proper subset of <paramref name="other" />; otherwise, <see langword="false" />.</returns>
2021 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Builder.IsProperSupersetOf(System.Collections.Generic.IEnumerable{`0})">
2022 <summary>Determines whether the current set is a proper (strict) superset of a specified collection.</summary>
2023 <param name="other">The collection to compare to the current set.</param>
2025 <see langword="true" /> if the current set is a proper superset of <paramref name="other" />; otherwise, <see langword="false" />.</returns>
2027 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Builder.IsSubsetOf(System.Collections.Generic.IEnumerable{`0})">
2028 <summary>Determines whether the current set is a subset of a specified collection.</summary>
2029 <param name="other">The collection to compare to the current set.</param>
2031 <see langword="true" /> if the current set is a subset of <paramref name="other" />; otherwise, <see langword="false" />.</returns>
2033 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Builder.IsSupersetOf(System.Collections.Generic.IEnumerable{`0})">
2034 <summary>Determines whether the current set is a superset of a specified collection.</summary>
2035 <param name="other">The collection to compare to the current set.</param>
2037 <see langword="true" /> if the current set is a superset of <paramref name="other" />; otherwise, <see langword="false" />.</returns>
2039 <member name="P:System.Collections.Immutable.ImmutableHashSet`1.Builder.KeyComparer">
2040 <summary>Gets or sets the key comparer.</summary>
2041 <returns>The key comparer.</returns>
2043 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Builder.Overlaps(System.Collections.Generic.IEnumerable{`0})">
2044 <summary>Determines whether the current set overlaps with the specified collection.</summary>
2045 <param name="other">The collection to compare to the current set.</param>
2047 <see langword="true" /> if the current set and <paramref name="other" /> share at least one common element; otherwise, <see langword="false" />.</returns>
2049 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Builder.Remove(`0)">
2050 <summary>Removes the first occurrence of a specific object from the immutable hash set.</summary>
2051 <param name="item">The object to remove from the set.</param>
2053 <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>
2054 <exception cref="T:System.NotSupportedException">The set is read-only.</exception>
2056 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Builder.SetEquals(System.Collections.Generic.IEnumerable{`0})">
2057 <summary>Determines whether the current set and the specified collection contain the same elements.</summary>
2058 <param name="other">The collection to compare to the current set.</param>
2060 <see langword="true" /> if the current set is equal to <paramref name="other" />; otherwise, <see langword="false" />.</returns>
2062 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Builder.SymmetricExceptWith(System.Collections.Generic.IEnumerable{`0})">
2063 <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>
2064 <param name="other">The collection to compare to the current set.</param>
2066 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Builder.System#Collections#Generic#ICollection{T}#Add(`0)">
2067 <summary>Adds an item to the hash set.</summary>
2068 <param name="item">The object to add to the set.</param>
2069 <exception cref="T:System.NotSupportedException">The set is read-only.</exception>
2071 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Builder.System#Collections#Generic#ICollection{T}#CopyTo(`0[],System.Int32)">
2072 <summary>Copies the elements of the hash set to an array, starting at a particular array index.</summary>
2073 <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>
2074 <param name="arrayIndex">The zero-based index in <paramref name="array" /> at which copying begins.</param>
2076 <member name="P:System.Collections.Immutable.ImmutableHashSet`1.Builder.System#Collections#Generic#ICollection{T}#IsReadOnly">
2077 <summary>Gets a value indicating whether the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only.</summary>
2079 <see langword="true" /> if the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only; otherwise, <see langword="false" />.</returns>
2081 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Builder.System#Collections#Generic#IEnumerable{T}#GetEnumerator">
2082 <summary>Returns an enumerator that iterates through the collection.</summary>
2083 <returns>An enumerator that can be used to iterate through the collection.</returns>
2085 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Builder.System#Collections#IEnumerable#GetEnumerator">
2086 <summary>Returns an enumerator that iterates through a collection.</summary>
2087 <returns>An enumerator that can be used to iterate through the collection.</returns>
2089 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Builder.ToImmutable">
2090 <summary>Creates an immutable hash set based on the contents of this instance.</summary>
2091 <returns>An immutable set.</returns>
2093 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Builder.UnionWith(System.Collections.Generic.IEnumerable{`0})">
2094 <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>
2095 <param name="other">The collection to compare to the current set.</param>
2097 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Clear">
2098 <summary>Retrieves an empty immutable hash set that has the same sorting and ordering semantics as this instance.</summary>
2099 <returns>An empty hash set that has the same sorting and ordering semantics as this instance.</returns>
2101 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Contains(`0)">
2102 <summary>Determines whether this immutable hash set contains the specified element.</summary>
2103 <param name="item">The object to locate in the immutable hash set.</param>
2105 <see langword="true" /> if <paramref name="item" /> is found in the <see cref="T:System.Collections.Immutable.ImmutableHashSet`1" />; otherwise, <see langword="false" />.</returns>
2107 <member name="P:System.Collections.Immutable.ImmutableHashSet`1.Count">
2108 <summary>Gets the number of elements in the immutable hash set.</summary>
2109 <returns>The number of elements in the hash set.</returns>
2111 <member name="F:System.Collections.Immutable.ImmutableHashSet`1.Empty">
2112 <summary>Gets an immutable hash set for this type that uses the default <see cref="T:System.Collections.Generic.IEqualityComparer`1" />.</summary>
2114 <member name="T:System.Collections.Immutable.ImmutableHashSet`1.Enumerator">
2115 <summary>Enumerates the contents of the immutable hash set without allocating any memory.
2116 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
2117 <typeparam name="T" />
2119 <member name="P:System.Collections.Immutable.ImmutableHashSet`1.Enumerator.Current">
2120 <summary>Gets the element at the current position of the enumerator.</summary>
2121 <returns>The element at the current position of the enumerator.</returns>
2123 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Enumerator.Dispose">
2124 <summary>Releases the resources used by the current instance of the <see cref="T:System.Collections.Immutable.ImmutableHashSet`1.Enumerator" /> class.</summary>
2126 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Enumerator.MoveNext">
2127 <summary>Advances the enumerator to the next element of the immutable hash set.</summary>
2129 <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>
2130 <exception cref="T:System.InvalidOperationException">The hash set was modified after the enumerator was created.</exception>
2132 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Enumerator.Reset">
2133 <summary>Sets the enumerator to its initial position, which is before the first element in the hash set.</summary>
2134 <exception cref="T:System.InvalidOperationException">The hash set was modified after the enumerator was created.</exception>
2136 <member name="P:System.Collections.Immutable.ImmutableHashSet`1.Enumerator.System#Collections#IEnumerator#Current">
2137 <summary>Gets the current element.</summary>
2139 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Except(System.Collections.Generic.IEnumerable{`0})">
2140 <summary>Removes the elements in the specified collection from the current immutable hash set.</summary>
2141 <param name="other">The collection of items to remove from this set.</param>
2142 <returns>A new set with the items removed; or the original set if none of the items were in the set.</returns>
2144 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.GetEnumerator">
2145 <summary>Returns an enumerator that iterates through the collection.</summary>
2146 <returns>An enumerator that can be used to iterate through the collection.</returns>
2148 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Intersect(System.Collections.Generic.IEnumerable{`0})">
2149 <summary>Creates an immutable hash set that contains elements that exist in both this set and the specified set.</summary>
2150 <param name="other">The collection to compare to the current set.</param>
2151 <returns>A new immutable set that contains any elements that exist in both sets.</returns>
2153 <member name="P:System.Collections.Immutable.ImmutableHashSet`1.IsEmpty">
2154 <summary>Gets a value that indicates whether the current immutable hash set is empty.</summary>
2156 <see langword="true" /> if this instance is empty; otherwise, <see langword="false" />.</returns>
2158 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.IsProperSubsetOf(System.Collections.Generic.IEnumerable{`0})">
2159 <summary>Determines whether the current immutable hash set is a proper (strict) subset of a specified collection.</summary>
2160 <param name="other">The collection to compare to the current set.</param>
2162 <see langword="true" /> if the current set is a proper subset of the specified collection; otherwise, <see langword="false" />.</returns>
2164 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.IsProperSupersetOf(System.Collections.Generic.IEnumerable{`0})">
2165 <summary>Determines whether the current immutable hash set is a proper (strict) superset of a specified collection.</summary>
2166 <param name="other">The collection to compare to the current set.</param>
2168 <see langword="true" /> if the current set is a proper superset of the specified collection; otherwise, <see langword="false" />.</returns>
2170 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.IsSubsetOf(System.Collections.Generic.IEnumerable{`0})">
2171 <summary>Determines whether the current immutable hash set is a subset of a specified collection.</summary>
2172 <param name="other">The collection to compare to the current set.</param>
2174 <see langword="true" /> if the current set is a subset of the specified collection; otherwise, <see langword="false" />.</returns>
2176 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.IsSupersetOf(System.Collections.Generic.IEnumerable{`0})">
2177 <summary>Determines whether the current immutable hash set is a superset of a specified collection.</summary>
2178 <param name="other">The collection to compare to the current set.</param>
2180 <see langword="true" /> if the current set is a superset of the specified collection; otherwise, <see langword="false" />.</returns>
2182 <member name="P:System.Collections.Immutable.ImmutableHashSet`1.KeyComparer">
2183 <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>
2184 <returns>The comparer used to obtain hash codes for the keys and check equality.</returns>
2186 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Overlaps(System.Collections.Generic.IEnumerable{`0})">
2187 <summary>Determines whether the current immutable hash set overlaps with the specified collection.</summary>
2188 <param name="other">The collection to compare to the current set.</param>
2190 <see langword="true" /> if the current set and the specified collection share at least one common element; otherwise, <see langword="false" />.</returns>
2192 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Remove(`0)">
2193 <summary>Removes the specified element from this immutable hash set.</summary>
2194 <param name="item">The element to remove.</param>
2195 <returns>A new set with the specified element removed, or the current set if the element cannot be found in the set.</returns>
2197 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.SetEquals(System.Collections.Generic.IEnumerable{`0})">
2198 <summary>Determines whether the current immutable hash set and the specified collection contain the same elements.</summary>
2199 <param name="other">The collection to compare to the current set.</param>
2201 <see langword="true" /> if the sets are equal; otherwise, <see langword="false" />.</returns>
2203 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.SymmetricExcept(System.Collections.Generic.IEnumerable{`0})">
2204 <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>
2205 <param name="other">The collection to compare to the current set.</param>
2206 <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>
2208 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.System#Collections#Generic#ICollection{T}#Add(`0)">
2209 <summary>Adds an item to the set.</summary>
2210 <param name="item">The object to add to the set.</param>
2211 <exception cref="T:System.NotSupportedException">The set is read-only.</exception>
2213 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.System#Collections#Generic#ICollection{T}#Clear">
2214 <summary>Removes all items from this set.</summary>
2215 <exception cref="T:System.NotSupportedException">The set is read-only.</exception>
2217 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.System#Collections#Generic#ICollection{T}#CopyTo(`0[],System.Int32)">
2218 <summary>Copies the elements of the set to an array, starting at a particular index.</summary>
2219 <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>
2220 <param name="arrayIndex">The zero-based index in <paramref name="array" /> at which copying begins.</param>
2222 <member name="P:System.Collections.Immutable.ImmutableHashSet`1.System#Collections#Generic#ICollection{T}#IsReadOnly">
2223 <summary>See the <see cref="T:System.Collections.Generic.ICollection`1" /> interface.</summary>
2225 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.System#Collections#Generic#ICollection{T}#Remove(`0)">
2226 <summary>Removes the first occurrence of a specific object from the set.</summary>
2227 <param name="item">The object to remove from the set.</param>
2229 <see langword="true" /> if the element is successfully removed; otherwise, <see langword="false" />.</returns>
2231 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.System#Collections#Generic#IEnumerable{T}#GetEnumerator">
2232 <summary>Returns an enumerator that iterates through the collection.</summary>
2233 <returns>An enumerator that iterates through the collection.</returns>
2235 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.System#Collections#Generic#ISet{T}#Add(`0)">
2236 <summary>Adds an element to the current set and returns a value that indicates whether the element was successfully added.</summary>
2237 <param name="item">The element to add to the collection.</param>
2239 <see langword="true" /> if the element is added to the set; <see langword="false" /> if the element is already in the set.</returns>
2241 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.System#Collections#Generic#ISet{T}#ExceptWith(System.Collections.Generic.IEnumerable{`0})">
2242 <summary>Removes all elements in the specified collection from the current set.</summary>
2243 <param name="other">The collection of items to remove.</param>
2245 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.System#Collections#Generic#ISet{T}#IntersectWith(System.Collections.Generic.IEnumerable{`0})">
2246 <summary>Modifies the current set so that it contains only elements that are also in a specified collection.</summary>
2247 <param name="other">The collection to compare to the current collection.</param>
2249 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.System#Collections#Generic#ISet{T}#SymmetricExceptWith(System.Collections.Generic.IEnumerable{`0})">
2250 <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>
2251 <param name="other">The collection to compare to the current set.</param>
2253 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.System#Collections#Generic#ISet{T}#UnionWith(System.Collections.Generic.IEnumerable{`0})">
2254 <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>
2255 <param name="other">The collection to compare to the current set.</param>
2257 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.System#Collections#ICollection#CopyTo(System.Array,System.Int32)">
2258 <summary>Copies the elements of the set to an array, starting at a particular index.</summary>
2259 <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>
2260 <param name="arrayIndex">The zero-based index in <paramref name="array" /> at which copying begins.</param>
2262 <member name="P:System.Collections.Immutable.ImmutableHashSet`1.System#Collections#ICollection#IsSynchronized">
2263 <summary>See the <see cref="T:System.Collections.ICollection" /> interface.</summary>
2265 <member name="P:System.Collections.Immutable.ImmutableHashSet`1.System#Collections#ICollection#SyncRoot">
2266 <summary>See <see cref="T:System.Collections.ICollection" />.</summary>
2268 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.System#Collections#IEnumerable#GetEnumerator">
2269 <summary>Returns an enumerator that iterates through a set.</summary>
2270 <returns>An enumerator that can be used to iterate through the set.</returns>
2272 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.System#Collections#Immutable#IImmutableSet{T}#Add(`0)">
2273 <summary>Adds the specified element to this immutable set.</summary>
2274 <param name="item">The element to add.</param>
2275 <returns>A new set with the element added, or this set if the element is already in the set.</returns>
2277 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.System#Collections#Immutable#IImmutableSet{T}#Clear">
2278 <summary>Retrieves an empty set that has the same sorting and ordering semantics as this instance.</summary>
2279 <returns>An empty set that has the same sorting or ordering semantics as this instance.</returns>
2281 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.System#Collections#Immutable#IImmutableSet{T}#Except(System.Collections.Generic.IEnumerable{`0})">
2282 <summary>Removes the elements in the specified collection from the current set.</summary>
2283 <param name="other">The collection of items to remove from this set.</param>
2284 <returns>A new set with the items removed; or the original set if none of the items were in the set.</returns>
2286 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.System#Collections#Immutable#IImmutableSet{T}#Intersect(System.Collections.Generic.IEnumerable{`0})">
2287 <summary>Creates an immutable set that contains elements that exist in both this set and the specified set.</summary>
2288 <param name="other">The collection to compare to the current set.</param>
2289 <returns>A new immutable set that contains any elements that exist in both sets.</returns>
2291 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.System#Collections#Immutable#IImmutableSet{T}#Remove(`0)">
2292 <summary>Removes the specified element from this immutable set.</summary>
2293 <param name="item">The element to remove.</param>
2294 <returns>A new set with the specified element removed, or the current set if the element cannot be found in the set.</returns>
2296 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.System#Collections#Immutable#IImmutableSet{T}#SymmetricExcept(System.Collections.Generic.IEnumerable{`0})">
2297 <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>
2298 <param name="other">The collection to compare to the current set.</param>
2299 <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>
2301 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.System#Collections#Immutable#IImmutableSet{T}#Union(System.Collections.Generic.IEnumerable{`0})">
2302 <summary>Creates a new immutable set that contains all elements that are present in either the current set or in the specified collection.</summary>
2303 <param name="other">The collection to add elements from.</param>
2304 <returns>A new immutable set with the items added; or the original set if all the items were already in the set.</returns>
2306 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.ToBuilder">
2307 <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>
2308 <returns>A set with the same contents as this set that can be efficiently mutated across multiple operations by using standard mutable interfaces.</returns>
2310 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.TryGetValue(`0,`0@)">
2311 <summary>Searches the set for a given value and returns the equal value it finds, if any.</summary>
2312 <param name="equalValue">The value to search for.</param>
2313 <param name="actualValue">The value from the set that the search found, or the original value if the search yielded no match.</param>
2314 <returns>A value indicating whether the search was successful.</returns>
2316 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Union(System.Collections.Generic.IEnumerable{`0})">
2317 <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>
2318 <param name="other">The collection to add elements from.</param>
2319 <returns>A new immutable hash set with the items added; or the original set if all the items were already in the set.</returns>
2321 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.WithComparer(System.Collections.Generic.IEqualityComparer{`0})">
2322 <summary>Gets an instance of the immutable hash set that uses the specified equality comparer for its search methods.</summary>
2323 <param name="equalityComparer">The equality comparer to use.</param>
2324 <returns>An instance of this immutable hash set that uses the given comparer.</returns>
2326 <member name="T:System.Collections.Immutable.ImmutableInterlocked">
2327 <summary>Contains interlocked exchange mechanisms for immutable collections.
2328 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
2330 <member name="M:System.Collections.Immutable.ImmutableInterlocked.AddOrUpdate``2(System.Collections.Immutable.ImmutableDictionary{``0,``1}@,``0,``1,System.Func{``0,``1,``1})">
2331 <summary>Obtains the value from a dictionary after having added it or updated an existing entry.</summary>
2332 <param name="location">The variable or field to atomically update if the specified is not in the dictionary.</param>
2333 <param name="key">The key for the value to add or update.</param>
2334 <param name="addValue">The value to use if no previous value exists.</param>
2335 <param name="updateValueFactory">The function that receives the key and prior value and returns the new value with which to update the dictionary.</param>
2336 <typeparam name="TKey">The type of key stored by the dictionary.</typeparam>
2337 <typeparam name="TValue">The type of value stored by the dictionary.</typeparam>
2338 <returns>The added or updated value.</returns>
2340 <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})">
2341 <summary>Obtains the value from a dictionary after having added it or updated an existing entry.</summary>
2342 <param name="location">The variable or field to atomically update if the specified is not in the dictionary.</param>
2343 <param name="key">The key for the value to add or update.</param>
2344 <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>
2345 <param name="updateValueFactory">The function that receives the key and prior value and returns the new value with which to update the dictionary.</param>
2346 <typeparam name="TKey">The type of key stored by the dictionary.</typeparam>
2347 <typeparam name="TValue">The type of value stored by the dictionary.</typeparam>
2348 <returns>The added or updated value.</returns>
2350 <member name="M:System.Collections.Immutable.ImmutableInterlocked.Enqueue``1(System.Collections.Immutable.ImmutableQueue{``0}@,``0)">
2351 <summary>Atomically enqueues an element to the end of a queue.</summary>
2352 <param name="location">The variable or field to atomically update.</param>
2353 <param name="value">The value to enqueue.</param>
2354 <typeparam name="T">The type of items contained in the collection</typeparam>
2356 <member name="M:System.Collections.Immutable.ImmutableInterlocked.GetOrAdd``2(System.Collections.Immutable.ImmutableDictionary{``0,``1}@,``0,``1)">
2357 <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>
2358 <param name="location">The variable or field to atomically update if the specified key is not in the dictionary.</param>
2359 <param name="key">The key for the value to get or add.</param>
2360 <param name="value">The value to add to the dictionary the key is not found.</param>
2361 <typeparam name="TKey">The type of the keys contained in the collection.</typeparam>
2362 <typeparam name="TValue">The type of the values contained in the collection.</typeparam>
2363 <returns>The value at the specified key or <paramref name="valueFactory" /> if the key was not present.</returns>
2365 <member name="M:System.Collections.Immutable.ImmutableInterlocked.GetOrAdd``2(System.Collections.Immutable.ImmutableDictionary{``0,``1}@,``0,System.Func{``0,``1})">
2366 <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>
2367 <param name="location">The variable or field to atomically update if the specified is not in the dictionary.</param>
2368 <param name="key">The key for the value to retrieve or add.</param>
2369 <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>
2370 <typeparam name="TKey">The type of the keys contained in the collection.</typeparam>
2371 <typeparam name="TValue">The type of the values contained in the collection.</typeparam>
2372 <returns>The value at the specified key or <paramref name="valueFactory" /> if the key was not present.</returns>
2374 <member name="M:System.Collections.Immutable.ImmutableInterlocked.GetOrAdd``3(System.Collections.Immutable.ImmutableDictionary{``0,``1}@,``0,System.Func{``0,``2,``1},``2)">
2375 <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>
2376 <param name="location">The variable or field to update if the specified is not in the dictionary.</param>
2377 <param name="key">The key for the value to retrieve or add.</param>
2378 <param name="valueFactory">The function to execute to obtain the value to insert into the dictionary if the key is not found.</param>
2379 <param name="factoryArgument">The argument to pass to the value factory.</param>
2380 <typeparam name="TKey">The type of the keys contained in the collection.</typeparam>
2381 <typeparam name="TValue">The type of the values contained in the collection.</typeparam>
2382 <typeparam name="TArg">The type of the argument supplied to the value factory.</typeparam>
2383 <returns>The value at the specified key or <paramref name="valueFactory" /> if the key was not present.</returns>
2385 <member name="M:System.Collections.Immutable.ImmutableInterlocked.InterlockedCompareExchange``1(System.Collections.Immutable.ImmutableArray{``0}@,System.Collections.Immutable.ImmutableArray{``0},System.Collections.Immutable.ImmutableArray{``0})">
2386 <summary>Compares two immutable arrays for equality and, if they are equal, replaces one of the arrays.</summary>
2387 <param name="location">The destination, whose value is compared with <paramref name="comparand" /> and possibly replaced.</param>
2388 <param name="value">The value that replaces the destination value if the comparison results in equality.</param>
2389 <param name="comparand">The value that is compared to the value at <paramref name="location" />.</param>
2390 <typeparam name="T">The type of element stored by the array.</typeparam>
2391 <returns>The original value in <paramref name="location" />.</returns>
2393 <member name="M:System.Collections.Immutable.ImmutableInterlocked.InterlockedExchange``1(System.Collections.Immutable.ImmutableArray{``0}@,System.Collections.Immutable.ImmutableArray{``0})">
2394 <summary>Sets an array to the specified array and returns a reference to the original array, as an atomic operation.</summary>
2395 <param name="location">The array to set to the specified value.</param>
2396 <param name="value">The value to which the <paramref name="location" /> parameter is set.</param>
2397 <typeparam name="T">The type of element stored by the array.</typeparam>
2398 <returns>The original value of <paramref name="location" />.</returns>
2400 <member name="M:System.Collections.Immutable.ImmutableInterlocked.InterlockedInitialize``1(System.Collections.Immutable.ImmutableArray{``0}@,System.Collections.Immutable.ImmutableArray{``0})">
2401 <summary>Sets an array to the specified array if the array has not been initialized.</summary>
2402 <param name="location">The array to set to the specified value.</param>
2403 <param name="value">The value to which the <paramref name="location" /> parameter is set, if it's not initialized.</param>
2404 <typeparam name="T">The type of element stored by the array.</typeparam>
2406 <see langword="true" /> if the array was assigned the specified value; otherwise, <see langword="false" />.</returns>
2408 <member name="M:System.Collections.Immutable.ImmutableInterlocked.Push``1(System.Collections.Immutable.ImmutableStack{``0}@,``0)">
2409 <summary>Pushes a new element onto the stack.</summary>
2410 <param name="location">The stack to update.</param>
2411 <param name="value">The value to push on the stack.</param>
2412 <typeparam name="T">The type of items in the stack.</typeparam>
2414 <member name="M:System.Collections.Immutable.ImmutableInterlocked.TryAdd``2(System.Collections.Immutable.ImmutableDictionary{``0,``1}@,``0,``1)">
2415 <summary>Adds the specified key and value to the dictionary if the key is not in the dictionary.</summary>
2416 <param name="location">The dictionary to update with the specified key and value.</param>
2417 <param name="key">The key to add, if is not already defined in the dictionary.</param>
2418 <param name="value">The value to add.</param>
2419 <typeparam name="TKey">The type of the keys contained in the collection.</typeparam>
2420 <typeparam name="TValue">The type of the values contained in the collection.</typeparam>
2422 <see langword="true" /> if the key is not in the dictionary; otherwise, <see langword="false" />.</returns>
2424 <member name="M:System.Collections.Immutable.ImmutableInterlocked.TryDequeue``1(System.Collections.Immutable.ImmutableQueue{``0}@,``0@)">
2425 <summary>Atomically removes and returns the specified element at the head of the queue, if the queue is not empty.</summary>
2426 <param name="location">The variable or field to atomically update.</param>
2427 <param name="value">Set to the value from the head of the queue, if the queue not empty.</param>
2428 <typeparam name="T">The type of items in the queue.</typeparam>
2430 <see langword="true" /> if the queue is not empty and the head element is removed; otherwise, <see langword="false" />.</returns>
2432 <member name="M:System.Collections.Immutable.ImmutableInterlocked.TryPop``1(System.Collections.Immutable.ImmutableStack{``0}@,``0@)">
2433 <summary>Removes an element from the top of the stack, if there is an element to remove.</summary>
2434 <param name="location">The stack to update.</param>
2435 <param name="value">Receives the value removed from the stack, if the stack is not empty.</param>
2436 <typeparam name="T">The type of items in the stack.</typeparam>
2438 <see langword="true" /> if an element is removed from the stack; otherwise, <see langword="false" />.</returns>
2440 <member name="M:System.Collections.Immutable.ImmutableInterlocked.TryRemove``2(System.Collections.Immutable.ImmutableDictionary{``0,``1}@,``0,``1@)">
2441 <summary>Removes the element with the specified key, if the key exists.</summary>
2442 <param name="location">The dictionary to update.</param>
2443 <param name="key">The key to remove.</param>
2444 <param name="value">Receives the value of the removed item, if the dictionary is not empty.</param>
2445 <typeparam name="TKey">The type of the keys contained in the collection.</typeparam>
2446 <typeparam name="TValue">The type of the values contained in the collection.</typeparam>
2448 <see langword="true" /> if the key was found and removed; otherwise, <see langword="false" />.</returns>
2450 <member name="M:System.Collections.Immutable.ImmutableInterlocked.TryUpdate``2(System.Collections.Immutable.ImmutableDictionary{``0,``1}@,``0,``1,``1)">
2451 <summary>Sets the specified key to the specified value if the specified key already is set to a specific value.</summary>
2452 <param name="location">The dictionary to update.</param>
2453 <param name="key">The key to update.</param>
2454 <param name="newValue">The new value to set.</param>
2455 <param name="comparisonValue">The current value for <paramref name="key" /> in order for the update to succeed.</param>
2456 <typeparam name="TKey">The type of the keys contained in the collection.</typeparam>
2457 <typeparam name="TValue">The type of the values contained in the collection.</typeparam>
2459 <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>
2461 <member name="M:System.Collections.Immutable.ImmutableInterlocked.Update``1(``0@,System.Func{``0,``0})">
2462 <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>
2463 <param name="location">The variable or field to be changed, which may be accessed by multiple threads.</param>
2464 <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>
2465 <typeparam name="T">The type of data.</typeparam>
2467 <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>
2469 <member name="M:System.Collections.Immutable.ImmutableInterlocked.Update``2(``0@,System.Func{``0,``1,``0},``1)">
2470 <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>
2471 <param name="location">The variable or field to be changed, which may be accessed by multiple threads.</param>
2472 <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>
2473 <param name="transformerArgument">The argument to pass to <paramref name="transformer" />.</param>
2474 <typeparam name="T">The type of data.</typeparam>
2475 <typeparam name="TArg">The type of argument passed to the <paramref name="transformer" />.</typeparam>
2477 <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>
2479 <member name="T:System.Collections.Immutable.ImmutableList">
2480 <summary>Provides a set of initialization methods for instances of the <see cref="T:System.Collections.Immutable.ImmutableList`1" /> class.
2481 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
2483 <member name="M:System.Collections.Immutable.ImmutableList.Create``1">
2484 <summary>Creates an empty immutable list.</summary>
2485 <typeparam name="T">The type of items to be stored in the .</typeparam>
2486 <returns>An empty immutable list.</returns>
2488 <member name="M:System.Collections.Immutable.ImmutableList.Create``1(``0)">
2489 <summary>Creates a new immutable list that contains the specified item.</summary>
2490 <param name="item">The item to prepopulate the list with.</param>
2491 <typeparam name="T">The type of items in the .</typeparam>
2492 <returns>A new that contains the specified item.</returns>
2494 <member name="M:System.Collections.Immutable.ImmutableList.Create``1(``0[])">
2495 <summary>Creates a new immutable list that contains the specified array of items.</summary>
2496 <param name="items">An array that contains the items to prepopulate the list with.</param>
2497 <typeparam name="T">The type of items in the .</typeparam>
2498 <returns>A new immutable list that contains the specified items.</returns>
2500 <member name="M:System.Collections.Immutable.ImmutableList.CreateBuilder``1">
2501 <summary>Creates a new immutable list builder.</summary>
2502 <typeparam name="T">The type of items stored by the collection.</typeparam>
2503 <returns>The immutable collection builder.</returns>
2505 <member name="M:System.Collections.Immutable.ImmutableList.CreateRange``1(System.Collections.Generic.IEnumerable{``0})">
2506 <summary>Creates a new immutable list that contains the specified items.</summary>
2507 <param name="items">The items to add to the list.</param>
2508 <typeparam name="T">The type of items in the .</typeparam>
2509 <returns>An immutable list that contains the specified items.</returns>
2511 <member name="M:System.Collections.Immutable.ImmutableList.IndexOf``1(System.Collections.Immutable.IImmutableList{``0},``0)">
2512 <summary>Searches for the specified object and returns the zero-based index of the first occurrence within the list.</summary>
2513 <param name="list">The list to search.</param>
2514 <param name="item">The object to locate in the list. The value can be null for reference types.</param>
2515 <typeparam name="T">The type of items in the list.</typeparam>
2516 <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>
2518 <member name="M:System.Collections.Immutable.ImmutableList.IndexOf``1(System.Collections.Immutable.IImmutableList{``0},``0,System.Collections.Generic.IEqualityComparer{``0})">
2519 <summary>Searches for the specified object and returns the zero-based index of the first occurrence within the list.</summary>
2520 <param name="list">The list to search.</param>
2521 <param name="item">The object to locate in the Immutable list. The value can be null for reference types.</param>
2522 <param name="equalityComparer">The equality comparer to use in the search.</param>
2523 <typeparam name="T">The type of items in the list.</typeparam>
2524 <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>
2526 <member name="M:System.Collections.Immutable.ImmutableList.IndexOf``1(System.Collections.Immutable.IImmutableList{``0},``0,System.Int32)">
2527 <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>
2528 <param name="list">The list to search.</param>
2529 <param name="item">The object to locate in the Immutable list. The value can be null for reference types.</param>
2530 <param name="startIndex">The zero-based starting index of the search. 0 (zero) is valid in an empty list.</param>
2531 <typeparam name="T">The type of items in the list.</typeparam>
2532 <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>
2534 <member name="M:System.Collections.Immutable.ImmutableList.IndexOf``1(System.Collections.Immutable.IImmutableList{``0},``0,System.Int32,System.Int32)">
2535 <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>
2536 <param name="list">The list to search.</param>
2537 <param name="item">The object to locate in the Immutable list. The value can be null for reference types.</param>
2538 <param name="startIndex">The zero-based starting index of the search. 0 (zero) is valid in an empty list.</param>
2539 <param name="count">The number of elements in the section to search.</param>
2540 <typeparam name="T">The type of items in the list.</typeparam>
2541 <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>
2543 <member name="M:System.Collections.Immutable.ImmutableList.LastIndexOf``1(System.Collections.Immutable.IImmutableList{``0},``0)">
2544 <summary>Searches for the specified object and returns the zero-based index of the last occurrence within the entire immutable list.</summary>
2545 <param name="list">The list to search.</param>
2546 <param name="item">The object to locate in the Immutable list. The value can be null for reference types.</param>
2547 <typeparam name="T">The type of items in the list.</typeparam>
2548 <returns>The zero-based index of the last occurrence of item within the entire the Immutable list, if found; otherwise, -1.</returns>
2550 <member name="M:System.Collections.Immutable.ImmutableList.LastIndexOf``1(System.Collections.Immutable.IImmutableList{``0},``0,System.Collections.Generic.IEqualityComparer{``0})">
2551 <summary>Searches for the specified object and returns the zero-based index of the last occurrence within the entire immutable list.</summary>
2552 <param name="list">The list to search.</param>
2553 <param name="item">The object to locate in the Immutable list. The value can be null for reference types.</param>
2554 <param name="equalityComparer">The equality comparer to use in the search.</param>
2555 <typeparam name="T">The type of items in the list.</typeparam>
2556 <returns>The zero-based index of the last occurrence of item within the entire the Immutable list, if found; otherwise, -1.</returns>
2558 <member name="M:System.Collections.Immutable.ImmutableList.LastIndexOf``1(System.Collections.Immutable.IImmutableList{``0},``0,System.Int32)">
2559 <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>
2560 <param name="list">The list to search.</param>
2561 <param name="item">The object to locate in the Immutable list. The value can be null for reference types.</param>
2562 <param name="startIndex">The zero-based starting index of the backward search.</param>
2563 <typeparam name="T">The type of items in the list.</typeparam>
2564 <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>
2566 <member name="M:System.Collections.Immutable.ImmutableList.LastIndexOf``1(System.Collections.Immutable.IImmutableList{``0},``0,System.Int32,System.Int32)">
2567 <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>
2568 <param name="list">The list to search.</param>
2569 <param name="item">The object to locate in the Immutable list. The value can be null for reference types.</param>
2570 <param name="startIndex">The zero-based starting index of the backward search.</param>
2571 <param name="count">The number of elements in the section to search.</param>
2572 <typeparam name="T">The type of items in the list.</typeparam>
2573 <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>
2575 <member name="M:System.Collections.Immutable.ImmutableList.Remove``1(System.Collections.Immutable.IImmutableList{``0},``0)">
2576 <summary>Removes the specified value from this list.</summary>
2577 <param name="list">The list to search.</param>
2578 <param name="value">The value to remove.</param>
2579 <typeparam name="T">The type of items in the list.</typeparam>
2580 <returns>A new immutable list with the element removed, or this list if the element is not in this list.</returns>
2582 <member name="M:System.Collections.Immutable.ImmutableList.RemoveRange``1(System.Collections.Immutable.IImmutableList{``0},System.Collections.Generic.IEnumerable{``0})">
2583 <summary>Removes the specified values from this list.</summary>
2584 <param name="list">The list to search.</param>
2585 <param name="items">The items to remove if matches are found in this list.</param>
2586 <typeparam name="T">The type of items in the list.</typeparam>
2587 <returns>A new immutable list with the elements removed.</returns>
2589 <member name="M:System.Collections.Immutable.ImmutableList.Replace``1(System.Collections.Immutable.IImmutableList{``0},``0,``0)">
2590 <summary>Replaces the first equal element in the list with the specified element.</summary>
2591 <param name="list">The list to search.</param>
2592 <param name="oldValue">The element to replace.</param>
2593 <param name="newValue">The element to replace the old element with.</param>
2594 <typeparam name="T">The type of items in the list.</typeparam>
2595 <returns>The new list -- even if the value being replaced is equal to the new value for that position.</returns>
2596 <exception cref="T:System.ArgumentException">Thrown when the old value does not exist in the list.</exception>
2598 <member name="M:System.Collections.Immutable.ImmutableList.ToImmutableList``1(System.Collections.Generic.IEnumerable{``0})">
2599 <summary>Enumerates a sequence and produces an immutable list of its contents.</summary>
2600 <param name="source">The sequence to enumerate.</param>
2601 <typeparam name="TSource">The type of the elements in the sequence.</typeparam>
2602 <returns>An immutable list that contains the items in the specified sequence.</returns>
2604 <member name="M:System.Collections.Immutable.ImmutableList.ToImmutableList``1(System.Collections.Immutable.ImmutableList{``0}.Builder)">
2605 <summary>Creates an immutable list from the current contents of the builder's collection.</summary>
2606 <param name="builder">The builder to create the immutable list from.</param>
2607 <typeparam name="TSource">The type of the elements in the list.</typeparam>
2608 <returns>An immutable list that contains the current contents in the builder's collection.</returns>
2610 <member name="T:System.Collections.Immutable.ImmutableList`1">
2611 <summary>Represents an immutable list, which is a strongly typed list of objects that can be accessed by index.
2612 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
2613 <typeparam name="T">The type of elements in the list.</typeparam>
2615 <member name="M:System.Collections.Immutable.ImmutableList`1.Add(`0)">
2616 <summary>Adds the specified object to the end of the immutable list.</summary>
2617 <param name="value">The object to add.</param>
2618 <returns>A new immutable list with the object added.</returns>
2620 <member name="M:System.Collections.Immutable.ImmutableList`1.AddRange(System.Collections.Generic.IEnumerable{`0})">
2621 <summary>Adds the elements of the specified collection to the end of the immutable list.</summary>
2622 <param name="items">The collection whose elements will be added to the end of the list.</param>
2623 <returns>A new immutable list with the elements added.</returns>
2625 <member name="M:System.Collections.Immutable.ImmutableList`1.BinarySearch(`0)">
2626 <summary>Searches the entire sorted list for an element using the default comparer and returns the zero-based index of the element.</summary>
2627 <param name="item">The object to locate. The value can be <see langword="null" /> for reference types.</param>
2628 <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>
2629 <exception cref="T:System.InvalidOperationException">The default comparer cannot find a comparer implementation of the for type T.</exception>
2631 <member name="M:System.Collections.Immutable.ImmutableList`1.BinarySearch(`0,System.Collections.Generic.IComparer{`0})">
2632 <summary>Searches the entire sorted list for an element using the specified comparer and returns the zero-based index of the element.</summary>
2633 <param name="item">The object to locate. The value can be null for reference types.</param>
2634 <param name="comparer">The comparer implementation to use when comparing elements or null to use the default comparer.</param>
2635 <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>
2636 <exception cref="T:System.InvalidOperationException">comparer is <see langword="null" />, and the default comparer cannot find an comparer implementation for type T.</exception>
2638 <member name="M:System.Collections.Immutable.ImmutableList`1.BinarySearch(System.Int32,System.Int32,`0,System.Collections.Generic.IComparer{`0})">
2639 <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>
2640 <param name="index">The zero-based starting index of the range to search.</param>
2641 <param name="count">The length of the range to search.</param>
2642 <param name="item">The object to locate. The value can be null for reference types.</param>
2643 <param name="comparer">The comparer implementation to use when comparing elements, or <see langword="null" /> to use the default comparer.</param>
2644 <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>
2645 <exception cref="T:System.ArgumentOutOfRangeException">index is less than 0 or <paramref name="count" /> is less than 0.</exception>
2646 <exception cref="T:System.ArgumentException">index and <paramref name="count" /> do not denote a valid range in the list.</exception>
2647 <exception cref="T:System.InvalidOperationException">
2648 <paramref name="comparer" /> is <see langword="null" />, and the default comparer cannot find an comparer implementation for type T.</exception>
2650 <member name="T:System.Collections.Immutable.ImmutableList`1.Builder">
2651 <summary>Represents a list that mutates with little or no memory allocations and that can produce or build on immutable list instances very efficiently.
2652 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
2653 <typeparam name="T" />
2655 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.Add(`0)">
2656 <summary>Adds an item to the immutable list.</summary>
2657 <param name="item">The item to add to the list.</param>
2659 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.AddRange(System.Collections.Generic.IEnumerable{`0})">
2660 <summary>Adds a series of elements to the end of this list.</summary>
2661 <param name="items">The elements to add to the end of the list.</param>
2663 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.BinarySearch(`0)">
2664 <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>
2665 <param name="item">The object to locate. The value can be null for reference types.</param>
2666 <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>
2667 <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>
2669 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.BinarySearch(`0,System.Collections.Generic.IComparer{`0})">
2670 <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>
2671 <param name="item">The object to locate. This value can be null for reference types.</param>
2672 <param name="comparer">The implementation to use when comparing elements, or <see langword="null" /> for the default comparer.</param>
2673 <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>
2674 <exception cref="T:System.InvalidOperationException">
2675 <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>
2677 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.BinarySearch(System.Int32,System.Int32,`0,System.Collections.Generic.IComparer{`0})">
2678 <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>
2679 <param name="index">The zero-based starting index of the range to search.</param>
2680 <param name="count">The length of the range to search.</param>
2681 <param name="item">The object to locate. This value can be null for reference types.</param>
2682 <param name="comparer">The implementation to use when comparing elements, or <see langword="null" /> for the default comparer.</param>
2683 <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>
2684 <exception cref="T:System.ArgumentOutOfRangeException">
2685 <paramref name="index" /> is less than 0.
2687 <paramref name="count" /> is less than 0.</exception>
2688 <exception cref="T:System.ArgumentException">
2689 <paramref name="index" /> and <paramref name="count" /> do not denote a valid range in the <see cref="T:System.Collections.Generic.List`1" />.</exception>
2690 <exception cref="T:System.InvalidOperationException">
2691 <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>
2693 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.Clear">
2694 <summary>Removes all items from the immutable list.</summary>
2696 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.Contains(`0)">
2697 <summary>Determines whether the immutable list contains a specific value.</summary>
2698 <param name="item">The object to locate in the list.</param>
2700 <see langword="true" /> if item is found in the list; otherwise, <see langword="false" />.</returns>
2702 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.ConvertAll``1(System.Func{`0,``0})">
2703 <summary>Creates a new immutable list from the list represented by this builder by using the converter function.</summary>
2704 <param name="converter">The converter function.</param>
2705 <typeparam name="TOutput">The type of the output of the delegate converter function.</typeparam>
2706 <returns>A new immutable list from the list represented by this builder.</returns>
2708 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.CopyTo(`0[])">
2709 <summary>Copies the entire immutable list to a compatible one-dimensional array, starting at the beginning of the target array.</summary>
2710 <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>
2712 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.CopyTo(`0[],System.Int32)">
2713 <summary>Copies the entire immutable list to a compatible one-dimensional array, starting at the specified index of the target array.</summary>
2714 <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>
2715 <param name="arrayIndex">The zero-based index in array at which copying begins.</param>
2717 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.CopyTo(System.Int32,`0[],System.Int32,System.Int32)">
2718 <summary>Copies the entire immutable list to a compatible one-dimensional array, starting at the specified index of the target array.</summary>
2719 <param name="index">The zero-based index in the source immutable list at which copying begins.</param>
2720 <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>
2721 <param name="arrayIndex">The zero-based index in <paramref name="array" /> at which copying begins.</param>
2722 <param name="count">The number of elements to copy.</param>
2724 <member name="P:System.Collections.Immutable.ImmutableList`1.Builder.Count">
2725 <summary>Gets the number of elements in this immutable list.</summary>
2726 <returns>The number of elements in this list.</returns>
2728 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.Exists(System.Predicate{`0})">
2729 <summary>Determines whether the immutable list contains elements that match the conditions defined by the specified predicate.</summary>
2730 <param name="match">The delegate that defines the conditions of the elements to search for.</param>
2732 <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>
2734 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.Find(System.Predicate{`0})">
2735 <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>
2736 <param name="match">The delegate that defines the conditions of the element to search for.</param>
2737 <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>
2739 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.FindAll(System.Predicate{`0})">
2740 <summary>Retrieves all the elements that match the conditions defined by the specified predicate.</summary>
2741 <param name="match">The delegate that defines the conditions of the elements to search for.</param>
2742 <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>
2744 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.FindIndex(System.Int32,System.Int32,System.Predicate{`0})">
2745 <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>
2746 <param name="startIndex">The zero-based starting index of the search.</param>
2747 <param name="count">The number of elements in the section to search.</param>
2748 <param name="match">The delegate that defines the conditions of the element to search for.</param>
2749 <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>
2751 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.FindIndex(System.Int32,System.Predicate{`0})">
2752 <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>
2753 <param name="startIndex">The zero-based starting index of the search.</param>
2754 <param name="match">The delegate that defines the conditions of the element to search for.</param>
2755 <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>
2757 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.FindIndex(System.Predicate{`0})">
2758 <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>
2759 <param name="match">The delegate that defines the conditions of the element to search for.</param>
2760 <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>
2762 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.FindLast(System.Predicate{`0})">
2763 <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>
2764 <param name="match">The delegate that defines the conditions of the element to search for.</param>
2765 <returns>The last element that matches the conditions defined by the specified predicate, found; otherwise, the default value for type <paramref name="T" />.</returns>
2767 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.FindLastIndex(System.Int32,System.Int32,System.Predicate{`0})">
2768 <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>
2769 <param name="startIndex">The zero-based starting index of the backward search.</param>
2770 <param name="count">The number of elements in the section to search.</param>
2771 <param name="match">The delegate that defines the conditions of the element to search for.</param>
2772 <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>
2774 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.FindLastIndex(System.Int32,System.Predicate{`0})">
2775 <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>
2776 <param name="startIndex">The zero-based starting index of the backward search.</param>
2777 <param name="match">The delegate that defines the conditions of the element to search for.</param>
2778 <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>
2780 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.FindLastIndex(System.Predicate{`0})">
2781 <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>
2782 <param name="match">The delegate that defines the conditions of the element to search for.</param>
2783 <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>
2785 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.ForEach(System.Action{`0})">
2786 <summary>Performs the specified action on each element of the list.</summary>
2787 <param name="action">The delegate to perform on each element of the list.</param>
2789 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.GetEnumerator">
2790 <summary>Returns an enumerator that iterates through the collection.</summary>
2791 <returns>An enumerator that can be used to iterate through the list.</returns>
2793 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.GetRange(System.Int32,System.Int32)">
2794 <summary>Creates a shallow copy of a range of elements in the source immutable list.</summary>
2795 <param name="index">The zero-based index at which the range starts.</param>
2796 <param name="count">The number of elements in the range.</param>
2797 <returns>A shallow copy of a range of elements in the source immutable list.</returns>
2799 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.IndexOf(`0)">
2800 <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>
2801 <param name="item">The object to locate in the immutable list. The value can be <see langword="null" /> for reference types.</param>
2802 <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>
2804 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.IndexOf(`0,System.Int32)">
2805 <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>
2806 <param name="item">The object to locate in the immutable list. The value can be <see langword="null" /> for reference types.</param>
2807 <param name="index">The zero-based starting index of the search. 0 (zero) is valid in an empty list.</param>
2808 <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>
2810 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.IndexOf(`0,System.Int32,System.Int32)">
2811 <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>
2812 <param name="item">The object to locate in the immutable list. The value can be <see langword="null" /> for reference types.</param>
2813 <param name="index">The zero-based starting index of the search. 0 (zero) is valid in an empty list.</param>
2814 <param name="count">The number of elements in the section to search.</param>
2815 <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>
2817 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.IndexOf(`0,System.Int32,System.Int32,System.Collections.Generic.IEqualityComparer{`0})">
2818 <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>
2819 <param name="item">The object to locate in the immutable list. The value can be <see langword="null" /> for reference types.</param>
2820 <param name="index">The zero-based starting index of the search. 0 (zero) is valid in an empty list.</param>
2821 <param name="count">The number of elements to search.</param>
2822 <param name="equalityComparer">The value comparer to use for comparing elements for equality.</param>
2823 <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>
2825 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.Insert(System.Int32,`0)">
2826 <summary>Inserts an item to the immutable list at the specified index.</summary>
2827 <param name="index">The zero-based index at which <paramref name="item" /> should be inserted.</param>
2828 <param name="item">The object to insert into the immutable list.</param>
2830 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.InsertRange(System.Int32,System.Collections.Generic.IEnumerable{`0})">
2831 <summary>Inserts the elements of a collection into the immutable list at the specified index.</summary>
2832 <param name="index">The zero-based index at which the new elements should be inserted.</param>
2833 <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>
2835 <member name="P:System.Collections.Immutable.ImmutableList`1.Builder.Item(System.Int32)">
2836 <summary>Gets or sets the value for a given index in the list.</summary>
2837 <param name="index">The index of the item to get or set.</param>
2838 <returns>The value at the specified index.</returns>
2840 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.ItemRef(System.Int32)">
2841 <summary>Gets a read-only reference to the value for a given <paramref name="index" /> into the list.</summary>
2842 <param name="index">The index of the desired element.</param>
2843 <returns>A read-only reference to the value at the specified <paramref name="index" />.</returns>
2845 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.LastIndexOf(`0)">
2846 <summary>Searches for the specified object and returns the zero-based index of the last occurrence within the entire immutable list.</summary>
2847 <param name="item">The object to locate in the immutable list. The value can be <see langword="null" /> for reference types.</param>
2848 <returns>The zero-based index of the last occurrence of <paramref name="item" /> within the entire immutable list, if found; otherwise, -1.</returns>
2850 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.LastIndexOf(`0,System.Int32)">
2851 <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>
2852 <param name="item">The object to locate in the immutable list. The value can be <see langword="null" /> for reference types.</param>
2853 <param name="startIndex">The zero-based starting index of the backward search.</param>
2854 <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>
2856 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.LastIndexOf(`0,System.Int32,System.Int32)">
2857 <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>
2858 <param name="item">The object to locate in the immutable list. The value can be <see langword="null" /> for reference types.</param>
2859 <param name="startIndex">The zero-based starting index of the backward search.</param>
2860 <param name="count">The number of elements in the section to search.</param>
2861 <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>
2863 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.LastIndexOf(`0,System.Int32,System.Int32,System.Collections.Generic.IEqualityComparer{`0})">
2864 <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>
2865 <param name="item">The object to locate in the immutable list. The value can be <see langword="null" /> for reference types.</param>
2866 <param name="startIndex">The zero-based starting index of the search. 0 (zero) is valid in an empty list.</param>
2867 <param name="count">The number of elements to search.</param>
2868 <param name="equalityComparer">The value comparer to use for comparing elements for equality.</param>
2869 <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>
2871 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.Remove(`0)">
2872 <summary>Removes the first occurrence of a specific object from the immutable list.</summary>
2873 <param name="item">The object to remove from the list.</param>
2875 <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>
2877 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.RemoveAll(System.Predicate{`0})">
2878 <summary>Removes all the elements that match the conditions defined by the specified predicate.</summary>
2879 <param name="match">The delegate that defines the conditions of the elements to remove.</param>
2880 <returns>The number of elements removed from the immutable list.</returns>
2882 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.RemoveAt(System.Int32)">
2883 <summary>Removes the item at the specified index of the immutable list.</summary>
2884 <param name="index">The zero-based index of the item to remove from the list.</param>
2886 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.Reverse">
2887 <summary>Reverses the order of the elements in the entire immutable list.</summary>
2889 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.Reverse(System.Int32,System.Int32)">
2890 <summary>Reverses the order of the elements in the specified range of the immutable list.</summary>
2891 <param name="index">The zero-based starting index of the range to reverse.</param>
2892 <param name="count">The number of elements in the range to reverse.</param>
2894 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.Sort">
2895 <summary>Sorts the elements in the entire immutable list by using the default comparer.</summary>
2897 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.Sort(System.Collections.Generic.IComparer{`0})">
2898 <summary>Sorts the elements in the entire immutable list by using the specified comparer.</summary>
2899 <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>
2901 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.Sort(System.Comparison{`0})">
2902 <summary>Sorts the elements in the entire immutable list by using the specified comparison object.</summary>
2903 <param name="comparison">The object to use when comparing elements.</param>
2904 <exception cref="T:System.ArgumentNullException">
2905 <paramref name="comparison" /> is <see langword="null" />.</exception>
2907 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.Sort(System.Int32,System.Int32,System.Collections.Generic.IComparer{`0})">
2908 <summary>Sorts the elements in a range of elements in the immutable list by using the specified comparer.</summary>
2909 <param name="index">The zero-based starting index of the range to sort.</param>
2910 <param name="count">The length of the range to sort.</param>
2911 <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>
2913 <member name="P:System.Collections.Immutable.ImmutableList`1.Builder.System#Collections#Generic#ICollection{T}#IsReadOnly">
2914 <summary>Gets a value that indicates whether this instance is read-only.</summary>
2915 <returns>Always <c>false</c>.</returns>
2917 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.System#Collections#Generic#IEnumerable{T}#GetEnumerator">
2918 <summary>Returns an enumerator that iterates through the collection.</summary>
2919 <returns>An enumerator that can be used to iterate through the collection.</returns>
2921 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.System#Collections#ICollection#CopyTo(System.Array,System.Int32)">
2922 <summary>Copies the elements of the list to an array, starting at a particular array index.</summary>
2923 <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>
2924 <param name="arrayIndex">The zero-based index in <paramref name="array" /> at which copying begins.</param>
2925 <exception cref="T:System.NotImplementedException" />
2927 <member name="P:System.Collections.Immutable.ImmutableList`1.Builder.System#Collections#ICollection#IsSynchronized">
2928 <summary>Gets a value that indicates whether access to the <see cref="T:System.Collections.ICollection" /> is synchronized (thread safe).</summary>
2930 <see langword="true" /> if access to the <see cref="T:System.Collections.ICollection" /> is synchronized (thread safe); otherwise, <see langword="false" />.</returns>
2932 <member name="P:System.Collections.Immutable.ImmutableList`1.Builder.System#Collections#ICollection#SyncRoot">
2933 <summary>Gets an object that can be used to synchronize access to the <see cref="T:System.Collections.ICollection" />.</summary>
2934 <returns>An object that can be used to synchronize access to the <see cref="T:System.Collections.ICollection" />.</returns>
2936 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.System#Collections#IEnumerable#GetEnumerator">
2937 <summary>Returns an enumerator that iterates through the collection.</summary>
2938 <returns>An enumerator that can be used to iterate through the collection.</returns>
2940 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.System#Collections#IList#Add(System.Object)">
2941 <summary>Adds an item to the list.</summary>
2942 <param name="value">The object to add to the list.</param>
2943 <returns>The position into which the new element was inserted, or -1 to indicate that the item was not inserted into the collection.</returns>
2944 <exception cref="T:System.NotImplementedException" />
2946 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.System#Collections#IList#Clear">
2947 <summary>Removes all items from the list.</summary>
2948 <exception cref="T:System.NotImplementedException" />
2950 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.System#Collections#IList#Contains(System.Object)">
2951 <summary>Determines whether the list contains a specific value.</summary>
2952 <param name="value">The object to locate in the list.</param>
2954 <see langword="true" /> if the <see cref="T:System.Object" /> is found in the list; otherwise, <see langword="false" />.</returns>
2955 <exception cref="T:System.NotImplementedException" />
2957 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.System#Collections#IList#IndexOf(System.Object)">
2958 <summary>Determines the index of a specific item in the list.</summary>
2959 <param name="value">The object to locate in the list.</param>
2960 <returns>The index of <paramref name="value" /> if found in the list; otherwise, -1.</returns>
2961 <exception cref="T:System.NotImplementedException" />
2963 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.System#Collections#IList#Insert(System.Int32,System.Object)">
2964 <summary>Inserts an item to the list at the specified index.</summary>
2965 <param name="index">The zero-based index at which <paramref name="value" /> should be inserted.</param>
2966 <param name="value">The object to insert into the list.</param>
2967 <exception cref="T:System.NotImplementedException" />
2969 <member name="P:System.Collections.Immutable.ImmutableList`1.Builder.System#Collections#IList#IsFixedSize">
2970 <summary>Gets a value that indicates whether the <see cref="T:System.Collections.IList" /> has a fixed size.</summary>
2972 <see langword="true" /> if the <see cref="T:System.Collections.IList" /> has a fixed size; otherwise, <see langword="false" />.</returns>
2974 <member name="P:System.Collections.Immutable.ImmutableList`1.Builder.System#Collections#IList#IsReadOnly">
2975 <summary>Gets a value that indicates whether the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only.</summary>
2977 <see langword="true" /> if the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only; otherwise, <see langword="false" />.</returns>
2979 <member name="P:System.Collections.Immutable.ImmutableList`1.Builder.System#Collections#IList#Item(System.Int32)">
2980 <summary>Gets or sets the <see cref="T:System.Object" /> at the specified index.</summary>
2981 <param name="index">The index.</param>
2983 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.System#Collections#IList#Remove(System.Object)">
2984 <summary>Removes the first occurrence of a specific object from the list.</summary>
2985 <param name="value">The object to remove from the list.</param>
2986 <exception cref="T:System.NotImplementedException" />
2988 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.ToImmutable">
2989 <summary>Creates an immutable list based on the contents of this instance.</summary>
2990 <returns>An immutable list.</returns>
2992 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.TrueForAll(System.Predicate{`0})">
2993 <summary>Determines whether every element in the immutable list matches the conditions defined by the specified predicate.</summary>
2994 <param name="match">The delegate that defines the conditions to check against the elements.</param>
2996 <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>
2998 <member name="M:System.Collections.Immutable.ImmutableList`1.Clear">
2999 <summary>Removes all elements from the immutable list.</summary>
3000 <returns>An empty list that retains the same sort or unordered semantics that this instance has.</returns>
3002 <member name="M:System.Collections.Immutable.ImmutableList`1.Contains(`0)">
3003 <summary>Determines whether this immutable list contains the specified value.</summary>
3004 <param name="value">The value to locate.</param>
3006 <see langword="true" /> if the list contains the specified value; otherwise, <see langword="false" />.</returns>
3008 <member name="M:System.Collections.Immutable.ImmutableList`1.ConvertAll``1(System.Func{`0,``0})">
3009 <summary>Converts the elements in the current immutable list to another type, and returns a list containing the converted elements.</summary>
3010 <param name="converter">A delegate that converts each element from one type to another type.</param>
3011 <typeparam name="TOutput">The type of the elements of the target array.</typeparam>
3012 <returns>A list of the target type containing the converted elements from the current <see cref="T:System.Collections.Immutable.ImmutableList`1" />.</returns>
3014 <member name="M:System.Collections.Immutable.ImmutableList`1.CopyTo(`0[])">
3015 <summary>Copies the entire immutable list to a compatible one-dimensional array, starting at the beginning of the target array.</summary>
3016 <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>
3018 <member name="M:System.Collections.Immutable.ImmutableList`1.CopyTo(`0[],System.Int32)">
3019 <summary>Copies the entire immutable list to a compatible one-dimensional array, starting at the specified index of the target array.</summary>
3020 <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>
3021 <param name="arrayIndex">The zero-based index in <paramref name="array" /> at which copying begins.</param>
3023 <member name="M:System.Collections.Immutable.ImmutableList`1.CopyTo(System.Int32,`0[],System.Int32,System.Int32)">
3024 <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>
3025 <param name="index">The zero-based index in the source immutable list at which copying begins.</param>
3026 <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>
3027 <param name="arrayIndex">The zero-based index in array at which copying begins.</param>
3028 <param name="count">The number of elements to copy.</param>
3030 <member name="P:System.Collections.Immutable.ImmutableList`1.Count">
3031 <summary>Gets the number of elements contained in the list.</summary>
3032 <returns>The number of elements in the list.</returns>
3034 <member name="F:System.Collections.Immutable.ImmutableList`1.Empty">
3035 <summary>Gets an empty set with the default sort comparer.</summary>
3037 <member name="T:System.Collections.Immutable.ImmutableList`1.Enumerator">
3038 <summary>Enumerates the contents of a binary tree.
3039 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
3040 <typeparam name="T" />
3042 <member name="P:System.Collections.Immutable.ImmutableList`1.Enumerator.Current">
3043 <summary>Gets the element at the current position of the enumerator.</summary>
3044 <returns>The element at the current position of the enumerator.</returns>
3046 <member name="M:System.Collections.Immutable.ImmutableList`1.Enumerator.Dispose">
3047 <summary>Releases the resources used by the current instance of the <see cref="T:System.Collections.Immutable.ImmutableList`1.Enumerator" /> class.</summary>
3049 <member name="M:System.Collections.Immutable.ImmutableList`1.Enumerator.MoveNext">
3050 <summary>Advances enumeration to the next element of the immutable list.</summary>
3052 <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>
3054 <member name="M:System.Collections.Immutable.ImmutableList`1.Enumerator.Reset">
3055 <summary>Sets the enumerator to its initial position, which is before the first element in the immutable list.</summary>
3057 <member name="P:System.Collections.Immutable.ImmutableList`1.Enumerator.System#Collections#IEnumerator#Current">
3058 <summary>The current element.</summary>
3060 <member name="M:System.Collections.Immutable.ImmutableList`1.Exists(System.Predicate{`0})">
3061 <summary>Determines whether the immutable list contains elements that match the conditions defined by the specified predicate.</summary>
3062 <param name="match">The delegate that defines the conditions of the elements to search for.</param>
3064 <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>
3066 <member name="M:System.Collections.Immutable.ImmutableList`1.Find(System.Predicate{`0})">
3067 <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>
3068 <param name="match">The delegate that defines the conditions of the element to search for.</param>
3069 <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>
3071 <member name="M:System.Collections.Immutable.ImmutableList`1.FindAll(System.Predicate{`0})">
3072 <summary>Retrieves all the elements that match the conditions defined by the specified predicate.</summary>
3073 <param name="match">The delegate that defines the conditions of the elements to search for.</param>
3074 <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>
3076 <member name="M:System.Collections.Immutable.ImmutableList`1.FindIndex(System.Int32,System.Int32,System.Predicate{`0})">
3077 <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>
3078 <param name="startIndex">The zero-based starting index of the search.</param>
3079 <param name="count">The number of elements in the section to search.</param>
3080 <param name="match">The delegate that defines the conditions of the element to search for.</param>
3081 <returns>The zero-based index of the first occurrence of an element that matches the conditions defined by match, if found; otherwise, ?1.</returns>
3083 <member name="M:System.Collections.Immutable.ImmutableList`1.FindIndex(System.Int32,System.Predicate{`0})">
3084 <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>
3085 <param name="startIndex">The zero-based starting index of the search.</param>
3086 <param name="match">The delegate that defines the conditions of the element to search for.</param>
3087 <returns>The zero-based index of the first occurrence of an element that matches the conditions defined by match, if found; otherwise, ?1.</returns>
3089 <member name="M:System.Collections.Immutable.ImmutableList`1.FindIndex(System.Predicate{`0})">
3090 <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>
3091 <param name="match">The delegate that defines the conditions of the element to search for.</param>
3092 <returns>The zero-based index of the first occurrence of an element that matches the conditions defined by match, if found; otherwise, ?1.</returns>
3094 <member name="M:System.Collections.Immutable.ImmutableList`1.FindLast(System.Predicate{`0})">
3095 <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>
3096 <param name="match">The delegate that defines the conditions of the element to search for.</param>
3097 <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>
3099 <member name="M:System.Collections.Immutable.ImmutableList`1.FindLastIndex(System.Int32,System.Int32,System.Predicate{`0})">
3100 <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>
3101 <param name="startIndex">The zero-based starting index of the backward search.</param>
3102 <param name="count">The number of elements in the section to search.</param>
3103 <param name="match">The delegate that defines the conditions of the element to search for.</param>
3104 <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>
3106 <member name="M:System.Collections.Immutable.ImmutableList`1.FindLastIndex(System.Int32,System.Predicate{`0})">
3107 <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>
3108 <param name="startIndex">The zero-based starting index of the backward search.</param>
3109 <param name="match">The delegate that defines the conditions of the element to search for.</param>
3110 <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>
3112 <member name="M:System.Collections.Immutable.ImmutableList`1.FindLastIndex(System.Predicate{`0})">
3113 <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>
3114 <param name="match">The delegate that defines the conditions of the element to search for.</param>
3115 <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>
3117 <member name="M:System.Collections.Immutable.ImmutableList`1.ForEach(System.Action{`0})">
3118 <summary>Performs the specified action on each element of the immutable list.</summary>
3119 <param name="action">The delegate to perform on each element of the immutable list.</param>
3121 <member name="M:System.Collections.Immutable.ImmutableList`1.GetEnumerator">
3122 <summary>Returns an enumerator that iterates through the immutable list.</summary>
3123 <returns>An enumerator that can be used to iterate through the immutable list.</returns>
3125 <member name="M:System.Collections.Immutable.ImmutableList`1.GetRange(System.Int32,System.Int32)">
3126 <summary>Creates a shallow copy of a range of elements in the source immutable list.</summary>
3127 <param name="index">The zero-based index at which the range starts.</param>
3128 <param name="count">The number of elements in the range.</param>
3129 <returns>A shallow copy of a range of elements in the source immutable list.</returns>
3131 <member name="M:System.Collections.Immutable.ImmutableList`1.IndexOf(`0)">
3132 <summary>Searches for the specified object and returns the zero-based index of the first occurrence within the entire immutable list.</summary>
3133 <param name="value">The object to locate in the immutable list. The value can be <c>null</c> for reference types.</param>
3134 <returns>The zero-based index of the first occurrence of <paramref name="value" /> within the entire immutable list, if found; otherwise, ?1.</returns>
3136 <member name="M:System.Collections.Immutable.ImmutableList`1.IndexOf(`0,System.Int32,System.Int32,System.Collections.Generic.IEqualityComparer{`0})">
3137 <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>
3138 <param name="item">The object to locate in the list The value can be null for reference types.</param>
3139 <param name="index">The zero-based starting index of the search. 0 (zero) is valid in an empty list.</param>
3140 <param name="count">The number of elements in the section to search.</param>
3141 <param name="equalityComparer">The equality comparer to use in the search.</param>
3142 <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>
3144 <member name="M:System.Collections.Immutable.ImmutableList`1.Insert(System.Int32,`0)">
3145 <summary>Inserts the specified object into the immutable list at the specified index.</summary>
3146 <param name="index">The zero-based index at which to insert the object.</param>
3147 <param name="item">The object to insert.</param>
3148 <returns>The new immutable list after the object is inserted.</returns>
3150 <member name="M:System.Collections.Immutable.ImmutableList`1.InsertRange(System.Int32,System.Collections.Generic.IEnumerable{`0})">
3151 <summary>Inserts the elements of a collection into the immutable list at the specified index.</summary>
3152 <param name="index">The zero-based index at which to insert the elements.</param>
3153 <param name="items">The collection whose elements should be inserted.</param>
3154 <returns>The new immutable list after the elements are inserted.</returns>
3156 <member name="P:System.Collections.Immutable.ImmutableList`1.IsEmpty">
3157 <summary>Gets a value that indicates whether this list is empty.</summary>
3159 <see langword="true" /> if the list is empty; otherwise, <see langword="false" />.</returns>
3161 <member name="P:System.Collections.Immutable.ImmutableList`1.Item(System.Int32)">
3162 <summary>Gets the element at the specified index of the list.</summary>
3163 <param name="index">The index of the element to retrieve.</param>
3164 <returns>The element at the specified index.</returns>
3165 <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>
3167 <member name="M:System.Collections.Immutable.ImmutableList`1.ItemRef(System.Int32)">
3168 <summary>Gets a read-only reference to the element of the set at the given <paramref name="index" />.</summary>
3169 <param name="index">The 0-based index of the element in the set to return.</param>
3170 <returns>A read-only reference to the element at the given position.</returns>
3171 <exception cref="T:System.IndexOutOfRangeException">
3172 <paramref name="index" /> is negative or not less than <see cref="P:System.Collections.Immutable.ImmutableList`1.Count" />.</exception>
3174 <member name="M:System.Collections.Immutable.ImmutableList`1.LastIndexOf(`0,System.Int32,System.Int32,System.Collections.Generic.IEqualityComparer{`0})">
3175 <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>
3176 <param name="item">The object to locate in the list. The value can be null for reference types.</param>
3177 <param name="index">The zero-based starting index of the backward search.</param>
3178 <param name="count">The number of elements in the section to search.</param>
3179 <param name="equalityComparer">The equality comparer to use in the search.</param>
3180 <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>
3182 <member name="M:System.Collections.Immutable.ImmutableList`1.Remove(`0)">
3183 <summary>Removes the first occurrence of the specified object from this immutable list.</summary>
3184 <param name="value">The object to remove.</param>
3185 <returns>A new list with the object removed, or this list if the specified object is not in this list.</returns>
3187 <member name="M:System.Collections.Immutable.ImmutableList`1.Remove(`0,System.Collections.Generic.IEqualityComparer{`0})">
3188 <summary>Removes the first occurrence of the object that matches the specified value from this immutable list.</summary>
3189 <param name="value">The value of the element to remove from the list.</param>
3190 <param name="equalityComparer">The equality comparer to use in the search.</param>
3191 <returns>A new list with the object removed, or this list if the specified object is not in this list.</returns>
3193 <member name="M:System.Collections.Immutable.ImmutableList`1.RemoveAll(System.Predicate{`0})">
3194 <summary>Removes all the elements that match the conditions defined by the specified predicate.</summary>
3195 <param name="match">The delegate that defines the conditions of the elements to remove.</param>
3196 <returns>The new list with the elements removed.</returns>
3198 <member name="M:System.Collections.Immutable.ImmutableList`1.RemoveAt(System.Int32)">
3199 <summary>Removes the element at the specified index.</summary>
3200 <param name="index">The zero-based index of the element to remove.</param>
3201 <returns>A new list with the element removed.</returns>
3203 <member name="M:System.Collections.Immutable.ImmutableList`1.RemoveRange(System.Collections.Generic.IEnumerable{`0})">
3204 <summary>Removes a range of elements from this immutable list.</summary>
3205 <param name="items">The collection whose elements should be removed if matches are found in this list.</param>
3206 <returns>A new list with the elements removed.</returns>
3208 <member name="M:System.Collections.Immutable.ImmutableList`1.RemoveRange(System.Collections.Generic.IEnumerable{`0},System.Collections.Generic.IEqualityComparer{`0})">
3209 <summary>Removes the specified values from this list.</summary>
3210 <param name="items">The items to remove if matches are found in this list.</param>
3211 <param name="equalityComparer">The equality comparer to use in the search.</param>
3212 <returns>A new list with the elements removed.</returns>
3214 <member name="M:System.Collections.Immutable.ImmutableList`1.RemoveRange(System.Int32,System.Int32)">
3215 <summary>Removes a range of elements, starting from the specified index and containing the specified number of elements, from this immutable list.</summary>
3216 <param name="index">The starting index to begin removal.</param>
3217 <param name="count">The number of elements to remove.</param>
3218 <returns>A new list with the elements removed.</returns>
3220 <member name="M:System.Collections.Immutable.ImmutableList`1.Replace(`0,`0)">
3221 <summary>Replaces the specified element in the immutable list with a new element.</summary>
3222 <param name="oldValue">The element to replace.</param>
3223 <param name="newValue">The element to replace <paramref name="oldValue" /> with.</param>
3224 <returns>The new list with the replaced element, even if it is equal to the old element.</returns>
3225 <exception cref="T:System.ArgumentException">
3226 <paramref name="oldValue" /> does not exist in the immutable list.</exception>
3228 <member name="M:System.Collections.Immutable.ImmutableList`1.Replace(`0,`0,System.Collections.Generic.IEqualityComparer{`0})">
3229 <summary>Replaces the specified element in the immutable list with a new element.</summary>
3230 <param name="oldValue">The element to replace in the list.</param>
3231 <param name="newValue">The element to replace <paramref name="oldValue" /> with.</param>
3232 <param name="equalityComparer">The comparer to use to check for equality.</param>
3233 <returns>A new list with the object replaced, or this list if the specified object is not in this list.</returns>
3235 <member name="M:System.Collections.Immutable.ImmutableList`1.Reverse">
3236 <summary>Reverses the order of the elements in the entire immutable list.</summary>
3237 <returns>The reversed list.</returns>
3239 <member name="M:System.Collections.Immutable.ImmutableList`1.Reverse(System.Int32,System.Int32)">
3240 <summary>Reverses the order of the elements in the specified range of the immutable list.</summary>
3241 <param name="index">The zero-based starting index of the range to reverse.</param>
3242 <param name="count">The number of elements in the range to reverse.</param>
3243 <returns>The reversed list.</returns>
3245 <member name="M:System.Collections.Immutable.ImmutableList`1.SetItem(System.Int32,`0)">
3246 <summary>Replaces an element at a given position in the immutable list with the specified element.</summary>
3247 <param name="index">The position in the list of the element to replace.</param>
3248 <param name="value">The element to replace the old element with.</param>
3249 <returns>The new list with the replaced element, even if it is equal to the old element at that position.</returns>
3251 <member name="M:System.Collections.Immutable.ImmutableList`1.Sort">
3252 <summary>Sorts the elements in the entire immutable list using the default comparer.</summary>
3253 <returns>The sorted list.</returns>
3255 <member name="M:System.Collections.Immutable.ImmutableList`1.Sort(System.Collections.Generic.IComparer{`0})">
3256 <summary>Sorts the elements in the entire immutable list using the specified comparer.</summary>
3257 <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>
3258 <returns>The sorted list.</returns>
3260 <member name="M:System.Collections.Immutable.ImmutableList`1.Sort(System.Comparison{`0})">
3261 <summary>Sorts the elements in the entire immutable list using the specified comparer.</summary>
3262 <param name="comparison">The delegate to use when comparing elements.</param>
3263 <returns>The sorted list.</returns>
3264 <exception cref="T:System.ArgumentNullException">
3265 <paramref name="comparison" /> is <see langword="null" />.</exception>
3267 <member name="M:System.Collections.Immutable.ImmutableList`1.Sort(System.Int32,System.Int32,System.Collections.Generic.IComparer{`0})">
3268 <summary>Sorts a range of elements in the immutable list using the specified comparer.</summary>
3269 <param name="index">The zero-based starting index of the range to sort.</param>
3270 <param name="count">The length of the range to sort.</param>
3271 <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>
3272 <returns>The sorted list.</returns>
3274 <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#Generic#ICollection{T}#Add(`0)">
3275 <summary>Adds the specified item to the immutable list.</summary>
3276 <param name="item">The item to add.</param>
3277 <exception cref="T:System.NotImplementedException" />
3279 <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#Generic#ICollection{T}#Clear">
3280 <summary>Removes all items from the immutable list.</summary>
3281 <exception cref="T:System.NotSupportedException" />
3283 <member name="P:System.Collections.Immutable.ImmutableList`1.System#Collections#Generic#ICollection{T}#IsReadOnly">
3284 <summary>Gets a value indicating whether the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only.</summary>
3286 <see langword="true" /> if the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only; otherwise, <see langword="false" />.</returns>
3288 <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#Generic#ICollection{T}#Remove(`0)">
3289 <summary>Removes the first occurrence of a specific object from the immutable list.</summary>
3290 <param name="item">The object to remove.</param>
3292 <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>
3294 <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#Generic#IEnumerable{T}#GetEnumerator">
3295 <summary>Returns an enumerator that iterates through the immutable list.</summary>
3296 <returns>An enumerator that can be used to iterate through the list.</returns>
3298 <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#Generic#IList{T}#Insert(System.Int32,`0)">
3299 <summary>Inserts an object in the immutable list at the specified index.</summary>
3300 <param name="index">The zero-based index at which <paramref name="item" /> should be inserted.</param>
3301 <param name="item">The object to insert.</param>
3302 <exception cref="T:System.NotSupportedException" />
3304 <member name="P:System.Collections.Immutable.ImmutableList`1.System#Collections#Generic#IList{T}#Item(System.Int32)">
3305 <summary>Gets or sets the value at the specified index.</summary>
3306 <param name="index" />
3307 <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>
3308 <exception cref="T:System.NotSupportedException">Always thrown from the setter.</exception>
3310 <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#Generic#IList{T}#RemoveAt(System.Int32)">
3311 <summary>Removes the value at the specified index.</summary>
3312 <param name="index">The zero-based index of the item to remove.</param>
3313 <exception cref="T:System.NotSupportedException" />
3315 <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#ICollection#CopyTo(System.Array,System.Int32)">
3316 <summary>Copies the entire immutable list to a compatible one-dimensional array, starting at the specified array index.</summary>
3317 <param name="array">The one-dimensional array that is the destination of the elements copied from immutable list.</param>
3318 <param name="arrayIndex">The zero-based index in <paramref name="array" /> at which copying begins.</param>
3320 <member name="P:System.Collections.Immutable.ImmutableList`1.System#Collections#ICollection#IsSynchronized">
3321 <summary>See the <see cref="T:System.Collections.ICollection" /> interface.</summary>
3323 <member name="P:System.Collections.Immutable.ImmutableList`1.System#Collections#ICollection#SyncRoot">
3324 <summary>See <see cref="T:System.Collections.ICollection" />.</summary>
3326 <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#IEnumerable#GetEnumerator">
3327 <summary>Returns an enumerator that iterates through the immutable list.</summary>
3328 <returns>An enumerator that can be used to iterate through the list.</returns>
3330 <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#IList#Add(System.Object)">
3331 <summary>Adds an item to the immutable list.</summary>
3332 <param name="value">The object to add to the list.</param>
3333 <returns>The position into which the new element was inserted, or -1 to indicate that the item was not inserted into the list.</returns>
3334 <exception cref="T:System.NotSupportedException">Always thrown.</exception>
3336 <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#IList#Clear">
3337 <summary>Removes all items from the immutable list.</summary>
3338 <exception cref="T:System.NotSupportedException">Always thrown.</exception>
3340 <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#IList#Contains(System.Object)">
3341 <summary>Determines whether the immutable list contains a specific value.</summary>
3342 <param name="value">The object to locate in the list.</param>
3344 <see langword="true" /> if the object is found in the list; otherwise, <see langword="false" />.</returns>
3345 <exception cref="T:System.NotImplementedException" />
3347 <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#IList#IndexOf(System.Object)">
3348 <summary>Determines the index of a specific item in the immutable list.</summary>
3349 <param name="value">The object to locate in the list.</param>
3350 <returns>The index of <paramref name="value" /> if found in the list; otherwise, -1.</returns>
3351 <exception cref="T:System.NotImplementedException" />
3353 <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#IList#Insert(System.Int32,System.Object)">
3354 <summary>Inserts an item into the immutable list at the specified index.</summary>
3355 <param name="index">The zero-based index at which <paramref name="value" /> should be inserted.</param>
3356 <param name="value">The object to insert into the list.</param>
3357 <exception cref="T:System.NotSupportedException">Always thrown.</exception>
3359 <member name="P:System.Collections.Immutable.ImmutableList`1.System#Collections#IList#IsFixedSize">
3360 <summary>Gets a value indicating whether the <see cref="T:System.Collections.IList" /> has a fixed size.</summary>
3362 <see langword="true" /> if the <see cref="T:System.Collections.IList" /> has a fixed size; otherwise, <see langword="false" />.</returns>
3364 <member name="P:System.Collections.Immutable.ImmutableList`1.System#Collections#IList#IsReadOnly">
3365 <summary>Gets a value indicating whether the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only.</summary>
3367 <see langword="true" /> if the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only; otherwise, <see langword="false" />.</returns>
3369 <member name="P:System.Collections.Immutable.ImmutableList`1.System#Collections#IList#Item(System.Int32)">
3370 <summary>Gets or sets the <see cref="T:System.Object" /> at the specified index.</summary>
3371 <param name="index">The index.</param>
3372 <returns>The value at the specified index.</returns>
3373 <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>
3374 <exception cref="T:System.NotSupportedException">Always thrown from the setter.</exception>
3376 <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#IList#Remove(System.Object)">
3377 <summary>Removes the first occurrence of a specific object from the immutable list.</summary>
3378 <param name="value">The object to remove from the list.</param>
3379 <exception cref="T:System.NotSupportedException">Always thrown.</exception>
3381 <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#IList#RemoveAt(System.Int32)">
3382 <summary>Removes the item at the specified index of the immutable list.</summary>
3383 <param name="index">The zero-based index of the item to remove.</param>
3384 <exception cref="T:System.NotSupportedException">Always thrown.</exception>
3386 <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#Immutable#IImmutableList{T}#Add(`0)">
3387 <summary>Adds the specified value to this immutable list.</summary>
3388 <param name="value">The value to add.</param>
3389 <returns>A new list with the element added.</returns>
3391 <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#Immutable#IImmutableList{T}#AddRange(System.Collections.Generic.IEnumerable{`0})">
3392 <summary>Adds the specified values to this immutable list.</summary>
3393 <param name="items">The values to add.</param>
3394 <returns>A new list with the elements added.</returns>
3396 <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#Immutable#IImmutableList{T}#Clear">
3397 <summary>Retrieves an empty list that has the same sorting and ordering semantics as this instance.</summary>
3398 <returns>An empty list that has the same sorting and ordering semantics as this instance.</returns>
3400 <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#Immutable#IImmutableList{T}#Insert(System.Int32,`0)">
3401 <summary>Inserts the specified element at the specified index in the immutable list.</summary>
3402 <param name="index">The index at which to insert the value.</param>
3403 <param name="item">The element to insert.</param>
3404 <returns>A new immutable list that includes the specified element.</returns>
3406 <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#Immutable#IImmutableList{T}#InsertRange(System.Int32,System.Collections.Generic.IEnumerable{`0})">
3407 <summary>Inserts the specified elements at the specified index in the immutable list.</summary>
3408 <param name="index">The index at which to insert the elements.</param>
3409 <param name="items">The elements to insert.</param>
3410 <returns>A new immutable list that includes the specified elements.</returns>
3412 <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#Immutable#IImmutableList{T}#Remove(`0,System.Collections.Generic.IEqualityComparer{`0})">
3413 <summary>Removes the element with the specified value from the list.</summary>
3414 <param name="value">The value of the element to remove from the list.</param>
3415 <param name="equalityComparer">The comparer to use to compare elements for equality.</param>
3416 <returns>A new <see cref="T:System.Collections.Immutable.ImmutableList`1" /> with the specified element removed.</returns>
3418 <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#Immutable#IImmutableList{T}#RemoveAll(System.Predicate{`0})">
3419 <summary>Removes all the elements that match the conditions defined by the specified predicate.</summary>
3420 <param name="match">The delegate that defines the conditions of the elements to remove.</param>
3421 <returns>A new immutable list with the elements removed.</returns>
3423 <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#Immutable#IImmutableList{T}#RemoveAt(System.Int32)">
3424 <summary>Removes the element at the specified index of the immutable list.</summary>
3425 <param name="index">The index of the element to remove.</param>
3426 <returns>A new list with the element removed.</returns>
3428 <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#Immutable#IImmutableList{T}#RemoveRange(System.Collections.Generic.IEnumerable{`0},System.Collections.Generic.IEqualityComparer{`0})">
3429 <summary>Removes a range of elements from this immutable list that match the items specified.</summary>
3430 <param name="items">The range of items to remove from the list, if found.</param>
3431 <param name="equalityComparer">The equality comparer to use to compare elements.</param>
3432 <returns>An immutable list with the items removed.</returns>
3433 <exception cref="T:System.ArgumentNullException">
3434 <paramref name="items" /> or <paramref name="equalityComparer" /> is <see langword="null" />.</exception>
3436 <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#Immutable#IImmutableList{T}#RemoveRange(System.Int32,System.Int32)">
3437 <summary>Removes the specified number of elements at the specified location from this list.</summary>
3438 <param name="index">The starting index of the range of elements to remove.</param>
3439 <param name="count">The number of elements to remove.</param>
3440 <returns>A new list with the elements removed.</returns>
3442 <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#Immutable#IImmutableList{T}#Replace(`0,`0,System.Collections.Generic.IEqualityComparer{`0})">
3443 <summary>Replaces an element in the list with the specified element.</summary>
3444 <param name="oldValue">The element to replace.</param>
3445 <param name="newValue">The element to replace the old element with.</param>
3446 <param name="equalityComparer">The equality comparer to use in the search.</param>
3447 <returns>The new list.</returns>
3448 <exception cref="T:System.ArgumentException">Thrown when the old value does not exist in the list.</exception>
3450 <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#Immutable#IImmutableList{T}#SetItem(System.Int32,`0)">
3451 <summary>Replaces an element in the list at a given position with the specified element.</summary>
3452 <param name="index">The position in the list of the element to replace.</param>
3453 <param name="value">The element to replace the old element with.</param>
3454 <returns>The new list.</returns>
3456 <member name="M:System.Collections.Immutable.ImmutableList`1.ToBuilder">
3457 <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>
3458 <returns>The created list with the same contents as this list.</returns>
3460 <member name="M:System.Collections.Immutable.ImmutableList`1.TrueForAll(System.Predicate{`0})">
3461 <summary>Determines whether every element in the immutable list matches the conditions defined by the specified predicate.</summary>
3462 <param name="match">The delegate that defines the conditions to check against the elements.</param>
3464 <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>
3466 <member name="T:System.Collections.Immutable.ImmutableQueue">
3467 <summary>Provides a set of initialization methods for instances of the <see cref="T:System.Collections.Immutable.ImmutableQueue`1" /> class.
3468 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
3470 <member name="M:System.Collections.Immutable.ImmutableQueue.Create``1">
3471 <summary>Creates an empty immutable queue.</summary>
3472 <typeparam name="T">The type of items to be stored in the immutable queue.</typeparam>
3473 <returns>An empty immutable queue.</returns>
3475 <member name="M:System.Collections.Immutable.ImmutableQueue.Create``1(``0)">
3476 <summary>Creates a new immutable queue that contains the specified item.</summary>
3477 <param name="item">The item to prepopulate the queue with.</param>
3478 <typeparam name="T">The type of items in the immutable queue.</typeparam>
3479 <returns>A new immutable queue that contains the specified item.</returns>
3481 <member name="M:System.Collections.Immutable.ImmutableQueue.Create``1(``0[])">
3482 <summary>Creates a new immutable queue that contains the specified array of items.</summary>
3483 <param name="items">An array that contains the items to prepopulate the queue with.</param>
3484 <typeparam name="T">The type of items in the immutable queue.</typeparam>
3485 <returns>A new immutable queue that contains the specified items.</returns>
3487 <member name="M:System.Collections.Immutable.ImmutableQueue.CreateRange``1(System.Collections.Generic.IEnumerable{``0})">
3488 <summary>Creates a new immutable queue that contains the specified items.</summary>
3489 <param name="items">The items to add to the queue before immutability is applied.</param>
3490 <typeparam name="T">The type of elements in the queue.</typeparam>
3491 <returns>An immutable queue that contains the specified items.</returns>
3493 <member name="M:System.Collections.Immutable.ImmutableQueue.Dequeue``1(System.Collections.Immutable.IImmutableQueue{``0},``0@)">
3494 <summary>Removes the item at the beginning of the immutable queue, and returns the new queue.</summary>
3495 <param name="queue">The queue to remove the item from.</param>
3496 <param name="value">When this method returns, contains the item from the beginning of the queue.</param>
3497 <typeparam name="T">The type of elements in the immutable queue.</typeparam>
3498 <returns>The new queue with the item removed.</returns>
3499 <exception cref="T:System.InvalidOperationException">The stack is empty.</exception>
3501 <member name="T:System.Collections.Immutable.ImmutableQueue`1">
3502 <summary>Represents an immutable queue.
3503 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
3504 <typeparam name="T">The type of elements in the queue.</typeparam>
3506 <member name="M:System.Collections.Immutable.ImmutableQueue`1.Clear">
3507 <summary>Removes all objects from the immutable queue.</summary>
3508 <returns>The empty immutable queue.</returns>
3510 <member name="M:System.Collections.Immutable.ImmutableQueue`1.Dequeue">
3511 <summary>Removes the element at the beginning of the immutable queue, and returns the new queue.</summary>
3512 <returns>The new immutable queue; never <c>null</c>.</returns>
3513 <exception cref="T:System.InvalidOperationException">The queue is empty.</exception>
3515 <member name="M:System.Collections.Immutable.ImmutableQueue`1.Dequeue(`0@)">
3516 <summary>Removes the item at the beginning of the immutable queue, and returns the new queue.</summary>
3517 <param name="value">When this method returns, contains the element from the beginning of the queue.</param>
3518 <returns>The new immutable queue with the beginning element removed.</returns>
3519 <exception cref="T:System.InvalidOperationException">The queue is empty.</exception>
3521 <member name="P:System.Collections.Immutable.ImmutableQueue`1.Empty">
3522 <summary>Gets an empty immutable queue.</summary>
3523 <returns>An empty immutable queue.</returns>
3525 <member name="M:System.Collections.Immutable.ImmutableQueue`1.Enqueue(`0)">
3526 <summary>Adds an element to the end of the immutable queue, and returns the new queue.</summary>
3527 <param name="value">The element to add.</param>
3528 <returns>The new immutable queue.</returns>
3530 <member name="T:System.Collections.Immutable.ImmutableQueue`1.Enumerator">
3531 <summary>Enumerates the contents of an immutable queue without allocating any memory.
3532 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
3533 <typeparam name="T" />
3535 <member name="P:System.Collections.Immutable.ImmutableQueue`1.Enumerator.Current">
3536 <summary>Gets the element at the current position of the enumerator.</summary>
3537 <returns>The element at the current position of the enumerator.</returns>
3539 <member name="M:System.Collections.Immutable.ImmutableQueue`1.Enumerator.MoveNext">
3540 <summary>Advances the enumerator to the next element of the immutable queue.</summary>
3542 <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>
3544 <member name="M:System.Collections.Immutable.ImmutableQueue`1.GetEnumerator">
3545 <summary>Returns an enumerator that iterates through the immutable queue.</summary>
3546 <returns>An enumerator that can be used to iterate through the queue.</returns>
3548 <member name="P:System.Collections.Immutable.ImmutableQueue`1.IsEmpty">
3549 <summary>Gets a value that indicates whether this immutable queue is empty.
3550 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
3552 <see langword="true" /> if this queue is empty; otherwise, <see langword="false" />.</returns>
3554 <member name="M:System.Collections.Immutable.ImmutableQueue`1.Peek">
3555 <summary>Returns the element at the beginning of the immutable queue without removing it.</summary>
3556 <returns>The element at the beginning of the queue.</returns>
3557 <exception cref="T:System.InvalidOperationException">The queue is empty.</exception>
3559 <member name="M:System.Collections.Immutable.ImmutableQueue`1.PeekRef">
3560 <summary>Gets a read-only reference to the element at the front of the queue.</summary>
3561 <exception cref="T:System.InvalidOperationException">The queue is empty.</exception>
3563 <member name="M:System.Collections.Immutable.ImmutableQueue`1.System#Collections#Generic#IEnumerable{T}#GetEnumerator">
3564 <summary>Returns an enumerator that iterates through the collection.</summary>
3565 <returns>An enumerator that can be used to iterate through the collection.</returns>
3567 <member name="M:System.Collections.Immutable.ImmutableQueue`1.System#Collections#IEnumerable#GetEnumerator">
3568 <summary>Returns an enumerator that iterates through a collection.</summary>
3569 <returns>An <see cref="T:System.Collections.IEnumerator" /> object that can be used to iterate through the collection.</returns>
3571 <member name="M:System.Collections.Immutable.ImmutableQueue`1.System#Collections#Immutable#IImmutableQueue{T}#Clear">
3572 <summary>Removes all elements from the immutable queue.</summary>
3573 <returns>The empty immutable queue.</returns>
3575 <member name="M:System.Collections.Immutable.ImmutableQueue`1.System#Collections#Immutable#IImmutableQueue{T}#Dequeue">
3576 <summary>Removes the element at the beginning of the immutable queue, and returns the new queue.</summary>
3577 <returns>The new immutable queue; never <c>null</c>.</returns>
3579 <member name="M:System.Collections.Immutable.ImmutableQueue`1.System#Collections#Immutable#IImmutableQueue{T}#Enqueue(`0)">
3580 <summary>Adds an element to the end of the immutable queue, and returns the new queue.</summary>
3581 <param name="value">The element to add.</param>
3582 <returns>The new immutable queue.</returns>
3584 <member name="T:System.Collections.Immutable.ImmutableSortedDictionary">
3585 <summary>Provides a set of initialization methods for instances of the <see cref="T:System.Collections.Immutable.ImmutableSortedDictionary`2" /> class.
3586 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
3588 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary.Create``2">
3589 <summary>Creates an empty immutable sorted dictionary.</summary>
3590 <typeparam name="TKey">The type of keys stored by the dictionary.</typeparam>
3591 <typeparam name="TValue">The type of values stored by the dictionary.</typeparam>
3592 <returns>An empty immutable sorted dictionary.</returns>
3594 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary.Create``2(System.Collections.Generic.IComparer{``0})">
3595 <summary>Creates an empty immutable sorted dictionary that uses the specified key comparer.</summary>
3596 <param name="keyComparer">The implementation to use to determine the equality of keys in the dictionary.</param>
3597 <typeparam name="TKey">The type of keys stored by the dictionary.</typeparam>
3598 <typeparam name="TValue">The type of values stored by the dictionary.</typeparam>
3599 <returns>An empty immutable sorted dictionary.</returns>
3601 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary.Create``2(System.Collections.Generic.IComparer{``0},System.Collections.Generic.IEqualityComparer{``1})">
3602 <summary>Creates an empty immutable sorted dictionary that uses the specified key and value comparers.</summary>
3603 <param name="keyComparer">The implementation to use to determine the equality of keys in the dictionary.</param>
3604 <param name="valueComparer">The implementation to use to determine the equality of values in the dictionary.</param>
3605 <typeparam name="TKey">The type of keys stored by the dictionary.</typeparam>
3606 <typeparam name="TValue">The type of values stored by the dictionary.</typeparam>
3607 <returns>An empty immutable sorted dictionary.</returns>
3609 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary.CreateBuilder``2">
3610 <summary>Creates a new immutable sorted dictionary builder.</summary>
3611 <typeparam name="TKey">The type of keys stored by the dictionary.</typeparam>
3612 <typeparam name="TValue">The type of values stored by the dictionary.</typeparam>
3613 <returns>The immutable collection builder.</returns>
3615 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary.CreateBuilder``2(System.Collections.Generic.IComparer{``0})">
3616 <summary>Creates a new immutable sorted dictionary builder.</summary>
3617 <param name="keyComparer">The key comparer.</param>
3618 <typeparam name="TKey">The type of keys stored by the dictionary.</typeparam>
3619 <typeparam name="TValue">The type of values stored by the dictionary.</typeparam>
3620 <returns>The immutable collection builder.</returns>
3622 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary.CreateBuilder``2(System.Collections.Generic.IComparer{``0},System.Collections.Generic.IEqualityComparer{``1})">
3623 <summary>Creates a new immutable sorted dictionary builder.</summary>
3624 <param name="keyComparer">The key comparer.</param>
3625 <param name="valueComparer">The value comparer.</param>
3626 <typeparam name="TKey">The type of keys stored by the dictionary.</typeparam>
3627 <typeparam name="TValue">The type of values stored by the dictionary.</typeparam>
3628 <returns>The immutable collection builder.</returns>
3630 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary.CreateRange``2(System.Collections.Generic.IComparer{``0},System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{``0,``1}})">
3631 <summary>Creates a new immutable sorted dictionary from the specified range of items with the specified key comparer.</summary>
3632 <param name="keyComparer">The comparer implementation to use to evaluate keys for equality and sorting.</param>
3633 <param name="items">The items to add to the sorted dictionary.</param>
3634 <typeparam name="TKey">The type of keys stored in the dictionary.</typeparam>
3635 <typeparam name="TValue">The type of values stored in the dictionary.</typeparam>
3636 <returns>The new immutable sorted dictionary that contains the specified items and uses the specified key comparer.</returns>
3638 <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}})">
3639 <summary>Creates a new immutable sorted dictionary from the specified range of items with the specified key and value comparers.</summary>
3640 <param name="keyComparer">The comparer implementation to use to compare keys for equality and sorting.</param>
3641 <param name="valueComparer">The comparer implementation to use to compare values for equality and sorting.</param>
3642 <param name="items">The items to add to the sorted dictionary before it's immutable.</param>
3643 <typeparam name="TKey">The type of keys stored in the dictionary.</typeparam>
3644 <typeparam name="TValue">The type of values stored in the dictionary.</typeparam>
3645 <returns>An immutable sorted dictionary that contains the specified items and uses the specified comparers.</returns>
3647 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary.CreateRange``2(System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{``0,``1}})">
3648 <summary>Creates an immutable sorted dictionary that contains the specified items and uses the default comparer.</summary>
3649 <param name="items">The items to add to the sorted dictionary before it's immutable.</param>
3650 <typeparam name="TKey">The type of keys stored in the dictionary.</typeparam>
3651 <typeparam name="TValue">The type of values stored in the dictionary.</typeparam>
3652 <returns>An immutable sorted dictionary that contains the specified items.</returns>
3654 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary.ToImmutableSortedDictionary``2(System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{``0,``1}})">
3655 <summary>Enumerates a sequence of key/value pairs and produces an immutable sorted dictionary of its contents.</summary>
3656 <param name="source">The sequence of key/value pairs to enumerate.</param>
3657 <typeparam name="TKey">The type of the keys in the dictionary.</typeparam>
3658 <typeparam name="TValue">The type of the values in the dictionary.</typeparam>
3659 <returns>An immutable sorted dictionary that contains the key/value pairs in the specified sequence.</returns>
3661 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary.ToImmutableSortedDictionary``2(System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{``0,``1}},System.Collections.Generic.IComparer{``0})">
3662 <summary>Enumerates a sequence of key/value pairs and produces an immutable dictionary of its contents by using the specified key comparer.</summary>
3663 <param name="source">The sequence of key/value pairs to enumerate.</param>
3664 <param name="keyComparer">The key comparer to use when building the immutable dictionary.</param>
3665 <typeparam name="TKey">The type of the keys in the dictionary.</typeparam>
3666 <typeparam name="TValue">The type of the values in the dictionary.</typeparam>
3667 <returns>An immutable sorted dictionary that contains the key/value pairs in the specified sequence.</returns>
3669 <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})">
3670 <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>
3671 <param name="source">The sequence of key/value pairs to enumerate.</param>
3672 <param name="keyComparer">The key comparer to use when building the immutable dictionary.</param>
3673 <param name="valueComparer">The value comparer to use for the immutable dictionary.</param>
3674 <typeparam name="TKey">The type of the keys in the dictionary.</typeparam>
3675 <typeparam name="TValue">The type of the values in the dictionary.</typeparam>
3676 <returns>An immutable sorted dictionary that contains the key/value pairs in the specified sequence.</returns>
3678 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary.ToImmutableSortedDictionary``2(System.Collections.Immutable.ImmutableSortedDictionary{``0,``1}.Builder)">
3679 <summary>Creates an immutable sorted dictionary from the current contents of the builder's dictionary.</summary>
3680 <param name="builder">The builder to create the immutable sorted dictionary from.</param>
3681 <typeparam name="TKey">The type of the keys in the dictionary.</typeparam>
3682 <typeparam name="TValue">The type of the values in the dictionary.</typeparam>
3683 <returns>An immutable sorted dictionary that contains the current contents in the builder's dictionary.</returns>
3685 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary.ToImmutableSortedDictionary``3(System.Collections.Generic.IEnumerable{``0},System.Func{``0,``1},System.Func{``0,``2})">
3686 <summary>Enumerates and transforms a sequence, and produces an immutable sorted dictionary of its contents.</summary>
3687 <param name="source">The sequence to enumerate to generate the dictionary.</param>
3688 <param name="keySelector">The function that will produce the key for the dictionary from each sequence element.</param>
3689 <param name="elementSelector">The function that will produce the value for the dictionary from each sequence element.</param>
3690 <typeparam name="TSource">The type of the elements in the sequence.</typeparam>
3691 <typeparam name="TKey">The type of the keys in the resulting dictionary.</typeparam>
3692 <typeparam name="TValue">The type of the values in the resulting dictionary.</typeparam>
3693 <returns>An immutable sorted dictionary that contains the items in the specified sequence.</returns>
3695 <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})">
3696 <summary>Enumerates and transforms a sequence, and produces an immutable sorted dictionary of its contents by using the specified key comparer.</summary>
3697 <param name="source">The sequence to enumerate to generate the dictionary.</param>
3698 <param name="keySelector">The function that will produce the key for the dictionary from each sequence element.</param>
3699 <param name="elementSelector">The function that will produce the value for the dictionary from each sequence element.</param>
3700 <param name="keyComparer">The key comparer to use for the dictionary.</param>
3701 <typeparam name="TSource">The type of the elements in the sequence.</typeparam>
3702 <typeparam name="TKey">The type of the keys in the resulting dictionary.</typeparam>
3703 <typeparam name="TValue">The type of the values in the resulting dictionary.</typeparam>
3704 <returns>An immutable dictionary that contains the items in the specified sequence.</returns>
3706 <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})">
3707 <summary>Enumerates and transforms a sequence, and produces an immutable sorted dictionary of its contents by using the specified key and value comparers.</summary>
3708 <param name="source">The sequence to enumerate to generate the dictionary.</param>
3709 <param name="keySelector">The function that will produce the key for the dictionary from each sequence element.</param>
3710 <param name="elementSelector">The function that will produce the value for the dictionary from each sequence element.</param>
3711 <param name="keyComparer">The key comparer to use for the dictionary.</param>
3712 <param name="valueComparer">The value comparer to use for the dictionary.</param>
3713 <typeparam name="TSource">The type of the elements in the sequence.</typeparam>
3714 <typeparam name="TKey">The type of the keys in the resulting dictionary.</typeparam>
3715 <typeparam name="TValue">The type of the values in the resulting dictionary.</typeparam>
3716 <returns>An immutable sorted dictionary that contains the items in the specified sequence.</returns>
3718 <member name="T:System.Collections.Immutable.ImmutableSortedDictionary`2">
3719 <summary>Represents an immutable sorted dictionary.
3720 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
3721 <typeparam name="TKey">The type of the key contained in the dictionary.</typeparam>
3722 <typeparam name="TValue">The type of the value contained in the dictionary.</typeparam>
3724 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Add(`0,`1)">
3725 <summary>Adds an element with the specified key and value to the immutable sorted dictionary.</summary>
3726 <param name="key">The key of the entry to add.</param>
3727 <param name="value">The value of entry to add.</param>
3728 <returns>A new immutable sorted dictionary that contains the additional key/value pair.</returns>
3729 <exception cref="T:System.ArgumentException">The given key already exists in the dictionary but has a different value.</exception>
3731 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.AddRange(System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{`0,`1}})">
3732 <summary>Adds the specific key/value pairs to the immutable sorted dictionary.</summary>
3733 <param name="items">The key/value pairs to add.</param>
3734 <returns>A new immutable dictionary that contains the additional key/value pairs.</returns>
3735 <exception cref="T:System.ArgumentException">One of the given keys already exists in the dictionary but has a different value.</exception>
3737 <member name="T:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder">
3738 <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.
3739 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
3740 <typeparam name="TKey" />
3741 <typeparam name="TValue" />
3743 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.Add(`0,`1)">
3744 <summary>Adds an element that has the specified key and value to the immutable sorted dictionary.</summary>
3745 <param name="key">The key of the element to add.</param>
3746 <param name="value">The value of the element to add.</param>
3748 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.Add(System.Collections.Generic.KeyValuePair{`0,`1})">
3749 <summary>Adds the specified item to the immutable sorted dictionary.</summary>
3750 <param name="item">The object to add to the dictionary.</param>
3752 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.AddRange(System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{`0,`1}})">
3753 <summary>Adds a sequence of values to the immutable sorted dictionary.</summary>
3754 <param name="items">The items to add to the dictionary.</param>
3756 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.Clear">
3757 <summary>Removes all items from the immutable sorted dictionary.</summary>
3759 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.Contains(System.Collections.Generic.KeyValuePair{`0,`1})">
3760 <summary>Determines whether the immutable sorted dictionary contains a specific value.</summary>
3761 <param name="item">The object to locate in the dictionary.</param>
3763 <see langword="true" /> if <paramref name="item" /> is found in the dictionary; otherwise, <see langword="false" />.</returns>
3765 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.ContainsKey(`0)">
3766 <summary>Determines whether the immutable sorted dictionary contains an element with the specified key.</summary>
3767 <param name="key">The key to locate in the dictionary.</param>
3769 <see langword="true" /> if the dictionary contains an element with the key; otherwise, <see langword="false" />.</returns>
3771 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.ContainsValue(`1)">
3772 <summary>Determines whether the immutable sorted dictionary contains an element with the specified value.</summary>
3773 <param name="value">The value to locate in the dictionary. The value can be <see langword="null" /> for reference types.</param>
3775 <see langword="true" /> if the immutable sorted dictionary contains an element with the specified value; otherwise, <see langword="false" />.</returns>
3777 <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.Count">
3778 <summary>Gets the number of elements in this immutable sorted dictionary.</summary>
3779 <returns>The number of elements in this dictionary.</returns>
3781 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.GetEnumerator">
3782 <summary>Returns an enumerator that iterates through the immutable sorted dictionary.</summary>
3783 <returns>An enumerator that can be used to iterate through the dictionary.</returns>
3785 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.GetValueOrDefault(`0)">
3786 <summary>Gets the value for a given key if a matching key exists in the dictionary; otherwise the default value.</summary>
3787 <param name="key">The key to search for.</param>
3788 <returns>The value for the key, or <c>default(TValue)</c> if no matching key was found.</returns>
3790 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.GetValueOrDefault(`0,`1)">
3791 <summary>Gets the value for a given key if a matching key exists in the dictionary; otherwise the default value.</summary>
3792 <param name="key">The key to search for.</param>
3793 <param name="defaultValue">The default value to return if no matching key is found in the dictionary.</param>
3794 <returns>The value for the key, or <paramref name="defaultValue" /> if no matching key was found.</returns>
3796 <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.Item(`0)">
3797 <summary>Gets or sets the value for a specified key in the immutable sorted dictionary.</summary>
3798 <param name="key">The key to retrieve the value for.</param>
3799 <returns>The value associated with the given key.</returns>
3801 <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.KeyComparer">
3802 <summary>Gets or sets the key comparer.</summary>
3803 <returns>The key comparer.</returns>
3805 <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.Keys">
3806 <summary>Gets a strongly typed, read-only collection of elements.</summary>
3807 <returns>A strongly typed, read-only collection of elements.</returns>
3809 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.Remove(`0)">
3810 <summary>Removes the element with the specified key from the immutable sorted dictionary.</summary>
3811 <param name="key">The key of the element to remove.</param>
3813 <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>
3815 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.Remove(System.Collections.Generic.KeyValuePair{`0,`1})">
3816 <summary>Removes the first occurrence of a specific object from the immutable sorted dictionary.</summary>
3817 <param name="item">The object to remove from the dictionary.</param>
3819 <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>
3821 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.RemoveRange(System.Collections.Generic.IEnumerable{`0})">
3822 <summary>Removes any entries with keys that match those found in the specified sequence from the immutable sorted dictionary.</summary>
3823 <param name="keys">The keys for entries to remove from the dictionary.</param>
3825 <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)">
3826 <param name="array" />
3827 <param name="arrayIndex" />
3829 <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.System#Collections#Generic#ICollection{System#Collections#Generic#KeyValuePair{TKey@TValue}}#IsReadOnly" />
3830 <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.System#Collections#Generic#IDictionary{TKey@TValue}#Keys" />
3831 <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.System#Collections#Generic#IDictionary{TKey@TValue}#Values" />
3832 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.System#Collections#Generic#IEnumerable{System#Collections#Generic#KeyValuePair{TKey@TValue}}#GetEnumerator" />
3833 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.System#Collections#ICollection#CopyTo(System.Array,System.Int32)">
3834 <summary>Copies the elements of the dictionary to an array, starting at a particular array index.
3835 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
3836 <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>
3837 <param name="index">The zero-based index in <paramref name="array" /> at which copying begins.</param>
3839 <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.System#Collections#ICollection#IsSynchronized">
3840 <summary>Gets a value that indicates whether access to the <see cref="T:System.Collections.ICollection" /> is synchronized (thread safe).</summary>
3842 <see langword="true" /> if access to the <see cref="T:System.Collections.ICollection" /> is synchronized (thread safe); otherwise, <see langword="false" />.</returns>
3844 <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.System#Collections#ICollection#SyncRoot">
3845 <summary>Gets an object that can be used to synchronize access to the <see cref="T:System.Collections.ICollection" />.</summary>
3846 <returns>An object that can be used to synchronize access to the <see cref="T:System.Collections.ICollection" />.</returns>
3848 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.System#Collections#IDictionary#Add(System.Object,System.Object)">
3849 <summary>Adds an element with the provided key and value to the dictionary object.</summary>
3850 <param name="key">The key of the element to add.</param>
3851 <param name="value">The value of the element to add.</param>
3853 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.System#Collections#IDictionary#Contains(System.Object)">
3854 <summary>Determines whether the dictionary object contains an element with the specified key.</summary>
3855 <param name="key">The key to locate.</param>
3857 <see langword="true" /> if the dictionary contains an element with the key; otherwise, <see langword="false" />.</returns>
3859 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.System#Collections#IDictionary#GetEnumerator">
3860 <summary>Returns an <see cref="T:System.Collections.IDictionaryEnumerator" /> object for the dictionary.</summary>
3861 <returns>An <see cref="T:System.Collections.IDictionaryEnumerator" /> object for the dictionary.</returns>
3863 <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.System#Collections#IDictionary#IsFixedSize">
3864 <summary>Gets a value that indicates whether the <see cref="T:System.Collections.IDictionary" /> object has a fixed size.</summary>
3866 <see langword="true" /> if the <see cref="T:System.Collections.IDictionary" /> object has a fixed size; otherwise, <see langword="false" />.</returns>
3868 <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.System#Collections#IDictionary#IsReadOnly">
3869 <summary>Gets a value that indicates whether the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only.</summary>
3871 <see langword="true" /> if the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only; otherwise, <see langword="false" />.</returns>
3873 <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.System#Collections#IDictionary#Item(System.Object)">
3874 <summary>Gets or sets the element with the specified key.</summary>
3875 <param name="key">The key.</param>
3877 <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.System#Collections#IDictionary#Keys">
3878 <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>
3879 <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>
3881 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.System#Collections#IDictionary#Remove(System.Object)">
3882 <summary>Removes the element with the specified key from the dictionary.</summary>
3883 <param name="key">The key of the element to remove.</param>
3885 <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.System#Collections#IDictionary#Values">
3886 <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>
3887 <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>
3889 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.System#Collections#IEnumerable#GetEnumerator">
3890 <summary>Returns an enumerator that iterates through a collection.</summary>
3891 <returns>An enumerator object that can be used to iterate through the collection.</returns>
3893 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.ToImmutable">
3894 <summary>Creates an immutable sorted dictionary based on the contents of this instance.</summary>
3895 <returns>An immutable sorted dictionary.</returns>
3897 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.TryGetKey(`0,`0@)">
3898 <summary>Determines whether this dictionary contains a specified key.</summary>
3899 <param name="equalKey">The key to search for.</param>
3900 <param name="actualKey">The matching key located in the dictionary if found, or <c>equalkey</c> if no match is found.</param>
3902 <see langword="true" /> if a match for <paramref name="equalKey" /> is found; otherwise, <see langword="false" />.</returns>
3904 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.TryGetValue(`0,`1@)">
3905 <summary>Gets the value associated with the specified key.</summary>
3906 <param name="key">The key whose value will be retrieved.</param>
3907 <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>
3909 <see langword="true" /> if the object that implements the dictionary contains an element with the specified key; otherwise, <see langword="false" />.</returns>
3911 <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.ValueComparer">
3912 <summary>Gets or sets the value comparer.</summary>
3913 <returns>The value comparer.</returns>
3915 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.ValueRef(`0)">
3916 <summary>Returns a read-only reference to the value associated with the provided <paramref name="key" />.</summary>
3917 <param name="key" />
3918 <exception cref="T:System.Collections.Generic.KeyNotFoundException">The <paramref name="key" /> is not present.</exception>
3920 <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.Values">
3921 <summary>Gets a collection that contains the values of the immutable sorted dictionary.</summary>
3922 <returns>A collection that contains the values of the object that implements the dictionary.</returns>
3924 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Clear">
3925 <summary>Retrieves an empty immutable sorted dictionary that has the same ordering and key/value comparison rules as this dictionary instance.</summary>
3926 <returns>An empty dictionary with equivalent ordering and key/value comparison rules.</returns>
3928 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Contains(System.Collections.Generic.KeyValuePair{`0,`1})">
3929 <summary>Determines whether this immutable sorted dictionary contains the specified key/value pair.</summary>
3930 <param name="pair">The key/value pair to locate.</param>
3932 <see langword="true" /> if the specified key/value pair is found in the dictionary; otherwise, <see langword="false" />.</returns>
3934 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.ContainsKey(`0)">
3935 <summary>Determines whether this immutable sorted map contains the specified key.</summary>
3936 <param name="key">The key to locate.</param>
3938 <see langword="true" /> if the immutable dictionary contains the specified key; otherwise, <see langword="false" />.</returns>
3940 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.ContainsValue(`1)">
3941 <summary>Determines whether the immutable sorted dictionary contains an element with the specified value.</summary>
3942 <param name="value">The value to locate. The value can be <see langword="null" /> for reference types.</param>
3944 <see langword="true" /> if the dictionary contains an element with the specified value; otherwise, <see langword="false" />.</returns>
3946 <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.Count">
3947 <summary>Gets the number of key/value pairs in the immutable sorted dictionary.</summary>
3948 <returns>The number of key/value pairs in the dictionary.</returns>
3950 <member name="F:System.Collections.Immutable.ImmutableSortedDictionary`2.Empty">
3951 <summary>Gets an empty immutable sorted dictionary.</summary>
3953 <member name="T:System.Collections.Immutable.ImmutableSortedDictionary`2.Enumerator">
3954 <summary>Enumerates the contents of a binary tree.
3955 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
3956 <typeparam name="TKey" />
3957 <typeparam name="TValue" />
3959 <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.Enumerator.Current">
3960 <summary>Gets the element at the current position of the enumerator.</summary>
3961 <returns>The element at the current position of the enumerator.</returns>
3963 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Enumerator.Dispose">
3964 <summary>Releases the resources used by the current instance of the <see cref="T:System.Collections.Immutable.ImmutableSortedDictionary`2.Enumerator" /> class.</summary>
3966 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Enumerator.MoveNext">
3967 <summary>Advances the enumerator to the next element of the immutable sorted dictionary.</summary>
3969 <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>
3971 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Enumerator.Reset">
3972 <summary>Sets the enumerator to its initial position, which is before the first element in the immutable sorted dictionary.</summary>
3974 <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.Enumerator.System#Collections#IEnumerator#Current">
3975 <summary>The current element.</summary>
3977 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.GetEnumerator">
3978 <summary>Returns an enumerator that iterates through the immutable sorted dictionary.</summary>
3979 <returns>An enumerator that can be used to iterate through the dictionary.</returns>
3981 <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.IsEmpty">
3982 <summary>Gets a value that indicates whether this instance of the immutable sorted dictionary is empty.</summary>
3984 <see langword="true" /> if this instance is empty; otherwise, <see langword="false" />.</returns>
3986 <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.Item(`0)">
3987 <summary>Gets the <paramref name="TValue" /> associated with the specified key.</summary>
3988 <param name="key">The key to retrieve the value for.</param>
3989 <returns>The value associated with the specified key. If no results are found, the operation throws an exception.</returns>
3991 <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.KeyComparer">
3992 <summary>Gets the key comparer for the immutable sorted dictionary.</summary>
3993 <returns>The key comparer for the dictionary.</returns>
3995 <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.Keys">
3996 <summary>Gets the keys in the immutable sorted dictionary.</summary>
3997 <returns>The keys in the immutable dictionary.</returns>
3999 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Remove(`0)">
4000 <summary>Removes the element with the specified value from the immutable sorted dictionary.</summary>
4001 <param name="value">The value of the element to remove.</param>
4002 <returns>A new immutable dictionary with the specified element removed; or this instance if the specified value cannot be found in the dictionary.</returns>
4004 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.RemoveRange(System.Collections.Generic.IEnumerable{`0})">
4005 <summary>Removes the elements with the specified keys from the immutable sorted dictionary.</summary>
4006 <param name="keys">The keys of the elements to remove.</param>
4007 <returns>A new immutable dictionary with the specified keys removed; or this instance if the specified keys cannot be found in the dictionary.</returns>
4009 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.SetItem(`0,`1)">
4010 <summary>Sets the specified key and value in the immutable sorted dictionary, possibly overwriting an existing value for the given key.</summary>
4011 <param name="key">The key of the entry to add.</param>
4012 <param name="value">The key value to set.</param>
4013 <returns>A new immutable sorted dictionary that contains the specified key/value pair.</returns>
4015 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.SetItems(System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{`0,`1}})">
4016 <summary>Sets the specified key/value pairs in the immutable sorted dictionary, possibly overwriting existing values for the keys.</summary>
4017 <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>
4018 <returns>An immutable dictionary that contains the specified key/value pairs.</returns>
4020 <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})">
4021 <param name="item" />
4023 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#Generic#ICollection{System#Collections#Generic#KeyValuePair{TKey@TValue}}#Clear" />
4024 <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)">
4025 <param name="array" />
4026 <param name="arrayIndex" />
4028 <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#Generic#ICollection{System#Collections#Generic#KeyValuePair{TKey@TValue}}#IsReadOnly" />
4029 <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})">
4030 <param name="item" />
4032 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#Generic#IDictionary{TKey@TValue}#Add(`0,`1)">
4033 <param name="key" />
4034 <param name="value" />
4036 <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#Generic#IDictionary{TKey@TValue}#Item(`0)">
4037 <param name="key" />
4039 <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#Generic#IDictionary{TKey@TValue}#Keys" />
4040 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#Generic#IDictionary{TKey@TValue}#Remove(`0)">
4041 <param name="key" />
4043 <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#Generic#IDictionary{TKey@TValue}#Values" />
4044 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#Generic#IEnumerable{System#Collections#Generic#KeyValuePair{TKey@TValue}}#GetEnumerator" />
4045 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#ICollection#CopyTo(System.Array,System.Int32)">
4046 <summary>Copies the elements of the dictionary to an array, starting at a particular array index.</summary>
4047 <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>
4048 <param name="index">The zero-based index in <paramref name="array" /> at which copying begins.</param>
4050 <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#ICollection#IsSynchronized">
4051 <summary>Gets a value indicating whether access to the <see cref="T:System.Collections.ICollection" /> is synchronized (thread safe).</summary>
4053 <see langword="true" /> if access to the <see cref="T:System.Collections.ICollection" /> is synchronized (thread-safe); otherwise, <see langword="false" />.</returns>
4055 <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#ICollection#SyncRoot">
4056 <summary>Gets an object that can be used to synchronize access to the <see cref="T:System.Collections.ICollection" />.</summary>
4057 <returns>An object that can be used to synchronize access to the <see cref="T:System.Collections.ICollection" />.</returns>
4059 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#IDictionary#Add(System.Object,System.Object)">
4060 <summary>Adds an element with the provided key and value to the dictionary object.</summary>
4061 <param name="key">The object to use as the key of the element to add.</param>
4062 <param name="value">The object to use as the value of the element to add.</param>
4064 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#IDictionary#Clear">
4065 <summary>Clears this instance.</summary>
4066 <exception cref="T:System.NotSupportedException">The dictionary object is read-only.</exception>
4068 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#IDictionary#Contains(System.Object)">
4069 <summary>Determines whether the immutable dictionary object contains an element with the specified key.</summary>
4070 <param name="key">The key to locate in the dictionary object.</param>
4072 <see langword="true" /> if the dictionary contains an element with the key; otherwise, <see langword="false" />.</returns>
4074 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#IDictionary#GetEnumerator">
4075 <summary>Returns an <see cref="T:System.Collections.IDictionaryEnumerator" /> object for the immutable dictionary object.</summary>
4076 <returns>An enumerator object for the dictionary object.</returns>
4078 <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#IDictionary#IsFixedSize">
4079 <summary>Gets a value indicating whether the <see cref="T:System.Collections.IDictionary" /> object has a fixed size.</summary>
4081 <see langword="true" /> if the <see cref="T:System.Collections.IDictionary" /> object has a fixed size; otherwise, <see langword="false" />.</returns>
4083 <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#IDictionary#IsReadOnly">
4084 <summary>Gets a value indicating whether the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only.</summary>
4086 <see langword="true" /> if the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only; otherwise, <see langword="false" />.</returns>
4088 <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#IDictionary#Item(System.Object)">
4089 <summary>Gets or sets the element with the specified key.</summary>
4090 <param name="key">The key.</param>
4092 <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#IDictionary#Keys">
4093 <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>
4094 <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>
4096 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#IDictionary#Remove(System.Object)">
4097 <summary>Removes the element with the specified key from the immutable dictionary object.</summary>
4098 <param name="key">The key of the element to remove.</param>
4100 <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#IDictionary#Values">
4101 <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>
4102 <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>
4104 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#IEnumerable#GetEnumerator">
4105 <summary>Returns an enumerator that iterates through a collection.</summary>
4106 <returns>An enumerator object that can be used to iterate through the collection.</returns>
4108 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#Immutable#IImmutableDictionary{TKey@TValue}#Add(`0,`1)">
4109 <param name="key" />
4110 <param name="value" />
4112 <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}})">
4113 <param name="pairs" />
4115 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#Immutable#IImmutableDictionary{TKey@TValue}#Clear" />
4116 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#Immutable#IImmutableDictionary{TKey@TValue}#Remove(`0)">
4117 <param name="key" />
4119 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#Immutable#IImmutableDictionary{TKey@TValue}#RemoveRange(System.Collections.Generic.IEnumerable{`0})">
4120 <param name="keys" />
4122 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#Immutable#IImmutableDictionary{TKey@TValue}#SetItem(`0,`1)">
4123 <param name="key" />
4124 <param name="value" />
4126 <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}})">
4127 <param name="items" />
4129 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.ToBuilder">
4130 <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>
4131 <returns>A collection with the same contents as this dictionary.</returns>
4133 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.TryGetKey(`0,`0@)">
4134 <summary>Determines whether this dictionary contains a specified key.</summary>
4135 <param name="equalKey">The key to search for.</param>
4136 <param name="actualKey">The matching key located in the dictionary if found, or <c>equalkey</c> if no match is found.</param>
4138 <see langword="true" /> if a match for <paramref name="equalKey" /> is found; otherwise, <see langword="false" />.</returns>
4140 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.TryGetValue(`0,`1@)">
4141 <summary>Gets the value associated with the specified key.</summary>
4142 <param name="key">The key whose value will be retrieved.</param>
4143 <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>
4145 <see langword="true" /> if the dictionary contains an element with the specified key; otherwise, <see langword="false" />.</returns>
4147 <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.ValueComparer">
4148 <summary>Gets the value comparer used to determine whether values are equal.</summary>
4149 <returns>The value comparer used to determine whether values are equal.</returns>
4151 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.ValueRef(`0)">
4152 <summary>Returns a read-only reference to the value associated with the provided <paramref name="key" />.</summary>
4153 <param name="key" />
4154 <exception cref="T:System.Collections.Generic.KeyNotFoundException">The <paramref name="key" /> is not present.</exception>
4156 <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.Values">
4157 <summary>Gets the values in the immutable sorted dictionary.</summary>
4158 <returns>The values in the dictionary.</returns>
4160 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.WithComparers(System.Collections.Generic.IComparer{`0})">
4161 <summary>Gets an instance of the immutable sorted dictionary that uses the specified key comparer.</summary>
4162 <param name="keyComparer">The key comparer to use.</param>
4163 <returns>An instance of the immutable dictionary that uses the given comparer.</returns>
4165 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.WithComparers(System.Collections.Generic.IComparer{`0},System.Collections.Generic.IEqualityComparer{`1})">
4166 <summary>Gets an instance of the immutable sorted dictionary that uses the specified key and value comparers.</summary>
4167 <param name="keyComparer">The key comparer to use.</param>
4168 <param name="valueComparer">The value comparer to use.</param>
4169 <returns>An instance of the immutable dictionary that uses the given comparers.</returns>
4171 <member name="T:System.Collections.Immutable.ImmutableSortedSet">
4172 <summary>Provides a set of initialization methods for instances of the <see cref="T:System.Collections.Immutable.ImmutableSortedSet`1" /> class.
4173 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
4175 <member name="M:System.Collections.Immutable.ImmutableSortedSet.Create``1">
4176 <summary>Creates an empty immutable sorted set.</summary>
4177 <typeparam name="T">The type of items to be stored in the immutable set.</typeparam>
4178 <returns>An empty immutable sorted set.</returns>
4180 <member name="M:System.Collections.Immutable.ImmutableSortedSet.Create``1(``0)">
4181 <summary>Creates a new immutable sorted set that contains the specified item.</summary>
4182 <param name="item">The item to prepopulate the set with.</param>
4183 <typeparam name="T">The type of items in the immutable set.</typeparam>
4184 <returns>A new immutable set that contains the specified item.</returns>
4186 <member name="M:System.Collections.Immutable.ImmutableSortedSet.Create``1(``0[])">
4187 <summary>Creates a new immutable sorted set that contains the specified array of items.</summary>
4188 <param name="items">An array that contains the items to prepopulate the set with.</param>
4189 <typeparam name="T">The type of items in the immutable set.</typeparam>
4190 <returns>A new immutable set that contains the specified items.</returns>
4192 <member name="M:System.Collections.Immutable.ImmutableSortedSet.Create``1(System.Collections.Generic.IComparer{``0})">
4193 <summary>Creates an empty immutable sorted set that uses the specified comparer.</summary>
4194 <param name="comparer">The implementation to use when comparing items in the set.</param>
4195 <typeparam name="T">The type of items in the immutable set.</typeparam>
4196 <returns>An empty immutable set.</returns>
4198 <member name="M:System.Collections.Immutable.ImmutableSortedSet.Create``1(System.Collections.Generic.IComparer{``0},``0)">
4199 <summary>Creates a new immutable sorted set that contains the specified item and uses the specified comparer.</summary>
4200 <param name="comparer">The implementation to use when comparing items in the set.</param>
4201 <param name="item">The item to prepopulate the set with.</param>
4202 <typeparam name="T">The type of items stored in the immutable set.</typeparam>
4203 <returns>A new immutable set that contains the specified item.</returns>
4205 <member name="M:System.Collections.Immutable.ImmutableSortedSet.Create``1(System.Collections.Generic.IComparer{``0},``0[])">
4206 <summary>Creates a new immutable sorted set that contains the specified array of items and uses the specified comparer.</summary>
4207 <param name="comparer">The implementation to use when comparing items in the set.</param>
4208 <param name="items">An array that contains the items to prepopulate the set with.</param>
4209 <typeparam name="T">The type of items in the immutable set.</typeparam>
4210 <returns>A new immutable set that contains the specified items.</returns>
4212 <member name="M:System.Collections.Immutable.ImmutableSortedSet.CreateBuilder``1">
4213 <summary>Returns a collection that can be used to build an immutable sorted set.</summary>
4214 <typeparam name="T">The type of items stored by the collection.</typeparam>
4215 <returns>The immutable collection builder.</returns>
4217 <member name="M:System.Collections.Immutable.ImmutableSortedSet.CreateBuilder``1(System.Collections.Generic.IComparer{``0})">
4218 <summary>Returns a collection that can be used to build an immutable sorted set.</summary>
4219 <param name="comparer">The comparer used to compare items in the set for equality.</param>
4220 <typeparam name="T">The type of items stored by the collection.</typeparam>
4221 <returns>The immutable collection.</returns>
4223 <member name="M:System.Collections.Immutable.ImmutableSortedSet.CreateRange``1(System.Collections.Generic.IComparer{``0},System.Collections.Generic.IEnumerable{``0})">
4224 <summary>Creates a new immutable collection that contains the specified items.</summary>
4225 <param name="comparer">The comparer to use to compare elements in this set.</param>
4226 <param name="items">The items to add to the set before it's immutable.</param>
4227 <typeparam name="T">The type of items stored by the collection.</typeparam>
4228 <returns>The new immutable set that contains the specified items.</returns>
4230 <member name="M:System.Collections.Immutable.ImmutableSortedSet.CreateRange``1(System.Collections.Generic.IEnumerable{``0})">
4231 <summary>Creates a new immutable collection that contains the specified items.</summary>
4232 <param name="items">The items to add to the set with before it's immutable.</param>
4233 <typeparam name="T">The type of items stored by the collection.</typeparam>
4234 <returns>The new immutable set that contains the specified items.</returns>
4236 <member name="M:System.Collections.Immutable.ImmutableSortedSet.ToImmutableSortedSet``1(System.Collections.Generic.IEnumerable{``0})">
4237 <summary>Enumerates a sequence and produces an immutable sorted set of its contents.</summary>
4238 <param name="source">The sequence to enumerate.</param>
4239 <typeparam name="TSource">The type of the elements in the sequence.</typeparam>
4240 <returns>An immutable sorted set that contains the items in the specified sequence.</returns>
4242 <member name="M:System.Collections.Immutable.ImmutableSortedSet.ToImmutableSortedSet``1(System.Collections.Generic.IEnumerable{``0},System.Collections.Generic.IComparer{``0})">
4243 <summary>Enumerates a sequence, produces an immutable sorted set of its contents, and uses the specified comparer.</summary>
4244 <param name="source">The sequence to enumerate.</param>
4245 <param name="comparer">The comparer to use for initializing and adding members to the sorted set.</param>
4246 <typeparam name="TSource">The type of the elements in the sequence.</typeparam>
4247 <returns>An immutable sorted set that contains the items in the specified sequence.</returns>
4249 <member name="M:System.Collections.Immutable.ImmutableSortedSet.ToImmutableSortedSet``1(System.Collections.Immutable.ImmutableSortedSet{``0}.Builder)">
4250 <summary>Creates an immutable sorted set from the current contents of the builder's set.</summary>
4251 <param name="builder">The builder to create the immutable sorted set from.</param>
4252 <typeparam name="TSource">The type of the elements in the immutable sorted set.</typeparam>
4253 <returns>An immutable sorted set that contains the current contents in the builder's set.</returns>
4255 <member name="T:System.Collections.Immutable.ImmutableSortedSet`1">
4256 <summary>Represents an immutable sorted set implementation.
4257 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
4258 <typeparam name="T">The type of elements in the set.</typeparam>
4260 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Add(`0)">
4261 <summary>Adds the specified value to this immutable sorted set.</summary>
4262 <param name="value">The value to add.</param>
4263 <returns>A new set with the element added, or this set if the element is already in this set.</returns>
4265 <member name="T:System.Collections.Immutable.ImmutableSortedSet`1.Builder">
4266 <summary>Represents a sorted set that enables changes with little or no memory allocations, and efficiently manipulates or builds immutable sorted sets.
4267 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
4268 <typeparam name="T" />
4270 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Builder.Add(`0)">
4271 <summary>Adds an element to the current set and returns a value to indicate whether the element was successfully added.</summary>
4272 <param name="item">The element to add to the set.</param>
4274 <see langword="true" /> if the element is added to the set; <see langword="false" /> if the element is already in the set</returns>
4276 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Builder.Clear">
4277 <summary>Removes all elements from this set.</summary>
4279 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Builder.Contains(`0)">
4280 <summary>Determines whether the set contains the specified object.</summary>
4281 <param name="item">The object to locate in the set.</param>
4283 <see langword="true" /> if <paramref name="item" /> is found in the set; otherwise, <see langword="false" />.</returns>
4285 <member name="P:System.Collections.Immutable.ImmutableSortedSet`1.Builder.Count">
4286 <summary>Gets the number of elements in the immutable sorted set.</summary>
4287 <returns>The number of elements in this set.</returns>
4289 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Builder.ExceptWith(System.Collections.Generic.IEnumerable{`0})">
4290 <summary>Removes the specified set of items from the current set.</summary>
4291 <param name="other">The collection of items to remove from the set.</param>
4293 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Builder.GetEnumerator">
4294 <summary>Returns an enumerator that iterates through the set.</summary>
4295 <returns>A enumerator that can be used to iterate through the set.</returns>
4297 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Builder.IntersectWith(System.Collections.Generic.IEnumerable{`0})">
4298 <summary>Modifies the current set so that it contains only elements that are also in a specified collection.</summary>
4299 <param name="other">The collection to compare to the current set.</param>
4301 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Builder.IsProperSubsetOf(System.Collections.Generic.IEnumerable{`0})">
4302 <summary>Determines whether the current set is a proper (strict) subset of a specified collection.</summary>
4303 <param name="other">The collection to compare to the current set.</param>
4305 <see langword="true" /> if the current set is a proper subset of <paramref name="other" />; otherwise, <see langword="false" />.</returns>
4307 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Builder.IsProperSupersetOf(System.Collections.Generic.IEnumerable{`0})">
4308 <summary>Determines whether the current set is a proper (strict) superset of a specified collection.</summary>
4309 <param name="other">The collection to compare to the current set.</param>
4311 <see langword="true" /> if the current set is a proper superset of <paramref name="other" />; otherwise, <see langword="false" />.</returns>
4313 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Builder.IsSubsetOf(System.Collections.Generic.IEnumerable{`0})">
4314 <summary>Determines whether the current set is a subset of a specified collection.</summary>
4315 <param name="other">The collection is compare to the current set.</param>
4317 <see langword="true" /> if the current set is a subset of <paramref name="other" />; otherwise, <see langword="false" />.</returns>
4319 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Builder.IsSupersetOf(System.Collections.Generic.IEnumerable{`0})">
4320 <summary>Determines whether the current set is a superset of a specified collection.</summary>
4321 <param name="other">The collection to compare to the current set.</param>
4323 <see langword="true" /> if the current set is a superset of <paramref name="other" />; otherwise, <see langword="false" />.</returns>
4325 <member name="P:System.Collections.Immutable.ImmutableSortedSet`1.Builder.Item(System.Int32)">
4326 <summary>Gets the element of the set at the given index.</summary>
4327 <param name="index">The 0-based index of the element in the set to return.</param>
4328 <returns>The element at the given position.</returns>
4330 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Builder.ItemRef(System.Int32)">
4331 <summary>Gets a read-only reference to the element of the set at the given <paramref name="index" />.</summary>
4332 <param name="index">The 0-based index of the element in the set to return.</param>
4333 <returns>A read-only reference to the element at the given position.</returns>
4335 <member name="P:System.Collections.Immutable.ImmutableSortedSet`1.Builder.KeyComparer">
4336 <summary>Gets or sets the object that is used to determine equality for the values in the immutable sorted set.</summary>
4337 <returns>The comparer that is used to determine equality for the values in the set.</returns>
4339 <member name="P:System.Collections.Immutable.ImmutableSortedSet`1.Builder.Max">
4340 <summary>Gets the maximum value in the immutable sorted set, as defined by the comparer.</summary>
4341 <returns>The maximum value in the set.</returns>
4343 <member name="P:System.Collections.Immutable.ImmutableSortedSet`1.Builder.Min">
4344 <summary>Gets the minimum value in the immutable sorted set, as defined by the comparer.</summary>
4345 <returns>The minimum value in the set.</returns>
4347 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Builder.Overlaps(System.Collections.Generic.IEnumerable{`0})">
4348 <summary>Determines whether the current set overlaps with the specified collection.</summary>
4349 <param name="other">The collection to compare to the current set.</param>
4351 <see langword="true" /> if the current set and <paramref name="other" /> share at least one common element; otherwise, <see langword="false" />.</returns>
4353 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Builder.Remove(`0)">
4354 <summary>Removes the first occurrence of the specified object from the set.</summary>
4355 <param name="item">The object to remove from the set.</param>
4357 <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>
4359 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Builder.Reverse">
4360 <summary>Returns an enumerator that iterates over the immutable sorted set in reverse order.</summary>
4361 <returns>An enumerator that iterates over the set in reverse order.</returns>
4363 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Builder.SetEquals(System.Collections.Generic.IEnumerable{`0})">
4364 <summary>Determines whether the current set and the specified collection contain the same elements.</summary>
4365 <param name="other">The collection to compare to the current set.</param>
4367 <see langword="true" /> if the current set is equal to <paramref name="other" />; otherwise, <see langword="false" />.</returns>
4369 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Builder.SymmetricExceptWith(System.Collections.Generic.IEnumerable{`0})">
4370 <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>
4371 <param name="other">The collection to compare to the current set.</param>
4373 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Builder.System#Collections#Generic#ICollection{T}#Add(`0)">
4374 <summary>Adds an element to the current set and returns a value to indicate whether the element was successfully added.</summary>
4375 <param name="item">The element to add to the set.</param>
4377 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Builder.System#Collections#Generic#ICollection{T}#CopyTo(`0[],System.Int32)">
4378 <summary>Copies the elements of the collection to an array, starting at a particular array index.</summary>
4379 <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>
4380 <param name="arrayIndex">The zero-based index in <paramref name="array" /> at which copying begins.</param>
4382 <member name="P:System.Collections.Immutable.ImmutableSortedSet`1.Builder.System#Collections#Generic#ICollection{T}#IsReadOnly">
4383 <summary>Gets a value that indicates whether this instance is read-only.</summary>
4384 <returns>Always <c>false</c>.</returns>
4386 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Builder.System#Collections#Generic#IEnumerable{T}#GetEnumerator">
4387 <summary>Returns an enumerator that iterates through the collection.</summary>
4388 <returns>A enumerator that can be used to iterate through the collection.</returns>
4390 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Builder.System#Collections#ICollection#CopyTo(System.Array,System.Int32)">
4391 <summary>Copies the elements of the set to an array, starting at a particular array index.</summary>
4392 <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>
4393 <param name="arrayIndex">The zero-based index in <paramref name="array" /> at which copying begins.</param>
4395 <member name="P:System.Collections.Immutable.ImmutableSortedSet`1.Builder.System#Collections#ICollection#IsSynchronized">
4396 <summary>Gets a value that indicates whether access to the <see cref="T:System.Collections.ICollection" /> is synchronized (thread-safe).</summary>
4398 <see langword="true" /> if access to the <see cref="T:System.Collections.ICollection" /> is synchronized (thread-safe); otherwise, <see langword="false" />.</returns>
4400 <member name="P:System.Collections.Immutable.ImmutableSortedSet`1.Builder.System#Collections#ICollection#SyncRoot">
4401 <summary>Gets an object that can be used to synchronize access to the <see cref="T:System.Collections.ICollection" />.</summary>
4402 <returns>An object that can be used to synchronize access to the <see cref="T:System.Collections.ICollection" />.</returns>
4404 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Builder.System#Collections#IEnumerable#GetEnumerator">
4405 <summary>Returns an enumerator that iterates through the collection.</summary>
4406 <returns>A enumerator that can be used to iterate through the collection.</returns>
4408 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Builder.ToImmutable">
4409 <summary>Creates an immutable sorted set based on the contents of this instance.</summary>
4410 <returns>An immutable set.</returns>
4412 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Builder.UnionWith(System.Collections.Generic.IEnumerable{`0})">
4413 <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>
4414 <param name="other">The collection to compare to the current state.</param>
4416 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Clear">
4417 <summary>Removes all elements from the immutable sorted set.</summary>
4418 <returns>An empty set with the elements removed.</returns>
4420 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Contains(`0)">
4421 <summary>Determines whether this immutable sorted set contains the specified value.</summary>
4422 <param name="value">The value to check for.</param>
4424 <see langword="true" /> if the set contains the specified value; otherwise, <see langword="false" />.</returns>
4426 <member name="P:System.Collections.Immutable.ImmutableSortedSet`1.Count">
4427 <summary>Gets the number of elements in the immutable sorted set.</summary>
4428 <returns>The number of elements in the immutable sorted set.</returns>
4430 <member name="F:System.Collections.Immutable.ImmutableSortedSet`1.Empty">
4431 <summary>Gets an empty immutable sorted set.</summary>
4433 <member name="T:System.Collections.Immutable.ImmutableSortedSet`1.Enumerator">
4434 <summary>Enumerates the contents of a binary tree.
4435 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
4436 <typeparam name="T" />
4438 <member name="P:System.Collections.Immutable.ImmutableSortedSet`1.Enumerator.Current">
4439 <summary>Gets the element at the current position of the enumerator.
4440 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
4441 <returns>The element at the current position of the enumerator.</returns>
4443 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Enumerator.Dispose">
4444 <summary>Releases the resources used by the current instance of the <see cref="T:System.Collections.Immutable.ImmutableSortedSet`1.Enumerator" /> class.
4445 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
4447 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Enumerator.MoveNext">
4448 <summary>Advances the enumerator to the next element of the immutable sorted set.
4449 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
4451 <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>
4453 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Enumerator.Reset">
4454 <summary>Sets the enumerator to its initial position, which is before the first element in the immutable sorted set.
4455 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
4457 <member name="P:System.Collections.Immutable.ImmutableSortedSet`1.Enumerator.System#Collections#IEnumerator#Current">
4458 <summary>The current element.</summary>
4460 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Except(System.Collections.Generic.IEnumerable{`0})">
4461 <summary>Removes a specified set of items from this immutable sorted set.</summary>
4462 <param name="other">The items to remove from this set.</param>
4463 <returns>A new set with the items removed; or the original set if none of the items were in the set.</returns>
4465 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.GetEnumerator">
4466 <summary>Returns an enumerator that iterates through the immutable sorted set.</summary>
4467 <returns>An enumerator that can be used to iterate through the set.</returns>
4469 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.IndexOf(`0)">
4470 <summary>Gets the position within this immutable sorted set that the specified value appears in.</summary>
4471 <param name="item">The value whose position is being sought.</param>
4472 <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>
4474 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Intersect(System.Collections.Generic.IEnumerable{`0})">
4475 <summary>Creates an immutable sorted set that contains elements that exist both in this set and in the specified set.</summary>
4476 <param name="other">The set to intersect with this one.</param>
4477 <returns>A new immutable sorted set that contains any elements that exist in both sets.</returns>
4479 <member name="P:System.Collections.Immutable.ImmutableSortedSet`1.IsEmpty">
4480 <summary>Gets a value that indicates whether this immutable sorted set is empty.</summary>
4482 <see langword="true" /> if this set is empty; otherwise, <see langword="false" />.</returns>
4484 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.IsProperSubsetOf(System.Collections.Generic.IEnumerable{`0})">
4485 <summary>Determines whether the current immutable sorted set is a proper (strict) subset of the specified collection.</summary>
4486 <param name="other">The collection to compare to the current set.</param>
4488 <see langword="true" /> if the current set is a proper subset of <paramref name="other" />; otherwise, <see langword="false" />.</returns>
4490 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.IsProperSupersetOf(System.Collections.Generic.IEnumerable{`0})">
4491 <summary>Determines whether the current immutable sorted set is a proper superset of a specified collection.</summary>
4492 <param name="other">The collection to compare to the current set.</param>
4494 <see langword="true" /> if the current set is a proper superset of <paramref name="other" />; otherwise, <see langword="false" />.</returns>
4496 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.IsSubsetOf(System.Collections.Generic.IEnumerable{`0})">
4497 <summary>Determines whether the current immutable sorted set is a subset of a specified collection.</summary>
4498 <param name="other">The collection to compare to the current set.</param>
4500 <see langword="true" /> if the current set is a subset of <paramref name="other" />; otherwise, <see langword="false" />.</returns>
4502 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.IsSupersetOf(System.Collections.Generic.IEnumerable{`0})">
4503 <summary>Determines whether the current immutable sorted set is a superset of a specified collection.</summary>
4504 <param name="other">The collection to compare to the current set.</param>
4506 <see langword="true" /> if the current set is a superset of <paramref name="other" />; otherwise, <see langword="false" />.</returns>
4508 <member name="P:System.Collections.Immutable.ImmutableSortedSet`1.Item(System.Int32)">
4509 <summary>Gets the element of the immutable sorted set at the given index.</summary>
4510 <param name="index">The index of the element to retrieve from the sorted set.</param>
4511 <returns>The element at the given index.</returns>
4513 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.ItemRef(System.Int32)">
4514 <summary>Gets a read-only reference of the element of the set at the given <paramref name="index" />.</summary>
4515 <param name="index">The 0-based index of the element in the set to return.</param>
4516 <returns>A read-only reference of the element at the given position.</returns>
4518 <member name="P:System.Collections.Immutable.ImmutableSortedSet`1.KeyComparer">
4519 <summary>Gets the comparer used to sort keys in the immutable sorted set.</summary>
4520 <returns>The comparer used to sort keys.</returns>
4522 <member name="P:System.Collections.Immutable.ImmutableSortedSet`1.Max">
4523 <summary>Gets the maximum value in the immutable sorted set, as defined by the comparer.</summary>
4524 <returns>The maximum value in the set.</returns>
4526 <member name="P:System.Collections.Immutable.ImmutableSortedSet`1.Min">
4527 <summary>Gets the minimum value in the immutable sorted set, as defined by the comparer.</summary>
4528 <returns>The minimum value in the set.</returns>
4530 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Overlaps(System.Collections.Generic.IEnumerable{`0})">
4531 <summary>Determines whether the current immutable sorted set and a specified collection share common elements.</summary>
4532 <param name="other">The collection to compare to the current set.</param>
4534 <see langword="true" /> if the current set and <paramref name="other" /> share at least one common element; otherwise, <see langword="false" />.</returns>
4536 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Remove(`0)">
4537 <summary>Removes the specified value from this immutable sorted set.</summary>
4538 <param name="value">The element to remove.</param>
4539 <returns>A new immutable sorted set with the element removed, or this set if the element was not found in the set.</returns>
4541 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Reverse">
4542 <summary>Returns an <see cref="T:System.Collections.Generic.IEnumerable`1" /> that iterates over this immutable sorted set in reverse order.</summary>
4543 <returns>An enumerator that iterates over the immutable sorted set in reverse order.</returns>
4545 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.SetEquals(System.Collections.Generic.IEnumerable{`0})">
4546 <summary>Determines whether the current immutable sorted set and the specified collection contain the same elements.</summary>
4547 <param name="other">The collection to compare to the current set.</param>
4549 <see langword="true" /> if the sets are equal; otherwise, <see langword="false" />.</returns>
4551 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.SymmetricExcept(System.Collections.Generic.IEnumerable{`0})">
4552 <summary>Creates an immutable sorted set that contains elements that exist either in this set or in a given sequence, but not both.</summary>
4553 <param name="other">The other sequence of items.</param>
4554 <returns>The new immutable sorted set.</returns>
4556 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#Generic#ICollection{T}#Add(`0)">
4557 <summary>Adds the specified value to the collection.</summary>
4558 <param name="item">The value to add.</param>
4560 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#Generic#ICollection{T}#Clear">
4561 <summary>Removes all the items from the collection.</summary>
4563 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#Generic#ICollection{T}#CopyTo(`0[],System.Int32)">
4564 <summary>Copies the elements of the collection to an array, starting at a particular array index.</summary>
4565 <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>
4566 <param name="arrayIndex">The zero-based index in <paramref name="array" /> at which copying begins.</param>
4568 <member name="P:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#Generic#ICollection{T}#IsReadOnly">
4569 <summary>See the <see cref="T:System.Collections.Generic.ICollection`1" /> interface.</summary>
4571 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#Generic#ICollection{T}#Remove(`0)">
4572 <summary>Removes the first occurrence of a specific object from the collection.</summary>
4573 <param name="item">The object to remove from the collection.</param>
4575 <see langword="true" /> if <paramref name="item" /> was successfully removed from the collection; otherwise, <see langword="false" />.</returns>
4577 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#Generic#IEnumerable{T}#GetEnumerator">
4578 <summary>Returns an enumerator that iterates through the collection.</summary>
4579 <returns>An enumerator that can be used to iterate through the collection.</returns>
4581 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#Generic#IList{T}#Insert(System.Int32,`0)">
4582 <summary>Inserts an item in the set at the specified index.</summary>
4583 <param name="index">The zero-based index at which <paramref name="item" /> should be inserted.</param>
4584 <param name="item">The object to insert into the set.</param>
4586 <member name="P:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#Generic#IList{T}#Item(System.Int32)">
4587 <summary>See the <see cref="T:System.Collections.Generic.IList`1" /> interface.</summary>
4588 <param name="index" />
4590 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#Generic#IList{T}#RemoveAt(System.Int32)">
4591 <summary>Removes the item at the specified index.</summary>
4592 <param name="index">The zero-based index of the item to remove.</param>
4594 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#Generic#ISet{T}#Add(`0)">
4595 <summary>Adds an element to the current set and returns a value to indicate if the element was successfully added.</summary>
4596 <param name="item">The element to add to the set.</param>
4598 <see langword="true" /> if the element is added to the set; <see langword="false" /> if the element is already in the set.</returns>
4600 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#Generic#ISet{T}#ExceptWith(System.Collections.Generic.IEnumerable{`0})">
4601 <summary>Removes all elements in the specified collection from the current set.</summary>
4602 <param name="other">The collection of items to remove from the set.</param>
4604 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#Generic#ISet{T}#IntersectWith(System.Collections.Generic.IEnumerable{`0})">
4605 <summary>Modifies the current set so that it contains only elements that are also in a specified collection</summary>
4606 <param name="other">The collection to compare to the current set.</param>
4608 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#Generic#ISet{T}#SymmetricExceptWith(System.Collections.Generic.IEnumerable{`0})">
4609 <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>
4610 <param name="other">The collection to compare to the current set.</param>
4612 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#Generic#ISet{T}#UnionWith(System.Collections.Generic.IEnumerable{`0})">
4613 <summary>Modifies the current set so that it contains all elements that are present in either the current set or the specified collection.</summary>
4614 <param name="other">The collection to compare to the current set.</param>
4616 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#ICollection#CopyTo(System.Array,System.Int32)">
4617 <summary>Copies the elements of the set to an array, starting at a particular array index.</summary>
4618 <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>
4619 <param name="index">The zero-based index in <paramref name="array" /> at which copying begins.</param>
4621 <member name="P:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#ICollection#IsSynchronized">
4622 <summary>See the <see cref="T:System.Collections.ICollection" /> interface.</summary>
4624 <member name="P:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#ICollection#SyncRoot">
4625 <summary>See <see cref="T:System.Collections.ICollection" />.</summary>
4627 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#IEnumerable#GetEnumerator">
4628 <summary>Returns an enumerator that iterates through a collection.</summary>
4629 <returns>An enumerator object that can be used to iterate through the collection.</returns>
4631 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#IList#Add(System.Object)">
4632 <summary>Adds an item to the set.</summary>
4633 <param name="value">The object to add to the set.</param>
4634 <returns>The position into which the new element was inserted, or -1 to indicate that the item was not inserted into the collection.</returns>
4635 <exception cref="T:System.NotSupportedException">The set is read-only or has a fixed size.</exception>
4637 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#IList#Clear">
4638 <summary>Removes all items from the set.</summary>
4639 <exception cref="T:System.NotSupportedException">Thrown in all cases.</exception>
4641 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#IList#Contains(System.Object)">
4642 <summary>Determines whether the set contains a specific value.</summary>
4643 <param name="value">The object to locate in the set.</param>
4645 <see langword="true" /> if the object is found in the set; otherwise, <see langword="false" />.</returns>
4647 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#IList#IndexOf(System.Object)">
4648 <summary>Determines the index of a specific item in the set.</summary>
4649 <param name="value">The object to locate in the set.</param>
4650 <returns>The index of <paramref name="value" /> if found in the list; otherwise, -1.</returns>
4652 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#IList#Insert(System.Int32,System.Object)">
4653 <summary>Inserts an item into the set at the specified index.</summary>
4654 <param name="index">The zero-based index at which <paramref name="value" /> should be inserted.</param>
4655 <param name="value">The object to insert into the set.</param>
4656 <exception cref="T:System.NotSupportedException">The set is read-only or has a fixed size.</exception>
4658 <member name="P:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#IList#IsFixedSize">
4659 <summary>Gets a value that indicates whether the <see cref="T:System.Collections.IList" /> has a fixed size.</summary>
4661 <see langword="true" /> if the <see cref="T:System.Collections.IList" /> has a fixed size; otherwise, <see langword="false" />.</returns>
4663 <member name="P:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#IList#IsReadOnly">
4664 <summary>Gets a value that indicates whether the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only.</summary>
4666 <see langword="true" /> if the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only; otherwise, <see langword="false" />.</returns>
4668 <member name="P:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#IList#Item(System.Int32)">
4669 <summary>Gets or sets the <see cref="T:System.Object" /> at the specified index.</summary>
4670 <param name="index">The index.</param>
4671 <returns>The <see cref="T:System.Object" />.</returns>
4672 <exception cref="T:System.NotSupportedException" />
4674 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#IList#Remove(System.Object)">
4675 <summary>Removes the first occurrence of a specific object from the set.</summary>
4676 <param name="value">The object to remove from the set.</param>
4677 <exception cref="T:System.NotSupportedException">The set is read-only or has a fixed size.</exception>
4679 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#IList#RemoveAt(System.Int32)">
4680 <summary>Removes the item at the specified index of the set.</summary>
4681 <param name="index">The zero-based index of the item to remove.</param>
4682 <exception cref="T:System.NotSupportedException">The set is read-only or has a fixed size.</exception>
4684 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#Immutable#IImmutableSet{T}#Add(`0)">
4685 <summary>Adds the specified element to this immutable set.</summary>
4686 <param name="value">The element to add.</param>
4687 <returns>A new set with the element added, or this set if the element is already in the set.</returns>
4689 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#Immutable#IImmutableSet{T}#Clear">
4690 <summary>Retrieves an empty immutable set that has the same sorting and ordering semantics as this instance.</summary>
4691 <returns>An empty set that has the same sorting and ordering semantics as this instance.</returns>
4693 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#Immutable#IImmutableSet{T}#Except(System.Collections.Generic.IEnumerable{`0})">
4694 <summary>Removes the elements in the specified collection from the current immutable set.</summary>
4695 <param name="other">The items to remove from this set.</param>
4696 <returns>The new set with the items removed; or the original set if none of the items were in the set.</returns>
4698 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#Immutable#IImmutableSet{T}#Intersect(System.Collections.Generic.IEnumerable{`0})">
4699 <summary>Creates an immutable set that contains elements that exist in both this set and the specified set.</summary>
4700 <param name="other">The collection to compare to the current set.</param>
4701 <returns>A new immutable set that contains any elements that exist in both sets.</returns>
4703 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#Immutable#IImmutableSet{T}#Remove(`0)">
4704 <summary>Removes the specified element from this immutable set.</summary>
4705 <param name="value">The element to remove.</param>
4706 <returns>A new set with the specified element removed, or the current set if the element cannot be found in the set.</returns>
4708 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#Immutable#IImmutableSet{T}#SymmetricExcept(System.Collections.Generic.IEnumerable{`0})">
4709 <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>
4710 <param name="other">The collection to compare to the current set.</param>
4711 <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>
4713 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#Immutable#IImmutableSet{T}#Union(System.Collections.Generic.IEnumerable{`0})">
4714 <summary>Creates a new immutable set that contains all elements that are present in either the current set or in the specified collection.</summary>
4715 <param name="other">The collection to add elements from.</param>
4716 <returns>A new immutable set with the items added; or the original set if all the items were already in the set.</returns>
4718 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.ToBuilder">
4719 <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>
4720 <returns>The sorted set builder.</returns>
4722 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.TryGetValue(`0,`0@)">
4723 <summary>Searches the set for a given value and returns the equal value it finds, if any.</summary>
4724 <param name="equalValue">The value to search for.</param>
4725 <param name="actualValue">The value from the set that the search found, or the original value if the search yielded no match.</param>
4726 <returns>A value indicating whether the search was successful.</returns>
4728 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Union(System.Collections.Generic.IEnumerable{`0})">
4729 <summary>Adds a given set of items to this immutable sorted set.</summary>
4730 <param name="other">The items to add.</param>
4731 <returns>The new set with the items added; or the original set if all the items were already in the set.</returns>
4733 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.WithComparer(System.Collections.Generic.IComparer{`0})">
4734 <summary>Returns the immutable sorted set that has the specified key comparer.</summary>
4735 <param name="comparer">The comparer to check for.</param>
4736 <returns>The immutable sorted set that has the specified key comparer.</returns>
4738 <member name="T:System.Collections.Immutable.ImmutableStack">
4739 <summary>Provides a set of initialization methods for instances of the <see cref="T:System.Collections.Immutable.ImmutableStack`1" /> class.
4740 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
4742 <member name="M:System.Collections.Immutable.ImmutableStack.Create``1">
4743 <summary>Creates an empty immutable stack.</summary>
4744 <typeparam name="T">The type of items to be stored in the immutable stack.</typeparam>
4745 <returns>An empty immutable stack.</returns>
4747 <member name="M:System.Collections.Immutable.ImmutableStack.Create``1(``0)">
4748 <summary>Creates a new immutable stack that contains the specified item.</summary>
4749 <param name="item">The item to prepopulate the stack with.</param>
4750 <typeparam name="T">The type of items in the immutable stack.</typeparam>
4751 <returns>A new immutable collection that contains the specified item.</returns>
4753 <member name="M:System.Collections.Immutable.ImmutableStack.Create``1(``0[])">
4754 <summary>Creates a new immutable stack that contains the specified array of items.</summary>
4755 <param name="items">An array that contains the items to prepopulate the stack with.</param>
4756 <typeparam name="T">The type of items in the immutable stack.</typeparam>
4757 <returns>A new immutable stack that contains the specified items.</returns>
4759 <member name="M:System.Collections.Immutable.ImmutableStack.CreateRange``1(System.Collections.Generic.IEnumerable{``0})">
4760 <summary>Creates a new immutable stack that contains the specified items.</summary>
4761 <param name="items">The items to add to the stack before it's immutable.</param>
4762 <typeparam name="T">The type of items in the stack.</typeparam>
4763 <returns>An immutable stack that contains the specified items.</returns>
4765 <member name="M:System.Collections.Immutable.ImmutableStack.Pop``1(System.Collections.Immutable.IImmutableStack{``0},``0@)">
4766 <summary>Removes the specified item from an immutable stack.</summary>
4767 <param name="stack">The stack to modify.</param>
4768 <param name="value">The item to remove from the stack.</param>
4769 <typeparam name="T">The type of items contained in the stack.</typeparam>
4770 <returns>A stack; never <see langword="null" />.</returns>
4771 <exception cref="T:System.InvalidOperationException">The stack is empty.</exception>
4773 <member name="T:System.Collections.Immutable.ImmutableStack`1">
4774 <summary>Represents an immutable stack.
4775 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
4776 <typeparam name="T">The type of element on the stack.</typeparam>
4778 <member name="M:System.Collections.Immutable.ImmutableStack`1.Clear">
4779 <summary>Removes all objects from the immutable stack.</summary>
4780 <returns>An empty immutable stack.</returns>
4782 <member name="P:System.Collections.Immutable.ImmutableStack`1.Empty">
4783 <summary>Gets an empty immutable stack.</summary>
4784 <returns>An empty immutable stack.</returns>
4786 <member name="T:System.Collections.Immutable.ImmutableStack`1.Enumerator">
4787 <summary>Enumerates the contents of an immutable stack without allocating any memory.
4788 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
4789 <typeparam name="T" />
4791 <member name="P:System.Collections.Immutable.ImmutableStack`1.Enumerator.Current">
4792 <summary>Gets the element at the current position of the enumerator.</summary>
4793 <returns>The element at the current position of the enumerator.</returns>
4795 <member name="M:System.Collections.Immutable.ImmutableStack`1.Enumerator.MoveNext">
4796 <summary>Advances the enumerator to the next element of the immutable stack.</summary>
4798 <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>
4800 <member name="M:System.Collections.Immutable.ImmutableStack`1.GetEnumerator">
4801 <summary>Returns an enumerator that iterates through the immutable stack.</summary>
4802 <returns>An enumerator that can be used to iterate through the stack.</returns>
4804 <member name="P:System.Collections.Immutable.ImmutableStack`1.IsEmpty">
4805 <summary>Gets a value that indicates whether this instance of the immutable stack is empty.</summary>
4807 <see langword="true" /> if this instance is empty; otherwise, <see langword="false" />.</returns>
4809 <member name="M:System.Collections.Immutable.ImmutableStack`1.Peek">
4810 <summary>Returns the object at the top of the stack without removing it.</summary>
4811 <returns>The object at the top of the stack.</returns>
4812 <exception cref="T:System.InvalidOperationException">The stack is empty.</exception>
4814 <member name="M:System.Collections.Immutable.ImmutableStack`1.PeekRef">
4815 <summary>Gets a read-only reference to the element on the top of the stack.</summary>
4816 <returns>A read-only reference to the element on the top of the stack.</returns>
4817 <exception cref="T:System.InvalidOperationException">Thrown when the stack is empty.</exception>
4819 <member name="M:System.Collections.Immutable.ImmutableStack`1.Pop">
4820 <summary>Removes the element at the top of the immutable stack and returns the stack after the removal.</summary>
4821 <returns>A stack; never <see langword="null" />.</returns>
4822 <exception cref="T:System.InvalidOperationException">The stack is empty.</exception>
4824 <member name="M:System.Collections.Immutable.ImmutableStack`1.Pop(`0@)">
4825 <summary>Removes the specified element from the immutable stack and returns the stack after the removal.</summary>
4826 <param name="value">The value to remove from the stack.</param>
4827 <returns>A stack; never <see langword="null" />.</returns>
4829 <member name="M:System.Collections.Immutable.ImmutableStack`1.Push(`0)">
4830 <summary>Inserts an object at the top of the immutable stack and returns the new stack.</summary>
4831 <param name="value">The object to push onto the stack.</param>
4832 <returns>The new stack.</returns>
4834 <member name="M:System.Collections.Immutable.ImmutableStack`1.System#Collections#Generic#IEnumerable{T}#GetEnumerator">
4835 <summary>Returns an enumerator that iterates through the collection.</summary>
4836 <returns>An enumerator that can be used to iterate through the collection.</returns>
4838 <member name="M:System.Collections.Immutable.ImmutableStack`1.System#Collections#IEnumerable#GetEnumerator">
4839 <summary>Returns an enumerator that iterates through a collection.</summary>
4840 <returns>An <see cref="T:System.Collections.IEnumerator" /> object that can be used to iterate through the collection.</returns>
4842 <member name="M:System.Collections.Immutable.ImmutableStack`1.System#Collections#Immutable#IImmutableStack{T}#Clear">
4843 <summary>Removes all elements from the immutable stack.</summary>
4844 <returns>The empty immutable stack.</returns>
4846 <member name="M:System.Collections.Immutable.ImmutableStack`1.System#Collections#Immutable#IImmutableStack{T}#Pop">
4847 <summary>Removes the element at the top of the immutable stack and returns the new stack.</summary>
4848 <returns>The new stack; never <see langword="null" />.</returns>
4850 <member name="M:System.Collections.Immutable.ImmutableStack`1.System#Collections#Immutable#IImmutableStack{T}#Push(`0)">
4851 <summary>Inserts an element at the top of the immutable stack and returns the new stack.</summary>
4852 <param name="value">The element to push onto the stack.</param>
4853 <returns>The new stack.</returns>
4855 <member name="T:System.Linq.ImmutableArrayExtensions">
4856 <summary>LINQ extension method overrides that offer greater efficiency for <see cref="T:System.Collections.Immutable.ImmutableArray`1" /> than the standard LINQ methods
4857 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
4859 <member name="M:System.Linq.ImmutableArrayExtensions.Aggregate``1(System.Collections.Immutable.ImmutableArray{``0},System.Func{``0,``0,``0})">
4860 <summary>Applies a function to a sequence of elements in a cumulative way.</summary>
4861 <param name="immutableArray">The collection to apply the function to.</param>
4862 <param name="func">A function to be invoked on each element, in a cumulative way.</param>
4863 <typeparam name="T">The type of element contained by the collection.</typeparam>
4864 <returns>The final value after the cumulative function has been applied to all elements.</returns>
4866 <member name="M:System.Linq.ImmutableArrayExtensions.Aggregate``2(System.Collections.Immutable.ImmutableArray{``1},``0,System.Func{``0,``1,``0})">
4867 <summary>Applies a function to a sequence of elements in a cumulative way.</summary>
4868 <param name="immutableArray">The collection to apply the function to.</param>
4869 <param name="seed">The initial accumulator value.</param>
4870 <param name="func">A function to be invoked on each element, in a cumulative way.</param>
4871 <typeparam name="TAccumulate">The type of the accumulated value.</typeparam>
4872 <typeparam name="T">The type of element contained by the collection.</typeparam>
4873 <returns>The final accumulator value.</returns>
4875 <member name="M:System.Linq.ImmutableArrayExtensions.Aggregate``3(System.Collections.Immutable.ImmutableArray{``2},``0,System.Func{``0,``2,``0},System.Func{``0,``1})">
4876 <summary>Applies a function to a sequence of elements in a cumulative way.</summary>
4877 <param name="immutableArray">The collection to apply the function to.</param>
4878 <param name="seed">The initial accumulator value.</param>
4879 <param name="func">A function to be invoked on each element, in a cumulative way.</param>
4880 <param name="resultSelector" />
4881 <typeparam name="TAccumulate">The type of the accumulated value.</typeparam>
4882 <typeparam name="TResult">The type of result returned by the result selector.</typeparam>
4883 <typeparam name="T">The type of element contained by the collection.</typeparam>
4884 <returns>The final accumulator value.</returns>
4886 <member name="M:System.Linq.ImmutableArrayExtensions.All``1(System.Collections.Immutable.ImmutableArray{``0},System.Func{``0,System.Boolean})">
4887 <summary>Gets a value indicating whether all elements in this array match a given condition.</summary>
4888 <param name="immutableArray">The array to check for matches.</param>
4889 <param name="predicate">The predicate.</param>
4890 <typeparam name="T">The type of element contained by the collection.</typeparam>
4892 <see langword="true" /> if every element of the source sequence passes the test in the specified predicate; otherwise, <see langword="false" />.</returns>
4894 <member name="M:System.Linq.ImmutableArrayExtensions.Any``1(System.Collections.Immutable.ImmutableArray{``0})">
4895 <summary>Gets a value indicating whether the array contains any elements.</summary>
4896 <param name="immutableArray">The array to check for elements.</param>
4897 <typeparam name="T">The type of element contained by the collection.</typeparam>
4899 <see langword="true" /> if the array contains an elements; otherwise, <see langword="false" />.</returns>
4901 <member name="M:System.Linq.ImmutableArrayExtensions.Any``1(System.Collections.Immutable.ImmutableArray{``0},System.Func{``0,System.Boolean})">
4902 <summary>Gets a value indicating whether the array contains any elements that match a specified condition.</summary>
4903 <param name="immutableArray">The array to check for elements.</param>
4904 <param name="predicate">The delegate that defines the condition to match to an element.</param>
4905 <typeparam name="T">The type of element contained by the collection.</typeparam>
4907 <see langword="true" /> if an element matches the specified condition; otherwise, <see langword="false" />.</returns>
4909 <member name="M:System.Linq.ImmutableArrayExtensions.Any``1(System.Collections.Immutable.ImmutableArray{``0}.Builder)">
4910 <summary>Returns a value indicating whether this collection contains any elements.</summary>
4911 <param name="builder">The builder to check for matches.</param>
4912 <typeparam name="T">The type of elements in the array.</typeparam>
4914 <see langword="true" /> if the array builder contains any elements; otherwise, <see langword="false" />.</returns>
4916 <member name="M:System.Linq.ImmutableArrayExtensions.ElementAt``1(System.Collections.Immutable.ImmutableArray{``0},System.Int32)">
4917 <summary>Returns the element at a specified index in the array.</summary>
4918 <param name="immutableArray">The array to find an element in.</param>
4919 <param name="index">The index for the element to retrieve.</param>
4920 <typeparam name="T">The type of element contained by the collection.</typeparam>
4921 <returns>The item at the specified index.</returns>
4923 <member name="M:System.Linq.ImmutableArrayExtensions.ElementAtOrDefault``1(System.Collections.Immutable.ImmutableArray{``0},System.Int32)">
4924 <summary>Returns the element at a specified index in a sequence or a default value if the index is out of range.</summary>
4925 <param name="immutableArray">The array to find an element in.</param>
4926 <param name="index">The index for the element to retrieve.</param>
4927 <typeparam name="T">The type of element contained by the collection.</typeparam>
4928 <returns>The item at the specified index, or the default value if the index is not found.</returns>
4930 <member name="M:System.Linq.ImmutableArrayExtensions.First``1(System.Collections.Immutable.ImmutableArray{``0})">
4931 <summary>Returns the first element in an array.</summary>
4932 <param name="immutableArray">The array to get an item from.</param>
4933 <typeparam name="T">The type of element contained by the collection.</typeparam>
4934 <returns>The first item in the array.</returns>
4935 <exception cref="T:System.InvalidOperationException">If the array is empty.</exception>
4937 <member name="M:System.Linq.ImmutableArrayExtensions.First``1(System.Collections.Immutable.ImmutableArray{``0},System.Func{``0,System.Boolean})">
4938 <summary>Returns the first element in a sequence that satisfies a specified condition.</summary>
4939 <param name="immutableArray">The array to get an item from.</param>
4940 <param name="predicate">The delegate that defines the conditions of the element to search for.</param>
4941 <typeparam name="T">The type of element contained by the collection.</typeparam>
4942 <returns>The first item in the list if it meets the condition specified by <paramref name="predicate" />.</returns>
4943 <exception cref="T:System.InvalidOperationException">If the array is empty.</exception>
4945 <member name="M:System.Linq.ImmutableArrayExtensions.First``1(System.Collections.Immutable.ImmutableArray{``0}.Builder)">
4946 <summary>Returns the first element in the collection.</summary>
4947 <param name="builder">The builder to retrieve an item from.</param>
4948 <typeparam name="T">The type of items in the array.</typeparam>
4949 <returns>The first item in the list.</returns>
4950 <exception cref="T:System.InvalidOperationException">If the array is empty.</exception>
4952 <member name="M:System.Linq.ImmutableArrayExtensions.FirstOrDefault``1(System.Collections.Immutable.ImmutableArray{``0})">
4953 <summary>Returns the first element of a sequence, or a default value if the sequence contains no elements.</summary>
4954 <param name="immutableArray">The array to retrieve items from.</param>
4955 <typeparam name="T">The type of element contained by the collection.</typeparam>
4956 <returns>The first item in the list, if found; otherwise the default value for the item type.</returns>
4958 <member name="M:System.Linq.ImmutableArrayExtensions.FirstOrDefault``1(System.Collections.Immutable.ImmutableArray{``0},System.Func{``0,System.Boolean})">
4959 <summary>Returns the first element of the sequence that satisfies a condition or a default value if no such element is found.</summary>
4960 <param name="immutableArray">The array to retrieve elements from.</param>
4961 <param name="predicate">The delegate that defines the conditions of the element to search for.</param>
4962 <typeparam name="T">The type of element contained by the collection.</typeparam>
4963 <returns>The first item in the list, if found; otherwise the default value for the item type.</returns>
4965 <member name="M:System.Linq.ImmutableArrayExtensions.FirstOrDefault``1(System.Collections.Immutable.ImmutableArray{``0}.Builder)">
4966 <summary>Returns the first element in the collection, or the default value if the collection is empty.</summary>
4967 <param name="builder">The builder to retrieve an element from.</param>
4968 <typeparam name="T">The type of item in the builder.</typeparam>
4969 <returns>The first item in the list, if found; otherwise the default value for the item type.</returns>
4971 <member name="M:System.Linq.ImmutableArrayExtensions.Last``1(System.Collections.Immutable.ImmutableArray{``0})">
4972 <summary>Returns the last element of the array.</summary>
4973 <param name="immutableArray">The array to retrieve items from.</param>
4974 <typeparam name="T">The type of element contained by the array.</typeparam>
4975 <returns>The last element in the array.</returns>
4976 <exception cref="T:System.InvalidOperationException">Thrown if the collection is empty.</exception>
4978 <member name="M:System.Linq.ImmutableArrayExtensions.Last``1(System.Collections.Immutable.ImmutableArray{``0},System.Func{``0,System.Boolean})">
4979 <summary>Returns the last element of a sequence that satisfies a specified condition.</summary>
4980 <param name="immutableArray">The array to retrieve elements from.</param>
4981 <param name="predicate">The delegate that defines the conditions of the element to retrieve.</param>
4982 <typeparam name="T">The type of element contained by the collection.</typeparam>
4983 <returns>The last element of the array that satisfies the <paramref name="predicate" /> condition.</returns>
4984 <exception cref="T:System.InvalidOperationException">Thrown if the collection is empty.</exception>
4986 <member name="M:System.Linq.ImmutableArrayExtensions.Last``1(System.Collections.Immutable.ImmutableArray{``0}.Builder)">
4987 <summary>Returns the last element in the collection.</summary>
4988 <param name="builder">The builder to retrieve elements from.</param>
4989 <typeparam name="T">The type of item in the builder.</typeparam>
4990 <returns>The last element in the builder.</returns>
4991 <exception cref="T:System.InvalidOperationException">Thrown if the collection is empty.</exception>
4993 <member name="M:System.Linq.ImmutableArrayExtensions.LastOrDefault``1(System.Collections.Immutable.ImmutableArray{``0})">
4994 <summary>Returns the last element of a sequence, or a default value if the sequence contains no elements.</summary>
4995 <param name="immutableArray">The array to retrieve items from.</param>
4996 <typeparam name="T">The type of element contained by the collection.</typeparam>
4997 <returns>The last element of a sequence, or a default value if the sequence contains no elements.</returns>
4999 <member name="M:System.Linq.ImmutableArrayExtensions.LastOrDefault``1(System.Collections.Immutable.ImmutableArray{``0},System.Func{``0,System.Boolean})">
5000 <summary>Returns the last element of a sequence that satisfies a condition or a default value if no such element is found.</summary>
5001 <param name="immutableArray">The array to retrieve an element from.</param>
5002 <param name="predicate">The delegate that defines the conditions of the element to search for.</param>
5003 <typeparam name="T">The type of element contained by the collection.</typeparam>
5004 <returns>The last element of a sequence, or a default value if the sequence contains no elements.</returns>
5006 <member name="M:System.Linq.ImmutableArrayExtensions.LastOrDefault``1(System.Collections.Immutable.ImmutableArray{``0}.Builder)">
5007 <summary>Returns the last element in the collection, or the default value if the collection is empty.</summary>
5008 <param name="builder">The builder to retrieve an element from.</param>
5009 <typeparam name="T">The type of item in the builder.</typeparam>
5010 <returns>The last element of a sequence, or a default value if the sequence contains no elements.</returns>
5012 <member name="M:System.Linq.ImmutableArrayExtensions.Select``2(System.Collections.Immutable.ImmutableArray{``0},System.Func{``0,``1})">
5013 <summary>Projects each element of a sequence into a new form.</summary>
5014 <param name="immutableArray">The immutable array to select items from.</param>
5015 <param name="selector">A transform function to apply to each element.</param>
5016 <typeparam name="T">The type of element contained by the collection.</typeparam>
5017 <typeparam name="TResult">The type of the result element.</typeparam>
5018 <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>
5020 <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})">
5021 <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>
5022 <param name="immutableArray">The immutable array.</param>
5023 <param name="collectionSelector">A transform function to apply to each element of the input sequence.</param>
5024 <param name="resultSelector">A transform function to apply to each element of the intermediate sequence.</param>
5025 <typeparam name="TSource">The type of the elements of <paramref name="immutableArray" />.</typeparam>
5026 <typeparam name="TCollection">The type of the intermediate elements collected by <paramref name="collectionSelector" />.</typeparam>
5027 <typeparam name="TResult">The type of the elements of the resulting sequence.</typeparam>
5028 <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>
5030 <member name="M:System.Linq.ImmutableArrayExtensions.SequenceEqual``2(System.Collections.Immutable.ImmutableArray{``1},System.Collections.Generic.IEnumerable{``0},System.Collections.Generic.IEqualityComparer{``1})">
5031 <summary>Determines whether two sequences are equal according to an equality comparer.</summary>
5032 <param name="immutableArray">The array to use for comparison.</param>
5033 <param name="items">The items to use for comparison.</param>
5034 <param name="comparer">The comparer to use to check for equality.</param>
5035 <typeparam name="TDerived">The type of element in the compared array.</typeparam>
5036 <typeparam name="TBase">The type of element contained by the collection.</typeparam>
5038 <see langword="true" /> to indicate the sequences are equal; otherwise, <see langword="false" />.</returns>
5040 <member name="M:System.Linq.ImmutableArrayExtensions.SequenceEqual``2(System.Collections.Immutable.ImmutableArray{``1},System.Collections.Immutable.ImmutableArray{``0},System.Collections.Generic.IEqualityComparer{``1})">
5041 <summary>Determines whether two sequences are equal according to an equality comparer.</summary>
5042 <param name="immutableArray">The array to use for comparison.</param>
5043 <param name="items">The items to use for comparison.</param>
5044 <param name="comparer">The comparer to use to check for equality.</param>
5045 <typeparam name="TDerived">The type of element in the compared array.</typeparam>
5046 <typeparam name="TBase">The type of element contained by the collection.</typeparam>
5048 <see langword="true" /> to indicate the sequences are equal; otherwise, <see langword="false" />.</returns>
5050 <member name="M:System.Linq.ImmutableArrayExtensions.SequenceEqual``2(System.Collections.Immutable.ImmutableArray{``1},System.Collections.Immutable.ImmutableArray{``0},System.Func{``1,``1,System.Boolean})">
5051 <summary>Determines whether two sequences are equal according to an equality comparer.</summary>
5052 <param name="immutableArray">The array to use for comparison.</param>
5053 <param name="items">The items to use for comparison.</param>
5054 <param name="predicate">The comparer to use to check for equality.</param>
5055 <typeparam name="TDerived">The type of element in the compared array.</typeparam>
5056 <typeparam name="TBase">The type of element contained by the collection.</typeparam>
5058 <see langword="true" /> to indicate the sequences are equal; otherwise, <see langword="false" />.</returns>
5060 <member name="M:System.Linq.ImmutableArrayExtensions.Single``1(System.Collections.Immutable.ImmutableArray{``0})">
5061 <summary>Returns the only element of a sequence, and throws an exception if there is not exactly one element in the sequence.</summary>
5062 <param name="immutableArray">The array to retrieve the element from.</param>
5063 <typeparam name="T">The type of element contained by the collection.</typeparam>
5064 <returns>The element in the sequence.</returns>
5066 <member name="M:System.Linq.ImmutableArrayExtensions.Single``1(System.Collections.Immutable.ImmutableArray{``0},System.Func{``0,System.Boolean})">
5067 <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>
5068 <param name="immutableArray" />
5069 <param name="predicate" />
5070 <typeparam name="T">The type of element contained by the collection.</typeparam>
5071 <returns>Returns <see cref="T:System.Boolean" />.</returns>
5073 <member name="M:System.Linq.ImmutableArrayExtensions.SingleOrDefault``1(System.Collections.Immutable.ImmutableArray{``0})">
5074 <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>
5075 <param name="immutableArray">The array.</param>
5076 <typeparam name="T">The type of element contained by the collection.</typeparam>
5077 <returns>The element in the array, or the default value if the array is empty.</returns>
5078 <exception cref="T:System.InvalidOperationException">
5079 <paramref name="source" /> contains more than one element.</exception>
5081 <member name="M:System.Linq.ImmutableArrayExtensions.SingleOrDefault``1(System.Collections.Immutable.ImmutableArray{``0},System.Func{``0,System.Boolean})">
5082 <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>
5083 <param name="immutableArray">The array to get the element from.</param>
5084 <param name="predicate">The condition the element must satisfy.</param>
5085 <typeparam name="T">The type of element contained by the collection.</typeparam>
5086 <returns>The element if it satisfies the specified condition; otherwise the default element.</returns>
5087 <exception cref="T:System.InvalidOperationException">More than one element satisfies the condition in <paramref name="predicate" />.</exception>
5089 <member name="M:System.Linq.ImmutableArrayExtensions.ToArray``1(System.Collections.Immutable.ImmutableArray{``0})">
5090 <summary>Copies the contents of this array to a mutable array.</summary>
5091 <param name="immutableArray" />
5092 <typeparam name="T">The type of element contained by the collection.</typeparam>
5093 <returns>The newly instantiated array.</returns>
5095 <member name="M:System.Linq.ImmutableArrayExtensions.ToDictionary``2(System.Collections.Immutable.ImmutableArray{``1},System.Func{``1,``0})">
5096 <summary>Creates a dictionary based on the contents of this array.</summary>
5097 <param name="immutableArray">The array to create a dictionary from.</param>
5098 <param name="keySelector">The key selector.</param>
5099 <typeparam name="TKey">The type of the key.</typeparam>
5100 <typeparam name="T">The type of element contained by the collection.</typeparam>
5101 <returns>The newly initialized dictionary.</returns>
5103 <member name="M:System.Linq.ImmutableArrayExtensions.ToDictionary``2(System.Collections.Immutable.ImmutableArray{``1},System.Func{``1,``0},System.Collections.Generic.IEqualityComparer{``0})">
5104 <summary>Creates a dictionary based on the contents of this array.</summary>
5105 <param name="immutableArray">The array to create a dictionary from.</param>
5106 <param name="keySelector">The key selector.</param>
5107 <param name="comparer">The comparer to initialize the dictionary with.</param>
5108 <typeparam name="TKey">The type of the key.</typeparam>
5109 <typeparam name="T">The type of element contained by the collection.</typeparam>
5110 <returns>The newly initialized dictionary.</returns>
5112 <member name="M:System.Linq.ImmutableArrayExtensions.ToDictionary``3(System.Collections.Immutable.ImmutableArray{``2},System.Func{``2,``0},System.Func{``2,``1})">
5113 <summary>Creates a dictionary based on the contents of this array.</summary>
5114 <param name="immutableArray">The array to create a dictionary from.</param>
5115 <param name="keySelector">The key selector.</param>
5116 <param name="elementSelector">The element selector.</param>
5117 <typeparam name="TKey">The type of the key.</typeparam>
5118 <typeparam name="TElement">The type of the element.</typeparam>
5119 <typeparam name="T">The type of element contained by the collection.</typeparam>
5120 <returns>The newly initialized dictionary.</returns>
5122 <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})">
5123 <summary>Creates a dictionary based on the contents of this array.</summary>
5124 <param name="immutableArray">The array to create a dictionary from.</param>
5125 <param name="keySelector">The key selector.</param>
5126 <param name="elementSelector">The element selector.</param>
5127 <param name="comparer">The comparer to initialize the dictionary with.</param>
5128 <typeparam name="TKey">The type of the key.</typeparam>
5129 <typeparam name="TElement">The type of the element.</typeparam>
5130 <typeparam name="T">The type of element contained by the collection.</typeparam>
5131 <returns>The newly initialized dictionary.</returns>
5133 <member name="M:System.Linq.ImmutableArrayExtensions.Where``1(System.Collections.Immutable.ImmutableArray{``0},System.Func{``0,System.Boolean})">
5134 <summary>Filters a sequence of values based on a predicate.</summary>
5135 <param name="immutableArray">The array to filter.</param>
5136 <param name="predicate">The condition to use for filtering the array content.</param>
5137 <typeparam name="T">The type of element contained by the collection.</typeparam>
5138 <returns>Returns <see cref="T:System.Collections.Generic.IEnumerable`1" /> that contains elements that meet the condition.</returns>