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 <see langword="null" />.</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, <see langword="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 <see langword="null" /></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 <see langword="true" /> if this instance is read only; otherwise, <see langword="false" />.</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 <see langword="true" /> if this instance is fixed size; otherwise, <see langword="false" />.</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 <see langword="true" /> if this instance is read only; otherwise, <see langword="false" />.</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 <returns>The object at the specified index.</returns>
1137 <exception cref="T:System.NotSupportedException">Always thrown from the setter.</exception>
1138 <exception cref="T:System.InvalidOperationException">Thrown if the <see cref="P:System.Collections.Immutable.ImmutableArray`1.IsDefault" /> property returns true.</exception>
1140 <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#IList#Remove(System.Object)">
1141 <summary>Throws <see cref="T:System.NotSupportedException" /> in all cases.</summary>
1142 <param name="value">The value to remove from the array.</param>
1143 <exception cref="T:System.NotSupportedException">Thrown in all cases.</exception>
1145 <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#IList#RemoveAt(System.Int32)">
1146 <summary>Throws <see cref="T:System.NotSupportedException" /> in all cases.</summary>
1147 <param name="index">The index of the item to remove.</param>
1148 <exception cref="T:System.NotSupportedException">Thrown in all cases.</exception>
1150 <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#Immutable#IImmutableList{T}#Add(`0)">
1151 <summary>Returns a copy of the original array with the specified item added to the end.</summary>
1152 <param name="value">The value to add to the end of the array.</param>
1153 <returns>A new array with the specified item added to the end.</returns>
1155 <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#Immutable#IImmutableList{T}#AddRange(System.Collections.Generic.IEnumerable{`0})">
1156 <summary>Returns a copy of the original array with the specified elements added to the end of the array.</summary>
1157 <param name="items">The elements to add to the end of the array.</param>
1158 <returns>A new array with the elements added to the end.</returns>
1160 <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#Immutable#IImmutableList{T}#Clear">
1161 <summary>Returns an array with all the elements removed.</summary>
1162 <returns>An array with all the elements removed.</returns>
1164 <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#Immutable#IImmutableList{T}#Insert(System.Int32,`0)">
1165 <summary>Returns a new array with the specified value inserted at the specified position.</summary>
1166 <param name="index">The 0-based index into the array at which the new item should be added.</param>
1167 <param name="element">The item to insert at the start of the array.</param>
1168 <returns>A new array with the specified value inserted.</returns>
1170 <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#Immutable#IImmutableList{T}#InsertRange(System.Int32,System.Collections.Generic.IEnumerable{`0})">
1171 <summary>Inserts the specified values at the specified index.</summary>
1172 <param name="index">The index at which to insert the value.</param>
1173 <param name="items">The elements to insert.</param>
1174 <returns>A new array with the specified values inserted.</returns>
1176 <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#Immutable#IImmutableList{T}#Remove(`0,System.Collections.Generic.IEqualityComparer{`0})">
1177 <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>
1178 <param name="value">The value to remove from the array.</param>
1179 <param name="equalityComparer">The equality comparer to use in the search.</param>
1180 <returns>A new array with the value removed.</returns>
1182 <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#Immutable#IImmutableList{T}#RemoveAll(System.Predicate{`0})">
1183 <summary>Removes all the items from the array that meet the specified condition.</summary>
1184 <param name="match">The delegate that defines the conditions of the elements to remove.</param>
1185 <returns>A new array with items that meet the specified condition removed.</returns>
1187 <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#Immutable#IImmutableList{T}#RemoveAt(System.Int32)">
1188 <summary>Returns an array with the element at the specified position removed.</summary>
1189 <param name="index">The 0-based index of the element to remove from the returned array.</param>
1190 <returns>A new array with the specified item removed.</returns>
1192 <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#Immutable#IImmutableList{T}#RemoveRange(System.Collections.Generic.IEnumerable{`0},System.Collections.Generic.IEqualityComparer{`0})">
1193 <summary>Removes the specified items from this array.</summary>
1194 <param name="items">The items to remove if matches are found in this list.</param>
1195 <param name="equalityComparer">The equality comparer to use in the search.</param>
1196 <returns>A new array with the elements removed.</returns>
1198 <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#Immutable#IImmutableList{T}#RemoveRange(System.Int32,System.Int32)">
1199 <summary>Returns an array with the elements at the specified position removed.</summary>
1200 <param name="index">The 0-based index of the starting element to remove from the array.</param>
1201 <param name="count">The number of elements to remove from the array.</param>
1202 <returns>The new array with the specified elements removed.</returns>
1204 <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#Immutable#IImmutableList{T}#Replace(`0,`0,System.Collections.Generic.IEqualityComparer{`0})">
1205 <summary>Finds the first element in the array equal to the specified value and replaces the value with the specified new value.</summary>
1206 <param name="oldValue">The value to find and replace in the array.</param>
1207 <param name="newValue">The value to replace the <c>oldvalue</c> with.</param>
1208 <param name="equalityComparer">The equality comparer to use to compare values.</param>
1209 <returns>A new array that contains <paramref name="newValue" /> even if the new and old values are the same.</returns>
1210 <exception cref="T:System.ArgumentException">
1211 <paramref name="oldValue" /> is not found in the array.</exception>
1213 <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#Immutable#IImmutableList{T}#SetItem(System.Int32,`0)">
1214 <summary>Replaces the item at the specified index with the specified item.</summary>
1215 <param name="index">The index of the item to replace.</param>
1216 <param name="value">The value to add to the list.</param>
1217 <returns>The new array that contains <paramref name="item" /> at the specified index.</returns>
1219 <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#IStructuralComparable#CompareTo(System.Object,System.Collections.IComparer)">
1220 <summary>Determines whether the current collection element precedes, occurs in the same position as, or follows another element in the sort order.</summary>
1221 <param name="other">The element to compare with the current instance.</param>
1222 <param name="comparer">The object used to compare members of the current array with the corresponding members of other array.</param>
1223 <returns>An integer that indicates whether the current element precedes, is in the same position or follows the other element.</returns>
1224 <exception cref="T:System.ArgumentException">The arrays are not the same length.</exception>
1226 <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#IStructuralEquatable#Equals(System.Object,System.Collections.IEqualityComparer)">
1227 <summary>Determines whether this array is structurally equal to the specified array.</summary>
1228 <param name="other">The array to compare with the current instance.</param>
1229 <param name="comparer">An object that determines whether the current instance and other are structurally equal.</param>
1231 <see langword="true" /> if the two arrays are structurally equal; otherwise, <see langword="false" />.</returns>
1233 <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#IStructuralEquatable#GetHashCode(System.Collections.IEqualityComparer)">
1234 <summary>Returns a hash code for the current instance.</summary>
1235 <param name="comparer">An object that computes the hash code of the current object.</param>
1236 <returns>The hash code for the current instance.</returns>
1238 <member name="M:System.Collections.Immutable.ImmutableArray`1.ToBuilder">
1239 <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>
1240 <returns>The new builder with the same contents as this array.</returns>
1242 <member name="T:System.Collections.Immutable.ImmutableDictionary">
1243 <summary>Provides a set of initialization methods for instances of the <see cref="T:System.Collections.Immutable.ImmutableDictionary`2" /> class.
1244 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
1246 <member name="M:System.Collections.Immutable.ImmutableDictionary.Contains``2(System.Collections.Immutable.IImmutableDictionary{``0,``1},``0,``1)">
1247 <summary>Determines whether the specified immutable dictionary contains the specified key/value pair.</summary>
1248 <param name="map">The immutable dictionary to search.</param>
1249 <param name="key">The key to locate in the immutable dictionary.</param>
1250 <param name="value">The value to locate on the specified key, if the key is found.</param>
1251 <typeparam name="TKey">The type of the keys in the immutable dictionary.</typeparam>
1252 <typeparam name="TValue">The type of the values in the immutable dictionary.</typeparam>
1254 <see langword="true" /> if this map contains the specified key/value pair; otherwise, <see langword="false" />.</returns>
1256 <member name="M:System.Collections.Immutable.ImmutableDictionary.Create``2">
1257 <summary>Creates an empty immutable dictionary.</summary>
1258 <typeparam name="TKey">The type of keys stored by the dictionary.</typeparam>
1259 <typeparam name="TValue">The type of values stored by the dictionary.</typeparam>
1260 <returns>An empty immutable dictionary.</returns>
1262 <member name="M:System.Collections.Immutable.ImmutableDictionary.Create``2(System.Collections.Generic.IEqualityComparer{``0})">
1263 <summary>Creates an empty immutable dictionary that uses the specified key comparer.</summary>
1264 <param name="keyComparer">The implementation to use to determine the equality of keys in the dictionary.</param>
1265 <typeparam name="TKey">The type of keys stored by the dictionary.</typeparam>
1266 <typeparam name="TValue">The type of values stored by the dictionary.</typeparam>
1267 <returns>An empty immutable dictionary.</returns>
1269 <member name="M:System.Collections.Immutable.ImmutableDictionary.Create``2(System.Collections.Generic.IEqualityComparer{``0},System.Collections.Generic.IEqualityComparer{``1})">
1270 <summary>Creates an empty immutable dictionary that uses the specified key and value comparers.</summary>
1271 <param name="keyComparer">The implementation to use to determine the equality of keys in the dictionary.</param>
1272 <param name="valueComparer">The implementation to use to determine the equality of values in the dictionary.</param>
1273 <typeparam name="TKey">The type of keys stored by the dictionary.</typeparam>
1274 <typeparam name="TValue">The type of values stored by the dictionary.</typeparam>
1275 <returns>An empty immutable dictionary.</returns>
1277 <member name="M:System.Collections.Immutable.ImmutableDictionary.CreateBuilder``2">
1278 <summary>Creates a new immutable dictionary builder.</summary>
1279 <typeparam name="TKey">The type of keys stored by the dictionary.</typeparam>
1280 <typeparam name="TValue">The type of values stored by the dictionary.</typeparam>
1281 <returns>The new builder.</returns>
1283 <member name="M:System.Collections.Immutable.ImmutableDictionary.CreateBuilder``2(System.Collections.Generic.IEqualityComparer{``0})">
1284 <summary>Creates a new immutable dictionary builder.</summary>
1285 <param name="keyComparer">The key comparer.</param>
1286 <typeparam name="TKey">The type of keys stored by the dictionary.</typeparam>
1287 <typeparam name="TValue">The type of values stored by the dictionary.</typeparam>
1288 <returns>The new builder.</returns>
1290 <member name="M:System.Collections.Immutable.ImmutableDictionary.CreateBuilder``2(System.Collections.Generic.IEqualityComparer{``0},System.Collections.Generic.IEqualityComparer{``1})">
1291 <summary>Creates a new immutable dictionary builder.</summary>
1292 <param name="keyComparer">The key comparer.</param>
1293 <param name="valueComparer">The value comparer.</param>
1294 <typeparam name="TKey">The type of keys stored by the dictionary.</typeparam>
1295 <typeparam name="TValue">The type of values stored by the dictionary.</typeparam>
1296 <returns>The new builder.</returns>
1298 <member name="M:System.Collections.Immutable.ImmutableDictionary.CreateRange``2(System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{``0,``1}})">
1299 <summary>Creates a new immutable dictionary that contains the specified items.</summary>
1300 <param name="items">The items used to populate the dictionary before it's immutable.</param>
1301 <typeparam name="TKey">The type of keys in the dictionary.</typeparam>
1302 <typeparam name="TValue">The type of values in the dictionary.</typeparam>
1303 <returns>A new immutable dictionary that contains the specified items.</returns>
1305 <member name="M:System.Collections.Immutable.ImmutableDictionary.CreateRange``2(System.Collections.Generic.IEqualityComparer{``0},System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{``0,``1}})">
1306 <summary>Creates a new immutable dictionary that contains the specified items and uses the specified key comparer.</summary>
1307 <param name="keyComparer">The comparer implementation to use to compare keys for equality.</param>
1308 <param name="items">The items to add to the dictionary before it's immutable.</param>
1309 <typeparam name="TKey">The type of keys in the dictionary.</typeparam>
1310 <typeparam name="TValue">The type of values in the dictionary.</typeparam>
1311 <returns>A new immutable dictionary that contains the specified items and uses the specified comparer.</returns>
1313 <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}})">
1314 <summary>Creates a new immutable dictionary that contains the specified items and uses the specified key comparer.</summary>
1315 <param name="keyComparer">The comparer implementation to use to compare keys for equality.</param>
1316 <param name="valueComparer">The comparer implementation to use to compare values for equality.</param>
1317 <param name="items">The items to add to the dictionary before it's immutable.</param>
1318 <typeparam name="TKey">The type of keys in the dictionary.</typeparam>
1319 <typeparam name="TValue">The type of values in the dictionary.</typeparam>
1320 <returns>A new immutable dictionary that contains the specified items and uses the specified comparer.</returns>
1322 <member name="M:System.Collections.Immutable.ImmutableDictionary.GetValueOrDefault``2(System.Collections.Immutable.IImmutableDictionary{``0,``1},``0)">
1323 <summary>Gets the value for a given key if a matching key exists in the dictionary.</summary>
1324 <param name="dictionary">The dictionary to retrieve the value from.</param>
1325 <param name="key">The key to search for.</param>
1326 <typeparam name="TKey">The type of the key.</typeparam>
1327 <typeparam name="TValue">The type of the value.</typeparam>
1328 <returns>The value for the key, or <c>default(TValue)</c> if no matching key was found.</returns>
1330 <member name="M:System.Collections.Immutable.ImmutableDictionary.GetValueOrDefault``2(System.Collections.Immutable.IImmutableDictionary{``0,``1},``0,``1)">
1331 <summary>Gets the value for a given key if a matching key exists in the dictionary.</summary>
1332 <param name="dictionary">The dictionary to retrieve the value from.</param>
1333 <param name="key">The key to search for.</param>
1334 <param name="defaultValue">The default value to return if no matching key is found in the dictionary.</param>
1335 <typeparam name="TKey">The type of the key.</typeparam>
1336 <typeparam name="TValue">The type of the value.</typeparam>
1337 <returns>The value for the key, or <paramref name="defaultValue" /> if no matching key was found.</returns>
1339 <member name="M:System.Collections.Immutable.ImmutableDictionary.ToImmutableDictionary``2(System.Collections.Generic.IEnumerable{``0},System.Func{``0,``1})">
1340 <summary>Constructs an immutable dictionary from an existing collection of elements, applying a transformation function to the source keys.</summary>
1341 <param name="source">The source collection used to generate the immutable dictionary.</param>
1342 <param name="keySelector">The function used to transform keys for the immutable dictionary.</param>
1343 <typeparam name="TSource">The type of element in the source collection.</typeparam>
1344 <typeparam name="TKey">The type of key in the resulting immutable dictionary.</typeparam>
1345 <returns>The immutable dictionary that contains elements from <paramref name="source" />, with keys transformed by applying <paramref name="keySelector" />.</returns>
1347 <member name="M:System.Collections.Immutable.ImmutableDictionary.ToImmutableDictionary``2(System.Collections.Generic.IEnumerable{``0},System.Func{``0,``1},System.Collections.Generic.IEqualityComparer{``1})">
1348 <summary>Constructs an immutable dictionary based on some transformation of a sequence.</summary>
1349 <param name="source">The source collection used to generate the immutable dictionary.</param>
1350 <param name="keySelector">The function used to transform keys for the immutable dictionary.</param>
1351 <param name="keyComparer">The key comparer to use for the dictionary.</param>
1352 <typeparam name="TSource">The type of element in the source collection.</typeparam>
1353 <typeparam name="TKey">The type of key in the resulting immutable dictionary.</typeparam>
1354 <returns>The immutable dictionary that contains elements from <paramref name="source" />, with keys transformed by applying <paramref name="keySelector" />.</returns>
1356 <member name="M:System.Collections.Immutable.ImmutableDictionary.ToImmutableDictionary``2(System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{``0,``1}})">
1357 <summary>Enumerates a sequence of key/value pairs and produces an immutable dictionary of its contents.</summary>
1358 <param name="source">The sequence of key/value pairs to enumerate.</param>
1359 <typeparam name="TKey">The type of the keys in the dictionary.</typeparam>
1360 <typeparam name="TValue">The type of the values in the dictionary.</typeparam>
1361 <returns>An immutable dictionary that contains the key/value pairs in the specified sequence.</returns>
1363 <member name="M:System.Collections.Immutable.ImmutableDictionary.ToImmutableDictionary``2(System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{``0,``1}},System.Collections.Generic.IEqualityComparer{``0})">
1364 <summary>Enumerates a sequence of key/value pairs and produces an immutable dictionary of its contents by using the specified key comparer.</summary>
1365 <param name="source">The sequence of key/value pairs to enumerate.</param>
1366 <param name="keyComparer">The key comparer to use when building the immutable dictionary.</param>
1367 <typeparam name="TKey">The type of the keys in the dictionary.</typeparam>
1368 <typeparam name="TValue">The type of the values in the dictionary.</typeparam>
1369 <returns>An immutable dictionary that contains the key/value pairs in the specified sequence.</returns>
1371 <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})">
1372 <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>
1373 <param name="source">The sequence of key/value pairs to enumerate.</param>
1374 <param name="keyComparer">The key comparer to use when building the immutable dictionary.</param>
1375 <param name="valueComparer">The value comparer to use for the immutable dictionary.</param>
1376 <typeparam name="TKey">The type of the keys in the dictionary.</typeparam>
1377 <typeparam name="TValue">The type of the values in the dictionary.</typeparam>
1378 <returns>An immutable dictionary that contains the key/value pairs in the specified sequence.</returns>
1380 <member name="M:System.Collections.Immutable.ImmutableDictionary.ToImmutableDictionary``2(System.Collections.Immutable.ImmutableDictionary{``0,``1}.Builder)">
1381 <summary>Creates an immutable dictionary from the current contents of the builder's dictionary.</summary>
1382 <param name="builder">The builder to create the immutable dictionary from.</param>
1383 <typeparam name="TKey">The type of the keys in the dictionary.</typeparam>
1384 <typeparam name="TValue">The type of the values in the dictionary.</typeparam>
1385 <returns>An immutable dictionary that contains the current contents in the builder's dictionary.</returns>
1387 <member name="M:System.Collections.Immutable.ImmutableDictionary.ToImmutableDictionary``3(System.Collections.Generic.IEnumerable{``0},System.Func{``0,``1},System.Func{``0,``2})">
1388 <summary>Enumerates and transforms a sequence, and produces an immutable dictionary of its contents.</summary>
1389 <param name="source">The sequence to enumerate to generate the dictionary.</param>
1390 <param name="keySelector">The function that will produce the key for the dictionary from each sequence element.</param>
1391 <param name="elementSelector">The function that will produce the value for the dictionary from each sequence element.</param>
1392 <typeparam name="TSource">The type of the elements in the sequence.</typeparam>
1393 <typeparam name="TKey">The type of the keys in the resulting dictionary.</typeparam>
1394 <typeparam name="TValue">The type of the values in the resulting dictionary.</typeparam>
1395 <returns>An immutable dictionary that contains the items in the specified sequence.</returns>
1397 <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})">
1398 <summary>Enumerates and transforms a sequence, and produces an immutable dictionary of its contents by using the specified key comparer.</summary>
1399 <param name="source">The sequence to enumerate to generate the dictionary.</param>
1400 <param name="keySelector">The function that will produce the key for the dictionary from each sequence element.</param>
1401 <param name="elementSelector">The function that will produce the value for the dictionary from each sequence element.</param>
1402 <param name="keyComparer">The key comparer to use for the dictionary.</param>
1403 <typeparam name="TSource">The type of the elements in the sequence.</typeparam>
1404 <typeparam name="TKey">The type of the keys in the resulting dictionary.</typeparam>
1405 <typeparam name="TValue">The type of the values in the resulting dictionary.</typeparam>
1406 <returns>An immutable dictionary that contains the items in the specified sequence.</returns>
1408 <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})">
1409 <summary>Enumerates and transforms a sequence, and produces an immutable dictionary of its contents by using the specified key and value comparers.</summary>
1410 <param name="source">The sequence to enumerate to generate the dictionary.</param>
1411 <param name="keySelector">The function that will produce the key for the dictionary from each sequence element.</param>
1412 <param name="elementSelector">The function that will produce the value for the dictionary from each sequence element.</param>
1413 <param name="keyComparer">The key comparer to use for the dictionary.</param>
1414 <param name="valueComparer">The value comparer to use for the dictionary.</param>
1415 <typeparam name="TSource">The type of the elements in the sequence.</typeparam>
1416 <typeparam name="TKey">The type of the keys in the resulting dictionary.</typeparam>
1417 <typeparam name="TValue">The type of the values in the resulting dictionary.</typeparam>
1418 <returns>An immutable dictionary that contains the items in the specified sequence.</returns>
1420 <member name="T:System.Collections.Immutable.ImmutableDictionary`2">
1421 <summary>Represents an immutable, unordered collection of keys and values.
1422 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
1423 <typeparam name="TKey">The type of the keys in the dictionary.</typeparam>
1424 <typeparam name="TValue">The type of the values in the dictionary.</typeparam>
1426 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Add(`0,`1)">
1427 <summary>Adds an element with the specified key and value to the immutable dictionary.</summary>
1428 <param name="key">The key of the element to add.</param>
1429 <param name="value">The value of the element to add.</param>
1430 <returns>A new immutable dictionary that contains the additional key/value pair.</returns>
1431 <exception cref="T:System.ArgumentException">The given key already exists in the dictionary but has a different value.</exception>
1433 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.AddRange(System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{`0,`1}})">
1434 <summary>Adds the specified key/value pairs to the immutable dictionary.</summary>
1435 <param name="pairs">The key/value pairs to add.</param>
1436 <returns>A new immutable dictionary that contains the additional key/value pairs.</returns>
1437 <exception cref="T:System.ArgumentException">One of the given keys already exists in the dictionary but has a different value.</exception>
1439 <member name="T:System.Collections.Immutable.ImmutableDictionary`2.Builder">
1440 <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.
1441 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
1442 <typeparam name="TKey" />
1443 <typeparam name="TValue" />
1445 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Builder.Add(`0,`1)">
1446 <summary>Adds an element that has the specified key and value to the immutable dictionary.</summary>
1447 <param name="key">The key of the element to add.</param>
1448 <param name="value">The value of the element to add.</param>
1449 <exception cref="T:System.ArgumentNullException">
1450 <paramref name="key" /> is null.</exception>
1451 <exception cref="T:System.ArgumentException">An element with the same key already exists in the dictionary.</exception>
1452 <exception cref="T:System.NotSupportedException">The dictionary is read-only.</exception>
1454 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Builder.Add(System.Collections.Generic.KeyValuePair{`0,`1})">
1455 <summary>Adds the specified item to the immutable dictionary.</summary>
1456 <param name="item">The object to add to the dictionary.</param>
1457 <exception cref="T:System.NotSupportedException">The dictionary is read-only.</exception>
1459 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Builder.AddRange(System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{`0,`1}})">
1460 <summary>Adds a sequence of values to this collection.</summary>
1461 <param name="items">The items to add to this collection.</param>
1463 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Builder.Clear">
1464 <summary>Removes all items from the immutable dictionary.</summary>
1465 <exception cref="T:System.NotSupportedException">The dictionary is read-only.</exception>
1467 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Builder.Contains(System.Collections.Generic.KeyValuePair{`0,`1})">
1468 <summary>Determines whether the immutable dictionary contains a specific value.</summary>
1469 <param name="item">The object to locate in the dictionary.</param>
1471 <see langword="true" /> if <paramref name="item" /> is found in the dictionary; otherwise, <see langword="false" />.</returns>
1473 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Builder.ContainsKey(`0)">
1474 <summary>Determines whether the immutable dictionary contains an element that has the specified key.</summary>
1475 <param name="key">The key to locate in the dictionary.</param>
1477 <see langword="true" /> if the dictionary contains an element with the key; otherwise, <see langword="false" />.</returns>
1478 <exception cref="T:System.ArgumentNullException">
1479 <paramref name="key" /> is null.</exception>
1481 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Builder.ContainsValue(`1)">
1482 <summary>Determines whether the immutable dictionary contains an element that has the specified value.</summary>
1483 <param name="value">The value to locate in the immutable dictionary. The value can be <see langword="null" /> for reference types.</param>
1485 <see langword="true" /> if the dictionary contains an element with the specified value; otherwise, <see langword="false" />.</returns>
1487 <member name="P:System.Collections.Immutable.ImmutableDictionary`2.Builder.Count">
1488 <summary>Gets the number of elements contained in the immutable dictionary.</summary>
1489 <returns>The number of elements contained in the immutable dictionary.</returns>
1491 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Builder.GetEnumerator">
1492 <summary>Returns an enumerator that iterates through the immutable dictionary.</summary>
1493 <returns>An enumerator that can be used to iterate through the collection.</returns>
1495 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Builder.GetValueOrDefault(`0)">
1496 <summary>Gets the value for a given key if a matching key exists in the dictionary.</summary>
1497 <param name="key">The key to search for.</param>
1498 <returns>The value for the key, or <c>default(TValue)</c> if no matching key was found.</returns>
1500 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Builder.GetValueOrDefault(`0,`1)">
1501 <summary>Gets the value for a given key if a matching key exists in the dictionary.</summary>
1502 <param name="key">The key to search for.</param>
1503 <param name="defaultValue">The default value to return if no matching key is found in the dictionary.</param>
1504 <returns>The value for the key, or <paramref name="defaultValue" /> if no matching key was found.</returns>
1506 <member name="P:System.Collections.Immutable.ImmutableDictionary`2.Builder.Item(`0)">
1507 <summary>Gets or sets the element with the specified key.</summary>
1508 <param name="key">The element to get or set.</param>
1509 <returns>The element that has the specified key.</returns>
1510 <exception cref="T:System.ArgumentNullException">
1511 <paramref name="key" /> is <see langword="null" />.</exception>
1512 <exception cref="T:System.Collections.Generic.KeyNotFoundException">The property is being retrieved, and <paramref name="key" /> is not found.</exception>
1513 <exception cref="T:System.NotSupportedException">The property is being set, and the <see cref="T:System.Collections.Generic.IDictionary`2" /> is read-only.</exception>
1515 <member name="P:System.Collections.Immutable.ImmutableDictionary`2.Builder.KeyComparer">
1516 <summary>Gets or sets the key comparer.</summary>
1517 <returns>The key comparer.</returns>
1519 <member name="P:System.Collections.Immutable.ImmutableDictionary`2.Builder.Keys">
1520 <summary>Gets a collection that contains the keys of the immutable dictionary.</summary>
1521 <returns>A collection that contains the keys of the object that implements the immutable dictionary.</returns>
1523 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Builder.Remove(`0)">
1524 <summary>Removes the element with the specified key from the immutable dictionary.</summary>
1525 <param name="key">The key of the element to remove.</param>
1527 <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>
1528 <exception cref="T:System.ArgumentNullException">
1529 <paramref name="key" /> is null.</exception>
1530 <exception cref="T:System.NotSupportedException">The dictionary is read-only.</exception>
1532 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Builder.Remove(System.Collections.Generic.KeyValuePair{`0,`1})">
1533 <summary>Removes the first occurrence of a specific object from the immutable dictionary.</summary>
1534 <param name="item">The object to remove from the dictionary.</param>
1536 <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>
1537 <exception cref="T:System.NotSupportedException">The dictionary is read-only.</exception>
1539 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Builder.RemoveRange(System.Collections.Generic.IEnumerable{`0})">
1540 <summary>Removes any entries with keys that match those found in the specified sequence from the immutable dictionary.</summary>
1541 <param name="keys">The keys for entries to remove from the dictionary.</param>
1543 <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)">
1544 <param name="array" />
1545 <param name="arrayIndex" />
1547 <member name="P:System.Collections.Immutable.ImmutableDictionary`2.Builder.System#Collections#Generic#ICollection{System#Collections#Generic#KeyValuePair{TKey@TValue}}#IsReadOnly" />
1548 <member name="P:System.Collections.Immutable.ImmutableDictionary`2.Builder.System#Collections#Generic#IDictionary{TKey@TValue}#Keys" />
1549 <member name="P:System.Collections.Immutable.ImmutableDictionary`2.Builder.System#Collections#Generic#IDictionary{TKey@TValue}#Values" />
1550 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Builder.System#Collections#Generic#IEnumerable{System#Collections#Generic#KeyValuePair{TKey@TValue}}#GetEnumerator" />
1551 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Builder.System#Collections#ICollection#CopyTo(System.Array,System.Int32)">
1552 <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>
1553 <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>
1554 <param name="arrayIndex">The zero-based index in <paramref name="array" /> at which copying begins.</param>
1556 <member name="P:System.Collections.Immutable.ImmutableDictionary`2.Builder.System#Collections#ICollection#IsSynchronized">
1557 <summary>Gets a value that indicates whether access to the <see cref="T:System.Collections.ICollection" /> is synchronized (thread safe).</summary>
1559 <see langword="true" /> if access to the <see cref="T:System.Collections.ICollection" /> is synchronized (thread safe); otherwise, <see langword="false" />.</returns>
1561 <member name="P:System.Collections.Immutable.ImmutableDictionary`2.Builder.System#Collections#ICollection#SyncRoot">
1562 <summary>Gets an object that can be used to synchronize access to the <see cref="T:System.Collections.ICollection" />.</summary>
1563 <returns>An object that can be used to synchronize access to the <see cref="T:System.Collections.ICollection" />.</returns>
1565 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Builder.System#Collections#IDictionary#Add(System.Object,System.Object)">
1566 <summary>Adds an element with the provided key and value to the dictionary object.</summary>
1567 <param name="key">The key of the element to add.</param>
1568 <param name="value">The value of the element to add.</param>
1570 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Builder.System#Collections#IDictionary#Contains(System.Object)">
1571 <summary>Determines whether the dictionary object contains an element with the specified key.</summary>
1572 <param name="key">The key to locate.</param>
1574 <see langword="true" /> if the dictionary contains an element with the key; otherwise, <see langword="false" />.</returns>
1576 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Builder.System#Collections#IDictionary#GetEnumerator">
1577 <summary>Returns an <see cref="T:System.Collections.IDictionaryEnumerator" /> object for the dictionary.</summary>
1578 <returns>An <see cref="T:System.Collections.IDictionaryEnumerator" /> object for the dictionary.</returns>
1579 <exception cref="T:System.NotImplementedException" />
1581 <member name="P:System.Collections.Immutable.ImmutableDictionary`2.Builder.System#Collections#IDictionary#IsFixedSize">
1582 <summary>Gets a value that indicates whether the <see cref="T:System.Collections.IDictionary" /> object has a fixed size.</summary>
1584 <see langword="true" /> if the <see cref="T:System.Collections.IDictionary" /> object has a fixed size; otherwise, <see langword="false" />.</returns>
1586 <member name="P:System.Collections.Immutable.ImmutableDictionary`2.Builder.System#Collections#IDictionary#IsReadOnly">
1587 <summary>Gets a value that indicates whether the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only.</summary>
1589 <see langword="true" /> if the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only; otherwise, <see langword="false" />.</returns>
1591 <member name="P:System.Collections.Immutable.ImmutableDictionary`2.Builder.System#Collections#IDictionary#Item(System.Object)">
1592 <summary>Gets or sets the element with the specified key.</summary>
1593 <param name="key">The key.</param>
1595 <member name="P:System.Collections.Immutable.ImmutableDictionary`2.Builder.System#Collections#IDictionary#Keys">
1596 <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>
1597 <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>
1599 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Builder.System#Collections#IDictionary#Remove(System.Object)">
1600 <summary>Removes the element with the specified key from the dictionary.</summary>
1601 <param name="key">The key of the element to remove.</param>
1603 <member name="P:System.Collections.Immutable.ImmutableDictionary`2.Builder.System#Collections#IDictionary#Values">
1604 <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>
1605 <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>
1607 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Builder.System#Collections#IEnumerable#GetEnumerator">
1608 <summary>Returns an enumerator that iterates through a collection.</summary>
1609 <returns>An enumerator object that can be used to iterate through the collection.</returns>
1611 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Builder.ToImmutable">
1612 <summary>Creates an immutable dictionary based on the contents of this instance.</summary>
1613 <returns>An immutable dictionary.</returns>
1615 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Builder.TryGetKey(`0,`0@)">
1616 <summary>Determines whether this dictionary contains a specified key.</summary>
1617 <param name="equalKey">The key to search for.</param>
1618 <param name="actualKey">The matching key located in the dictionary if found, or <c>equalkey</c> if no match is found.</param>
1620 <see langword="true" /> if a match for <paramref name="equalKey" /> is found; otherwise, <see langword="false" />.</returns>
1622 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Builder.TryGetValue(`0,`1@)">
1623 <summary>Returns the value associated with the specified key.</summary>
1624 <param name="key">The key whose value will be retrieved.</param>
1625 <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>
1627 <see langword="true" /> if the object that implements the immutable dictionary contains an element with the specified key; otherwise, <see langword="false" />.</returns>
1628 <exception cref="T:System.ArgumentNullException">
1629 <paramref name="key" /> is null.</exception>
1631 <member name="P:System.Collections.Immutable.ImmutableDictionary`2.Builder.ValueComparer">
1632 <summary>Gets or sets the value comparer.</summary>
1633 <returns>The value comparer.</returns>
1635 <member name="P:System.Collections.Immutable.ImmutableDictionary`2.Builder.Values">
1636 <summary>Gets a collection that contains the values of the immutable dictionary.</summary>
1637 <returns>A collection that contains the values of the object that implements the dictionary.</returns>
1639 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Clear">
1640 <summary>Retrieves an empty immutable dictionary that has the same ordering and key/value comparison rules as this dictionary instance.</summary>
1641 <returns>An empty dictionary with equivalent ordering and key/value comparison rules.</returns>
1643 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Contains(System.Collections.Generic.KeyValuePair{`0,`1})">
1644 <summary>Determines whether this immutable dictionary contains the specified key/value pair.</summary>
1645 <param name="pair">The key/value pair to locate.</param>
1647 <see langword="true" /> if the specified key/value pair is found in the dictionary; otherwise, <see langword="false" />.</returns>
1649 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.ContainsKey(`0)">
1650 <summary>Determines whether the immutable dictionary contains an element with the specified key.</summary>
1651 <param name="key">The key to locate.</param>
1653 <see langword="true" /> if the immutable dictionary contains an element with the specified key; otherwise, <see langword="false" />.</returns>
1655 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.ContainsValue(`1)">
1656 <summary>Determines whether the immutable dictionary contains an element with the specified value.</summary>
1657 <param name="value">The value to locate. The value can be <see langword="null" /> for reference types.</param>
1659 <see langword="true" /> if the dictionary contains an element with the specified value; otherwise, <see langword="false" />.</returns>
1661 <member name="P:System.Collections.Immutable.ImmutableDictionary`2.Count">
1662 <summary>Gets the number of key/value pairs in the immutable dictionary.</summary>
1663 <returns>The number of key/value pairs in the dictionary.</returns>
1665 <member name="F:System.Collections.Immutable.ImmutableDictionary`2.Empty">
1666 <summary>Gets an empty immutable dictionary.</summary>
1668 <member name="T:System.Collections.Immutable.ImmutableDictionary`2.Enumerator">
1669 <summary>Enumerates the contents of the immutable dictionary without allocating any memory.
1670 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
1671 <typeparam name="TKey" />
1672 <typeparam name="TValue" />
1674 <member name="P:System.Collections.Immutable.ImmutableDictionary`2.Enumerator.Current">
1675 <summary>Gets the element at the current position of the enumerator.</summary>
1676 <returns>The element in the dictionary at the current position of the enumerator.</returns>
1678 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Enumerator.Dispose">
1679 <summary>Releases the resources used by the current instance of the <see cref="T:System.Collections.Immutable.ImmutableDictionary`2.Enumerator" /> class.</summary>
1681 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Enumerator.MoveNext">
1682 <summary>Advances the enumerator to the next element of the immutable dictionary.</summary>
1684 <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>
1685 <exception cref="T:System.InvalidOperationException">The dictionary was modified after the enumerator was created.</exception>
1687 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Enumerator.Reset">
1688 <summary>Sets the enumerator to its initial position, which is before the first element in the dictionary.</summary>
1689 <exception cref="T:System.InvalidOperationException">The dictionary was modified after the enumerator was created.</exception>
1691 <member name="P:System.Collections.Immutable.ImmutableDictionary`2.Enumerator.System#Collections#IEnumerator#Current">
1692 <summary>Gets the current element.</summary>
1694 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.GetEnumerator">
1695 <summary>Returns an enumerator that iterates through the immutable dictionary.</summary>
1696 <returns>An enumerator that can be used to iterate through the dictionary.</returns>
1698 <member name="P:System.Collections.Immutable.ImmutableDictionary`2.IsEmpty">
1699 <summary>Gets a value that indicates whether this instance of the immutable dictionary is empty.</summary>
1701 <see langword="true" /> if this instance is empty; otherwise, <see langword="false" />.</returns>
1703 <member name="P:System.Collections.Immutable.ImmutableDictionary`2.Item(`0)">
1704 <summary>Gets the <paramref name="TValue" /> associated with the specified key.</summary>
1705 <param name="key">The type of the key.</param>
1706 <returns>The value associated with the specified key. If no results are found, the operation throws an exception.</returns>
1708 <member name="P:System.Collections.Immutable.ImmutableDictionary`2.KeyComparer">
1709 <summary>Gets the key comparer for the immutable dictionary.</summary>
1710 <returns>The key comparer.</returns>
1712 <member name="P:System.Collections.Immutable.ImmutableDictionary`2.Keys">
1713 <summary>Gets the keys in the immutable dictionary.</summary>
1714 <returns>The keys in the immutable dictionary.</returns>
1716 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Remove(`0)">
1717 <summary>Removes the element with the specified key from the immutable dictionary.</summary>
1718 <param name="key">The key of the element to remove.</param>
1719 <returns>A new immutable dictionary with the specified element removed; or this instance if the specified key cannot be found in the dictionary.</returns>
1721 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.RemoveRange(System.Collections.Generic.IEnumerable{`0})">
1722 <summary>Removes the elements with the specified keys from the immutable dictionary.</summary>
1723 <param name="keys">The keys of the elements to remove.</param>
1724 <returns>A new immutable dictionary with the specified keys removed; or this instance if the specified keys cannot be found in the dictionary.</returns>
1726 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.SetItem(`0,`1)">
1727 <summary>Sets the specified key and value in the immutable dictionary, possibly overwriting an existing value for the key.</summary>
1728 <param name="key">The key of the entry to add.</param>
1729 <param name="value">The key value to set.</param>
1730 <returns>A new immutable dictionary that contains the specified key/value pair.</returns>
1732 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.SetItems(System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{`0,`1}})">
1733 <summary>Sets the specified key/value pairs in the immutable dictionary, possibly overwriting existing values for the keys.</summary>
1734 <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>
1735 <returns>A new immutable dictionary that contains the specified key/value pairs.</returns>
1737 <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})">
1738 <param name="item" />
1740 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#Generic#ICollection{System#Collections#Generic#KeyValuePair{TKey@TValue}}#Clear" />
1741 <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)">
1742 <param name="array" />
1743 <param name="arrayIndex" />
1745 <member name="P:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#Generic#ICollection{System#Collections#Generic#KeyValuePair{TKey@TValue}}#IsReadOnly" />
1746 <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})">
1747 <param name="item" />
1749 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#Generic#IDictionary{TKey@TValue}#Add(`0,`1)">
1750 <param name="key" />
1751 <param name="value" />
1753 <member name="P:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#Generic#IDictionary{TKey@TValue}#Item(`0)">
1754 <param name="key" />
1756 <member name="P:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#Generic#IDictionary{TKey@TValue}#Keys" />
1757 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#Generic#IDictionary{TKey@TValue}#Remove(`0)">
1758 <param name="key" />
1760 <member name="P:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#Generic#IDictionary{TKey@TValue}#Values" />
1761 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#Generic#IEnumerable{System#Collections#Generic#KeyValuePair{TKey@TValue}}#GetEnumerator" />
1762 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#ICollection#CopyTo(System.Array,System.Int32)">
1763 <summary>Copies the elements of the dictionary to an array, starting at a particular array index.</summary>
1764 <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>
1765 <param name="arrayIndex">The zero-based index in <paramref name="array" /> at which copying begins.</param>
1767 <member name="P:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#ICollection#IsSynchronized">
1768 <summary>Gets a value indicating whether access to the <see cref="T:System.Collections.ICollection" /> is synchronized (thread safe).</summary>
1770 <see langword="true" /> if access to the <see cref="T:System.Collections.ICollection" /> is synchronized (thread safe); otherwise, <see langword="false" />.</returns>
1772 <member name="P:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#ICollection#SyncRoot">
1773 <summary>Gets an object that can be used to synchronize access to the <see cref="T:System.Collections.ICollection" />.</summary>
1774 <returns>An object that can be used to synchronize access to the <see cref="T:System.Collections.ICollection" />.</returns>
1776 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#IDictionary#Add(System.Object,System.Object)">
1777 <summary>Adds an element with the provided key and value to the immutable dictionary object.</summary>
1778 <param name="key">The object to use as the key of the element to add.</param>
1779 <param name="value">The object to use as the value of the element to add.</param>
1781 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#IDictionary#Clear">
1782 <summary>Clears this instance.</summary>
1783 <exception cref="T:System.NotSupportedException">The dictionary object is read-only.</exception>
1785 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#IDictionary#Contains(System.Object)">
1786 <summary>Determines whether the immutable dictionary object contains an element with the specified key.</summary>
1787 <param name="key">The key to locate in the dictionary object.</param>
1789 <see langword="true" /> if the dictionary contains an element with the key; otherwise, <see langword="false" />.</returns>
1791 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#IDictionary#GetEnumerator">
1792 <summary>Returns an <see cref="T:System.Collections.IDictionaryEnumerator" /> object for the immutable dictionary object.</summary>
1793 <returns>An enumerator object for the dictionary object.</returns>
1795 <member name="P:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#IDictionary#IsFixedSize">
1796 <summary>Gets a value indicating whether the <see cref="T:System.Collections.IDictionary" /> object has a fixed size.</summary>
1798 <see langword="true" /> if the <see cref="T:System.Collections.IDictionary" /> object has a fixed size; otherwise, <see langword="false" />.</returns>
1800 <member name="P:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#IDictionary#IsReadOnly">
1801 <summary>Gets a value indicating whether the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only.</summary>
1803 <see langword="true" /> if the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only; otherwise, <see langword="false" />.</returns>
1805 <member name="P:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#IDictionary#Item(System.Object)">
1806 <summary>Gets or sets the element with the specified key.</summary>
1807 <param name="key">The key.</param>
1809 <member name="P:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#IDictionary#Keys">
1810 <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>
1811 <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>
1813 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#IDictionary#Remove(System.Object)">
1814 <summary>Removes the element with the specified key from the immutable dictionary object.</summary>
1815 <param name="key">The key of the element to remove.</param>
1817 <member name="P:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#IDictionary#Values">
1818 <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>
1819 <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>
1821 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#IEnumerable#GetEnumerator">
1822 <summary>Returns an enumerator that iterates through a collection.</summary>
1823 <returns>An enumerator object that can be used to iterate through the collection.</returns>
1825 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#Immutable#IImmutableDictionary{TKey@TValue}#Add(`0,`1)">
1826 <param name="key" />
1827 <param name="value" />
1829 <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}})">
1830 <param name="pairs" />
1832 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#Immutable#IImmutableDictionary{TKey@TValue}#Clear" />
1833 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#Immutable#IImmutableDictionary{TKey@TValue}#Remove(`0)">
1834 <param name="key" />
1836 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#Immutable#IImmutableDictionary{TKey@TValue}#RemoveRange(System.Collections.Generic.IEnumerable{`0})">
1837 <param name="keys" />
1839 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#Immutable#IImmutableDictionary{TKey@TValue}#SetItem(`0,`1)">
1840 <param name="key" />
1841 <param name="value" />
1843 <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}})">
1844 <param name="items" />
1846 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.ToBuilder">
1847 <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>
1848 <returns>A collection with the same contents as this dictionary that can be efficiently mutated across multiple operations by using standard mutable interfaces.</returns>
1850 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.TryGetKey(`0,`0@)">
1851 <summary>Determines whether this dictionary contains a specified key.</summary>
1852 <param name="equalKey">The key to search for.</param>
1853 <param name="actualKey">The matching key located in the dictionary if found, or <c>equalkey</c> if no match is found.</param>
1855 <see langword="true" /> if a match for <paramref name="equalKey" /> is found; otherwise, <see langword="false" />.</returns>
1857 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.TryGetValue(`0,`1@)">
1858 <summary>Gets the value associated with the specified key.</summary>
1859 <param name="key">The key whose value will be retrieved.</param>
1860 <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>
1862 <see langword="true" /> if the object that implements the dictionary contains an element with the specified key; otherwise, <see langword="false" />.</returns>
1863 <exception cref="T:System.ArgumentNullException">
1864 <paramref name="key" /> is null.</exception>
1866 <member name="P:System.Collections.Immutable.ImmutableDictionary`2.ValueComparer">
1867 <summary>Gets the value comparer used to determine whether values are equal.</summary>
1868 <returns>The value comparer used to determine whether values are equal.</returns>
1870 <member name="P:System.Collections.Immutable.ImmutableDictionary`2.Values">
1871 <summary>Gets the values in the immutable dictionary.</summary>
1872 <returns>The values in the immutable dictionary.</returns>
1874 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.WithComparers(System.Collections.Generic.IEqualityComparer{`0})">
1875 <summary>Gets an instance of the immutable dictionary that uses the specified key comparer.</summary>
1876 <param name="keyComparer">The key comparer to use.</param>
1877 <returns>An instance of the immutable dictionary that uses the given comparer.</returns>
1879 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.WithComparers(System.Collections.Generic.IEqualityComparer{`0},System.Collections.Generic.IEqualityComparer{`1})">
1880 <summary>Gets an instance of the immutable dictionary that uses the specified key and value comparers.</summary>
1881 <param name="keyComparer">The key comparer to use.</param>
1882 <param name="valueComparer">The value comparer to use.</param>
1883 <returns>An instance of the immutable dictionary that uses the given comparers.</returns>
1885 <member name="T:System.Collections.Immutable.ImmutableHashSet">
1886 <summary>Provides a set of initialization methods for instances of the <see cref="T:System.Collections.Immutable.ImmutableHashSet`1" /> class.
1887 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
1889 <member name="M:System.Collections.Immutable.ImmutableHashSet.Create``1">
1890 <summary>Creates an empty immutable hash set.</summary>
1891 <typeparam name="T">The type of items to be stored in the immutable hash set.</typeparam>
1892 <returns>An empty immutable hash set.</returns>
1894 <member name="M:System.Collections.Immutable.ImmutableHashSet.Create``1(``0)">
1895 <summary>Creates a new immutable hash set that contains the specified item.</summary>
1896 <param name="item">The item to prepopulate the hash set with.</param>
1897 <typeparam name="T">The type of items in the immutable hash set.</typeparam>
1898 <returns>A new immutable hash set that contains the specified item.</returns>
1900 <member name="M:System.Collections.Immutable.ImmutableHashSet.Create``1(``0[])">
1901 <summary>Creates a new immutable hash set that contains the specified array of items.</summary>
1902 <param name="items">An array that contains the items to prepopulate the hash set with.</param>
1903 <typeparam name="T">The type of items in the immutable hash set.</typeparam>
1904 <returns>A new immutable hash set that contains the specified items.</returns>
1906 <member name="M:System.Collections.Immutable.ImmutableHashSet.Create``1(System.Collections.Generic.IEqualityComparer{``0})">
1907 <summary>Creates an empty immutable hash set that uses the specified equality comparer.</summary>
1908 <param name="equalityComparer">The object to use for comparing objects in the set for equality.</param>
1909 <typeparam name="T">The type of items in the immutable hash set.</typeparam>
1910 <returns>An empty immutable hash set.</returns>
1912 <member name="M:System.Collections.Immutable.ImmutableHashSet.Create``1(System.Collections.Generic.IEqualityComparer{``0},``0)">
1913 <summary>Creates a new immutable hash set that contains the specified item and uses the specified equality comparer for the set type.</summary>
1914 <param name="equalityComparer">The object to use for comparing objects in the set for equality.</param>
1915 <param name="item">The item to prepopulate the hash set with.</param>
1916 <typeparam name="T">The type of items in the immutable hash set.</typeparam>
1917 <returns>A new immutable hash set that contains the specified item.</returns>
1919 <member name="M:System.Collections.Immutable.ImmutableHashSet.Create``1(System.Collections.Generic.IEqualityComparer{``0},``0[])">
1920 <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>
1921 <param name="equalityComparer">The object to use for comparing objects in the set for equality.</param>
1922 <param name="items">An array that contains the items to prepopulate the hash set with.</param>
1923 <typeparam name="T">The type of items stored in the immutable hash set.</typeparam>
1924 <returns>A new immutable hash set that contains the specified items.</returns>
1926 <member name="M:System.Collections.Immutable.ImmutableHashSet.CreateBuilder``1">
1927 <summary>Creates a new immutable hash set builder.</summary>
1928 <typeparam name="T">The type of items stored by the collection.</typeparam>
1929 <returns>The immutable hash set builder.</returns>
1931 <member name="M:System.Collections.Immutable.ImmutableHashSet.CreateBuilder``1(System.Collections.Generic.IEqualityComparer{``0})">
1932 <summary>Creates a new immutable hash set builder.</summary>
1933 <param name="equalityComparer">The object to use for comparing objects in the set for equality.</param>
1934 <typeparam name="T">The type of items stored by the collection.</typeparam>
1935 <returns>The new immutable hash set builder.</returns>
1937 <member name="M:System.Collections.Immutable.ImmutableHashSet.CreateRange``1(System.Collections.Generic.IEnumerable{``0})">
1938 <summary>Creates a new immutable hash set prefilled with the specified items.</summary>
1939 <param name="items">The items to add to the hash set.</param>
1940 <typeparam name="T">The type of items stored by the collection.</typeparam>
1941 <returns>The new immutable hash set that contains the specified items.</returns>
1943 <member name="M:System.Collections.Immutable.ImmutableHashSet.CreateRange``1(System.Collections.Generic.IEqualityComparer{``0},System.Collections.Generic.IEnumerable{``0})">
1944 <summary>Creates a new immutable hash set that contains the specified items and uses the specified equality comparer for the set type.</summary>
1945 <param name="equalityComparer">The object to use for comparing objects in the set for equality.</param>
1946 <param name="items">The items add to the collection before immutability is applied.</param>
1947 <typeparam name="T">The type of items stored in the collection.</typeparam>
1948 <returns>The new immutable hash set.</returns>
1950 <member name="M:System.Collections.Immutable.ImmutableHashSet.ToImmutableHashSet``1(System.Collections.Generic.IEnumerable{``0})">
1951 <summary>Enumerates a sequence and produces an immutable hash set of its contents.</summary>
1952 <param name="source">The sequence to enumerate.</param>
1953 <typeparam name="TSource">The type of the elements in the sequence.</typeparam>
1954 <returns>An immutable hash set that contains the items in the specified sequence.</returns>
1956 <member name="M:System.Collections.Immutable.ImmutableHashSet.ToImmutableHashSet``1(System.Collections.Generic.IEnumerable{``0},System.Collections.Generic.IEqualityComparer{``0})">
1957 <summary>Enumerates a sequence, produces an immutable hash set of its contents, and uses the specified equality comparer for the set type.</summary>
1958 <param name="source">The sequence to enumerate.</param>
1959 <param name="equalityComparer">The object to use for comparing objects in the set for equality.</param>
1960 <typeparam name="TSource">The type of the elements in the sequence.</typeparam>
1961 <returns>An immutable hash set that contains the items in the specified sequence and uses the specified equality comparer.</returns>
1963 <member name="M:System.Collections.Immutable.ImmutableHashSet.ToImmutableHashSet``1(System.Collections.Immutable.ImmutableHashSet{``0}.Builder)">
1964 <summary>Creates an immutable hash set from the current contents of the builder's set.</summary>
1965 <param name="builder">The builder to create the immutable hash set from.</param>
1966 <typeparam name="TSource">The type of the elements in the hash set.</typeparam>
1967 <returns>An immutable hash set that contains the current contents in the builder's set.</returns>
1969 <member name="T:System.Collections.Immutable.ImmutableHashSet`1">
1970 <summary>Represents an immutable, unordered hash set.
1971 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
1972 <typeparam name="T">The type of elements in the hash set.</typeparam>
1974 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Add(`0)">
1975 <summary>Adds the specified element to the hash set.</summary>
1976 <param name="item">The element to add to the set.</param>
1977 <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>
1979 <member name="T:System.Collections.Immutable.ImmutableHashSet`1.Builder">
1980 <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.
1981 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
1982 <typeparam name="T" />
1984 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Builder.Add(`0)">
1985 <summary>Adds the specified item to the immutable hash set.</summary>
1986 <param name="item">The item to add.</param>
1988 <see langword="true" /> if the item did not already belong to the collection; otherwise, <see langword="false" />.</returns>
1990 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Builder.Clear">
1991 <summary>Removes all items from the immutable hash set.</summary>
1992 <exception cref="T:System.NotSupportedException">The hash set is read-only.</exception>
1994 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Builder.Contains(`0)">
1995 <summary>Determines whether the immutable hash set contains a specific value.</summary>
1996 <param name="item">The object to locate in the hash set.</param>
1998 <see langword="true" /> if <paramref name="item" /> is found in the hash set ; otherwise, <see langword="false" />.</returns>
2000 <member name="P:System.Collections.Immutable.ImmutableHashSet`1.Builder.Count">
2001 <summary>Gets the number of elements contained in the immutable hash set.</summary>
2002 <returns>The number of elements contained in the immutable hash set.</returns>
2004 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Builder.ExceptWith(System.Collections.Generic.IEnumerable{`0})">
2005 <summary>Removes all elements in the specified collection from the current hash set.</summary>
2006 <param name="other">The collection of items to remove from the set.</param>
2008 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Builder.GetEnumerator">
2009 <summary>Returns an enumerator that iterates through the immutable hash set.</summary>
2010 <returns>An enumerator that can be used to iterate through the set.</returns>
2012 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Builder.IntersectWith(System.Collections.Generic.IEnumerable{`0})">
2013 <summary>Modifies the current set so that it contains only elements that are also in a specified collection.</summary>
2014 <param name="other">The collection to compare to the current set.</param>
2016 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Builder.IsProperSubsetOf(System.Collections.Generic.IEnumerable{`0})">
2017 <summary>Determines whether the current set is a proper (strict) subset of a specified collection.</summary>
2018 <param name="other">The collection to compare to the current set.</param>
2020 <see langword="true" /> if the current set is a proper subset of <paramref name="other" />; otherwise, <see langword="false" />.</returns>
2022 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Builder.IsProperSupersetOf(System.Collections.Generic.IEnumerable{`0})">
2023 <summary>Determines whether the current set is a proper (strict) superset of a specified collection.</summary>
2024 <param name="other">The collection to compare to the current set.</param>
2026 <see langword="true" /> if the current set is a proper superset of <paramref name="other" />; otherwise, <see langword="false" />.</returns>
2028 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Builder.IsSubsetOf(System.Collections.Generic.IEnumerable{`0})">
2029 <summary>Determines whether the current set is a subset of a specified collection.</summary>
2030 <param name="other">The collection to compare to the current set.</param>
2032 <see langword="true" /> if the current set is a subset of <paramref name="other" />; otherwise, <see langword="false" />.</returns>
2034 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Builder.IsSupersetOf(System.Collections.Generic.IEnumerable{`0})">
2035 <summary>Determines whether the current set is a superset of a specified collection.</summary>
2036 <param name="other">The collection to compare to the current set.</param>
2038 <see langword="true" /> if the current set is a superset of <paramref name="other" />; otherwise, <see langword="false" />.</returns>
2040 <member name="P:System.Collections.Immutable.ImmutableHashSet`1.Builder.KeyComparer">
2041 <summary>Gets or sets the key comparer.</summary>
2042 <returns>The key comparer.</returns>
2044 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Builder.Overlaps(System.Collections.Generic.IEnumerable{`0})">
2045 <summary>Determines whether the current set overlaps with the specified collection.</summary>
2046 <param name="other">The collection to compare to the current set.</param>
2048 <see langword="true" /> if the current set and <paramref name="other" /> share at least one common element; otherwise, <see langword="false" />.</returns>
2050 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Builder.Remove(`0)">
2051 <summary>Removes the first occurrence of a specific object from the immutable hash set.</summary>
2052 <param name="item">The object to remove from the set.</param>
2054 <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>
2055 <exception cref="T:System.NotSupportedException">The set is read-only.</exception>
2057 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Builder.SetEquals(System.Collections.Generic.IEnumerable{`0})">
2058 <summary>Determines whether the current set and the specified collection contain the same elements.</summary>
2059 <param name="other">The collection to compare to the current set.</param>
2061 <see langword="true" /> if the current set is equal to <paramref name="other" />; otherwise, <see langword="false" />.</returns>
2063 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Builder.SymmetricExceptWith(System.Collections.Generic.IEnumerable{`0})">
2064 <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>
2065 <param name="other">The collection to compare to the current set.</param>
2067 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Builder.System#Collections#Generic#ICollection{T}#Add(`0)">
2068 <summary>Adds an item to the hash set.</summary>
2069 <param name="item">The object to add to the set.</param>
2070 <exception cref="T:System.NotSupportedException">The set is read-only.</exception>
2072 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Builder.System#Collections#Generic#ICollection{T}#CopyTo(`0[],System.Int32)">
2073 <summary>Copies the elements of the hash set to an array, starting at a particular array index.</summary>
2074 <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>
2075 <param name="arrayIndex">The zero-based index in <paramref name="array" /> at which copying begins.</param>
2077 <member name="P:System.Collections.Immutable.ImmutableHashSet`1.Builder.System#Collections#Generic#ICollection{T}#IsReadOnly">
2078 <summary>Gets a value indicating whether the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only.</summary>
2080 <see langword="true" /> if the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only; otherwise, <see langword="false" />.</returns>
2082 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Builder.System#Collections#Generic#IEnumerable{T}#GetEnumerator">
2083 <summary>Returns an enumerator that iterates through the collection.</summary>
2084 <returns>An enumerator that can be used to iterate through the collection.</returns>
2086 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Builder.System#Collections#IEnumerable#GetEnumerator">
2087 <summary>Returns an enumerator that iterates through a collection.</summary>
2088 <returns>An enumerator that can be used to iterate through the collection.</returns>
2090 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Builder.ToImmutable">
2091 <summary>Creates an immutable hash set based on the contents of this instance.</summary>
2092 <returns>An immutable set.</returns>
2094 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Builder.UnionWith(System.Collections.Generic.IEnumerable{`0})">
2095 <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>
2096 <param name="other">The collection to compare to the current set.</param>
2098 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Clear">
2099 <summary>Retrieves an empty immutable hash set that has the same sorting and ordering semantics as this instance.</summary>
2100 <returns>An empty hash set that has the same sorting and ordering semantics as this instance.</returns>
2102 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Contains(`0)">
2103 <summary>Determines whether this immutable hash set contains the specified element.</summary>
2104 <param name="item">The object to locate in the immutable hash set.</param>
2106 <see langword="true" /> if <paramref name="item" /> is found in the <see cref="T:System.Collections.Immutable.ImmutableHashSet`1" />; otherwise, <see langword="false" />.</returns>
2108 <member name="P:System.Collections.Immutable.ImmutableHashSet`1.Count">
2109 <summary>Gets the number of elements in the immutable hash set.</summary>
2110 <returns>The number of elements in the hash set.</returns>
2112 <member name="F:System.Collections.Immutable.ImmutableHashSet`1.Empty">
2113 <summary>Gets an immutable hash set for this type that uses the default <see cref="T:System.Collections.Generic.IEqualityComparer`1" />.</summary>
2115 <member name="T:System.Collections.Immutable.ImmutableHashSet`1.Enumerator">
2116 <summary>Enumerates the contents of the immutable hash set without allocating any memory.
2117 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
2118 <typeparam name="T" />
2120 <member name="P:System.Collections.Immutable.ImmutableHashSet`1.Enumerator.Current">
2121 <summary>Gets the element at the current position of the enumerator.</summary>
2122 <returns>The element at the current position of the enumerator.</returns>
2124 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Enumerator.Dispose">
2125 <summary>Releases the resources used by the current instance of the <see cref="T:System.Collections.Immutable.ImmutableHashSet`1.Enumerator" /> class.</summary>
2127 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Enumerator.MoveNext">
2128 <summary>Advances the enumerator to the next element of the immutable hash set.</summary>
2130 <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>
2131 <exception cref="T:System.InvalidOperationException">The hash set was modified after the enumerator was created.</exception>
2133 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Enumerator.Reset">
2134 <summary>Sets the enumerator to its initial position, which is before the first element in the hash set.</summary>
2135 <exception cref="T:System.InvalidOperationException">The hash set was modified after the enumerator was created.</exception>
2137 <member name="P:System.Collections.Immutable.ImmutableHashSet`1.Enumerator.System#Collections#IEnumerator#Current">
2138 <summary>Gets the current element.</summary>
2140 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Except(System.Collections.Generic.IEnumerable{`0})">
2141 <summary>Removes the elements in the specified collection from the current immutable hash set.</summary>
2142 <param name="other">The collection of items to remove from this set.</param>
2143 <returns>A new set with the items removed; or the original set if none of the items were in the set.</returns>
2145 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.GetEnumerator">
2146 <summary>Returns an enumerator that iterates through the collection.</summary>
2147 <returns>An enumerator that can be used to iterate through the collection.</returns>
2149 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Intersect(System.Collections.Generic.IEnumerable{`0})">
2150 <summary>Creates an immutable hash set that contains elements that exist in both this set and the specified set.</summary>
2151 <param name="other">The collection to compare to the current set.</param>
2152 <returns>A new immutable set that contains any elements that exist in both sets.</returns>
2154 <member name="P:System.Collections.Immutable.ImmutableHashSet`1.IsEmpty">
2155 <summary>Gets a value that indicates whether the current immutable hash set is empty.</summary>
2157 <see langword="true" /> if this instance is empty; otherwise, <see langword="false" />.</returns>
2159 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.IsProperSubsetOf(System.Collections.Generic.IEnumerable{`0})">
2160 <summary>Determines whether the current immutable hash set is a proper (strict) subset of a specified collection.</summary>
2161 <param name="other">The collection to compare to the current set.</param>
2163 <see langword="true" /> if the current set is a proper subset of the specified collection; otherwise, <see langword="false" />.</returns>
2165 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.IsProperSupersetOf(System.Collections.Generic.IEnumerable{`0})">
2166 <summary>Determines whether the current immutable hash set is a proper (strict) superset of a specified collection.</summary>
2167 <param name="other">The collection to compare to the current set.</param>
2169 <see langword="true" /> if the current set is a proper superset of the specified collection; otherwise, <see langword="false" />.</returns>
2171 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.IsSubsetOf(System.Collections.Generic.IEnumerable{`0})">
2172 <summary>Determines whether the current immutable hash set is a subset of a specified collection.</summary>
2173 <param name="other">The collection to compare to the current set.</param>
2175 <see langword="true" /> if the current set is a subset of the specified collection; otherwise, <see langword="false" />.</returns>
2177 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.IsSupersetOf(System.Collections.Generic.IEnumerable{`0})">
2178 <summary>Determines whether the current immutable hash set is a superset of a specified collection.</summary>
2179 <param name="other">The collection to compare to the current set.</param>
2181 <see langword="true" /> if the current set is a superset of the specified collection; otherwise, <see langword="false" />.</returns>
2183 <member name="P:System.Collections.Immutable.ImmutableHashSet`1.KeyComparer">
2184 <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>
2185 <returns>The comparer used to obtain hash codes for the keys and check equality.</returns>
2187 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Overlaps(System.Collections.Generic.IEnumerable{`0})">
2188 <summary>Determines whether the current immutable hash set overlaps with the specified collection.</summary>
2189 <param name="other">The collection to compare to the current set.</param>
2191 <see langword="true" /> if the current set and the specified collection share at least one common element; otherwise, <see langword="false" />.</returns>
2193 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Remove(`0)">
2194 <summary>Removes the specified element from this immutable hash set.</summary>
2195 <param name="item">The element to remove.</param>
2196 <returns>A new set with the specified element removed, or the current set if the element cannot be found in the set.</returns>
2198 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.SetEquals(System.Collections.Generic.IEnumerable{`0})">
2199 <summary>Determines whether the current immutable hash set and the specified collection contain the same elements.</summary>
2200 <param name="other">The collection to compare to the current set.</param>
2202 <see langword="true" /> if the sets are equal; otherwise, <see langword="false" />.</returns>
2204 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.SymmetricExcept(System.Collections.Generic.IEnumerable{`0})">
2205 <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>
2206 <param name="other">The collection to compare to the current set.</param>
2207 <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>
2209 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.System#Collections#Generic#ICollection{T}#Add(`0)">
2210 <summary>Adds an item to the set.</summary>
2211 <param name="item">The object to add to the set.</param>
2212 <exception cref="T:System.NotSupportedException">The set is read-only.</exception>
2214 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.System#Collections#Generic#ICollection{T}#Clear">
2215 <summary>Removes all items from this set.</summary>
2216 <exception cref="T:System.NotSupportedException">The set is read-only.</exception>
2218 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.System#Collections#Generic#ICollection{T}#CopyTo(`0[],System.Int32)">
2219 <summary>Copies the elements of the set to an array, starting at a particular index.</summary>
2220 <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>
2221 <param name="arrayIndex">The zero-based index in <paramref name="array" /> at which copying begins.</param>
2223 <member name="P:System.Collections.Immutable.ImmutableHashSet`1.System#Collections#Generic#ICollection{T}#IsReadOnly">
2224 <summary>See the <see cref="T:System.Collections.Generic.ICollection`1" /> interface.</summary>
2226 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.System#Collections#Generic#ICollection{T}#Remove(`0)">
2227 <summary>Removes the first occurrence of a specific object from the set.</summary>
2228 <param name="item">The object to remove from the set.</param>
2230 <see langword="true" /> if the element is successfully removed; otherwise, <see langword="false" />.</returns>
2232 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.System#Collections#Generic#IEnumerable{T}#GetEnumerator">
2233 <summary>Returns an enumerator that iterates through the collection.</summary>
2234 <returns>An enumerator that iterates through the collection.</returns>
2236 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.System#Collections#Generic#ISet{T}#Add(`0)">
2237 <summary>Adds an element to the current set and returns a value that indicates whether the element was successfully added.</summary>
2238 <param name="item">The element to add to the collection.</param>
2240 <see langword="true" /> if the element is added to the set; <see langword="false" /> if the element is already in the set.</returns>
2242 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.System#Collections#Generic#ISet{T}#ExceptWith(System.Collections.Generic.IEnumerable{`0})">
2243 <summary>Removes all elements in the specified collection from the current set.</summary>
2244 <param name="other">The collection of items to remove.</param>
2246 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.System#Collections#Generic#ISet{T}#IntersectWith(System.Collections.Generic.IEnumerable{`0})">
2247 <summary>Modifies the current set so that it contains only elements that are also in a specified collection.</summary>
2248 <param name="other">The collection to compare to the current collection.</param>
2250 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.System#Collections#Generic#ISet{T}#SymmetricExceptWith(System.Collections.Generic.IEnumerable{`0})">
2251 <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>
2252 <param name="other">The collection to compare to the current set.</param>
2254 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.System#Collections#Generic#ISet{T}#UnionWith(System.Collections.Generic.IEnumerable{`0})">
2255 <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>
2256 <param name="other">The collection to compare to the current set.</param>
2258 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.System#Collections#ICollection#CopyTo(System.Array,System.Int32)">
2259 <summary>Copies the elements of the set to an array, starting at a particular index.</summary>
2260 <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>
2261 <param name="arrayIndex">The zero-based index in <paramref name="array" /> at which copying begins.</param>
2263 <member name="P:System.Collections.Immutable.ImmutableHashSet`1.System#Collections#ICollection#IsSynchronized">
2264 <summary>See the <see cref="T:System.Collections.ICollection" /> interface.</summary>
2266 <member name="P:System.Collections.Immutable.ImmutableHashSet`1.System#Collections#ICollection#SyncRoot">
2267 <summary>See <see cref="T:System.Collections.ICollection" />.</summary>
2269 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.System#Collections#IEnumerable#GetEnumerator">
2270 <summary>Returns an enumerator that iterates through a set.</summary>
2271 <returns>An enumerator that can be used to iterate through the set.</returns>
2273 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.System#Collections#Immutable#IImmutableSet{T}#Add(`0)">
2274 <summary>Adds the specified element to this immutable set.</summary>
2275 <param name="item">The element to add.</param>
2276 <returns>A new set with the element added, or this set if the element is already in the set.</returns>
2278 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.System#Collections#Immutable#IImmutableSet{T}#Clear">
2279 <summary>Retrieves an empty set that has the same sorting and ordering semantics as this instance.</summary>
2280 <returns>An empty set that has the same sorting or ordering semantics as this instance.</returns>
2282 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.System#Collections#Immutable#IImmutableSet{T}#Except(System.Collections.Generic.IEnumerable{`0})">
2283 <summary>Removes the elements in the specified collection from the current set.</summary>
2284 <param name="other">The collection of items to remove from this set.</param>
2285 <returns>A new set with the items removed; or the original set if none of the items were in the set.</returns>
2287 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.System#Collections#Immutable#IImmutableSet{T}#Intersect(System.Collections.Generic.IEnumerable{`0})">
2288 <summary>Creates an immutable set that contains elements that exist in both this set and the specified set.</summary>
2289 <param name="other">The collection to compare to the current set.</param>
2290 <returns>A new immutable set that contains any elements that exist in both sets.</returns>
2292 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.System#Collections#Immutable#IImmutableSet{T}#Remove(`0)">
2293 <summary>Removes the specified element from this immutable set.</summary>
2294 <param name="item">The element to remove.</param>
2295 <returns>A new set with the specified element removed, or the current set if the element cannot be found in the set.</returns>
2297 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.System#Collections#Immutable#IImmutableSet{T}#SymmetricExcept(System.Collections.Generic.IEnumerable{`0})">
2298 <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>
2299 <param name="other">The collection to compare to the current set.</param>
2300 <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>
2302 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.System#Collections#Immutable#IImmutableSet{T}#Union(System.Collections.Generic.IEnumerable{`0})">
2303 <summary>Creates a new immutable set that contains all elements that are present in either the current set or in the specified collection.</summary>
2304 <param name="other">The collection to add elements from.</param>
2305 <returns>A new immutable set with the items added; or the original set if all the items were already in the set.</returns>
2307 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.ToBuilder">
2308 <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>
2309 <returns>A set with the same contents as this set that can be efficiently mutated across multiple operations by using standard mutable interfaces.</returns>
2311 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.TryGetValue(`0,`0@)">
2312 <summary>Searches the set for a given value and returns the equal value it finds, if any.</summary>
2313 <param name="equalValue">The value to search for.</param>
2314 <param name="actualValue">The value from the set that the search found, or the original value if the search yielded no match.</param>
2315 <returns>A value indicating whether the search was successful.</returns>
2317 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Union(System.Collections.Generic.IEnumerable{`0})">
2318 <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>
2319 <param name="other">The collection to add elements from.</param>
2320 <returns>A new immutable hash set with the items added; or the original set if all the items were already in the set.</returns>
2322 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.WithComparer(System.Collections.Generic.IEqualityComparer{`0})">
2323 <summary>Gets an instance of the immutable hash set that uses the specified equality comparer for its search methods.</summary>
2324 <param name="equalityComparer">The equality comparer to use.</param>
2325 <returns>An instance of this immutable hash set that uses the given comparer.</returns>
2327 <member name="T:System.Collections.Immutable.ImmutableInterlocked">
2328 <summary>Contains interlocked exchange mechanisms for immutable collections.
2329 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
2331 <member name="M:System.Collections.Immutable.ImmutableInterlocked.AddOrUpdate``2(System.Collections.Immutable.ImmutableDictionary{``0,``1}@,``0,``1,System.Func{``0,``1,``1})">
2332 <summary>Obtains the value from a dictionary after having added it or updated an existing entry.</summary>
2333 <param name="location">The variable or field to atomically update if the specified is not in the dictionary.</param>
2334 <param name="key">The key for the value to add or update.</param>
2335 <param name="addValue">The value to use if no previous value exists.</param>
2336 <param name="updateValueFactory">The function that receives the key and prior value and returns the new value with which to update the dictionary.</param>
2337 <typeparam name="TKey">The type of key stored by the dictionary.</typeparam>
2338 <typeparam name="TValue">The type of value stored by the dictionary.</typeparam>
2339 <returns>The added or updated value.</returns>
2341 <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})">
2342 <summary>Obtains the value from a dictionary after having added it or updated an existing entry.</summary>
2343 <param name="location">The variable or field to atomically update if the specified is not in the dictionary.</param>
2344 <param name="key">The key for the value to add or update.</param>
2345 <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>
2346 <param name="updateValueFactory">The function that receives the key and prior value and returns the new value with which to update the dictionary.</param>
2347 <typeparam name="TKey">The type of key stored by the dictionary.</typeparam>
2348 <typeparam name="TValue">The type of value stored by the dictionary.</typeparam>
2349 <returns>The added or updated value.</returns>
2351 <member name="M:System.Collections.Immutable.ImmutableInterlocked.Enqueue``1(System.Collections.Immutable.ImmutableQueue{``0}@,``0)">
2352 <summary>Atomically enqueues an element to the end of a queue.</summary>
2353 <param name="location">The variable or field to atomically update.</param>
2354 <param name="value">The value to enqueue.</param>
2355 <typeparam name="T">The type of items contained in the collection</typeparam>
2357 <member name="M:System.Collections.Immutable.ImmutableInterlocked.GetOrAdd``2(System.Collections.Immutable.ImmutableDictionary{``0,``1}@,``0,``1)">
2358 <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>
2359 <param name="location">The variable or field to atomically update if the specified key is not in the dictionary.</param>
2360 <param name="key">The key for the value to get or add.</param>
2361 <param name="value">The value to add to the dictionary the key is not found.</param>
2362 <typeparam name="TKey">The type of the keys contained in the collection.</typeparam>
2363 <typeparam name="TValue">The type of the values contained in the collection.</typeparam>
2364 <returns>The value at the specified key or <paramref name="valueFactory" /> if the key was not present.</returns>
2366 <member name="M:System.Collections.Immutable.ImmutableInterlocked.GetOrAdd``2(System.Collections.Immutable.ImmutableDictionary{``0,``1}@,``0,System.Func{``0,``1})">
2367 <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>
2368 <param name="location">The variable or field to atomically update if the specified is not in the dictionary.</param>
2369 <param name="key">The key for the value to retrieve or add.</param>
2370 <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>
2371 <typeparam name="TKey">The type of the keys contained in the collection.</typeparam>
2372 <typeparam name="TValue">The type of the values contained in the collection.</typeparam>
2373 <returns>The value at the specified key or <paramref name="valueFactory" /> if the key was not present.</returns>
2375 <member name="M:System.Collections.Immutable.ImmutableInterlocked.GetOrAdd``3(System.Collections.Immutable.ImmutableDictionary{``0,``1}@,``0,System.Func{``0,``2,``1},``2)">
2376 <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>
2377 <param name="location">The variable or field to update if the specified is not in the dictionary.</param>
2378 <param name="key">The key for the value to retrieve or add.</param>
2379 <param name="valueFactory">The function to execute to obtain the value to insert into the dictionary if the key is not found.</param>
2380 <param name="factoryArgument">The argument to pass to the value factory.</param>
2381 <typeparam name="TKey">The type of the keys contained in the collection.</typeparam>
2382 <typeparam name="TValue">The type of the values contained in the collection.</typeparam>
2383 <typeparam name="TArg">The type of the argument supplied to the value factory.</typeparam>
2384 <returns>The value at the specified key or <paramref name="valueFactory" /> if the key was not present.</returns>
2386 <member name="M:System.Collections.Immutable.ImmutableInterlocked.InterlockedCompareExchange``1(System.Collections.Immutable.ImmutableArray{``0}@,System.Collections.Immutable.ImmutableArray{``0},System.Collections.Immutable.ImmutableArray{``0})">
2387 <summary>Compares two immutable arrays for equality and, if they are equal, replaces one of the arrays.</summary>
2388 <param name="location">The destination, whose value is compared with <paramref name="comparand" /> and possibly replaced.</param>
2389 <param name="value">The value that replaces the destination value if the comparison results in equality.</param>
2390 <param name="comparand">The value that is compared to the value at <paramref name="location" />.</param>
2391 <typeparam name="T">The type of element stored by the array.</typeparam>
2392 <returns>The original value in <paramref name="location" />.</returns>
2394 <member name="M:System.Collections.Immutable.ImmutableInterlocked.InterlockedExchange``1(System.Collections.Immutable.ImmutableArray{``0}@,System.Collections.Immutable.ImmutableArray{``0})">
2395 <summary>Sets an array to the specified array and returns a reference to the original array, as an atomic operation.</summary>
2396 <param name="location">The array to set to the specified value.</param>
2397 <param name="value">The value to which the <paramref name="location" /> parameter is set.</param>
2398 <typeparam name="T">The type of element stored by the array.</typeparam>
2399 <returns>The original value of <paramref name="location" />.</returns>
2401 <member name="M:System.Collections.Immutable.ImmutableInterlocked.InterlockedInitialize``1(System.Collections.Immutable.ImmutableArray{``0}@,System.Collections.Immutable.ImmutableArray{``0})">
2402 <summary>Sets an array to the specified array if the array has not been initialized.</summary>
2403 <param name="location">The array to set to the specified value.</param>
2404 <param name="value">The value to which the <paramref name="location" /> parameter is set, if it's not initialized.</param>
2405 <typeparam name="T">The type of element stored by the array.</typeparam>
2407 <see langword="true" /> if the array was assigned the specified value; otherwise, <see langword="false" />.</returns>
2409 <member name="M:System.Collections.Immutable.ImmutableInterlocked.Push``1(System.Collections.Immutable.ImmutableStack{``0}@,``0)">
2410 <summary>Pushes a new element onto the stack.</summary>
2411 <param name="location">The stack to update.</param>
2412 <param name="value">The value to push on the stack.</param>
2413 <typeparam name="T">The type of items in the stack.</typeparam>
2415 <member name="M:System.Collections.Immutable.ImmutableInterlocked.TryAdd``2(System.Collections.Immutable.ImmutableDictionary{``0,``1}@,``0,``1)">
2416 <summary>Adds the specified key and value to the dictionary if the key is not in the dictionary.</summary>
2417 <param name="location">The dictionary to update with the specified key and value.</param>
2418 <param name="key">The key to add, if is not already defined in the dictionary.</param>
2419 <param name="value">The value to add.</param>
2420 <typeparam name="TKey">The type of the keys contained in the collection.</typeparam>
2421 <typeparam name="TValue">The type of the values contained in the collection.</typeparam>
2423 <see langword="true" /> if the key is not in the dictionary; otherwise, <see langword="false" />.</returns>
2425 <member name="M:System.Collections.Immutable.ImmutableInterlocked.TryDequeue``1(System.Collections.Immutable.ImmutableQueue{``0}@,``0@)">
2426 <summary>Atomically removes and returns the specified element at the head of the queue, if the queue is not empty.</summary>
2427 <param name="location">The variable or field to atomically update.</param>
2428 <param name="value">Set to the value from the head of the queue, if the queue not empty.</param>
2429 <typeparam name="T">The type of items in the queue.</typeparam>
2431 <see langword="true" /> if the queue is not empty and the head element is removed; otherwise, <see langword="false" />.</returns>
2433 <member name="M:System.Collections.Immutable.ImmutableInterlocked.TryPop``1(System.Collections.Immutable.ImmutableStack{``0}@,``0@)">
2434 <summary>Removes an element from the top of the stack, if there is an element to remove.</summary>
2435 <param name="location">The stack to update.</param>
2436 <param name="value">Receives the value removed from the stack, if the stack is not empty.</param>
2437 <typeparam name="T">The type of items in the stack.</typeparam>
2439 <see langword="true" /> if an element is removed from the stack; otherwise, <see langword="false" />.</returns>
2441 <member name="M:System.Collections.Immutable.ImmutableInterlocked.TryRemove``2(System.Collections.Immutable.ImmutableDictionary{``0,``1}@,``0,``1@)">
2442 <summary>Removes the element with the specified key, if the key exists.</summary>
2443 <param name="location">The dictionary to update.</param>
2444 <param name="key">The key to remove.</param>
2445 <param name="value">Receives the value of the removed item, if the dictionary is not empty.</param>
2446 <typeparam name="TKey">The type of the keys contained in the collection.</typeparam>
2447 <typeparam name="TValue">The type of the values contained in the collection.</typeparam>
2449 <see langword="true" /> if the key was found and removed; otherwise, <see langword="false" />.</returns>
2451 <member name="M:System.Collections.Immutable.ImmutableInterlocked.TryUpdate``2(System.Collections.Immutable.ImmutableDictionary{``0,``1}@,``0,``1,``1)">
2452 <summary>Sets the specified key to the specified value if the specified key already is set to a specific value.</summary>
2453 <param name="location">The dictionary to update.</param>
2454 <param name="key">The key to update.</param>
2455 <param name="newValue">The new value to set.</param>
2456 <param name="comparisonValue">The current value for <paramref name="key" /> in order for the update to succeed.</param>
2457 <typeparam name="TKey">The type of the keys contained in the collection.</typeparam>
2458 <typeparam name="TValue">The type of the values contained in the collection.</typeparam>
2460 <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>
2462 <member name="M:System.Collections.Immutable.ImmutableInterlocked.Update``1(``0@,System.Func{``0,``0})">
2463 <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>
2464 <param name="location">The variable or field to be changed, which may be accessed by multiple threads.</param>
2465 <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>
2466 <typeparam name="T">The type of data.</typeparam>
2468 <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>
2470 <member name="M:System.Collections.Immutable.ImmutableInterlocked.Update``2(``0@,System.Func{``0,``1,``0},``1)">
2471 <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>
2472 <param name="location">The variable or field to be changed, which may be accessed by multiple threads.</param>
2473 <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>
2474 <param name="transformerArgument">The argument to pass to <paramref name="transformer" />.</param>
2475 <typeparam name="T">The type of data.</typeparam>
2476 <typeparam name="TArg">The type of argument passed to the <paramref name="transformer" />.</typeparam>
2478 <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>
2480 <member name="T:System.Collections.Immutable.ImmutableList">
2481 <summary>Provides a set of initialization methods for instances of the <see cref="T:System.Collections.Immutable.ImmutableList`1" /> class.
2482 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
2484 <member name="M:System.Collections.Immutable.ImmutableList.Create``1">
2485 <summary>Creates an empty immutable list.</summary>
2486 <typeparam name="T">The type of items to be stored in the .</typeparam>
2487 <returns>An empty immutable list.</returns>
2489 <member name="M:System.Collections.Immutable.ImmutableList.Create``1(``0)">
2490 <summary>Creates a new immutable list that contains the specified item.</summary>
2491 <param name="item">The item to prepopulate the list with.</param>
2492 <typeparam name="T">The type of items in the .</typeparam>
2493 <returns>A new that contains the specified item.</returns>
2495 <member name="M:System.Collections.Immutable.ImmutableList.Create``1(``0[])">
2496 <summary>Creates a new immutable list that contains the specified array of items.</summary>
2497 <param name="items">An array that contains the items to prepopulate the list with.</param>
2498 <typeparam name="T">The type of items in the .</typeparam>
2499 <returns>A new immutable list that contains the specified items.</returns>
2501 <member name="M:System.Collections.Immutable.ImmutableList.CreateBuilder``1">
2502 <summary>Creates a new immutable list builder.</summary>
2503 <typeparam name="T">The type of items stored by the collection.</typeparam>
2504 <returns>The immutable collection builder.</returns>
2506 <member name="M:System.Collections.Immutable.ImmutableList.CreateRange``1(System.Collections.Generic.IEnumerable{``0})">
2507 <summary>Creates a new immutable list that contains the specified items.</summary>
2508 <param name="items">The items to add to the list.</param>
2509 <typeparam name="T">The type of items in the .</typeparam>
2510 <returns>An immutable list that contains the specified items.</returns>
2512 <member name="M:System.Collections.Immutable.ImmutableList.IndexOf``1(System.Collections.Immutable.IImmutableList{``0},``0)">
2513 <summary>Searches for the specified object and returns the zero-based index of the first occurrence within the list.</summary>
2514 <param name="list">The list to search.</param>
2515 <param name="item">The object to locate in the list. The value can be null for reference types.</param>
2516 <typeparam name="T">The type of items in the list.</typeparam>
2517 <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>
2519 <member name="M:System.Collections.Immutable.ImmutableList.IndexOf``1(System.Collections.Immutable.IImmutableList{``0},``0,System.Collections.Generic.IEqualityComparer{``0})">
2520 <summary>Searches for the specified object and returns the zero-based index of the first occurrence within the list.</summary>
2521 <param name="list">The list to search.</param>
2522 <param name="item">The object to locate in the Immutable list. The value can be null for reference types.</param>
2523 <param name="equalityComparer">The equality comparer to use in the search.</param>
2524 <typeparam name="T">The type of items in the list.</typeparam>
2525 <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>
2527 <member name="M:System.Collections.Immutable.ImmutableList.IndexOf``1(System.Collections.Immutable.IImmutableList{``0},``0,System.Int32)">
2528 <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>
2529 <param name="list">The list to search.</param>
2530 <param name="item">The object to locate in the Immutable list. The value can be null for reference types.</param>
2531 <param name="startIndex">The zero-based starting index of the search. 0 (zero) is valid in an empty list.</param>
2532 <typeparam name="T">The type of items in the list.</typeparam>
2533 <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>
2535 <member name="M:System.Collections.Immutable.ImmutableList.IndexOf``1(System.Collections.Immutable.IImmutableList{``0},``0,System.Int32,System.Int32)">
2536 <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>
2537 <param name="list">The list to search.</param>
2538 <param name="item">The object to locate in the Immutable list. The value can be null for reference types.</param>
2539 <param name="startIndex">The zero-based starting index of the search. 0 (zero) is valid in an empty list.</param>
2540 <param name="count">The number of elements in the section to search.</param>
2541 <typeparam name="T">The type of items in the list.</typeparam>
2542 <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>
2544 <member name="M:System.Collections.Immutable.ImmutableList.LastIndexOf``1(System.Collections.Immutable.IImmutableList{``0},``0)">
2545 <summary>Searches for the specified object and returns the zero-based index of the last occurrence within the entire immutable list.</summary>
2546 <param name="list">The list to search.</param>
2547 <param name="item">The object to locate in the Immutable list. The value can be null for reference types.</param>
2548 <typeparam name="T">The type of items in the list.</typeparam>
2549 <returns>The zero-based index of the last occurrence of item within the entire the Immutable list, if found; otherwise, -1.</returns>
2551 <member name="M:System.Collections.Immutable.ImmutableList.LastIndexOf``1(System.Collections.Immutable.IImmutableList{``0},``0,System.Collections.Generic.IEqualityComparer{``0})">
2552 <summary>Searches for the specified object and returns the zero-based index of the last occurrence within the entire immutable list.</summary>
2553 <param name="list">The list to search.</param>
2554 <param name="item">The object to locate in the Immutable list. The value can be null for reference types.</param>
2555 <param name="equalityComparer">The equality comparer to use in the search.</param>
2556 <typeparam name="T">The type of items in the list.</typeparam>
2557 <returns>The zero-based index of the last occurrence of item within the entire the Immutable list, if found; otherwise, -1.</returns>
2559 <member name="M:System.Collections.Immutable.ImmutableList.LastIndexOf``1(System.Collections.Immutable.IImmutableList{``0},``0,System.Int32)">
2560 <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>
2561 <param name="list">The list to search.</param>
2562 <param name="item">The object to locate in the Immutable list. The value can be null for reference types.</param>
2563 <param name="startIndex">The zero-based starting index of the backward search.</param>
2564 <typeparam name="T">The type of items in the list.</typeparam>
2565 <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>
2567 <member name="M:System.Collections.Immutable.ImmutableList.LastIndexOf``1(System.Collections.Immutable.IImmutableList{``0},``0,System.Int32,System.Int32)">
2568 <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>
2569 <param name="list">The list to search.</param>
2570 <param name="item">The object to locate in the Immutable list. The value can be null for reference types.</param>
2571 <param name="startIndex">The zero-based starting index of the backward search.</param>
2572 <param name="count">The number of elements in the section to search.</param>
2573 <typeparam name="T">The type of items in the list.</typeparam>
2574 <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>
2576 <member name="M:System.Collections.Immutable.ImmutableList.Remove``1(System.Collections.Immutable.IImmutableList{``0},``0)">
2577 <summary>Removes the specified value from this list.</summary>
2578 <param name="list">The list to search.</param>
2579 <param name="value">The value to remove.</param>
2580 <typeparam name="T">The type of items in the list.</typeparam>
2581 <returns>A new immutable list with the element removed, or this list if the element is not in this list.</returns>
2583 <member name="M:System.Collections.Immutable.ImmutableList.RemoveRange``1(System.Collections.Immutable.IImmutableList{``0},System.Collections.Generic.IEnumerable{``0})">
2584 <summary>Removes the specified values from this list.</summary>
2585 <param name="list">The list to search.</param>
2586 <param name="items">The items to remove if matches are found in this list.</param>
2587 <typeparam name="T">The type of items in the list.</typeparam>
2588 <returns>A new immutable list with the elements removed.</returns>
2590 <member name="M:System.Collections.Immutable.ImmutableList.Replace``1(System.Collections.Immutable.IImmutableList{``0},``0,``0)">
2591 <summary>Replaces the first equal element in the list with the specified element.</summary>
2592 <param name="list">The list to search.</param>
2593 <param name="oldValue">The element to replace.</param>
2594 <param name="newValue">The element to replace the old element with.</param>
2595 <typeparam name="T">The type of items in the list.</typeparam>
2596 <returns>The new list -- even if the value being replaced is equal to the new value for that position.</returns>
2597 <exception cref="T:System.ArgumentException">Thrown when the old value does not exist in the list.</exception>
2599 <member name="M:System.Collections.Immutable.ImmutableList.ToImmutableList``1(System.Collections.Generic.IEnumerable{``0})">
2600 <summary>Enumerates a sequence and produces an immutable list of its contents.</summary>
2601 <param name="source">The sequence to enumerate.</param>
2602 <typeparam name="TSource">The type of the elements in the sequence.</typeparam>
2603 <returns>An immutable list that contains the items in the specified sequence.</returns>
2605 <member name="M:System.Collections.Immutable.ImmutableList.ToImmutableList``1(System.Collections.Immutable.ImmutableList{``0}.Builder)">
2606 <summary>Creates an immutable list from the current contents of the builder's collection.</summary>
2607 <param name="builder">The builder to create the immutable list from.</param>
2608 <typeparam name="TSource">The type of the elements in the list.</typeparam>
2609 <returns>An immutable list that contains the current contents in the builder's collection.</returns>
2611 <member name="T:System.Collections.Immutable.ImmutableList`1">
2612 <summary>Represents an immutable list, which is a strongly typed list of objects that can be accessed by index.
2613 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
2614 <typeparam name="T">The type of elements in the list.</typeparam>
2616 <member name="M:System.Collections.Immutable.ImmutableList`1.Add(`0)">
2617 <summary>Adds the specified object to the end of the immutable list.</summary>
2618 <param name="value">The object to add.</param>
2619 <returns>A new immutable list with the object added.</returns>
2621 <member name="M:System.Collections.Immutable.ImmutableList`1.AddRange(System.Collections.Generic.IEnumerable{`0})">
2622 <summary>Adds the elements of the specified collection to the end of the immutable list.</summary>
2623 <param name="items">The collection whose elements will be added to the end of the list.</param>
2624 <returns>A new immutable list with the elements added.</returns>
2626 <member name="M:System.Collections.Immutable.ImmutableList`1.BinarySearch(`0)">
2627 <summary>Searches the entire sorted list for an element using the default comparer and returns the zero-based index of the element.</summary>
2628 <param name="item">The object to locate. The value can be <see langword="null" /> for reference types.</param>
2629 <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>
2630 <exception cref="T:System.InvalidOperationException">The default comparer cannot find a comparer implementation of the for type T.</exception>
2632 <member name="M:System.Collections.Immutable.ImmutableList`1.BinarySearch(`0,System.Collections.Generic.IComparer{`0})">
2633 <summary>Searches the entire sorted list for an element using the specified comparer and returns the zero-based index of the element.</summary>
2634 <param name="item">The object to locate. The value can be null for reference types.</param>
2635 <param name="comparer">The comparer implementation to use when comparing elements or null to use the default comparer.</param>
2636 <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>
2637 <exception cref="T:System.InvalidOperationException">comparer is <see langword="null" />, and the default comparer cannot find an comparer implementation for type T.</exception>
2639 <member name="M:System.Collections.Immutable.ImmutableList`1.BinarySearch(System.Int32,System.Int32,`0,System.Collections.Generic.IComparer{`0})">
2640 <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>
2641 <param name="index">The zero-based starting index of the range to search.</param>
2642 <param name="count">The length of the range to search.</param>
2643 <param name="item">The object to locate. The value can be null for reference types.</param>
2644 <param name="comparer">The comparer implementation to use when comparing elements, or <see langword="null" /> to use the default comparer.</param>
2645 <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>
2646 <exception cref="T:System.ArgumentOutOfRangeException">index is less than 0 or <paramref name="count" /> is less than 0.</exception>
2647 <exception cref="T:System.ArgumentException">index and <paramref name="count" /> do not denote a valid range in the list.</exception>
2648 <exception cref="T:System.InvalidOperationException">
2649 <paramref name="comparer" /> is <see langword="null" />, and the default comparer cannot find an comparer implementation for type T.</exception>
2651 <member name="T:System.Collections.Immutable.ImmutableList`1.Builder">
2652 <summary>Represents a list that mutates with little or no memory allocations and that can produce or build on immutable list instances very efficiently.
2653 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
2654 <typeparam name="T" />
2656 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.Add(`0)">
2657 <summary>Adds an item to the immutable list.</summary>
2658 <param name="item">The item to add to the list.</param>
2660 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.AddRange(System.Collections.Generic.IEnumerable{`0})">
2661 <summary>Adds a series of elements to the end of this list.</summary>
2662 <param name="items">The elements to add to the end of the list.</param>
2664 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.BinarySearch(`0)">
2665 <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>
2666 <param name="item">The object to locate. The value can be null for reference types.</param>
2667 <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>
2668 <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>
2670 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.BinarySearch(`0,System.Collections.Generic.IComparer{`0})">
2671 <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>
2672 <param name="item">The object to locate. This value can be null for reference types.</param>
2673 <param name="comparer">The implementation to use when comparing elements, or <see langword="null" /> for the default comparer.</param>
2674 <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>
2675 <exception cref="T:System.InvalidOperationException">
2676 <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>
2678 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.BinarySearch(System.Int32,System.Int32,`0,System.Collections.Generic.IComparer{`0})">
2679 <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>
2680 <param name="index">The zero-based starting index of the range to search.</param>
2681 <param name="count">The length of the range to search.</param>
2682 <param name="item">The object to locate. This value can be null for reference types.</param>
2683 <param name="comparer">The implementation to use when comparing elements, or <see langword="null" /> for the default comparer.</param>
2684 <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>
2685 <exception cref="T:System.ArgumentOutOfRangeException">
2686 <paramref name="index" /> is less than 0.
2688 <paramref name="count" /> is less than 0.</exception>
2689 <exception cref="T:System.ArgumentException">
2690 <paramref name="index" /> and <paramref name="count" /> do not denote a valid range in the <see cref="T:System.Collections.Generic.List`1" />.</exception>
2691 <exception cref="T:System.InvalidOperationException">
2692 <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>
2694 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.Clear">
2695 <summary>Removes all items from the immutable list.</summary>
2697 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.Contains(`0)">
2698 <summary>Determines whether the immutable list contains a specific value.</summary>
2699 <param name="item">The object to locate in the list.</param>
2701 <see langword="true" /> if item is found in the list; otherwise, <see langword="false" />.</returns>
2703 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.ConvertAll``1(System.Func{`0,``0})">
2704 <summary>Creates a new immutable list from the list represented by this builder by using the converter function.</summary>
2705 <param name="converter">The converter function.</param>
2706 <typeparam name="TOutput">The type of the output of the delegate converter function.</typeparam>
2707 <returns>A new immutable list from the list represented by this builder.</returns>
2709 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.CopyTo(`0[])">
2710 <summary>Copies the entire immutable list to a compatible one-dimensional array, starting at the beginning of the target array.</summary>
2711 <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>
2713 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.CopyTo(`0[],System.Int32)">
2714 <summary>Copies the entire immutable list to a compatible one-dimensional array, starting at the specified index of the target array.</summary>
2715 <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>
2716 <param name="arrayIndex">The zero-based index in array at which copying begins.</param>
2718 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.CopyTo(System.Int32,`0[],System.Int32,System.Int32)">
2719 <summary>Copies the entire immutable list to a compatible one-dimensional array, starting at the specified index of the target array.</summary>
2720 <param name="index">The zero-based index in the source immutable list at which copying begins.</param>
2721 <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>
2722 <param name="arrayIndex">The zero-based index in <paramref name="array" /> at which copying begins.</param>
2723 <param name="count">The number of elements to copy.</param>
2725 <member name="P:System.Collections.Immutable.ImmutableList`1.Builder.Count">
2726 <summary>Gets the number of elements in this immutable list.</summary>
2727 <returns>The number of elements in this list.</returns>
2729 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.Exists(System.Predicate{`0})">
2730 <summary>Determines whether the immutable list contains elements that match the conditions defined by the specified predicate.</summary>
2731 <param name="match">The delegate that defines the conditions of the elements to search for.</param>
2733 <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>
2735 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.Find(System.Predicate{`0})">
2736 <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>
2737 <param name="match">The delegate that defines the conditions of the element to search for.</param>
2738 <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>
2740 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.FindAll(System.Predicate{`0})">
2741 <summary>Retrieves all the elements that match the conditions defined by the specified predicate.</summary>
2742 <param name="match">The delegate that defines the conditions of the elements to search for.</param>
2743 <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>
2745 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.FindIndex(System.Int32,System.Int32,System.Predicate{`0})">
2746 <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>
2747 <param name="startIndex">The zero-based starting index of the search.</param>
2748 <param name="count">The number of elements in the section to search.</param>
2749 <param name="match">The delegate that defines the conditions of the element to search for.</param>
2750 <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>
2752 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.FindIndex(System.Int32,System.Predicate{`0})">
2753 <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>
2754 <param name="startIndex">The zero-based starting index of the search.</param>
2755 <param name="match">The delegate that defines the conditions of the element to search for.</param>
2756 <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>
2758 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.FindIndex(System.Predicate{`0})">
2759 <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>
2760 <param name="match">The delegate that defines the conditions of the element to search for.</param>
2761 <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>
2763 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.FindLast(System.Predicate{`0})">
2764 <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>
2765 <param name="match">The delegate that defines the conditions of the element to search for.</param>
2766 <returns>The last element that matches the conditions defined by the specified predicate, found; otherwise, the default value for type <paramref name="T" />.</returns>
2768 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.FindLastIndex(System.Int32,System.Int32,System.Predicate{`0})">
2769 <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>
2770 <param name="startIndex">The zero-based starting index of the backward search.</param>
2771 <param name="count">The number of elements in the section to search.</param>
2772 <param name="match">The delegate that defines the conditions of the element to search for.</param>
2773 <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>
2775 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.FindLastIndex(System.Int32,System.Predicate{`0})">
2776 <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>
2777 <param name="startIndex">The zero-based starting index of the backward search.</param>
2778 <param name="match">The delegate that defines the conditions of the element to search for.</param>
2779 <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>
2781 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.FindLastIndex(System.Predicate{`0})">
2782 <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>
2783 <param name="match">The delegate that defines the conditions of the element to search for.</param>
2784 <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>
2786 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.ForEach(System.Action{`0})">
2787 <summary>Performs the specified action on each element of the list.</summary>
2788 <param name="action">The delegate to perform on each element of the list.</param>
2790 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.GetEnumerator">
2791 <summary>Returns an enumerator that iterates through the collection.</summary>
2792 <returns>An enumerator that can be used to iterate through the list.</returns>
2794 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.GetRange(System.Int32,System.Int32)">
2795 <summary>Creates a shallow copy of a range of elements in the source immutable list.</summary>
2796 <param name="index">The zero-based index at which the range starts.</param>
2797 <param name="count">The number of elements in the range.</param>
2798 <returns>A shallow copy of a range of elements in the source immutable list.</returns>
2800 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.IndexOf(`0)">
2801 <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>
2802 <param name="item">The object to locate in the immutable list. The value can be <see langword="null" /> for reference types.</param>
2803 <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>
2805 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.IndexOf(`0,System.Int32)">
2806 <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>
2807 <param name="item">The object to locate in the immutable list. The value can be <see langword="null" /> for reference types.</param>
2808 <param name="index">The zero-based starting index of the search. 0 (zero) is valid in an empty list.</param>
2809 <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>
2811 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.IndexOf(`0,System.Int32,System.Int32)">
2812 <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>
2813 <param name="item">The object to locate in the immutable list. The value can be <see langword="null" /> for reference types.</param>
2814 <param name="index">The zero-based starting index of the search. 0 (zero) is valid in an empty list.</param>
2815 <param name="count">The number of elements in the section to search.</param>
2816 <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>
2818 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.IndexOf(`0,System.Int32,System.Int32,System.Collections.Generic.IEqualityComparer{`0})">
2819 <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>
2820 <param name="item">The object to locate in the immutable list. The value can be <see langword="null" /> for reference types.</param>
2821 <param name="index">The zero-based starting index of the search. 0 (zero) is valid in an empty list.</param>
2822 <param name="count">The number of elements to search.</param>
2823 <param name="equalityComparer">The value comparer to use for comparing elements for equality.</param>
2824 <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>
2826 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.Insert(System.Int32,`0)">
2827 <summary>Inserts an item to the immutable list at the specified index.</summary>
2828 <param name="index">The zero-based index at which <paramref name="item" /> should be inserted.</param>
2829 <param name="item">The object to insert into the immutable list.</param>
2831 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.InsertRange(System.Int32,System.Collections.Generic.IEnumerable{`0})">
2832 <summary>Inserts the elements of a collection into the immutable list at the specified index.</summary>
2833 <param name="index">The zero-based index at which the new elements should be inserted.</param>
2834 <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>
2836 <member name="P:System.Collections.Immutable.ImmutableList`1.Builder.Item(System.Int32)">
2837 <summary>Gets or sets the value for a given index in the list.</summary>
2838 <param name="index">The index of the item to get or set.</param>
2839 <returns>The value at the specified index.</returns>
2841 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.ItemRef(System.Int32)">
2842 <summary>Gets a read-only reference to the value for a given <paramref name="index" /> into the list.</summary>
2843 <param name="index">The index of the desired element.</param>
2844 <returns>A read-only reference to the value at the specified <paramref name="index" />.</returns>
2846 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.LastIndexOf(`0)">
2847 <summary>Searches for the specified object and returns the zero-based index of the last occurrence within the entire immutable list.</summary>
2848 <param name="item">The object to locate in the immutable list. The value can be <see langword="null" /> for reference types.</param>
2849 <returns>The zero-based index of the last occurrence of <paramref name="item" /> within the entire immutable list, if found; otherwise, -1.</returns>
2851 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.LastIndexOf(`0,System.Int32)">
2852 <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>
2853 <param name="item">The object to locate in the immutable list. The value can be <see langword="null" /> for reference types.</param>
2854 <param name="startIndex">The zero-based starting index of the backward search.</param>
2855 <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>
2857 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.LastIndexOf(`0,System.Int32,System.Int32)">
2858 <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>
2859 <param name="item">The object to locate in the immutable list. The value can be <see langword="null" /> for reference types.</param>
2860 <param name="startIndex">The zero-based starting index of the backward search.</param>
2861 <param name="count">The number of elements in the section to search.</param>
2862 <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>
2864 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.LastIndexOf(`0,System.Int32,System.Int32,System.Collections.Generic.IEqualityComparer{`0})">
2865 <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>
2866 <param name="item">The object to locate in the immutable list. The value can be <see langword="null" /> for reference types.</param>
2867 <param name="startIndex">The zero-based starting index of the search. 0 (zero) is valid in an empty list.</param>
2868 <param name="count">The number of elements to search.</param>
2869 <param name="equalityComparer">The value comparer to use for comparing elements for equality.</param>
2870 <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>
2872 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.Remove(`0)">
2873 <summary>Removes the first occurrence of a specific object from the immutable list.</summary>
2874 <param name="item">The object to remove from the list.</param>
2876 <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>
2878 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.RemoveAll(System.Predicate{`0})">
2879 <summary>Removes all the elements that match the conditions defined by the specified predicate.</summary>
2880 <param name="match">The delegate that defines the conditions of the elements to remove.</param>
2881 <returns>The number of elements removed from the immutable list.</returns>
2883 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.RemoveAt(System.Int32)">
2884 <summary>Removes the item at the specified index of the immutable list.</summary>
2885 <param name="index">The zero-based index of the item to remove from the list.</param>
2887 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.Reverse">
2888 <summary>Reverses the order of the elements in the entire immutable list.</summary>
2890 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.Reverse(System.Int32,System.Int32)">
2891 <summary>Reverses the order of the elements in the specified range of the immutable list.</summary>
2892 <param name="index">The zero-based starting index of the range to reverse.</param>
2893 <param name="count">The number of elements in the range to reverse.</param>
2895 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.Sort">
2896 <summary>Sorts the elements in the entire immutable list by using the default comparer.</summary>
2898 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.Sort(System.Collections.Generic.IComparer{`0})">
2899 <summary>Sorts the elements in the entire immutable list by using the specified comparer.</summary>
2900 <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>
2902 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.Sort(System.Comparison{`0})">
2903 <summary>Sorts the elements in the entire immutable list by using the specified comparison object.</summary>
2904 <param name="comparison">The object to use when comparing elements.</param>
2905 <exception cref="T:System.ArgumentNullException">
2906 <paramref name="comparison" /> is <see langword="null" />.</exception>
2908 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.Sort(System.Int32,System.Int32,System.Collections.Generic.IComparer{`0})">
2909 <summary>Sorts the elements in a range of elements in the immutable list by using the specified comparer.</summary>
2910 <param name="index">The zero-based starting index of the range to sort.</param>
2911 <param name="count">The length of the range to sort.</param>
2912 <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>
2914 <member name="P:System.Collections.Immutable.ImmutableList`1.Builder.System#Collections#Generic#ICollection{T}#IsReadOnly">
2915 <summary>Gets a value that indicates whether this instance is read-only.</summary>
2916 <returns>Always <see langword="false" />.</returns>
2918 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.System#Collections#Generic#IEnumerable{T}#GetEnumerator">
2919 <summary>Returns an enumerator that iterates through the collection.</summary>
2920 <returns>An enumerator that can be used to iterate through the collection.</returns>
2922 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.System#Collections#ICollection#CopyTo(System.Array,System.Int32)">
2923 <summary>Copies the elements of the list to an array, starting at a particular array index.</summary>
2924 <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>
2925 <param name="arrayIndex">The zero-based index in <paramref name="array" /> at which copying begins.</param>
2926 <exception cref="T:System.NotImplementedException" />
2928 <member name="P:System.Collections.Immutable.ImmutableList`1.Builder.System#Collections#ICollection#IsSynchronized">
2929 <summary>Gets a value that indicates whether access to the <see cref="T:System.Collections.ICollection" /> is synchronized (thread safe).</summary>
2931 <see langword="true" /> if access to the <see cref="T:System.Collections.ICollection" /> is synchronized (thread safe); otherwise, <see langword="false" />.</returns>
2933 <member name="P:System.Collections.Immutable.ImmutableList`1.Builder.System#Collections#ICollection#SyncRoot">
2934 <summary>Gets an object that can be used to synchronize access to the <see cref="T:System.Collections.ICollection" />.</summary>
2935 <returns>An object that can be used to synchronize access to the <see cref="T:System.Collections.ICollection" />.</returns>
2937 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.System#Collections#IEnumerable#GetEnumerator">
2938 <summary>Returns an enumerator that iterates through the collection.</summary>
2939 <returns>An enumerator that can be used to iterate through the collection.</returns>
2941 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.System#Collections#IList#Add(System.Object)">
2942 <summary>Adds an item to the list.</summary>
2943 <param name="value">The object to add to the list.</param>
2944 <returns>The position into which the new element was inserted, or -1 to indicate that the item was not inserted into the collection.</returns>
2945 <exception cref="T:System.NotImplementedException" />
2947 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.System#Collections#IList#Clear">
2948 <summary>Removes all items from the list.</summary>
2949 <exception cref="T:System.NotImplementedException" />
2951 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.System#Collections#IList#Contains(System.Object)">
2952 <summary>Determines whether the list contains a specific value.</summary>
2953 <param name="value">The object to locate in the list.</param>
2955 <see langword="true" /> if the <see cref="T:System.Object" /> is found in the list; otherwise, <see langword="false" />.</returns>
2956 <exception cref="T:System.NotImplementedException" />
2958 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.System#Collections#IList#IndexOf(System.Object)">
2959 <summary>Determines the index of a specific item in the list.</summary>
2960 <param name="value">The object to locate in the list.</param>
2961 <returns>The index of <paramref name="value" /> if found in the list; otherwise, -1.</returns>
2962 <exception cref="T:System.NotImplementedException" />
2964 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.System#Collections#IList#Insert(System.Int32,System.Object)">
2965 <summary>Inserts an item to the list at the specified index.</summary>
2966 <param name="index">The zero-based index at which <paramref name="value" /> should be inserted.</param>
2967 <param name="value">The object to insert into the list.</param>
2968 <exception cref="T:System.NotImplementedException" />
2970 <member name="P:System.Collections.Immutable.ImmutableList`1.Builder.System#Collections#IList#IsFixedSize">
2971 <summary>Gets a value that indicates whether the <see cref="T:System.Collections.IList" /> has a fixed size.</summary>
2973 <see langword="true" /> if the <see cref="T:System.Collections.IList" /> has a fixed size; otherwise, <see langword="false" />.</returns>
2975 <member name="P:System.Collections.Immutable.ImmutableList`1.Builder.System#Collections#IList#IsReadOnly">
2976 <summary>Gets a value that indicates whether the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only.</summary>
2978 <see langword="true" /> if the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only; otherwise, <see langword="false" />.</returns>
2980 <member name="P:System.Collections.Immutable.ImmutableList`1.Builder.System#Collections#IList#Item(System.Int32)">
2981 <summary>Gets or sets the <see cref="T:System.Object" /> at the specified index.</summary>
2982 <param name="index">The index.</param>
2983 <returns>The object at the specified index.</returns>
2985 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.System#Collections#IList#Remove(System.Object)">
2986 <summary>Removes the first occurrence of a specific object from the list.</summary>
2987 <param name="value">The object to remove from the list.</param>
2988 <exception cref="T:System.NotImplementedException" />
2990 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.ToImmutable">
2991 <summary>Creates an immutable list based on the contents of this instance.</summary>
2992 <returns>An immutable list.</returns>
2994 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.TrueForAll(System.Predicate{`0})">
2995 <summary>Determines whether every element in the immutable list matches the conditions defined by the specified predicate.</summary>
2996 <param name="match">The delegate that defines the conditions to check against the elements.</param>
2998 <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>
3000 <member name="M:System.Collections.Immutable.ImmutableList`1.Clear">
3001 <summary>Removes all elements from the immutable list.</summary>
3002 <returns>An empty list that retains the same sort or unordered semantics that this instance has.</returns>
3004 <member name="M:System.Collections.Immutable.ImmutableList`1.Contains(`0)">
3005 <summary>Determines whether this immutable list contains the specified value.</summary>
3006 <param name="value">The value to locate.</param>
3008 <see langword="true" /> if the list contains the specified value; otherwise, <see langword="false" />.</returns>
3010 <member name="M:System.Collections.Immutable.ImmutableList`1.ConvertAll``1(System.Func{`0,``0})">
3011 <summary>Converts the elements in the current immutable list to another type, and returns a list containing the converted elements.</summary>
3012 <param name="converter">A delegate that converts each element from one type to another type.</param>
3013 <typeparam name="TOutput">The type of the elements of the target array.</typeparam>
3014 <returns>A list of the target type containing the converted elements from the current <see cref="T:System.Collections.Immutable.ImmutableList`1" />.</returns>
3016 <member name="M:System.Collections.Immutable.ImmutableList`1.CopyTo(`0[])">
3017 <summary>Copies the entire immutable list to a compatible one-dimensional array, starting at the beginning of the target array.</summary>
3018 <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>
3020 <member name="M:System.Collections.Immutable.ImmutableList`1.CopyTo(`0[],System.Int32)">
3021 <summary>Copies the entire immutable list to a compatible one-dimensional array, starting at the specified index of the target array.</summary>
3022 <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>
3023 <param name="arrayIndex">The zero-based index in <paramref name="array" /> at which copying begins.</param>
3025 <member name="M:System.Collections.Immutable.ImmutableList`1.CopyTo(System.Int32,`0[],System.Int32,System.Int32)">
3026 <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>
3027 <param name="index">The zero-based index in the source immutable list at which copying begins.</param>
3028 <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>
3029 <param name="arrayIndex">The zero-based index in array at which copying begins.</param>
3030 <param name="count">The number of elements to copy.</param>
3032 <member name="P:System.Collections.Immutable.ImmutableList`1.Count">
3033 <summary>Gets the number of elements contained in the list.</summary>
3034 <returns>The number of elements in the list.</returns>
3036 <member name="F:System.Collections.Immutable.ImmutableList`1.Empty">
3037 <summary>Gets an empty set with the default sort comparer.</summary>
3039 <member name="T:System.Collections.Immutable.ImmutableList`1.Enumerator">
3040 <summary>Enumerates the contents of a binary tree.
3041 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
3042 <typeparam name="T" />
3044 <member name="P:System.Collections.Immutable.ImmutableList`1.Enumerator.Current">
3045 <summary>Gets the element at the current position of the enumerator.</summary>
3046 <returns>The element at the current position of the enumerator.</returns>
3048 <member name="M:System.Collections.Immutable.ImmutableList`1.Enumerator.Dispose">
3049 <summary>Releases the resources used by the current instance of the <see cref="T:System.Collections.Immutable.ImmutableList`1.Enumerator" /> class.</summary>
3051 <member name="M:System.Collections.Immutable.ImmutableList`1.Enumerator.MoveNext">
3052 <summary>Advances enumeration to the next element of the immutable list.</summary>
3054 <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>
3056 <member name="M:System.Collections.Immutable.ImmutableList`1.Enumerator.Reset">
3057 <summary>Sets the enumerator to its initial position, which is before the first element in the immutable list.</summary>
3059 <member name="P:System.Collections.Immutable.ImmutableList`1.Enumerator.System#Collections#IEnumerator#Current">
3060 <summary>The current element.</summary>
3062 <member name="M:System.Collections.Immutable.ImmutableList`1.Exists(System.Predicate{`0})">
3063 <summary>Determines whether the immutable list contains elements that match the conditions defined by the specified predicate.</summary>
3064 <param name="match">The delegate that defines the conditions of the elements to search for.</param>
3066 <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>
3068 <member name="M:System.Collections.Immutable.ImmutableList`1.Find(System.Predicate{`0})">
3069 <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>
3070 <param name="match">The delegate that defines the conditions of the element to search for.</param>
3071 <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>
3073 <member name="M:System.Collections.Immutable.ImmutableList`1.FindAll(System.Predicate{`0})">
3074 <summary>Retrieves all the elements that match the conditions defined by the specified predicate.</summary>
3075 <param name="match">The delegate that defines the conditions of the elements to search for.</param>
3076 <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>
3078 <member name="M:System.Collections.Immutable.ImmutableList`1.FindIndex(System.Int32,System.Int32,System.Predicate{`0})">
3079 <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>
3080 <param name="startIndex">The zero-based starting index of the search.</param>
3081 <param name="count">The number of elements in the section to search.</param>
3082 <param name="match">The delegate that defines the conditions of the element to search for.</param>
3083 <returns>The zero-based index of the first occurrence of an element that matches the conditions defined by match, if found; otherwise, ?1.</returns>
3085 <member name="M:System.Collections.Immutable.ImmutableList`1.FindIndex(System.Int32,System.Predicate{`0})">
3086 <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>
3087 <param name="startIndex">The zero-based starting index of the search.</param>
3088 <param name="match">The delegate that defines the conditions of the element to search for.</param>
3089 <returns>The zero-based index of the first occurrence of an element that matches the conditions defined by match, if found; otherwise, ?1.</returns>
3091 <member name="M:System.Collections.Immutable.ImmutableList`1.FindIndex(System.Predicate{`0})">
3092 <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>
3093 <param name="match">The delegate that defines the conditions of the element to search for.</param>
3094 <returns>The zero-based index of the first occurrence of an element that matches the conditions defined by match, if found; otherwise, ?1.</returns>
3096 <member name="M:System.Collections.Immutable.ImmutableList`1.FindLast(System.Predicate{`0})">
3097 <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>
3098 <param name="match">The delegate that defines the conditions of the element to search for.</param>
3099 <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>
3101 <member name="M:System.Collections.Immutable.ImmutableList`1.FindLastIndex(System.Int32,System.Int32,System.Predicate{`0})">
3102 <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>
3103 <param name="startIndex">The zero-based starting index of the backward search.</param>
3104 <param name="count">The number of elements in the section to search.</param>
3105 <param name="match">The delegate that defines the conditions of the element to search for.</param>
3106 <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>
3108 <member name="M:System.Collections.Immutable.ImmutableList`1.FindLastIndex(System.Int32,System.Predicate{`0})">
3109 <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>
3110 <param name="startIndex">The zero-based starting index of the backward search.</param>
3111 <param name="match">The delegate that defines the conditions of the element to search for.</param>
3112 <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>
3114 <member name="M:System.Collections.Immutable.ImmutableList`1.FindLastIndex(System.Predicate{`0})">
3115 <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>
3116 <param name="match">The delegate that defines the conditions of the element to search for.</param>
3117 <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>
3119 <member name="M:System.Collections.Immutable.ImmutableList`1.ForEach(System.Action{`0})">
3120 <summary>Performs the specified action on each element of the immutable list.</summary>
3121 <param name="action">The delegate to perform on each element of the immutable list.</param>
3123 <member name="M:System.Collections.Immutable.ImmutableList`1.GetEnumerator">
3124 <summary>Returns an enumerator that iterates through the immutable list.</summary>
3125 <returns>An enumerator that can be used to iterate through the immutable list.</returns>
3127 <member name="M:System.Collections.Immutable.ImmutableList`1.GetRange(System.Int32,System.Int32)">
3128 <summary>Creates a shallow copy of a range of elements in the source immutable list.</summary>
3129 <param name="index">The zero-based index at which the range starts.</param>
3130 <param name="count">The number of elements in the range.</param>
3131 <returns>A shallow copy of a range of elements in the source immutable list.</returns>
3133 <member name="M:System.Collections.Immutable.ImmutableList`1.IndexOf(`0)">
3134 <summary>Searches for the specified object and returns the zero-based index of the first occurrence within the entire immutable list.</summary>
3135 <param name="value">The object to locate in the immutable list. The value can be <see langword="null" /> for reference types.</param>
3136 <returns>The zero-based index of the first occurrence of <paramref name="value" /> within the entire immutable list, if found; otherwise, ?1.</returns>
3138 <member name="M:System.Collections.Immutable.ImmutableList`1.IndexOf(`0,System.Int32,System.Int32,System.Collections.Generic.IEqualityComparer{`0})">
3139 <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>
3140 <param name="item">The object to locate in the list The value can be null for reference types.</param>
3141 <param name="index">The zero-based starting index of the search. 0 (zero) is valid in an empty list.</param>
3142 <param name="count">The number of elements in the section to search.</param>
3143 <param name="equalityComparer">The equality comparer to use in the search.</param>
3144 <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>
3146 <member name="M:System.Collections.Immutable.ImmutableList`1.Insert(System.Int32,`0)">
3147 <summary>Inserts the specified object into the immutable list at the specified index.</summary>
3148 <param name="index">The zero-based index at which to insert the object.</param>
3149 <param name="item">The object to insert.</param>
3150 <returns>The new immutable list after the object is inserted.</returns>
3152 <member name="M:System.Collections.Immutable.ImmutableList`1.InsertRange(System.Int32,System.Collections.Generic.IEnumerable{`0})">
3153 <summary>Inserts the elements of a collection into the immutable list at the specified index.</summary>
3154 <param name="index">The zero-based index at which to insert the elements.</param>
3155 <param name="items">The collection whose elements should be inserted.</param>
3156 <returns>The new immutable list after the elements are inserted.</returns>
3158 <member name="P:System.Collections.Immutable.ImmutableList`1.IsEmpty">
3159 <summary>Gets a value that indicates whether this list is empty.</summary>
3161 <see langword="true" /> if the list is empty; otherwise, <see langword="false" />.</returns>
3163 <member name="P:System.Collections.Immutable.ImmutableList`1.Item(System.Int32)">
3164 <summary>Gets the element at the specified index of the list.</summary>
3165 <param name="index">The index of the element to retrieve.</param>
3166 <returns>The element at the specified index.</returns>
3167 <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>
3169 <member name="M:System.Collections.Immutable.ImmutableList`1.ItemRef(System.Int32)">
3170 <summary>Gets a read-only reference to the element of the set at the given <paramref name="index" />.</summary>
3171 <param name="index">The 0-based index of the element in the set to return.</param>
3172 <returns>A read-only reference to the element at the given position.</returns>
3173 <exception cref="T:System.IndexOutOfRangeException">
3174 <paramref name="index" /> is negative or not less than <see cref="P:System.Collections.Immutable.ImmutableList`1.Count" />.</exception>
3176 <member name="M:System.Collections.Immutable.ImmutableList`1.LastIndexOf(`0,System.Int32,System.Int32,System.Collections.Generic.IEqualityComparer{`0})">
3177 <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>
3178 <param name="item">The object to locate in the list. The value can be null for reference types.</param>
3179 <param name="index">The zero-based starting index of the backward search.</param>
3180 <param name="count">The number of elements in the section to search.</param>
3181 <param name="equalityComparer">The equality comparer to use in the search.</param>
3182 <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>
3184 <member name="M:System.Collections.Immutable.ImmutableList`1.Remove(`0)">
3185 <summary>Removes the first occurrence of the specified object from this immutable list.</summary>
3186 <param name="value">The object to remove.</param>
3187 <returns>A new list with the object removed, or this list if the specified object is not in this list.</returns>
3189 <member name="M:System.Collections.Immutable.ImmutableList`1.Remove(`0,System.Collections.Generic.IEqualityComparer{`0})">
3190 <summary>Removes the first occurrence of the object that matches the specified value from this immutable list.</summary>
3191 <param name="value">The value of the element to remove from the list.</param>
3192 <param name="equalityComparer">The equality comparer to use in the search.</param>
3193 <returns>A new list with the object removed, or this list if the specified object is not in this list.</returns>
3195 <member name="M:System.Collections.Immutable.ImmutableList`1.RemoveAll(System.Predicate{`0})">
3196 <summary>Removes all the elements that match the conditions defined by the specified predicate.</summary>
3197 <param name="match">The delegate that defines the conditions of the elements to remove.</param>
3198 <returns>The new list with the elements removed.</returns>
3200 <member name="M:System.Collections.Immutable.ImmutableList`1.RemoveAt(System.Int32)">
3201 <summary>Removes the element at the specified index.</summary>
3202 <param name="index">The zero-based index of the element to remove.</param>
3203 <returns>A new list with the element removed.</returns>
3205 <member name="M:System.Collections.Immutable.ImmutableList`1.RemoveRange(System.Collections.Generic.IEnumerable{`0})">
3206 <summary>Removes a range of elements from this immutable list.</summary>
3207 <param name="items">The collection whose elements should be removed if matches are found in this list.</param>
3208 <returns>A new list with the elements removed.</returns>
3210 <member name="M:System.Collections.Immutable.ImmutableList`1.RemoveRange(System.Collections.Generic.IEnumerable{`0},System.Collections.Generic.IEqualityComparer{`0})">
3211 <summary>Removes the specified values from this list.</summary>
3212 <param name="items">The items to remove if matches are found in this list.</param>
3213 <param name="equalityComparer">The equality comparer to use in the search.</param>
3214 <returns>A new list with the elements removed.</returns>
3216 <member name="M:System.Collections.Immutable.ImmutableList`1.RemoveRange(System.Int32,System.Int32)">
3217 <summary>Removes a range of elements, starting from the specified index and containing the specified number of elements, from this immutable list.</summary>
3218 <param name="index">The starting index to begin removal.</param>
3219 <param name="count">The number of elements to remove.</param>
3220 <returns>A new list with the elements removed.</returns>
3222 <member name="M:System.Collections.Immutable.ImmutableList`1.Replace(`0,`0)">
3223 <summary>Replaces the specified element in the immutable list with a new element.</summary>
3224 <param name="oldValue">The element to replace.</param>
3225 <param name="newValue">The element to replace <paramref name="oldValue" /> with.</param>
3226 <returns>The new list with the replaced element, even if it is equal to the old element.</returns>
3227 <exception cref="T:System.ArgumentException">
3228 <paramref name="oldValue" /> does not exist in the immutable list.</exception>
3230 <member name="M:System.Collections.Immutable.ImmutableList`1.Replace(`0,`0,System.Collections.Generic.IEqualityComparer{`0})">
3231 <summary>Replaces the specified element in the immutable list with a new element.</summary>
3232 <param name="oldValue">The element to replace in the list.</param>
3233 <param name="newValue">The element to replace <paramref name="oldValue" /> with.</param>
3234 <param name="equalityComparer">The comparer to use to check for equality.</param>
3235 <returns>A new list with the object replaced, or this list if the specified object is not in this list.</returns>
3237 <member name="M:System.Collections.Immutable.ImmutableList`1.Reverse">
3238 <summary>Reverses the order of the elements in the entire immutable list.</summary>
3239 <returns>The reversed list.</returns>
3241 <member name="M:System.Collections.Immutable.ImmutableList`1.Reverse(System.Int32,System.Int32)">
3242 <summary>Reverses the order of the elements in the specified range of the immutable list.</summary>
3243 <param name="index">The zero-based starting index of the range to reverse.</param>
3244 <param name="count">The number of elements in the range to reverse.</param>
3245 <returns>The reversed list.</returns>
3247 <member name="M:System.Collections.Immutable.ImmutableList`1.SetItem(System.Int32,`0)">
3248 <summary>Replaces an element at a given position in the immutable list with the specified element.</summary>
3249 <param name="index">The position in the list of the element to replace.</param>
3250 <param name="value">The element to replace the old element with.</param>
3251 <returns>The new list with the replaced element, even if it is equal to the old element at that position.</returns>
3253 <member name="M:System.Collections.Immutable.ImmutableList`1.Sort">
3254 <summary>Sorts the elements in the entire immutable list using the default comparer.</summary>
3255 <returns>The sorted list.</returns>
3257 <member name="M:System.Collections.Immutable.ImmutableList`1.Sort(System.Collections.Generic.IComparer{`0})">
3258 <summary>Sorts the elements in the entire immutable list using the specified comparer.</summary>
3259 <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>
3260 <returns>The sorted list.</returns>
3262 <member name="M:System.Collections.Immutable.ImmutableList`1.Sort(System.Comparison{`0})">
3263 <summary>Sorts the elements in the entire immutable list using the specified comparer.</summary>
3264 <param name="comparison">The delegate to use when comparing elements.</param>
3265 <returns>The sorted list.</returns>
3266 <exception cref="T:System.ArgumentNullException">
3267 <paramref name="comparison" /> is <see langword="null" />.</exception>
3269 <member name="M:System.Collections.Immutable.ImmutableList`1.Sort(System.Int32,System.Int32,System.Collections.Generic.IComparer{`0})">
3270 <summary>Sorts a range of elements in the immutable list using the specified comparer.</summary>
3271 <param name="index">The zero-based starting index of the range to sort.</param>
3272 <param name="count">The length of the range to sort.</param>
3273 <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>
3274 <returns>The sorted list.</returns>
3276 <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#Generic#ICollection{T}#Add(`0)">
3277 <summary>Adds the specified item to the immutable list.</summary>
3278 <param name="item">The item to add.</param>
3279 <exception cref="T:System.NotImplementedException" />
3281 <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#Generic#ICollection{T}#Clear">
3282 <summary>Removes all items from the immutable list.</summary>
3283 <exception cref="T:System.NotSupportedException" />
3285 <member name="P:System.Collections.Immutable.ImmutableList`1.System#Collections#Generic#ICollection{T}#IsReadOnly">
3286 <summary>Gets a value indicating whether the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only.</summary>
3288 <see langword="true" /> if the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only; otherwise, <see langword="false" />.</returns>
3290 <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#Generic#ICollection{T}#Remove(`0)">
3291 <summary>Removes the first occurrence of a specific object from the immutable list.</summary>
3292 <param name="item">The object to remove.</param>
3294 <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>
3296 <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#Generic#IEnumerable{T}#GetEnumerator">
3297 <summary>Returns an enumerator that iterates through the immutable list.</summary>
3298 <returns>An enumerator that can be used to iterate through the list.</returns>
3300 <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#Generic#IList{T}#Insert(System.Int32,`0)">
3301 <summary>Inserts an object in the immutable list at the specified index.</summary>
3302 <param name="index">The zero-based index at which <paramref name="item" /> should be inserted.</param>
3303 <param name="item">The object to insert.</param>
3304 <exception cref="T:System.NotSupportedException" />
3306 <member name="P:System.Collections.Immutable.ImmutableList`1.System#Collections#Generic#IList{T}#Item(System.Int32)">
3307 <summary>Gets or sets the value at the specified index.</summary>
3308 <param name="index" />
3309 <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>
3310 <exception cref="T:System.NotSupportedException">Always thrown from the setter.</exception>
3312 <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#Generic#IList{T}#RemoveAt(System.Int32)">
3313 <summary>Removes the value at the specified index.</summary>
3314 <param name="index">The zero-based index of the item to remove.</param>
3315 <exception cref="T:System.NotSupportedException" />
3317 <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#ICollection#CopyTo(System.Array,System.Int32)">
3318 <summary>Copies the entire immutable list to a compatible one-dimensional array, starting at the specified array index.</summary>
3319 <param name="array">The one-dimensional array that is the destination of the elements copied from immutable list.</param>
3320 <param name="arrayIndex">The zero-based index in <paramref name="array" /> at which copying begins.</param>
3322 <member name="P:System.Collections.Immutable.ImmutableList`1.System#Collections#ICollection#IsSynchronized">
3323 <summary>See the <see cref="T:System.Collections.ICollection" /> interface.</summary>
3325 <member name="P:System.Collections.Immutable.ImmutableList`1.System#Collections#ICollection#SyncRoot">
3326 <summary>See <see cref="T:System.Collections.ICollection" />.</summary>
3328 <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#IEnumerable#GetEnumerator">
3329 <summary>Returns an enumerator that iterates through the immutable list.</summary>
3330 <returns>An enumerator that can be used to iterate through the list.</returns>
3332 <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#IList#Add(System.Object)">
3333 <summary>Adds an item to the immutable list.</summary>
3334 <param name="value">The object to add to the list.</param>
3335 <returns>The position into which the new element was inserted, or -1 to indicate that the item was not inserted into the list.</returns>
3336 <exception cref="T:System.NotSupportedException">Always thrown.</exception>
3338 <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#IList#Clear">
3339 <summary>Removes all items from the immutable list.</summary>
3340 <exception cref="T:System.NotSupportedException">Always thrown.</exception>
3342 <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#IList#Contains(System.Object)">
3343 <summary>Determines whether the immutable list contains a specific value.</summary>
3344 <param name="value">The object to locate in the list.</param>
3346 <see langword="true" /> if the object is found in the list; otherwise, <see langword="false" />.</returns>
3347 <exception cref="T:System.NotImplementedException" />
3349 <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#IList#IndexOf(System.Object)">
3350 <summary>Determines the index of a specific item in the immutable list.</summary>
3351 <param name="value">The object to locate in the list.</param>
3352 <returns>The index of <paramref name="value" /> if found in the list; otherwise, -1.</returns>
3353 <exception cref="T:System.NotImplementedException" />
3355 <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#IList#Insert(System.Int32,System.Object)">
3356 <summary>Inserts an item into the immutable list at the specified index.</summary>
3357 <param name="index">The zero-based index at which <paramref name="value" /> should be inserted.</param>
3358 <param name="value">The object to insert into the list.</param>
3359 <exception cref="T:System.NotSupportedException">Always thrown.</exception>
3361 <member name="P:System.Collections.Immutable.ImmutableList`1.System#Collections#IList#IsFixedSize">
3362 <summary>Gets a value indicating whether the <see cref="T:System.Collections.IList" /> has a fixed size.</summary>
3364 <see langword="true" /> if the <see cref="T:System.Collections.IList" /> has a fixed size; otherwise, <see langword="false" />.</returns>
3366 <member name="P:System.Collections.Immutable.ImmutableList`1.System#Collections#IList#IsReadOnly">
3367 <summary>Gets a value indicating whether the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only.</summary>
3369 <see langword="true" /> if the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only; otherwise, <see langword="false" />.</returns>
3371 <member name="P:System.Collections.Immutable.ImmutableList`1.System#Collections#IList#Item(System.Int32)">
3372 <summary>Gets or sets the <see cref="T:System.Object" /> at the specified index.</summary>
3373 <param name="index">The index.</param>
3374 <returns>The value at the specified index.</returns>
3375 <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>
3376 <exception cref="T:System.NotSupportedException">Always thrown from the setter.</exception>
3378 <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#IList#Remove(System.Object)">
3379 <summary>Removes the first occurrence of a specific object from the immutable list.</summary>
3380 <param name="value">The object to remove from the list.</param>
3381 <exception cref="T:System.NotSupportedException">Always thrown.</exception>
3383 <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#IList#RemoveAt(System.Int32)">
3384 <summary>Removes the item at the specified index of the immutable list.</summary>
3385 <param name="index">The zero-based index of the item to remove.</param>
3386 <exception cref="T:System.NotSupportedException">Always thrown.</exception>
3388 <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#Immutable#IImmutableList{T}#Add(`0)">
3389 <summary>Adds the specified value to this immutable list.</summary>
3390 <param name="value">The value to add.</param>
3391 <returns>A new list with the element added.</returns>
3393 <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#Immutable#IImmutableList{T}#AddRange(System.Collections.Generic.IEnumerable{`0})">
3394 <summary>Adds the specified values to this immutable list.</summary>
3395 <param name="items">The values to add.</param>
3396 <returns>A new list with the elements added.</returns>
3398 <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#Immutable#IImmutableList{T}#Clear">
3399 <summary>Retrieves an empty list that has the same sorting and ordering semantics as this instance.</summary>
3400 <returns>An empty list that has the same sorting and ordering semantics as this instance.</returns>
3402 <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#Immutable#IImmutableList{T}#Insert(System.Int32,`0)">
3403 <summary>Inserts the specified element at the specified index in the immutable list.</summary>
3404 <param name="index">The index at which to insert the value.</param>
3405 <param name="item">The element to insert.</param>
3406 <returns>A new immutable list that includes the specified element.</returns>
3408 <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#Immutable#IImmutableList{T}#InsertRange(System.Int32,System.Collections.Generic.IEnumerable{`0})">
3409 <summary>Inserts the specified elements at the specified index in the immutable list.</summary>
3410 <param name="index">The index at which to insert the elements.</param>
3411 <param name="items">The elements to insert.</param>
3412 <returns>A new immutable list that includes the specified elements.</returns>
3414 <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#Immutable#IImmutableList{T}#Remove(`0,System.Collections.Generic.IEqualityComparer{`0})">
3415 <summary>Removes the element with the specified value from the list.</summary>
3416 <param name="value">The value of the element to remove from the list.</param>
3417 <param name="equalityComparer">The comparer to use to compare elements for equality.</param>
3418 <returns>A new <see cref="T:System.Collections.Immutable.ImmutableList`1" /> with the specified element removed.</returns>
3420 <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#Immutable#IImmutableList{T}#RemoveAll(System.Predicate{`0})">
3421 <summary>Removes all the elements that match the conditions defined by the specified predicate.</summary>
3422 <param name="match">The delegate that defines the conditions of the elements to remove.</param>
3423 <returns>A new immutable list with the elements removed.</returns>
3425 <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#Immutable#IImmutableList{T}#RemoveAt(System.Int32)">
3426 <summary>Removes the element at the specified index of the immutable list.</summary>
3427 <param name="index">The index of the element to remove.</param>
3428 <returns>A new list with the element removed.</returns>
3430 <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#Immutable#IImmutableList{T}#RemoveRange(System.Collections.Generic.IEnumerable{`0},System.Collections.Generic.IEqualityComparer{`0})">
3431 <summary>Removes a range of elements from this immutable list that match the items specified.</summary>
3432 <param name="items">The range of items to remove from the list, if found.</param>
3433 <param name="equalityComparer">The equality comparer to use to compare elements.</param>
3434 <returns>An immutable list with the items removed.</returns>
3435 <exception cref="T:System.ArgumentNullException">
3436 <paramref name="items" /> or <paramref name="equalityComparer" /> is <see langword="null" />.</exception>
3438 <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#Immutable#IImmutableList{T}#RemoveRange(System.Int32,System.Int32)">
3439 <summary>Removes the specified number of elements at the specified location from this list.</summary>
3440 <param name="index">The starting index of the range of elements to remove.</param>
3441 <param name="count">The number of elements to remove.</param>
3442 <returns>A new list with the elements removed.</returns>
3444 <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#Immutable#IImmutableList{T}#Replace(`0,`0,System.Collections.Generic.IEqualityComparer{`0})">
3445 <summary>Replaces an element in the list with the specified element.</summary>
3446 <param name="oldValue">The element to replace.</param>
3447 <param name="newValue">The element to replace the old element with.</param>
3448 <param name="equalityComparer">The equality comparer to use in the search.</param>
3449 <returns>The new list.</returns>
3450 <exception cref="T:System.ArgumentException">Thrown when the old value does not exist in the list.</exception>
3452 <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#Immutable#IImmutableList{T}#SetItem(System.Int32,`0)">
3453 <summary>Replaces an element in the list at a given position with the specified element.</summary>
3454 <param name="index">The position in the list of the element to replace.</param>
3455 <param name="value">The element to replace the old element with.</param>
3456 <returns>The new list.</returns>
3458 <member name="M:System.Collections.Immutable.ImmutableList`1.ToBuilder">
3459 <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>
3460 <returns>The created list with the same contents as this list.</returns>
3462 <member name="M:System.Collections.Immutable.ImmutableList`1.TrueForAll(System.Predicate{`0})">
3463 <summary>Determines whether every element in the immutable list matches the conditions defined by the specified predicate.</summary>
3464 <param name="match">The delegate that defines the conditions to check against the elements.</param>
3466 <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>
3468 <member name="T:System.Collections.Immutable.ImmutableQueue">
3469 <summary>Provides a set of initialization methods for instances of the <see cref="T:System.Collections.Immutable.ImmutableQueue`1" /> class.
3470 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
3472 <member name="M:System.Collections.Immutable.ImmutableQueue.Create``1">
3473 <summary>Creates an empty immutable queue.</summary>
3474 <typeparam name="T">The type of items to be stored in the immutable queue.</typeparam>
3475 <returns>An empty immutable queue.</returns>
3477 <member name="M:System.Collections.Immutable.ImmutableQueue.Create``1(``0)">
3478 <summary>Creates a new immutable queue that contains the specified item.</summary>
3479 <param name="item">The item to prepopulate the queue with.</param>
3480 <typeparam name="T">The type of items in the immutable queue.</typeparam>
3481 <returns>A new immutable queue that contains the specified item.</returns>
3483 <member name="M:System.Collections.Immutable.ImmutableQueue.Create``1(``0[])">
3484 <summary>Creates a new immutable queue that contains the specified array of items.</summary>
3485 <param name="items">An array that contains the items to prepopulate the queue with.</param>
3486 <typeparam name="T">The type of items in the immutable queue.</typeparam>
3487 <returns>A new immutable queue that contains the specified items.</returns>
3489 <member name="M:System.Collections.Immutable.ImmutableQueue.CreateRange``1(System.Collections.Generic.IEnumerable{``0})">
3490 <summary>Creates a new immutable queue that contains the specified items.</summary>
3491 <param name="items">The items to add to the queue before immutability is applied.</param>
3492 <typeparam name="T">The type of elements in the queue.</typeparam>
3493 <returns>An immutable queue that contains the specified items.</returns>
3495 <member name="M:System.Collections.Immutable.ImmutableQueue.Dequeue``1(System.Collections.Immutable.IImmutableQueue{``0},``0@)">
3496 <summary>Removes the item at the beginning of the immutable queue, and returns the new queue.</summary>
3497 <param name="queue">The queue to remove the item from.</param>
3498 <param name="value">When this method returns, contains the item from the beginning of the queue.</param>
3499 <typeparam name="T">The type of elements in the immutable queue.</typeparam>
3500 <returns>The new queue with the item removed.</returns>
3501 <exception cref="T:System.InvalidOperationException">The stack is empty.</exception>
3503 <member name="T:System.Collections.Immutable.ImmutableQueue`1">
3504 <summary>Represents an immutable queue.
3505 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
3506 <typeparam name="T">The type of elements in the queue.</typeparam>
3508 <member name="M:System.Collections.Immutable.ImmutableQueue`1.Clear">
3509 <summary>Removes all objects from the immutable queue.</summary>
3510 <returns>The empty immutable queue.</returns>
3512 <member name="M:System.Collections.Immutable.ImmutableQueue`1.Dequeue">
3513 <summary>Removes the element at the beginning of the immutable queue, and returns the new queue.</summary>
3514 <returns>The new immutable queue; never <see langword="null" />.</returns>
3515 <exception cref="T:System.InvalidOperationException">The queue is empty.</exception>
3517 <member name="M:System.Collections.Immutable.ImmutableQueue`1.Dequeue(`0@)">
3518 <summary>Removes the item at the beginning of the immutable queue, and returns the new queue.</summary>
3519 <param name="value">When this method returns, contains the element from the beginning of the queue.</param>
3520 <returns>The new immutable queue with the beginning element removed.</returns>
3521 <exception cref="T:System.InvalidOperationException">The queue is empty.</exception>
3523 <member name="P:System.Collections.Immutable.ImmutableQueue`1.Empty">
3524 <summary>Gets an empty immutable queue.</summary>
3525 <returns>An empty immutable queue.</returns>
3527 <member name="M:System.Collections.Immutable.ImmutableQueue`1.Enqueue(`0)">
3528 <summary>Adds an element to the end of the immutable queue, and returns the new queue.</summary>
3529 <param name="value">The element to add.</param>
3530 <returns>The new immutable queue.</returns>
3532 <member name="T:System.Collections.Immutable.ImmutableQueue`1.Enumerator">
3533 <summary>Enumerates the contents of an immutable queue without allocating any memory.
3534 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
3535 <typeparam name="T" />
3537 <member name="P:System.Collections.Immutable.ImmutableQueue`1.Enumerator.Current">
3538 <summary>Gets the element at the current position of the enumerator.</summary>
3539 <returns>The element at the current position of the enumerator.</returns>
3541 <member name="M:System.Collections.Immutable.ImmutableQueue`1.Enumerator.MoveNext">
3542 <summary>Advances the enumerator to the next element of the immutable queue.</summary>
3544 <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>
3546 <member name="M:System.Collections.Immutable.ImmutableQueue`1.GetEnumerator">
3547 <summary>Returns an enumerator that iterates through the immutable queue.</summary>
3548 <returns>An enumerator that can be used to iterate through the queue.</returns>
3550 <member name="P:System.Collections.Immutable.ImmutableQueue`1.IsEmpty">
3551 <summary>Gets a value that indicates whether this immutable queue is empty.
3552 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
3554 <see langword="true" /> if this queue is empty; otherwise, <see langword="false" />.</returns>
3556 <member name="M:System.Collections.Immutable.ImmutableQueue`1.Peek">
3557 <summary>Returns the element at the beginning of the immutable queue without removing it.</summary>
3558 <returns>The element at the beginning of the queue.</returns>
3559 <exception cref="T:System.InvalidOperationException">The queue is empty.</exception>
3561 <member name="M:System.Collections.Immutable.ImmutableQueue`1.PeekRef">
3562 <summary>Gets a read-only reference to the element at the front of the queue.</summary>
3563 <exception cref="T:System.InvalidOperationException">The queue is empty.</exception>
3565 <member name="M:System.Collections.Immutable.ImmutableQueue`1.System#Collections#Generic#IEnumerable{T}#GetEnumerator">
3566 <summary>Returns an enumerator that iterates through the collection.</summary>
3567 <returns>An enumerator that can be used to iterate through the collection.</returns>
3569 <member name="M:System.Collections.Immutable.ImmutableQueue`1.System#Collections#IEnumerable#GetEnumerator">
3570 <summary>Returns an enumerator that iterates through a collection.</summary>
3571 <returns>An <see cref="T:System.Collections.IEnumerator" /> object that can be used to iterate through the collection.</returns>
3573 <member name="M:System.Collections.Immutable.ImmutableQueue`1.System#Collections#Immutable#IImmutableQueue{T}#Clear">
3574 <summary>Removes all elements from the immutable queue.</summary>
3575 <returns>The empty immutable queue.</returns>
3577 <member name="M:System.Collections.Immutable.ImmutableQueue`1.System#Collections#Immutable#IImmutableQueue{T}#Dequeue">
3578 <summary>Removes the element at the beginning of the immutable queue, and returns the new queue.</summary>
3579 <returns>The new immutable queue; never <see langword="null" />.</returns>
3581 <member name="M:System.Collections.Immutable.ImmutableQueue`1.System#Collections#Immutable#IImmutableQueue{T}#Enqueue(`0)">
3582 <summary>Adds an element to the end of the immutable queue, and returns the new queue.</summary>
3583 <param name="value">The element to add.</param>
3584 <returns>The new immutable queue.</returns>
3586 <member name="T:System.Collections.Immutable.ImmutableSortedDictionary">
3587 <summary>Provides a set of initialization methods for instances of the <see cref="T:System.Collections.Immutable.ImmutableSortedDictionary`2" /> class.
3588 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
3590 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary.Create``2">
3591 <summary>Creates an empty immutable sorted dictionary.</summary>
3592 <typeparam name="TKey">The type of keys stored by the dictionary.</typeparam>
3593 <typeparam name="TValue">The type of values stored by the dictionary.</typeparam>
3594 <returns>An empty immutable sorted dictionary.</returns>
3596 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary.Create``2(System.Collections.Generic.IComparer{``0})">
3597 <summary>Creates an empty immutable sorted dictionary that uses the specified key comparer.</summary>
3598 <param name="keyComparer">The implementation to use to determine the equality of keys in the dictionary.</param>
3599 <typeparam name="TKey">The type of keys stored by the dictionary.</typeparam>
3600 <typeparam name="TValue">The type of values stored by the dictionary.</typeparam>
3601 <returns>An empty immutable sorted dictionary.</returns>
3603 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary.Create``2(System.Collections.Generic.IComparer{``0},System.Collections.Generic.IEqualityComparer{``1})">
3604 <summary>Creates an empty immutable sorted dictionary that uses the specified key and value comparers.</summary>
3605 <param name="keyComparer">The implementation to use to determine the equality of keys in the dictionary.</param>
3606 <param name="valueComparer">The implementation to use to determine the equality of values in the dictionary.</param>
3607 <typeparam name="TKey">The type of keys stored by the dictionary.</typeparam>
3608 <typeparam name="TValue">The type of values stored by the dictionary.</typeparam>
3609 <returns>An empty immutable sorted dictionary.</returns>
3611 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary.CreateBuilder``2">
3612 <summary>Creates a new immutable sorted dictionary builder.</summary>
3613 <typeparam name="TKey">The type of keys stored by the dictionary.</typeparam>
3614 <typeparam name="TValue">The type of values stored by the dictionary.</typeparam>
3615 <returns>The immutable collection builder.</returns>
3617 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary.CreateBuilder``2(System.Collections.Generic.IComparer{``0})">
3618 <summary>Creates a new immutable sorted dictionary builder.</summary>
3619 <param name="keyComparer">The key comparer.</param>
3620 <typeparam name="TKey">The type of keys stored by the dictionary.</typeparam>
3621 <typeparam name="TValue">The type of values stored by the dictionary.</typeparam>
3622 <returns>The immutable collection builder.</returns>
3624 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary.CreateBuilder``2(System.Collections.Generic.IComparer{``0},System.Collections.Generic.IEqualityComparer{``1})">
3625 <summary>Creates a new immutable sorted dictionary builder.</summary>
3626 <param name="keyComparer">The key comparer.</param>
3627 <param name="valueComparer">The value comparer.</param>
3628 <typeparam name="TKey">The type of keys stored by the dictionary.</typeparam>
3629 <typeparam name="TValue">The type of values stored by the dictionary.</typeparam>
3630 <returns>The immutable collection builder.</returns>
3632 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary.CreateRange``2(System.Collections.Generic.IComparer{``0},System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{``0,``1}})">
3633 <summary>Creates a new immutable sorted dictionary from the specified range of items with the specified key comparer.</summary>
3634 <param name="keyComparer">The comparer implementation to use to evaluate keys for equality and sorting.</param>
3635 <param name="items">The items to add to the sorted dictionary.</param>
3636 <typeparam name="TKey">The type of keys stored in the dictionary.</typeparam>
3637 <typeparam name="TValue">The type of values stored in the dictionary.</typeparam>
3638 <returns>The new immutable sorted dictionary that contains the specified items and uses the specified key comparer.</returns>
3640 <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}})">
3641 <summary>Creates a new immutable sorted dictionary from the specified range of items with the specified key and value comparers.</summary>
3642 <param name="keyComparer">The comparer implementation to use to compare keys for equality and sorting.</param>
3643 <param name="valueComparer">The comparer implementation to use to compare values for equality and sorting.</param>
3644 <param name="items">The items to add to the sorted dictionary before it's immutable.</param>
3645 <typeparam name="TKey">The type of keys stored in the dictionary.</typeparam>
3646 <typeparam name="TValue">The type of values stored in the dictionary.</typeparam>
3647 <returns>An immutable sorted dictionary that contains the specified items and uses the specified comparers.</returns>
3649 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary.CreateRange``2(System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{``0,``1}})">
3650 <summary>Creates an immutable sorted dictionary that contains the specified items and uses the default comparer.</summary>
3651 <param name="items">The items to add to the sorted dictionary before it's immutable.</param>
3652 <typeparam name="TKey">The type of keys stored in the dictionary.</typeparam>
3653 <typeparam name="TValue">The type of values stored in the dictionary.</typeparam>
3654 <returns>An immutable sorted dictionary that contains the specified items.</returns>
3656 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary.ToImmutableSortedDictionary``2(System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{``0,``1}})">
3657 <summary>Enumerates a sequence of key/value pairs and produces an immutable sorted dictionary of its contents.</summary>
3658 <param name="source">The sequence of key/value pairs to enumerate.</param>
3659 <typeparam name="TKey">The type of the keys in the dictionary.</typeparam>
3660 <typeparam name="TValue">The type of the values in the dictionary.</typeparam>
3661 <returns>An immutable sorted dictionary that contains the key/value pairs in the specified sequence.</returns>
3663 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary.ToImmutableSortedDictionary``2(System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{``0,``1}},System.Collections.Generic.IComparer{``0})">
3664 <summary>Enumerates a sequence of key/value pairs and produces an immutable dictionary of its contents by using the specified key comparer.</summary>
3665 <param name="source">The sequence of key/value pairs to enumerate.</param>
3666 <param name="keyComparer">The key comparer to use when building the immutable dictionary.</param>
3667 <typeparam name="TKey">The type of the keys in the dictionary.</typeparam>
3668 <typeparam name="TValue">The type of the values in the dictionary.</typeparam>
3669 <returns>An immutable sorted dictionary that contains the key/value pairs in the specified sequence.</returns>
3671 <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})">
3672 <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>
3673 <param name="source">The sequence of key/value pairs to enumerate.</param>
3674 <param name="keyComparer">The key comparer to use when building the immutable dictionary.</param>
3675 <param name="valueComparer">The value comparer to use for the immutable dictionary.</param>
3676 <typeparam name="TKey">The type of the keys in the dictionary.</typeparam>
3677 <typeparam name="TValue">The type of the values in the dictionary.</typeparam>
3678 <returns>An immutable sorted dictionary that contains the key/value pairs in the specified sequence.</returns>
3680 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary.ToImmutableSortedDictionary``2(System.Collections.Immutable.ImmutableSortedDictionary{``0,``1}.Builder)">
3681 <summary>Creates an immutable sorted dictionary from the current contents of the builder's dictionary.</summary>
3682 <param name="builder">The builder to create the immutable sorted dictionary from.</param>
3683 <typeparam name="TKey">The type of the keys in the dictionary.</typeparam>
3684 <typeparam name="TValue">The type of the values in the dictionary.</typeparam>
3685 <returns>An immutable sorted dictionary that contains the current contents in the builder's dictionary.</returns>
3687 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary.ToImmutableSortedDictionary``3(System.Collections.Generic.IEnumerable{``0},System.Func{``0,``1},System.Func{``0,``2})">
3688 <summary>Enumerates and transforms a sequence, and produces an immutable sorted dictionary of its contents.</summary>
3689 <param name="source">The sequence to enumerate to generate the dictionary.</param>
3690 <param name="keySelector">The function that will produce the key for the dictionary from each sequence element.</param>
3691 <param name="elementSelector">The function that will produce the value for the dictionary from each sequence element.</param>
3692 <typeparam name="TSource">The type of the elements in the sequence.</typeparam>
3693 <typeparam name="TKey">The type of the keys in the resulting dictionary.</typeparam>
3694 <typeparam name="TValue">The type of the values in the resulting dictionary.</typeparam>
3695 <returns>An immutable sorted dictionary that contains the items in the specified sequence.</returns>
3697 <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})">
3698 <summary>Enumerates and transforms a sequence, and produces an immutable sorted dictionary of its contents by using the specified key comparer.</summary>
3699 <param name="source">The sequence to enumerate to generate the dictionary.</param>
3700 <param name="keySelector">The function that will produce the key for the dictionary from each sequence element.</param>
3701 <param name="elementSelector">The function that will produce the value for the dictionary from each sequence element.</param>
3702 <param name="keyComparer">The key comparer to use for the dictionary.</param>
3703 <typeparam name="TSource">The type of the elements in the sequence.</typeparam>
3704 <typeparam name="TKey">The type of the keys in the resulting dictionary.</typeparam>
3705 <typeparam name="TValue">The type of the values in the resulting dictionary.</typeparam>
3706 <returns>An immutable dictionary that contains the items in the specified sequence.</returns>
3708 <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})">
3709 <summary>Enumerates and transforms a sequence, and produces an immutable sorted dictionary of its contents by using the specified key and value comparers.</summary>
3710 <param name="source">The sequence to enumerate to generate the dictionary.</param>
3711 <param name="keySelector">The function that will produce the key for the dictionary from each sequence element.</param>
3712 <param name="elementSelector">The function that will produce the value for the dictionary from each sequence element.</param>
3713 <param name="keyComparer">The key comparer to use for the dictionary.</param>
3714 <param name="valueComparer">The value comparer to use for the dictionary.</param>
3715 <typeparam name="TSource">The type of the elements in the sequence.</typeparam>
3716 <typeparam name="TKey">The type of the keys in the resulting dictionary.</typeparam>
3717 <typeparam name="TValue">The type of the values in the resulting dictionary.</typeparam>
3718 <returns>An immutable sorted dictionary that contains the items in the specified sequence.</returns>
3720 <member name="T:System.Collections.Immutable.ImmutableSortedDictionary`2">
3721 <summary>Represents an immutable sorted dictionary.
3722 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
3723 <typeparam name="TKey">The type of the key contained in the dictionary.</typeparam>
3724 <typeparam name="TValue">The type of the value contained in the dictionary.</typeparam>
3726 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Add(`0,`1)">
3727 <summary>Adds an element with the specified key and value to the immutable sorted dictionary.</summary>
3728 <param name="key">The key of the entry to add.</param>
3729 <param name="value">The value of entry to add.</param>
3730 <returns>A new immutable sorted dictionary that contains the additional key/value pair.</returns>
3731 <exception cref="T:System.ArgumentException">The given key already exists in the dictionary but has a different value.</exception>
3733 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.AddRange(System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{`0,`1}})">
3734 <summary>Adds the specific key/value pairs to the immutable sorted dictionary.</summary>
3735 <param name="items">The key/value pairs to add.</param>
3736 <returns>A new immutable dictionary that contains the additional key/value pairs.</returns>
3737 <exception cref="T:System.ArgumentException">One of the given keys already exists in the dictionary but has a different value.</exception>
3739 <member name="T:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder">
3740 <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.
3741 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
3742 <typeparam name="TKey" />
3743 <typeparam name="TValue" />
3745 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.Add(`0,`1)">
3746 <summary>Adds an element that has the specified key and value to the immutable sorted dictionary.</summary>
3747 <param name="key">The key of the element to add.</param>
3748 <param name="value">The value of the element to add.</param>
3750 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.Add(System.Collections.Generic.KeyValuePair{`0,`1})">
3751 <summary>Adds the specified item to the immutable sorted dictionary.</summary>
3752 <param name="item">The object to add to the dictionary.</param>
3754 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.AddRange(System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{`0,`1}})">
3755 <summary>Adds a sequence of values to the immutable sorted dictionary.</summary>
3756 <param name="items">The items to add to the dictionary.</param>
3758 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.Clear">
3759 <summary>Removes all items from the immutable sorted dictionary.</summary>
3761 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.Contains(System.Collections.Generic.KeyValuePair{`0,`1})">
3762 <summary>Determines whether the immutable sorted dictionary contains a specific value.</summary>
3763 <param name="item">The object to locate in the dictionary.</param>
3765 <see langword="true" /> if <paramref name="item" /> is found in the dictionary; otherwise, <see langword="false" />.</returns>
3767 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.ContainsKey(`0)">
3768 <summary>Determines whether the immutable sorted dictionary contains an element with the specified key.</summary>
3769 <param name="key">The key to locate in the dictionary.</param>
3771 <see langword="true" /> if the dictionary contains an element with the key; otherwise, <see langword="false" />.</returns>
3773 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.ContainsValue(`1)">
3774 <summary>Determines whether the immutable sorted dictionary contains an element with the specified value.</summary>
3775 <param name="value">The value to locate in the dictionary. The value can be <see langword="null" /> for reference types.</param>
3777 <see langword="true" /> if the immutable sorted dictionary contains an element with the specified value; otherwise, <see langword="false" />.</returns>
3779 <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.Count">
3780 <summary>Gets the number of elements in this immutable sorted dictionary.</summary>
3781 <returns>The number of elements in this dictionary.</returns>
3783 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.GetEnumerator">
3784 <summary>Returns an enumerator that iterates through the immutable sorted dictionary.</summary>
3785 <returns>An enumerator that can be used to iterate through the dictionary.</returns>
3787 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.GetValueOrDefault(`0)">
3788 <summary>Gets the value for a given key if a matching key exists in the dictionary; otherwise the default value.</summary>
3789 <param name="key">The key to search for.</param>
3790 <returns>The value for the key, or <c>default(TValue)</c> if no matching key was found.</returns>
3792 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.GetValueOrDefault(`0,`1)">
3793 <summary>Gets the value for a given key if a matching key exists in the dictionary; otherwise the default value.</summary>
3794 <param name="key">The key to search for.</param>
3795 <param name="defaultValue">The default value to return if no matching key is found in the dictionary.</param>
3796 <returns>The value for the key, or <paramref name="defaultValue" /> if no matching key was found.</returns>
3798 <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.Item(`0)">
3799 <summary>Gets or sets the value for a specified key in the immutable sorted dictionary.</summary>
3800 <param name="key">The key to retrieve the value for.</param>
3801 <returns>The value associated with the given key.</returns>
3803 <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.KeyComparer">
3804 <summary>Gets or sets the key comparer.</summary>
3805 <returns>The key comparer.</returns>
3807 <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.Keys">
3808 <summary>Gets a strongly typed, read-only collection of elements.</summary>
3809 <returns>A strongly typed, read-only collection of elements.</returns>
3811 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.Remove(`0)">
3812 <summary>Removes the element with the specified key from the immutable sorted dictionary.</summary>
3813 <param name="key">The key of the element to remove.</param>
3815 <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>
3817 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.Remove(System.Collections.Generic.KeyValuePair{`0,`1})">
3818 <summary>Removes the first occurrence of a specific object from the immutable sorted dictionary.</summary>
3819 <param name="item">The object to remove from the dictionary.</param>
3821 <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>
3823 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.RemoveRange(System.Collections.Generic.IEnumerable{`0})">
3824 <summary>Removes any entries with keys that match those found in the specified sequence from the immutable sorted dictionary.</summary>
3825 <param name="keys">The keys for entries to remove from the dictionary.</param>
3827 <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)">
3828 <param name="array" />
3829 <param name="arrayIndex" />
3831 <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.System#Collections#Generic#ICollection{System#Collections#Generic#KeyValuePair{TKey@TValue}}#IsReadOnly" />
3832 <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.System#Collections#Generic#IDictionary{TKey@TValue}#Keys" />
3833 <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.System#Collections#Generic#IDictionary{TKey@TValue}#Values" />
3834 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.System#Collections#Generic#IEnumerable{System#Collections#Generic#KeyValuePair{TKey@TValue}}#GetEnumerator" />
3835 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.System#Collections#ICollection#CopyTo(System.Array,System.Int32)">
3836 <summary>Copies the elements of the dictionary to an array, starting at a particular array index.
3837 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
3838 <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>
3839 <param name="index">The zero-based index in <paramref name="array" /> at which copying begins.</param>
3841 <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.System#Collections#ICollection#IsSynchronized">
3842 <summary>Gets a value that indicates whether access to the <see cref="T:System.Collections.ICollection" /> is synchronized (thread safe).</summary>
3844 <see langword="true" /> if access to the <see cref="T:System.Collections.ICollection" /> is synchronized (thread safe); otherwise, <see langword="false" />.</returns>
3846 <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.System#Collections#ICollection#SyncRoot">
3847 <summary>Gets an object that can be used to synchronize access to the <see cref="T:System.Collections.ICollection" />.</summary>
3848 <returns>An object that can be used to synchronize access to the <see cref="T:System.Collections.ICollection" />.</returns>
3850 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.System#Collections#IDictionary#Add(System.Object,System.Object)">
3851 <summary>Adds an element with the provided key and value to the dictionary object.</summary>
3852 <param name="key">The key of the element to add.</param>
3853 <param name="value">The value of the element to add.</param>
3855 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.System#Collections#IDictionary#Contains(System.Object)">
3856 <summary>Determines whether the dictionary object contains an element with the specified key.</summary>
3857 <param name="key">The key to locate.</param>
3859 <see langword="true" /> if the dictionary contains an element with the key; otherwise, <see langword="false" />.</returns>
3861 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.System#Collections#IDictionary#GetEnumerator">
3862 <summary>Returns an <see cref="T:System.Collections.IDictionaryEnumerator" /> object for the dictionary.</summary>
3863 <returns>An <see cref="T:System.Collections.IDictionaryEnumerator" /> object for the dictionary.</returns>
3865 <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.System#Collections#IDictionary#IsFixedSize">
3866 <summary>Gets a value that indicates whether the <see cref="T:System.Collections.IDictionary" /> object has a fixed size.</summary>
3868 <see langword="true" /> if the <see cref="T:System.Collections.IDictionary" /> object has a fixed size; otherwise, <see langword="false" />.</returns>
3870 <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.System#Collections#IDictionary#IsReadOnly">
3871 <summary>Gets a value that indicates whether the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only.</summary>
3873 <see langword="true" /> if the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only; otherwise, <see langword="false" />.</returns>
3875 <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.System#Collections#IDictionary#Item(System.Object)">
3876 <summary>Gets or sets the element with the specified key.</summary>
3877 <param name="key">The key.</param>
3879 <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.System#Collections#IDictionary#Keys">
3880 <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>
3881 <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>
3883 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.System#Collections#IDictionary#Remove(System.Object)">
3884 <summary>Removes the element with the specified key from the dictionary.</summary>
3885 <param name="key">The key of the element to remove.</param>
3887 <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.System#Collections#IDictionary#Values">
3888 <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>
3889 <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>
3891 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.System#Collections#IEnumerable#GetEnumerator">
3892 <summary>Returns an enumerator that iterates through a collection.</summary>
3893 <returns>An enumerator object that can be used to iterate through the collection.</returns>
3895 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.ToImmutable">
3896 <summary>Creates an immutable sorted dictionary based on the contents of this instance.</summary>
3897 <returns>An immutable sorted dictionary.</returns>
3899 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.TryGetKey(`0,`0@)">
3900 <summary>Determines whether this dictionary contains a specified key.</summary>
3901 <param name="equalKey">The key to search for.</param>
3902 <param name="actualKey">The matching key located in the dictionary if found, or <c>equalkey</c> if no match is found.</param>
3904 <see langword="true" /> if a match for <paramref name="equalKey" /> is found; otherwise, <see langword="false" />.</returns>
3906 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.TryGetValue(`0,`1@)">
3907 <summary>Gets the value associated with the specified key.</summary>
3908 <param name="key">The key whose value will be retrieved.</param>
3909 <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>
3911 <see langword="true" /> if the object that implements the dictionary contains an element with the specified key; otherwise, <see langword="false" />.</returns>
3913 <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.ValueComparer">
3914 <summary>Gets or sets the value comparer.</summary>
3915 <returns>The value comparer.</returns>
3917 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.ValueRef(`0)">
3918 <summary>Returns a read-only reference to the value associated with the provided <paramref name="key" />.</summary>
3919 <param name="key" />
3920 <exception cref="T:System.Collections.Generic.KeyNotFoundException">The <paramref name="key" /> is not present.</exception>
3922 <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.Values">
3923 <summary>Gets a collection that contains the values of the immutable sorted dictionary.</summary>
3924 <returns>A collection that contains the values of the object that implements the dictionary.</returns>
3926 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Clear">
3927 <summary>Retrieves an empty immutable sorted dictionary that has the same ordering and key/value comparison rules as this dictionary instance.</summary>
3928 <returns>An empty dictionary with equivalent ordering and key/value comparison rules.</returns>
3930 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Contains(System.Collections.Generic.KeyValuePair{`0,`1})">
3931 <summary>Determines whether this immutable sorted dictionary contains the specified key/value pair.</summary>
3932 <param name="pair">The key/value pair to locate.</param>
3934 <see langword="true" /> if the specified key/value pair is found in the dictionary; otherwise, <see langword="false" />.</returns>
3936 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.ContainsKey(`0)">
3937 <summary>Determines whether this immutable sorted map contains the specified key.</summary>
3938 <param name="key">The key to locate.</param>
3940 <see langword="true" /> if the immutable dictionary contains the specified key; otherwise, <see langword="false" />.</returns>
3942 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.ContainsValue(`1)">
3943 <summary>Determines whether the immutable sorted dictionary contains an element with the specified value.</summary>
3944 <param name="value">The value to locate. The value can be <see langword="null" /> for reference types.</param>
3946 <see langword="true" /> if the dictionary contains an element with the specified value; otherwise, <see langword="false" />.</returns>
3948 <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.Count">
3949 <summary>Gets the number of key/value pairs in the immutable sorted dictionary.</summary>
3950 <returns>The number of key/value pairs in the dictionary.</returns>
3952 <member name="F:System.Collections.Immutable.ImmutableSortedDictionary`2.Empty">
3953 <summary>Gets an empty immutable sorted dictionary.</summary>
3955 <member name="T:System.Collections.Immutable.ImmutableSortedDictionary`2.Enumerator">
3956 <summary>Enumerates the contents of a binary tree.
3957 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
3958 <typeparam name="TKey" />
3959 <typeparam name="TValue" />
3961 <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.Enumerator.Current">
3962 <summary>Gets the element at the current position of the enumerator.</summary>
3963 <returns>The element at the current position of the enumerator.</returns>
3965 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Enumerator.Dispose">
3966 <summary>Releases the resources used by the current instance of the <see cref="T:System.Collections.Immutable.ImmutableSortedDictionary`2.Enumerator" /> class.</summary>
3968 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Enumerator.MoveNext">
3969 <summary>Advances the enumerator to the next element of the immutable sorted dictionary.</summary>
3971 <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>
3973 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Enumerator.Reset">
3974 <summary>Sets the enumerator to its initial position, which is before the first element in the immutable sorted dictionary.</summary>
3976 <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.Enumerator.System#Collections#IEnumerator#Current">
3977 <summary>The current element.</summary>
3979 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.GetEnumerator">
3980 <summary>Returns an enumerator that iterates through the immutable sorted dictionary.</summary>
3981 <returns>An enumerator that can be used to iterate through the dictionary.</returns>
3983 <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.IsEmpty">
3984 <summary>Gets a value that indicates whether this instance of the immutable sorted dictionary is empty.</summary>
3986 <see langword="true" /> if this instance is empty; otherwise, <see langword="false" />.</returns>
3988 <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.Item(`0)">
3989 <summary>Gets the <paramref name="TValue" /> associated with the specified key.</summary>
3990 <param name="key">The key to retrieve the value for.</param>
3991 <returns>The value associated with the specified key. If no results are found, the operation throws an exception.</returns>
3993 <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.KeyComparer">
3994 <summary>Gets the key comparer for the immutable sorted dictionary.</summary>
3995 <returns>The key comparer for the dictionary.</returns>
3997 <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.Keys">
3998 <summary>Gets the keys in the immutable sorted dictionary.</summary>
3999 <returns>The keys in the immutable dictionary.</returns>
4001 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Remove(`0)">
4002 <summary>Removes the element with the specified value from the immutable sorted dictionary.</summary>
4003 <param name="value">The value of the element to remove.</param>
4004 <returns>A new immutable dictionary with the specified element removed; or this instance if the specified value cannot be found in the dictionary.</returns>
4006 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.RemoveRange(System.Collections.Generic.IEnumerable{`0})">
4007 <summary>Removes the elements with the specified keys from the immutable sorted dictionary.</summary>
4008 <param name="keys">The keys of the elements to remove.</param>
4009 <returns>A new immutable dictionary with the specified keys removed; or this instance if the specified keys cannot be found in the dictionary.</returns>
4011 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.SetItem(`0,`1)">
4012 <summary>Sets the specified key and value in the immutable sorted dictionary, possibly overwriting an existing value for the given key.</summary>
4013 <param name="key">The key of the entry to add.</param>
4014 <param name="value">The key value to set.</param>
4015 <returns>A new immutable sorted dictionary that contains the specified key/value pair.</returns>
4017 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.SetItems(System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{`0,`1}})">
4018 <summary>Sets the specified key/value pairs in the immutable sorted dictionary, possibly overwriting existing values for the keys.</summary>
4019 <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>
4020 <returns>An immutable dictionary that contains the specified key/value pairs.</returns>
4022 <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})">
4023 <param name="item" />
4025 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#Generic#ICollection{System#Collections#Generic#KeyValuePair{TKey@TValue}}#Clear" />
4026 <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)">
4027 <param name="array" />
4028 <param name="arrayIndex" />
4030 <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#Generic#ICollection{System#Collections#Generic#KeyValuePair{TKey@TValue}}#IsReadOnly" />
4031 <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})">
4032 <param name="item" />
4034 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#Generic#IDictionary{TKey@TValue}#Add(`0,`1)">
4035 <param name="key" />
4036 <param name="value" />
4038 <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#Generic#IDictionary{TKey@TValue}#Item(`0)">
4039 <param name="key" />
4041 <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#Generic#IDictionary{TKey@TValue}#Keys" />
4042 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#Generic#IDictionary{TKey@TValue}#Remove(`0)">
4043 <param name="key" />
4045 <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#Generic#IDictionary{TKey@TValue}#Values" />
4046 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#Generic#IEnumerable{System#Collections#Generic#KeyValuePair{TKey@TValue}}#GetEnumerator" />
4047 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#ICollection#CopyTo(System.Array,System.Int32)">
4048 <summary>Copies the elements of the dictionary to an array, starting at a particular array index.</summary>
4049 <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>
4050 <param name="index">The zero-based index in <paramref name="array" /> at which copying begins.</param>
4052 <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#ICollection#IsSynchronized">
4053 <summary>Gets a value indicating whether access to the <see cref="T:System.Collections.ICollection" /> is synchronized (thread safe).</summary>
4055 <see langword="true" /> if access to the <see cref="T:System.Collections.ICollection" /> is synchronized (thread-safe); otherwise, <see langword="false" />.</returns>
4057 <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#ICollection#SyncRoot">
4058 <summary>Gets an object that can be used to synchronize access to the <see cref="T:System.Collections.ICollection" />.</summary>
4059 <returns>An object that can be used to synchronize access to the <see cref="T:System.Collections.ICollection" />.</returns>
4061 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#IDictionary#Add(System.Object,System.Object)">
4062 <summary>Adds an element with the provided key and value to the dictionary object.</summary>
4063 <param name="key">The object to use as the key of the element to add.</param>
4064 <param name="value">The object to use as the value of the element to add.</param>
4066 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#IDictionary#Clear">
4067 <summary>Clears this instance.</summary>
4068 <exception cref="T:System.NotSupportedException">The dictionary object is read-only.</exception>
4070 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#IDictionary#Contains(System.Object)">
4071 <summary>Determines whether the immutable dictionary object contains an element with the specified key.</summary>
4072 <param name="key">The key to locate in the dictionary object.</param>
4074 <see langword="true" /> if the dictionary contains an element with the key; otherwise, <see langword="false" />.</returns>
4076 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#IDictionary#GetEnumerator">
4077 <summary>Returns an <see cref="T:System.Collections.IDictionaryEnumerator" /> object for the immutable dictionary object.</summary>
4078 <returns>An enumerator object for the dictionary object.</returns>
4080 <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#IDictionary#IsFixedSize">
4081 <summary>Gets a value indicating whether the <see cref="T:System.Collections.IDictionary" /> object has a fixed size.</summary>
4083 <see langword="true" /> if the <see cref="T:System.Collections.IDictionary" /> object has a fixed size; otherwise, <see langword="false" />.</returns>
4085 <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#IDictionary#IsReadOnly">
4086 <summary>Gets a value indicating whether the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only.</summary>
4088 <see langword="true" /> if the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only; otherwise, <see langword="false" />.</returns>
4090 <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#IDictionary#Item(System.Object)">
4091 <summary>Gets or sets the element with the specified key.</summary>
4092 <param name="key">The key.</param>
4094 <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#IDictionary#Keys">
4095 <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>
4096 <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>
4098 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#IDictionary#Remove(System.Object)">
4099 <summary>Removes the element with the specified key from the immutable dictionary object.</summary>
4100 <param name="key">The key of the element to remove.</param>
4102 <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#IDictionary#Values">
4103 <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>
4104 <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>
4106 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#IEnumerable#GetEnumerator">
4107 <summary>Returns an enumerator that iterates through a collection.</summary>
4108 <returns>An enumerator object that can be used to iterate through the collection.</returns>
4110 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#Immutable#IImmutableDictionary{TKey@TValue}#Add(`0,`1)">
4111 <param name="key" />
4112 <param name="value" />
4114 <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}})">
4115 <param name="pairs" />
4117 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#Immutable#IImmutableDictionary{TKey@TValue}#Clear" />
4118 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#Immutable#IImmutableDictionary{TKey@TValue}#Remove(`0)">
4119 <param name="key" />
4121 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#Immutable#IImmutableDictionary{TKey@TValue}#RemoveRange(System.Collections.Generic.IEnumerable{`0})">
4122 <param name="keys" />
4124 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#Immutable#IImmutableDictionary{TKey@TValue}#SetItem(`0,`1)">
4125 <param name="key" />
4126 <param name="value" />
4128 <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}})">
4129 <param name="items" />
4131 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.ToBuilder">
4132 <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>
4133 <returns>A collection with the same contents as this dictionary.</returns>
4135 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.TryGetKey(`0,`0@)">
4136 <summary>Determines whether this dictionary contains a specified key.</summary>
4137 <param name="equalKey">The key to search for.</param>
4138 <param name="actualKey">The matching key located in the dictionary if found, or <c>equalkey</c> if no match is found.</param>
4140 <see langword="true" /> if a match for <paramref name="equalKey" /> is found; otherwise, <see langword="false" />.</returns>
4142 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.TryGetValue(`0,`1@)">
4143 <summary>Gets the value associated with the specified key.</summary>
4144 <param name="key">The key whose value will be retrieved.</param>
4145 <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>
4147 <see langword="true" /> if the dictionary contains an element with the specified key; otherwise, <see langword="false" />.</returns>
4149 <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.ValueComparer">
4150 <summary>Gets the value comparer used to determine whether values are equal.</summary>
4151 <returns>The value comparer used to determine whether values are equal.</returns>
4153 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.ValueRef(`0)">
4154 <summary>Returns a read-only reference to the value associated with the provided <paramref name="key" />.</summary>
4155 <param name="key" />
4156 <exception cref="T:System.Collections.Generic.KeyNotFoundException">The <paramref name="key" /> is not present.</exception>
4158 <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.Values">
4159 <summary>Gets the values in the immutable sorted dictionary.</summary>
4160 <returns>The values in the dictionary.</returns>
4162 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.WithComparers(System.Collections.Generic.IComparer{`0})">
4163 <summary>Gets an instance of the immutable sorted dictionary that uses the specified key comparer.</summary>
4164 <param name="keyComparer">The key comparer to use.</param>
4165 <returns>An instance of the immutable dictionary that uses the given comparer.</returns>
4167 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.WithComparers(System.Collections.Generic.IComparer{`0},System.Collections.Generic.IEqualityComparer{`1})">
4168 <summary>Gets an instance of the immutable sorted dictionary that uses the specified key and value comparers.</summary>
4169 <param name="keyComparer">The key comparer to use.</param>
4170 <param name="valueComparer">The value comparer to use.</param>
4171 <returns>An instance of the immutable dictionary that uses the given comparers.</returns>
4173 <member name="T:System.Collections.Immutable.ImmutableSortedSet">
4174 <summary>Provides a set of initialization methods for instances of the <see cref="T:System.Collections.Immutable.ImmutableSortedSet`1" /> class.
4175 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
4177 <member name="M:System.Collections.Immutable.ImmutableSortedSet.Create``1">
4178 <summary>Creates an empty immutable sorted set.</summary>
4179 <typeparam name="T">The type of items to be stored in the immutable set.</typeparam>
4180 <returns>An empty immutable sorted set.</returns>
4182 <member name="M:System.Collections.Immutable.ImmutableSortedSet.Create``1(``0)">
4183 <summary>Creates a new immutable sorted set that contains the specified item.</summary>
4184 <param name="item">The item to prepopulate the set with.</param>
4185 <typeparam name="T">The type of items in the immutable set.</typeparam>
4186 <returns>A new immutable set that contains the specified item.</returns>
4188 <member name="M:System.Collections.Immutable.ImmutableSortedSet.Create``1(``0[])">
4189 <summary>Creates a new immutable sorted set that contains the specified array of items.</summary>
4190 <param name="items">An array that contains the items to prepopulate the set with.</param>
4191 <typeparam name="T">The type of items in the immutable set.</typeparam>
4192 <returns>A new immutable set that contains the specified items.</returns>
4194 <member name="M:System.Collections.Immutable.ImmutableSortedSet.Create``1(System.Collections.Generic.IComparer{``0})">
4195 <summary>Creates an empty immutable sorted set that uses the specified comparer.</summary>
4196 <param name="comparer">The implementation to use when comparing items in the set.</param>
4197 <typeparam name="T">The type of items in the immutable set.</typeparam>
4198 <returns>An empty immutable set.</returns>
4200 <member name="M:System.Collections.Immutable.ImmutableSortedSet.Create``1(System.Collections.Generic.IComparer{``0},``0)">
4201 <summary>Creates a new immutable sorted set that contains the specified item and uses the specified comparer.</summary>
4202 <param name="comparer">The implementation to use when comparing items in the set.</param>
4203 <param name="item">The item to prepopulate the set with.</param>
4204 <typeparam name="T">The type of items stored in the immutable set.</typeparam>
4205 <returns>A new immutable set that contains the specified item.</returns>
4207 <member name="M:System.Collections.Immutable.ImmutableSortedSet.Create``1(System.Collections.Generic.IComparer{``0},``0[])">
4208 <summary>Creates a new immutable sorted set that contains the specified array of items and uses the specified comparer.</summary>
4209 <param name="comparer">The implementation to use when comparing items in the set.</param>
4210 <param name="items">An array that contains the items to prepopulate the set with.</param>
4211 <typeparam name="T">The type of items in the immutable set.</typeparam>
4212 <returns>A new immutable set that contains the specified items.</returns>
4214 <member name="M:System.Collections.Immutable.ImmutableSortedSet.CreateBuilder``1">
4215 <summary>Returns a collection that can be used to build an immutable sorted set.</summary>
4216 <typeparam name="T">The type of items stored by the collection.</typeparam>
4217 <returns>The immutable collection builder.</returns>
4219 <member name="M:System.Collections.Immutable.ImmutableSortedSet.CreateBuilder``1(System.Collections.Generic.IComparer{``0})">
4220 <summary>Returns a collection that can be used to build an immutable sorted set.</summary>
4221 <param name="comparer">The comparer used to compare items in the set for equality.</param>
4222 <typeparam name="T">The type of items stored by the collection.</typeparam>
4223 <returns>The immutable collection.</returns>
4225 <member name="M:System.Collections.Immutable.ImmutableSortedSet.CreateRange``1(System.Collections.Generic.IComparer{``0},System.Collections.Generic.IEnumerable{``0})">
4226 <summary>Creates a new immutable collection that contains the specified items.</summary>
4227 <param name="comparer">The comparer to use to compare elements in this set.</param>
4228 <param name="items">The items to add to the set before it's immutable.</param>
4229 <typeparam name="T">The type of items stored by the collection.</typeparam>
4230 <returns>The new immutable set that contains the specified items.</returns>
4232 <member name="M:System.Collections.Immutable.ImmutableSortedSet.CreateRange``1(System.Collections.Generic.IEnumerable{``0})">
4233 <summary>Creates a new immutable collection that contains the specified items.</summary>
4234 <param name="items">The items to add to the set with before it's immutable.</param>
4235 <typeparam name="T">The type of items stored by the collection.</typeparam>
4236 <returns>The new immutable set that contains the specified items.</returns>
4238 <member name="M:System.Collections.Immutable.ImmutableSortedSet.ToImmutableSortedSet``1(System.Collections.Generic.IEnumerable{``0})">
4239 <summary>Enumerates a sequence and produces an immutable sorted set of its contents.</summary>
4240 <param name="source">The sequence to enumerate.</param>
4241 <typeparam name="TSource">The type of the elements in the sequence.</typeparam>
4242 <returns>An immutable sorted set that contains the items in the specified sequence.</returns>
4244 <member name="M:System.Collections.Immutable.ImmutableSortedSet.ToImmutableSortedSet``1(System.Collections.Generic.IEnumerable{``0},System.Collections.Generic.IComparer{``0})">
4245 <summary>Enumerates a sequence, produces an immutable sorted set of its contents, and uses the specified comparer.</summary>
4246 <param name="source">The sequence to enumerate.</param>
4247 <param name="comparer">The comparer to use for initializing and adding members to the sorted set.</param>
4248 <typeparam name="TSource">The type of the elements in the sequence.</typeparam>
4249 <returns>An immutable sorted set that contains the items in the specified sequence.</returns>
4251 <member name="M:System.Collections.Immutable.ImmutableSortedSet.ToImmutableSortedSet``1(System.Collections.Immutable.ImmutableSortedSet{``0}.Builder)">
4252 <summary>Creates an immutable sorted set from the current contents of the builder's set.</summary>
4253 <param name="builder">The builder to create the immutable sorted set from.</param>
4254 <typeparam name="TSource">The type of the elements in the immutable sorted set.</typeparam>
4255 <returns>An immutable sorted set that contains the current contents in the builder's set.</returns>
4257 <member name="T:System.Collections.Immutable.ImmutableSortedSet`1">
4258 <summary>Represents an immutable sorted set implementation.
4259 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
4260 <typeparam name="T">The type of elements in the set.</typeparam>
4262 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Add(`0)">
4263 <summary>Adds the specified value to this immutable sorted set.</summary>
4264 <param name="value">The value to add.</param>
4265 <returns>A new set with the element added, or this set if the element is already in this set.</returns>
4267 <member name="T:System.Collections.Immutable.ImmutableSortedSet`1.Builder">
4268 <summary>Represents a sorted set that enables changes with little or no memory allocations, and efficiently manipulates or builds immutable sorted sets.
4269 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
4270 <typeparam name="T" />
4272 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Builder.Add(`0)">
4273 <summary>Adds an element to the current set and returns a value to indicate whether the element was successfully added.</summary>
4274 <param name="item">The element to add to the set.</param>
4276 <see langword="true" /> if the element is added to the set; <see langword="false" /> if the element is already in the set</returns>
4278 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Builder.Clear">
4279 <summary>Removes all elements from this set.</summary>
4281 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Builder.Contains(`0)">
4282 <summary>Determines whether the set contains the specified object.</summary>
4283 <param name="item">The object to locate in the set.</param>
4285 <see langword="true" /> if <paramref name="item" /> is found in the set; otherwise, <see langword="false" />.</returns>
4287 <member name="P:System.Collections.Immutable.ImmutableSortedSet`1.Builder.Count">
4288 <summary>Gets the number of elements in the immutable sorted set.</summary>
4289 <returns>The number of elements in this set.</returns>
4291 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Builder.ExceptWith(System.Collections.Generic.IEnumerable{`0})">
4292 <summary>Removes the specified set of items from the current set.</summary>
4293 <param name="other">The collection of items to remove from the set.</param>
4295 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Builder.GetEnumerator">
4296 <summary>Returns an enumerator that iterates through the set.</summary>
4297 <returns>A enumerator that can be used to iterate through the set.</returns>
4299 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Builder.IntersectWith(System.Collections.Generic.IEnumerable{`0})">
4300 <summary>Modifies the current set so that it contains only elements that are also in a specified collection.</summary>
4301 <param name="other">The collection to compare to the current set.</param>
4303 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Builder.IsProperSubsetOf(System.Collections.Generic.IEnumerable{`0})">
4304 <summary>Determines whether the current set is a proper (strict) subset of a specified collection.</summary>
4305 <param name="other">The collection to compare to the current set.</param>
4307 <see langword="true" /> if the current set is a proper subset of <paramref name="other" />; otherwise, <see langword="false" />.</returns>
4309 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Builder.IsProperSupersetOf(System.Collections.Generic.IEnumerable{`0})">
4310 <summary>Determines whether the current set is a proper (strict) superset of a specified collection.</summary>
4311 <param name="other">The collection to compare to the current set.</param>
4313 <see langword="true" /> if the current set is a proper superset of <paramref name="other" />; otherwise, <see langword="false" />.</returns>
4315 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Builder.IsSubsetOf(System.Collections.Generic.IEnumerable{`0})">
4316 <summary>Determines whether the current set is a subset of a specified collection.</summary>
4317 <param name="other">The collection is compare to the current set.</param>
4319 <see langword="true" /> if the current set is a subset of <paramref name="other" />; otherwise, <see langword="false" />.</returns>
4321 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Builder.IsSupersetOf(System.Collections.Generic.IEnumerable{`0})">
4322 <summary>Determines whether the current set is a superset of a specified collection.</summary>
4323 <param name="other">The collection to compare to the current set.</param>
4325 <see langword="true" /> if the current set is a superset of <paramref name="other" />; otherwise, <see langword="false" />.</returns>
4327 <member name="P:System.Collections.Immutable.ImmutableSortedSet`1.Builder.Item(System.Int32)">
4328 <summary>Gets the element of the set at the given index.</summary>
4329 <param name="index">The 0-based index of the element in the set to return.</param>
4330 <returns>The element at the given position.</returns>
4332 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Builder.ItemRef(System.Int32)">
4333 <summary>Gets a read-only reference to the element of the set at the given <paramref name="index" />.</summary>
4334 <param name="index">The 0-based index of the element in the set to return.</param>
4335 <returns>A read-only reference to the element at the given position.</returns>
4337 <member name="P:System.Collections.Immutable.ImmutableSortedSet`1.Builder.KeyComparer">
4338 <summary>Gets or sets the object that is used to determine equality for the values in the immutable sorted set.</summary>
4339 <returns>The comparer that is used to determine equality for the values in the set.</returns>
4341 <member name="P:System.Collections.Immutable.ImmutableSortedSet`1.Builder.Max">
4342 <summary>Gets the maximum value in the immutable sorted set, as defined by the comparer.</summary>
4343 <returns>The maximum value in the set.</returns>
4345 <member name="P:System.Collections.Immutable.ImmutableSortedSet`1.Builder.Min">
4346 <summary>Gets the minimum value in the immutable sorted set, as defined by the comparer.</summary>
4347 <returns>The minimum value in the set.</returns>
4349 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Builder.Overlaps(System.Collections.Generic.IEnumerable{`0})">
4350 <summary>Determines whether the current set overlaps with the specified collection.</summary>
4351 <param name="other">The collection to compare to the current set.</param>
4353 <see langword="true" /> if the current set and <paramref name="other" /> share at least one common element; otherwise, <see langword="false" />.</returns>
4355 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Builder.Remove(`0)">
4356 <summary>Removes the first occurrence of the specified object from the set.</summary>
4357 <param name="item">The object to remove from the set.</param>
4359 <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>
4361 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Builder.Reverse">
4362 <summary>Returns an enumerator that iterates over the immutable sorted set in reverse order.</summary>
4363 <returns>An enumerator that iterates over the set in reverse order.</returns>
4365 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Builder.SetEquals(System.Collections.Generic.IEnumerable{`0})">
4366 <summary>Determines whether the current set and the specified collection contain the same elements.</summary>
4367 <param name="other">The collection to compare to the current set.</param>
4369 <see langword="true" /> if the current set is equal to <paramref name="other" />; otherwise, <see langword="false" />.</returns>
4371 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Builder.SymmetricExceptWith(System.Collections.Generic.IEnumerable{`0})">
4372 <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>
4373 <param name="other">The collection to compare to the current set.</param>
4375 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Builder.System#Collections#Generic#ICollection{T}#Add(`0)">
4376 <summary>Adds an element to the current set and returns a value to indicate whether the element was successfully added.</summary>
4377 <param name="item">The element to add to the set.</param>
4379 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Builder.System#Collections#Generic#ICollection{T}#CopyTo(`0[],System.Int32)">
4380 <summary>Copies the elements of the collection to an array, starting at a particular array index.</summary>
4381 <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>
4382 <param name="arrayIndex">The zero-based index in <paramref name="array" /> at which copying begins.</param>
4384 <member name="P:System.Collections.Immutable.ImmutableSortedSet`1.Builder.System#Collections#Generic#ICollection{T}#IsReadOnly">
4385 <summary>Gets a value that indicates whether this instance is read-only.</summary>
4386 <returns>Always <see langword="false" />.</returns>
4388 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Builder.System#Collections#Generic#IEnumerable{T}#GetEnumerator">
4389 <summary>Returns an enumerator that iterates through the collection.</summary>
4390 <returns>A enumerator that can be used to iterate through the collection.</returns>
4392 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Builder.System#Collections#ICollection#CopyTo(System.Array,System.Int32)">
4393 <summary>Copies the elements of the set to an array, starting at a particular array index.</summary>
4394 <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>
4395 <param name="arrayIndex">The zero-based index in <paramref name="array" /> at which copying begins.</param>
4397 <member name="P:System.Collections.Immutable.ImmutableSortedSet`1.Builder.System#Collections#ICollection#IsSynchronized">
4398 <summary>Gets a value that indicates whether access to the <see cref="T:System.Collections.ICollection" /> is synchronized (thread-safe).</summary>
4400 <see langword="true" /> if access to the <see cref="T:System.Collections.ICollection" /> is synchronized (thread-safe); otherwise, <see langword="false" />.</returns>
4402 <member name="P:System.Collections.Immutable.ImmutableSortedSet`1.Builder.System#Collections#ICollection#SyncRoot">
4403 <summary>Gets an object that can be used to synchronize access to the <see cref="T:System.Collections.ICollection" />.</summary>
4404 <returns>An object that can be used to synchronize access to the <see cref="T:System.Collections.ICollection" />.</returns>
4406 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Builder.System#Collections#IEnumerable#GetEnumerator">
4407 <summary>Returns an enumerator that iterates through the collection.</summary>
4408 <returns>A enumerator that can be used to iterate through the collection.</returns>
4410 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Builder.ToImmutable">
4411 <summary>Creates an immutable sorted set based on the contents of this instance.</summary>
4412 <returns>An immutable set.</returns>
4414 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Builder.UnionWith(System.Collections.Generic.IEnumerable{`0})">
4415 <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>
4416 <param name="other">The collection to compare to the current state.</param>
4418 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Clear">
4419 <summary>Removes all elements from the immutable sorted set.</summary>
4420 <returns>An empty set with the elements removed.</returns>
4422 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Contains(`0)">
4423 <summary>Determines whether this immutable sorted set contains the specified value.</summary>
4424 <param name="value">The value to check for.</param>
4426 <see langword="true" /> if the set contains the specified value; otherwise, <see langword="false" />.</returns>
4428 <member name="P:System.Collections.Immutable.ImmutableSortedSet`1.Count">
4429 <summary>Gets the number of elements in the immutable sorted set.</summary>
4430 <returns>The number of elements in the immutable sorted set.</returns>
4432 <member name="F:System.Collections.Immutable.ImmutableSortedSet`1.Empty">
4433 <summary>Gets an empty immutable sorted set.</summary>
4435 <member name="T:System.Collections.Immutable.ImmutableSortedSet`1.Enumerator">
4436 <summary>Enumerates the contents of a binary tree.
4437 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
4438 <typeparam name="T" />
4440 <member name="P:System.Collections.Immutable.ImmutableSortedSet`1.Enumerator.Current">
4441 <summary>Gets the element at the current position of the enumerator.
4442 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
4443 <returns>The element at the current position of the enumerator.</returns>
4445 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Enumerator.Dispose">
4446 <summary>Releases the resources used by the current instance of the <see cref="T:System.Collections.Immutable.ImmutableSortedSet`1.Enumerator" /> class.
4447 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
4449 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Enumerator.MoveNext">
4450 <summary>Advances the enumerator to the next element of the immutable sorted set.
4451 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
4453 <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>
4455 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Enumerator.Reset">
4456 <summary>Sets the enumerator to its initial position, which is before the first element in the immutable sorted set.
4457 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
4459 <member name="P:System.Collections.Immutable.ImmutableSortedSet`1.Enumerator.System#Collections#IEnumerator#Current">
4460 <summary>The current element.</summary>
4462 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Except(System.Collections.Generic.IEnumerable{`0})">
4463 <summary>Removes a specified set of items from this immutable sorted set.</summary>
4464 <param name="other">The items to remove from this set.</param>
4465 <returns>A new set with the items removed; or the original set if none of the items were in the set.</returns>
4467 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.GetEnumerator">
4468 <summary>Returns an enumerator that iterates through the immutable sorted set.</summary>
4469 <returns>An enumerator that can be used to iterate through the set.</returns>
4471 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.IndexOf(`0)">
4472 <summary>Gets the position within this immutable sorted set that the specified value appears in.</summary>
4473 <param name="item">The value whose position is being sought.</param>
4474 <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>
4476 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Intersect(System.Collections.Generic.IEnumerable{`0})">
4477 <summary>Creates an immutable sorted set that contains elements that exist both in this set and in the specified set.</summary>
4478 <param name="other">The set to intersect with this one.</param>
4479 <returns>A new immutable sorted set that contains any elements that exist in both sets.</returns>
4481 <member name="P:System.Collections.Immutable.ImmutableSortedSet`1.IsEmpty">
4482 <summary>Gets a value that indicates whether this immutable sorted set is empty.</summary>
4484 <see langword="true" /> if this set is empty; otherwise, <see langword="false" />.</returns>
4486 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.IsProperSubsetOf(System.Collections.Generic.IEnumerable{`0})">
4487 <summary>Determines whether the current immutable sorted set is a proper (strict) subset of the specified collection.</summary>
4488 <param name="other">The collection to compare to the current set.</param>
4490 <see langword="true" /> if the current set is a proper subset of <paramref name="other" />; otherwise, <see langword="false" />.</returns>
4492 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.IsProperSupersetOf(System.Collections.Generic.IEnumerable{`0})">
4493 <summary>Determines whether the current immutable sorted set is a proper superset of a specified collection.</summary>
4494 <param name="other">The collection to compare to the current set.</param>
4496 <see langword="true" /> if the current set is a proper superset of <paramref name="other" />; otherwise, <see langword="false" />.</returns>
4498 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.IsSubsetOf(System.Collections.Generic.IEnumerable{`0})">
4499 <summary>Determines whether the current immutable sorted set is a subset of a specified collection.</summary>
4500 <param name="other">The collection to compare to the current set.</param>
4502 <see langword="true" /> if the current set is a subset of <paramref name="other" />; otherwise, <see langword="false" />.</returns>
4504 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.IsSupersetOf(System.Collections.Generic.IEnumerable{`0})">
4505 <summary>Determines whether the current immutable sorted set is a superset of a specified collection.</summary>
4506 <param name="other">The collection to compare to the current set.</param>
4508 <see langword="true" /> if the current set is a superset of <paramref name="other" />; otherwise, <see langword="false" />.</returns>
4510 <member name="P:System.Collections.Immutable.ImmutableSortedSet`1.Item(System.Int32)">
4511 <summary>Gets the element of the immutable sorted set at the given index.</summary>
4512 <param name="index">The index of the element to retrieve from the sorted set.</param>
4513 <returns>The element at the given index.</returns>
4515 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.ItemRef(System.Int32)">
4516 <summary>Gets a read-only reference of the element of the set at the given <paramref name="index" />.</summary>
4517 <param name="index">The 0-based index of the element in the set to return.</param>
4518 <returns>A read-only reference of the element at the given position.</returns>
4520 <member name="P:System.Collections.Immutable.ImmutableSortedSet`1.KeyComparer">
4521 <summary>Gets the comparer used to sort keys in the immutable sorted set.</summary>
4522 <returns>The comparer used to sort keys.</returns>
4524 <member name="P:System.Collections.Immutable.ImmutableSortedSet`1.Max">
4525 <summary>Gets the maximum value in the immutable sorted set, as defined by the comparer.</summary>
4526 <returns>The maximum value in the set.</returns>
4528 <member name="P:System.Collections.Immutable.ImmutableSortedSet`1.Min">
4529 <summary>Gets the minimum value in the immutable sorted set, as defined by the comparer.</summary>
4530 <returns>The minimum value in the set.</returns>
4532 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Overlaps(System.Collections.Generic.IEnumerable{`0})">
4533 <summary>Determines whether the current immutable sorted set and a specified collection share common elements.</summary>
4534 <param name="other">The collection to compare to the current set.</param>
4536 <see langword="true" /> if the current set and <paramref name="other" /> share at least one common element; otherwise, <see langword="false" />.</returns>
4538 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Remove(`0)">
4539 <summary>Removes the specified value from this immutable sorted set.</summary>
4540 <param name="value">The element to remove.</param>
4541 <returns>A new immutable sorted set with the element removed, or this set if the element was not found in the set.</returns>
4543 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Reverse">
4544 <summary>Returns an <see cref="T:System.Collections.Generic.IEnumerable`1" /> that iterates over this immutable sorted set in reverse order.</summary>
4545 <returns>An enumerator that iterates over the immutable sorted set in reverse order.</returns>
4547 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.SetEquals(System.Collections.Generic.IEnumerable{`0})">
4548 <summary>Determines whether the current immutable sorted set and the specified collection contain the same elements.</summary>
4549 <param name="other">The collection to compare to the current set.</param>
4551 <see langword="true" /> if the sets are equal; otherwise, <see langword="false" />.</returns>
4553 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.SymmetricExcept(System.Collections.Generic.IEnumerable{`0})">
4554 <summary>Creates an immutable sorted set that contains elements that exist either in this set or in a given sequence, but not both.</summary>
4555 <param name="other">The other sequence of items.</param>
4556 <returns>The new immutable sorted set.</returns>
4558 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#Generic#ICollection{T}#Add(`0)">
4559 <summary>Adds the specified value to the collection.</summary>
4560 <param name="item">The value to add.</param>
4562 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#Generic#ICollection{T}#Clear">
4563 <summary>Removes all the items from the collection.</summary>
4565 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#Generic#ICollection{T}#CopyTo(`0[],System.Int32)">
4566 <summary>Copies the elements of the collection to an array, starting at a particular array index.</summary>
4567 <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>
4568 <param name="arrayIndex">The zero-based index in <paramref name="array" /> at which copying begins.</param>
4570 <member name="P:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#Generic#ICollection{T}#IsReadOnly">
4571 <summary>See the <see cref="T:System.Collections.Generic.ICollection`1" /> interface.</summary>
4573 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#Generic#ICollection{T}#Remove(`0)">
4574 <summary>Removes the first occurrence of a specific object from the collection.</summary>
4575 <param name="item">The object to remove from the collection.</param>
4577 <see langword="true" /> if <paramref name="item" /> was successfully removed from the collection; otherwise, <see langword="false" />.</returns>
4579 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#Generic#IEnumerable{T}#GetEnumerator">
4580 <summary>Returns an enumerator that iterates through the collection.</summary>
4581 <returns>An enumerator that can be used to iterate through the collection.</returns>
4583 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#Generic#IList{T}#Insert(System.Int32,`0)">
4584 <summary>Inserts an item in the set at the specified index.</summary>
4585 <param name="index">The zero-based index at which <paramref name="item" /> should be inserted.</param>
4586 <param name="item">The object to insert into the set.</param>
4588 <member name="P:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#Generic#IList{T}#Item(System.Int32)">
4589 <summary>See the <see cref="T:System.Collections.Generic.IList`1" /> interface.</summary>
4590 <param name="index" />
4592 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#Generic#IList{T}#RemoveAt(System.Int32)">
4593 <summary>Removes the item at the specified index.</summary>
4594 <param name="index">The zero-based index of the item to remove.</param>
4596 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#Generic#ISet{T}#Add(`0)">
4597 <summary>Adds an element to the current set and returns a value to indicate if the element was successfully added.</summary>
4598 <param name="item">The element to add to the set.</param>
4600 <see langword="true" /> if the element is added to the set; <see langword="false" /> if the element is already in the set.</returns>
4602 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#Generic#ISet{T}#ExceptWith(System.Collections.Generic.IEnumerable{`0})">
4603 <summary>Removes all elements in the specified collection from the current set.</summary>
4604 <param name="other">The collection of items to remove from the set.</param>
4606 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#Generic#ISet{T}#IntersectWith(System.Collections.Generic.IEnumerable{`0})">
4607 <summary>Modifies the current set so that it contains only elements that are also in a specified collection.</summary>
4608 <param name="other">The collection to compare to the current set.</param>
4610 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#Generic#ISet{T}#SymmetricExceptWith(System.Collections.Generic.IEnumerable{`0})">
4611 <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>
4612 <param name="other">The collection to compare to the current set.</param>
4614 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#Generic#ISet{T}#UnionWith(System.Collections.Generic.IEnumerable{`0})">
4615 <summary>Modifies the current set so that it contains all elements that are present in either the current set or the specified collection.</summary>
4616 <param name="other">The collection to compare to the current set.</param>
4618 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#ICollection#CopyTo(System.Array,System.Int32)">
4619 <summary>Copies the elements of the set to an array, starting at a particular array index.</summary>
4620 <param name="array">The one-dimensional array that is the destination of the elements copied from the set. The array must have zero-based indexing.</param>
4621 <param name="index">The zero-based index in <paramref name="array" /> at which copying begins.</param>
4623 <member name="P:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#ICollection#IsSynchronized">
4624 <summary>See the <see cref="T:System.Collections.ICollection" /> interface.</summary>
4626 <member name="P:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#ICollection#SyncRoot">
4627 <summary>See <see cref="T:System.Collections.ICollection" />.</summary>
4629 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#IEnumerable#GetEnumerator">
4630 <summary>Returns an enumerator that iterates through a collection.</summary>
4631 <returns>An enumerator object that can be used to iterate through the collection.</returns>
4633 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#IList#Add(System.Object)">
4634 <summary>Adds an item to the set.</summary>
4635 <param name="value">The object to add to the set.</param>
4636 <returns>The position into which the new element was inserted, or -1 to indicate that the item was not inserted into the collection.</returns>
4637 <exception cref="T:System.NotSupportedException">The set is read-only or has a fixed size.</exception>
4639 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#IList#Clear">
4640 <summary>Removes all items from the set.</summary>
4641 <exception cref="T:System.NotSupportedException">Thrown in all cases.</exception>
4643 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#IList#Contains(System.Object)">
4644 <summary>Determines whether the set contains a specific value.</summary>
4645 <param name="value">The object to locate in the set.</param>
4647 <see langword="true" /> if the object is found in the set; otherwise, <see langword="false" />.</returns>
4649 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#IList#IndexOf(System.Object)">
4650 <summary>Determines the index of a specific item in the set.</summary>
4651 <param name="value">The object to locate in the set.</param>
4652 <returns>The index of <paramref name="value" /> if found in the list; otherwise, -1.</returns>
4654 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#IList#Insert(System.Int32,System.Object)">
4655 <summary>Inserts an item into the set at the specified index.</summary>
4656 <param name="index">The zero-based index at which <paramref name="value" /> should be inserted.</param>
4657 <param name="value">The object to insert into the set.</param>
4658 <exception cref="T:System.NotSupportedException">The set is read-only or has a fixed size.</exception>
4660 <member name="P:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#IList#IsFixedSize">
4661 <summary>Gets a value that indicates whether the <see cref="T:System.Collections.IList" /> has a fixed size.</summary>
4663 <see langword="true" /> if the <see cref="T:System.Collections.IList" /> has a fixed size; otherwise, <see langword="false" />.</returns>
4665 <member name="P:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#IList#IsReadOnly">
4666 <summary>Gets a value that indicates whether the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only.</summary>
4668 <see langword="true" /> if the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only; otherwise, <see langword="false" />.</returns>
4670 <member name="P:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#IList#Item(System.Int32)">
4671 <summary>Gets or sets the <see cref="T:System.Object" /> at the specified index.</summary>
4672 <param name="index">The index.</param>
4673 <returns>The <see cref="T:System.Object" />.</returns>
4674 <exception cref="T:System.NotSupportedException" />
4676 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#IList#Remove(System.Object)">
4677 <summary>Removes the first occurrence of a specific object from the set.</summary>
4678 <param name="value">The object to remove from the set.</param>
4679 <exception cref="T:System.NotSupportedException">The set is read-only or has a fixed size.</exception>
4681 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#IList#RemoveAt(System.Int32)">
4682 <summary>Removes the item at the specified index of the set.</summary>
4683 <param name="index">The zero-based index of the item to remove.</param>
4684 <exception cref="T:System.NotSupportedException">The set is read-only or has a fixed size.</exception>
4686 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#Immutable#IImmutableSet{T}#Add(`0)">
4687 <summary>Adds the specified element to this immutable set.</summary>
4688 <param name="value">The element to add.</param>
4689 <returns>A new set with the element added, or this set if the element is already in the set.</returns>
4691 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#Immutable#IImmutableSet{T}#Clear">
4692 <summary>Retrieves an empty immutable set that has the same sorting and ordering semantics as this instance.</summary>
4693 <returns>An empty set that has the same sorting and ordering semantics as this instance.</returns>
4695 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#Immutable#IImmutableSet{T}#Except(System.Collections.Generic.IEnumerable{`0})">
4696 <summary>Removes the elements in the specified collection from the current immutable set.</summary>
4697 <param name="other">The items to remove from this set.</param>
4698 <returns>The new set with the items removed; or the original set if none of the items were in the set.</returns>
4700 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#Immutable#IImmutableSet{T}#Intersect(System.Collections.Generic.IEnumerable{`0})">
4701 <summary>Creates an immutable set that contains elements that exist in both this set and the specified set.</summary>
4702 <param name="other">The collection to compare to the current set.</param>
4703 <returns>A new immutable set that contains any elements that exist in both sets.</returns>
4705 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#Immutable#IImmutableSet{T}#Remove(`0)">
4706 <summary>Removes the specified element from this immutable set.</summary>
4707 <param name="value">The element to remove.</param>
4708 <returns>A new set with the specified element removed, or the current set if the element cannot be found in the set.</returns>
4710 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#Immutable#IImmutableSet{T}#SymmetricExcept(System.Collections.Generic.IEnumerable{`0})">
4711 <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>
4712 <param name="other">The collection to compare to the current set.</param>
4713 <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>
4715 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#Immutable#IImmutableSet{T}#Union(System.Collections.Generic.IEnumerable{`0})">
4716 <summary>Creates a new immutable set that contains all elements that are present in either the current set or in the specified collection.</summary>
4717 <param name="other">The collection to add elements from.</param>
4718 <returns>A new immutable set with the items added; or the original set if all the items were already in the set.</returns>
4720 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.ToBuilder">
4721 <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>
4722 <returns>The sorted set builder.</returns>
4724 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.TryGetValue(`0,`0@)">
4725 <summary>Searches the set for a given value and returns the equal value it finds, if any.</summary>
4726 <param name="equalValue">The value to search for.</param>
4727 <param name="actualValue">The value from the set that the search found, or the original value if the search yielded no match.</param>
4728 <returns>A value indicating whether the search was successful.</returns>
4730 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Union(System.Collections.Generic.IEnumerable{`0})">
4731 <summary>Adds a given set of items to this immutable sorted set.</summary>
4732 <param name="other">The items to add.</param>
4733 <returns>The new set with the items added; or the original set if all the items were already in the set.</returns>
4735 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.WithComparer(System.Collections.Generic.IComparer{`0})">
4736 <summary>Returns the immutable sorted set that has the specified key comparer.</summary>
4737 <param name="comparer">The comparer to check for.</param>
4738 <returns>The immutable sorted set that has the specified key comparer.</returns>
4740 <member name="T:System.Collections.Immutable.ImmutableStack">
4741 <summary>Provides a set of initialization methods for instances of the <see cref="T:System.Collections.Immutable.ImmutableStack`1" /> class.
4742 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
4744 <member name="M:System.Collections.Immutable.ImmutableStack.Create``1">
4745 <summary>Creates an empty immutable stack.</summary>
4746 <typeparam name="T">The type of items to be stored in the immutable stack.</typeparam>
4747 <returns>An empty immutable stack.</returns>
4749 <member name="M:System.Collections.Immutable.ImmutableStack.Create``1(``0)">
4750 <summary>Creates a new immutable stack that contains the specified item.</summary>
4751 <param name="item">The item to prepopulate the stack with.</param>
4752 <typeparam name="T">The type of items in the immutable stack.</typeparam>
4753 <returns>A new immutable collection that contains the specified item.</returns>
4755 <member name="M:System.Collections.Immutable.ImmutableStack.Create``1(``0[])">
4756 <summary>Creates a new immutable stack that contains the specified array of items.</summary>
4757 <param name="items">An array that contains the items to prepopulate the stack with.</param>
4758 <typeparam name="T">The type of items in the immutable stack.</typeparam>
4759 <returns>A new immutable stack that contains the specified items.</returns>
4761 <member name="M:System.Collections.Immutable.ImmutableStack.CreateRange``1(System.Collections.Generic.IEnumerable{``0})">
4762 <summary>Creates a new immutable stack that contains the specified items.</summary>
4763 <param name="items">The items to add to the stack before it's immutable.</param>
4764 <typeparam name="T">The type of items in the stack.</typeparam>
4765 <returns>An immutable stack that contains the specified items.</returns>
4767 <member name="M:System.Collections.Immutable.ImmutableStack.Pop``1(System.Collections.Immutable.IImmutableStack{``0},``0@)">
4768 <summary>Removes the specified item from an immutable stack.</summary>
4769 <param name="stack">The stack to modify.</param>
4770 <param name="value">The item to remove from the stack.</param>
4771 <typeparam name="T">The type of items contained in the stack.</typeparam>
4772 <returns>A stack; never <see langword="null" />.</returns>
4773 <exception cref="T:System.InvalidOperationException">The stack is empty.</exception>
4775 <member name="T:System.Collections.Immutable.ImmutableStack`1">
4776 <summary>Represents an immutable stack.
4777 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
4778 <typeparam name="T">The type of element on the stack.</typeparam>
4780 <member name="M:System.Collections.Immutable.ImmutableStack`1.Clear">
4781 <summary>Removes all objects from the immutable stack.</summary>
4782 <returns>An empty immutable stack.</returns>
4784 <member name="P:System.Collections.Immutable.ImmutableStack`1.Empty">
4785 <summary>Gets an empty immutable stack.</summary>
4786 <returns>An empty immutable stack.</returns>
4788 <member name="T:System.Collections.Immutable.ImmutableStack`1.Enumerator">
4789 <summary>Enumerates the contents of an immutable stack without allocating any memory.
4790 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
4791 <typeparam name="T" />
4793 <member name="P:System.Collections.Immutable.ImmutableStack`1.Enumerator.Current">
4794 <summary>Gets the element at the current position of the enumerator.</summary>
4795 <returns>The element at the current position of the enumerator.</returns>
4797 <member name="M:System.Collections.Immutable.ImmutableStack`1.Enumerator.MoveNext">
4798 <summary>Advances the enumerator to the next element of the immutable stack.</summary>
4800 <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>
4802 <member name="M:System.Collections.Immutable.ImmutableStack`1.GetEnumerator">
4803 <summary>Returns an enumerator that iterates through the immutable stack.</summary>
4804 <returns>An enumerator that can be used to iterate through the stack.</returns>
4806 <member name="P:System.Collections.Immutable.ImmutableStack`1.IsEmpty">
4807 <summary>Gets a value that indicates whether this instance of the immutable stack is empty.</summary>
4809 <see langword="true" /> if this instance is empty; otherwise, <see langword="false" />.</returns>
4811 <member name="M:System.Collections.Immutable.ImmutableStack`1.Peek">
4812 <summary>Returns the object at the top of the stack without removing it.</summary>
4813 <returns>The object at the top of the stack.</returns>
4814 <exception cref="T:System.InvalidOperationException">The stack is empty.</exception>
4816 <member name="M:System.Collections.Immutable.ImmutableStack`1.PeekRef">
4817 <summary>Gets a read-only reference to the element on the top of the stack.</summary>
4818 <returns>A read-only reference to the element on the top of the stack.</returns>
4819 <exception cref="T:System.InvalidOperationException">Thrown when the stack is empty.</exception>
4821 <member name="M:System.Collections.Immutable.ImmutableStack`1.Pop">
4822 <summary>Removes the element at the top of the immutable stack and returns the stack after the removal.</summary>
4823 <returns>A stack; never <see langword="null" />.</returns>
4824 <exception cref="T:System.InvalidOperationException">The stack is empty.</exception>
4826 <member name="M:System.Collections.Immutable.ImmutableStack`1.Pop(`0@)">
4827 <summary>Removes the specified element from the immutable stack and returns the stack after the removal.</summary>
4828 <param name="value">The value to remove from the stack.</param>
4829 <returns>A stack; never <see langword="null" />.</returns>
4831 <member name="M:System.Collections.Immutable.ImmutableStack`1.Push(`0)">
4832 <summary>Inserts an object at the top of the immutable stack and returns the new stack.</summary>
4833 <param name="value">The object to push onto the stack.</param>
4834 <returns>The new stack.</returns>
4836 <member name="M:System.Collections.Immutable.ImmutableStack`1.System#Collections#Generic#IEnumerable{T}#GetEnumerator">
4837 <summary>Returns an enumerator that iterates through the collection.</summary>
4838 <returns>An enumerator that can be used to iterate through the collection.</returns>
4840 <member name="M:System.Collections.Immutable.ImmutableStack`1.System#Collections#IEnumerable#GetEnumerator">
4841 <summary>Returns an enumerator that iterates through a collection.</summary>
4842 <returns>An <see cref="T:System.Collections.IEnumerator" /> object that can be used to iterate through the collection.</returns>
4844 <member name="M:System.Collections.Immutable.ImmutableStack`1.System#Collections#Immutable#IImmutableStack{T}#Clear">
4845 <summary>Removes all elements from the immutable stack.</summary>
4846 <returns>The empty immutable stack.</returns>
4848 <member name="M:System.Collections.Immutable.ImmutableStack`1.System#Collections#Immutable#IImmutableStack{T}#Pop">
4849 <summary>Removes the element at the top of the immutable stack and returns the new stack.</summary>
4850 <returns>The new stack; never <see langword="null" />.</returns>
4852 <member name="M:System.Collections.Immutable.ImmutableStack`1.System#Collections#Immutable#IImmutableStack{T}#Push(`0)">
4853 <summary>Inserts an element at the top of the immutable stack and returns the new stack.</summary>
4854 <param name="value">The element to push onto the stack.</param>
4855 <returns>The new stack.</returns>
4857 <member name="T:System.Linq.ImmutableArrayExtensions">
4858 <summary>LINQ extension method overrides that offer greater efficiency for <see cref="T:System.Collections.Immutable.ImmutableArray`1" /> than the standard LINQ methods
4859 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
4861 <member name="M:System.Linq.ImmutableArrayExtensions.Aggregate``1(System.Collections.Immutable.ImmutableArray{``0},System.Func{``0,``0,``0})">
4862 <summary>Applies a function to a sequence of elements in a cumulative way.</summary>
4863 <param name="immutableArray">The collection to apply the function to.</param>
4864 <param name="func">A function to be invoked on each element, in a cumulative way.</param>
4865 <typeparam name="T">The type of element contained by the collection.</typeparam>
4866 <returns>The final value after the cumulative function has been applied to all elements.</returns>
4868 <member name="M:System.Linq.ImmutableArrayExtensions.Aggregate``2(System.Collections.Immutable.ImmutableArray{``1},``0,System.Func{``0,``1,``0})">
4869 <summary>Applies a function to a sequence of elements in a cumulative way.</summary>
4870 <param name="immutableArray">The collection to apply the function to.</param>
4871 <param name="seed">The initial accumulator value.</param>
4872 <param name="func">A function to be invoked on each element, in a cumulative way.</param>
4873 <typeparam name="TAccumulate">The type of the accumulated value.</typeparam>
4874 <typeparam name="T">The type of element contained by the collection.</typeparam>
4875 <returns>The final accumulator value.</returns>
4877 <member name="M:System.Linq.ImmutableArrayExtensions.Aggregate``3(System.Collections.Immutable.ImmutableArray{``2},``0,System.Func{``0,``2,``0},System.Func{``0,``1})">
4878 <summary>Applies a function to a sequence of elements in a cumulative way.</summary>
4879 <param name="immutableArray">The collection to apply the function to.</param>
4880 <param name="seed">The initial accumulator value.</param>
4881 <param name="func">A function to be invoked on each element, in a cumulative way.</param>
4882 <param name="resultSelector" />
4883 <typeparam name="TAccumulate">The type of the accumulated value.</typeparam>
4884 <typeparam name="TResult">The type of result returned by the result selector.</typeparam>
4885 <typeparam name="T">The type of element contained by the collection.</typeparam>
4886 <returns>The final accumulator value.</returns>
4888 <member name="M:System.Linq.ImmutableArrayExtensions.All``1(System.Collections.Immutable.ImmutableArray{``0},System.Func{``0,System.Boolean})">
4889 <summary>Gets a value indicating whether all elements in this array match a given condition.</summary>
4890 <param name="immutableArray">The array to check for matches.</param>
4891 <param name="predicate">The predicate.</param>
4892 <typeparam name="T">The type of element contained by the collection.</typeparam>
4894 <see langword="true" /> if every element of the source sequence passes the test in the specified predicate; otherwise, <see langword="false" />.</returns>
4896 <member name="M:System.Linq.ImmutableArrayExtensions.Any``1(System.Collections.Immutable.ImmutableArray{``0})">
4897 <summary>Gets a value indicating whether the array contains any elements.</summary>
4898 <param name="immutableArray">The array to check for elements.</param>
4899 <typeparam name="T">The type of element contained by the collection.</typeparam>
4901 <see langword="true" /> if the array contains an elements; otherwise, <see langword="false" />.</returns>
4903 <member name="M:System.Linq.ImmutableArrayExtensions.Any``1(System.Collections.Immutable.ImmutableArray{``0},System.Func{``0,System.Boolean})">
4904 <summary>Gets a value indicating whether the array contains any elements that match a specified condition.</summary>
4905 <param name="immutableArray">The array to check for elements.</param>
4906 <param name="predicate">The delegate that defines the condition to match to an element.</param>
4907 <typeparam name="T">The type of element contained by the collection.</typeparam>
4909 <see langword="true" /> if an element matches the specified condition; otherwise, <see langword="false" />.</returns>
4911 <member name="M:System.Linq.ImmutableArrayExtensions.Any``1(System.Collections.Immutable.ImmutableArray{``0}.Builder)">
4912 <summary>Returns a value indicating whether this collection contains any elements.</summary>
4913 <param name="builder">The builder to check for matches.</param>
4914 <typeparam name="T">The type of elements in the array.</typeparam>
4916 <see langword="true" /> if the array builder contains any elements; otherwise, <see langword="false" />.</returns>
4918 <member name="M:System.Linq.ImmutableArrayExtensions.ElementAt``1(System.Collections.Immutable.ImmutableArray{``0},System.Int32)">
4919 <summary>Returns the element at a specified index in the array.</summary>
4920 <param name="immutableArray">The array to find an element in.</param>
4921 <param name="index">The index for the element to retrieve.</param>
4922 <typeparam name="T">The type of element contained by the collection.</typeparam>
4923 <returns>The item at the specified index.</returns>
4925 <member name="M:System.Linq.ImmutableArrayExtensions.ElementAtOrDefault``1(System.Collections.Immutable.ImmutableArray{``0},System.Int32)">
4926 <summary>Returns the element at a specified index in a sequence or a default value if the index is out of range.</summary>
4927 <param name="immutableArray">The array to find an element in.</param>
4928 <param name="index">The index for the element to retrieve.</param>
4929 <typeparam name="T">The type of element contained by the collection.</typeparam>
4930 <returns>The item at the specified index, or the default value if the index is not found.</returns>
4932 <member name="M:System.Linq.ImmutableArrayExtensions.First``1(System.Collections.Immutable.ImmutableArray{``0})">
4933 <summary>Returns the first element in an array.</summary>
4934 <param name="immutableArray">The array to get an item from.</param>
4935 <typeparam name="T">The type of element contained by the collection.</typeparam>
4936 <returns>The first item in the array.</returns>
4937 <exception cref="T:System.InvalidOperationException">If the array is empty.</exception>
4939 <member name="M:System.Linq.ImmutableArrayExtensions.First``1(System.Collections.Immutable.ImmutableArray{``0},System.Func{``0,System.Boolean})">
4940 <summary>Returns the first element in a sequence that satisfies a specified condition.</summary>
4941 <param name="immutableArray">The array to get an item from.</param>
4942 <param name="predicate">The delegate that defines the conditions of the element to search for.</param>
4943 <typeparam name="T">The type of element contained by the collection.</typeparam>
4944 <returns>The first item in the list if it meets the condition specified by <paramref name="predicate" />.</returns>
4945 <exception cref="T:System.InvalidOperationException">If the array is empty.</exception>
4947 <member name="M:System.Linq.ImmutableArrayExtensions.First``1(System.Collections.Immutable.ImmutableArray{``0}.Builder)">
4948 <summary>Returns the first element in the collection.</summary>
4949 <param name="builder">The builder to retrieve an item from.</param>
4950 <typeparam name="T">The type of items in the array.</typeparam>
4951 <returns>The first item in the list.</returns>
4952 <exception cref="T:System.InvalidOperationException">If the array is empty.</exception>
4954 <member name="M:System.Linq.ImmutableArrayExtensions.FirstOrDefault``1(System.Collections.Immutable.ImmutableArray{``0})">
4955 <summary>Returns the first element of a sequence, or a default value if the sequence contains no elements.</summary>
4956 <param name="immutableArray">The array to retrieve items from.</param>
4957 <typeparam name="T">The type of element contained by the collection.</typeparam>
4958 <returns>The first item in the list, if found; otherwise the default value for the item type.</returns>
4960 <member name="M:System.Linq.ImmutableArrayExtensions.FirstOrDefault``1(System.Collections.Immutable.ImmutableArray{``0},System.Func{``0,System.Boolean})">
4961 <summary>Returns the first element of the sequence that satisfies a condition or a default value if no such element is found.</summary>
4962 <param name="immutableArray">The array to retrieve elements from.</param>
4963 <param name="predicate">The delegate that defines the conditions of the element to search for.</param>
4964 <typeparam name="T">The type of element contained by the collection.</typeparam>
4965 <returns>The first item in the list, if found; otherwise the default value for the item type.</returns>
4967 <member name="M:System.Linq.ImmutableArrayExtensions.FirstOrDefault``1(System.Collections.Immutable.ImmutableArray{``0}.Builder)">
4968 <summary>Returns the first element in the collection, or the default value if the collection is empty.</summary>
4969 <param name="builder">The builder to retrieve an element from.</param>
4970 <typeparam name="T">The type of item in the builder.</typeparam>
4971 <returns>The first item in the list, if found; otherwise the default value for the item type.</returns>
4973 <member name="M:System.Linq.ImmutableArrayExtensions.Last``1(System.Collections.Immutable.ImmutableArray{``0})">
4974 <summary>Returns the last element of the array.</summary>
4975 <param name="immutableArray">The array to retrieve items from.</param>
4976 <typeparam name="T">The type of element contained by the array.</typeparam>
4977 <returns>The last element in the array.</returns>
4978 <exception cref="T:System.InvalidOperationException">Thrown if the collection is empty.</exception>
4980 <member name="M:System.Linq.ImmutableArrayExtensions.Last``1(System.Collections.Immutable.ImmutableArray{``0},System.Func{``0,System.Boolean})">
4981 <summary>Returns the last element of a sequence that satisfies a specified condition.</summary>
4982 <param name="immutableArray">The array to retrieve elements from.</param>
4983 <param name="predicate">The delegate that defines the conditions of the element to retrieve.</param>
4984 <typeparam name="T">The type of element contained by the collection.</typeparam>
4985 <returns>The last element of the array that satisfies the <paramref name="predicate" /> condition.</returns>
4986 <exception cref="T:System.InvalidOperationException">Thrown if the collection is empty.</exception>
4988 <member name="M:System.Linq.ImmutableArrayExtensions.Last``1(System.Collections.Immutable.ImmutableArray{``0}.Builder)">
4989 <summary>Returns the last element in the collection.</summary>
4990 <param name="builder">The builder to retrieve elements from.</param>
4991 <typeparam name="T">The type of item in the builder.</typeparam>
4992 <returns>The last element in the builder.</returns>
4993 <exception cref="T:System.InvalidOperationException">Thrown if the collection is empty.</exception>
4995 <member name="M:System.Linq.ImmutableArrayExtensions.LastOrDefault``1(System.Collections.Immutable.ImmutableArray{``0})">
4996 <summary>Returns the last element of a sequence, or a default value if the sequence contains no elements.</summary>
4997 <param name="immutableArray">The array to retrieve items from.</param>
4998 <typeparam name="T">The type of element contained by the collection.</typeparam>
4999 <returns>The last element of a sequence, or a default value if the sequence contains no elements.</returns>
5001 <member name="M:System.Linq.ImmutableArrayExtensions.LastOrDefault``1(System.Collections.Immutable.ImmutableArray{``0},System.Func{``0,System.Boolean})">
5002 <summary>Returns the last element of a sequence that satisfies a condition or a default value if no such element is found.</summary>
5003 <param name="immutableArray">The array to retrieve an element from.</param>
5004 <param name="predicate">The delegate that defines the conditions of the element to search for.</param>
5005 <typeparam name="T">The type of element contained by the collection.</typeparam>
5006 <returns>The last element of a sequence, or a default value if the sequence contains no elements.</returns>
5008 <member name="M:System.Linq.ImmutableArrayExtensions.LastOrDefault``1(System.Collections.Immutable.ImmutableArray{``0}.Builder)">
5009 <summary>Returns the last element in the collection, or the default value if the collection is empty.</summary>
5010 <param name="builder">The builder to retrieve an element from.</param>
5011 <typeparam name="T">The type of item in the builder.</typeparam>
5012 <returns>The last element of a sequence, or a default value if the sequence contains no elements.</returns>
5014 <member name="M:System.Linq.ImmutableArrayExtensions.Select``2(System.Collections.Immutable.ImmutableArray{``0},System.Func{``0,``1})">
5015 <summary>Projects each element of a sequence into a new form.</summary>
5016 <param name="immutableArray">The immutable array to select items from.</param>
5017 <param name="selector">A transform function to apply to each element.</param>
5018 <typeparam name="T">The type of element contained by the collection.</typeparam>
5019 <typeparam name="TResult">The type of the result element.</typeparam>
5020 <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>
5022 <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})">
5023 <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>
5024 <param name="immutableArray">The immutable array.</param>
5025 <param name="collectionSelector">A transform function to apply to each element of the input sequence.</param>
5026 <param name="resultSelector">A transform function to apply to each element of the intermediate sequence.</param>
5027 <typeparam name="TSource">The type of the elements of <paramref name="immutableArray" />.</typeparam>
5028 <typeparam name="TCollection">The type of the intermediate elements collected by <paramref name="collectionSelector" />.</typeparam>
5029 <typeparam name="TResult">The type of the elements of the resulting sequence.</typeparam>
5030 <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>
5032 <member name="M:System.Linq.ImmutableArrayExtensions.SequenceEqual``2(System.Collections.Immutable.ImmutableArray{``1},System.Collections.Generic.IEnumerable{``0},System.Collections.Generic.IEqualityComparer{``1})">
5033 <summary>Determines whether two sequences are equal according to an equality comparer.</summary>
5034 <param name="immutableArray">The array to use for comparison.</param>
5035 <param name="items">The items to use for comparison.</param>
5036 <param name="comparer">The comparer to use to check for equality.</param>
5037 <typeparam name="TDerived">The type of element in the compared array.</typeparam>
5038 <typeparam name="TBase">The type of element contained by the collection.</typeparam>
5040 <see langword="true" /> to indicate the sequences are equal; otherwise, <see langword="false" />.</returns>
5042 <member name="M:System.Linq.ImmutableArrayExtensions.SequenceEqual``2(System.Collections.Immutable.ImmutableArray{``1},System.Collections.Immutable.ImmutableArray{``0},System.Collections.Generic.IEqualityComparer{``1})">
5043 <summary>Determines whether two sequences are equal according to an equality comparer.</summary>
5044 <param name="immutableArray">The array to use for comparison.</param>
5045 <param name="items">The items to use for comparison.</param>
5046 <param name="comparer">The comparer to use to check for equality.</param>
5047 <typeparam name="TDerived">The type of element in the compared array.</typeparam>
5048 <typeparam name="TBase">The type of element contained by the collection.</typeparam>
5050 <see langword="true" /> to indicate the sequences are equal; otherwise, <see langword="false" />.</returns>
5052 <member name="M:System.Linq.ImmutableArrayExtensions.SequenceEqual``2(System.Collections.Immutable.ImmutableArray{``1},System.Collections.Immutable.ImmutableArray{``0},System.Func{``1,``1,System.Boolean})">
5053 <summary>Determines whether two sequences are equal according to an equality comparer.</summary>
5054 <param name="immutableArray">The array to use for comparison.</param>
5055 <param name="items">The items to use for comparison.</param>
5056 <param name="predicate">The comparer to use to check for equality.</param>
5057 <typeparam name="TDerived">The type of element in the compared array.</typeparam>
5058 <typeparam name="TBase">The type of element contained by the collection.</typeparam>
5060 <see langword="true" /> to indicate the sequences are equal; otherwise, <see langword="false" />.</returns>
5062 <member name="M:System.Linq.ImmutableArrayExtensions.Single``1(System.Collections.Immutable.ImmutableArray{``0})">
5063 <summary>Returns the only element of a sequence, and throws an exception if there is not exactly one element in the sequence.</summary>
5064 <param name="immutableArray">The array to retrieve the element from.</param>
5065 <typeparam name="T">The type of element contained by the collection.</typeparam>
5066 <returns>The element in the sequence.</returns>
5068 <member name="M:System.Linq.ImmutableArrayExtensions.Single``1(System.Collections.Immutable.ImmutableArray{``0},System.Func{``0,System.Boolean})">
5069 <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>
5070 <param name="immutableArray" />
5071 <param name="predicate" />
5072 <typeparam name="T">The type of element contained by the collection.</typeparam>
5073 <returns>Returns <see cref="T:System.Boolean" />.</returns>
5075 <member name="M:System.Linq.ImmutableArrayExtensions.SingleOrDefault``1(System.Collections.Immutable.ImmutableArray{``0})">
5076 <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>
5077 <param name="immutableArray">The array.</param>
5078 <typeparam name="T">The type of element contained by the collection.</typeparam>
5079 <returns>The element in the array, or the default value if the array is empty.</returns>
5080 <exception cref="T:System.InvalidOperationException">
5081 <paramref name="source" /> contains more than one element.</exception>
5083 <member name="M:System.Linq.ImmutableArrayExtensions.SingleOrDefault``1(System.Collections.Immutable.ImmutableArray{``0},System.Func{``0,System.Boolean})">
5084 <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>
5085 <param name="immutableArray">The array to get the element from.</param>
5086 <param name="predicate">The condition the element must satisfy.</param>
5087 <typeparam name="T">The type of element contained by the collection.</typeparam>
5088 <returns>The element if it satisfies the specified condition; otherwise the default element.</returns>
5089 <exception cref="T:System.InvalidOperationException">More than one element satisfies the condition in <paramref name="predicate" />.</exception>
5091 <member name="M:System.Linq.ImmutableArrayExtensions.ToArray``1(System.Collections.Immutable.ImmutableArray{``0})">
5092 <summary>Copies the contents of this array to a mutable array.</summary>
5093 <param name="immutableArray" />
5094 <typeparam name="T">The type of element contained by the collection.</typeparam>
5095 <returns>The newly instantiated array.</returns>
5097 <member name="M:System.Linq.ImmutableArrayExtensions.ToDictionary``2(System.Collections.Immutable.ImmutableArray{``1},System.Func{``1,``0})">
5098 <summary>Creates a dictionary based on the contents of this array.</summary>
5099 <param name="immutableArray">The array to create a dictionary from.</param>
5100 <param name="keySelector">The key selector.</param>
5101 <typeparam name="TKey">The type of the key.</typeparam>
5102 <typeparam name="T">The type of element contained by the collection.</typeparam>
5103 <returns>The newly initialized dictionary.</returns>
5105 <member name="M:System.Linq.ImmutableArrayExtensions.ToDictionary``2(System.Collections.Immutable.ImmutableArray{``1},System.Func{``1,``0},System.Collections.Generic.IEqualityComparer{``0})">
5106 <summary>Creates a dictionary based on the contents of this array.</summary>
5107 <param name="immutableArray">The array to create a dictionary from.</param>
5108 <param name="keySelector">The key selector.</param>
5109 <param name="comparer">The comparer to initialize the dictionary with.</param>
5110 <typeparam name="TKey">The type of the key.</typeparam>
5111 <typeparam name="T">The type of element contained by the collection.</typeparam>
5112 <returns>The newly initialized dictionary.</returns>
5114 <member name="M:System.Linq.ImmutableArrayExtensions.ToDictionary``3(System.Collections.Immutable.ImmutableArray{``2},System.Func{``2,``0},System.Func{``2,``1})">
5115 <summary>Creates a dictionary based on the contents of this array.</summary>
5116 <param name="immutableArray">The array to create a dictionary from.</param>
5117 <param name="keySelector">The key selector.</param>
5118 <param name="elementSelector">The element selector.</param>
5119 <typeparam name="TKey">The type of the key.</typeparam>
5120 <typeparam name="TElement">The type of the element.</typeparam>
5121 <typeparam name="T">The type of element contained by the collection.</typeparam>
5122 <returns>The newly initialized dictionary.</returns>
5124 <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})">
5125 <summary>Creates a dictionary based on the contents of this array.</summary>
5126 <param name="immutableArray">The array to create a dictionary from.</param>
5127 <param name="keySelector">The key selector.</param>
5128 <param name="elementSelector">The element selector.</param>
5129 <param name="comparer">The comparer to initialize the dictionary with.</param>
5130 <typeparam name="TKey">The type of the key.</typeparam>
5131 <typeparam name="TElement">The type of the element.</typeparam>
5132 <typeparam name="T">The type of element contained by the collection.</typeparam>
5133 <returns>The newly initialized dictionary.</returns>
5135 <member name="M:System.Linq.ImmutableArrayExtensions.Where``1(System.Collections.Immutable.ImmutableArray{``0},System.Func{``0,System.Boolean})">
5136 <summary>Filters a sequence of values based on a predicate.</summary>
5137 <param name="immutableArray">The array to filter.</param>
5138 <param name="predicate">The condition to use for filtering the array content.</param>
5139 <typeparam name="T">The type of element contained by the collection.</typeparam>
5140 <returns>Returns <see cref="T:System.Collections.Generic.IEnumerable`1" /> that contains elements that meet the condition.</returns>