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.
10 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
11 <typeparam name="TKey">The type of keys in the dictionary.</typeparam>
12 <typeparam name="TValue">The type of values in the dictionary.</typeparam>
14 <member name="M:System.Collections.Immutable.IImmutableDictionary`2.Add(`0,`1)">
15 <summary>Adds an element with the specified key and value to the dictionary.</summary>
16 <param name="key">The key of the element to add.</param>
17 <param name="value">The value of the element to add.</param>
18 <exception cref="T:System.ArgumentException">The given key already exists in the dictionary but has a different value.</exception>
19 <returns>A new immutable dictionary that contains the additional key/value pair.</returns>
21 <member name="M:System.Collections.Immutable.IImmutableDictionary`2.AddRange(System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{`0,`1}})">
22 <summary>Adds the specified key/value pairs to the dictionary.</summary>
23 <param name="pairs">The key/value pairs to add.</param>
24 <exception cref="T:System.ArgumentException">One of the given keys already exists in the dictionary but has a different value.</exception>
25 <returns>A new immutable dictionary that contains the additional key/value pairs.</returns>
27 <member name="M:System.Collections.Immutable.IImmutableDictionary`2.Clear">
28 <summary>Retrieves an empty dictionary that has the same ordering and key/value comparison rules as this dictionary instance.</summary>
29 <returns>An empty dictionary with equivalent ordering and key/value comparison rules.</returns>
31 <member name="M:System.Collections.Immutable.IImmutableDictionary`2.Contains(System.Collections.Generic.KeyValuePair{`0,`1})">
32 <summary>Determines whether the immutable dictionary contains the specified key/value pair.</summary>
33 <param name="pair">The key/value pair to locate.</param>
35 <see langword="true" /> if the specified key/value pair is found in the dictionary; otherwise, <see langword="false" />.</returns>
37 <member name="M:System.Collections.Immutable.IImmutableDictionary`2.Remove(`0)">
38 <summary>Removes the element with the specified key from the immutable dictionary.</summary>
39 <param name="key">The key of the element to remove.</param>
40 <returns>A new immutable dictionary with the specified element removed; or this instance if the specified key cannot be found in the dictionary.</returns>
42 <member name="M:System.Collections.Immutable.IImmutableDictionary`2.RemoveRange(System.Collections.Generic.IEnumerable{`0})">
43 <summary>Removes the elements with the specified keys from the immutable dictionary.</summary>
44 <param name="keys">The keys of the elements to remove.</param>
45 <returns>A new immutable dictionary with the specified keys removed; or this instance if the specified keys cannot be found in the dictionary.</returns>
47 <member name="M:System.Collections.Immutable.IImmutableDictionary`2.SetItem(`0,`1)">
48 <summary>Sets the specified key and value in the immutable dictionary, possibly overwriting an existing value for the key.</summary>
49 <param name="key">The key of the entry to add.</param>
50 <param name="value">The key value to set.</param>
51 <returns>A new immutable dictionary that contains the specified key/value pair.</returns>
53 <member name="M:System.Collections.Immutable.IImmutableDictionary`2.SetItems(System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{`0,`1}})">
54 <summary>Sets the specified key/value pairs in the immutable dictionary, possibly overwriting existing values for the keys.</summary>
55 <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>
56 <returns>A new immutable dictionary that contains the specified key/value pairs.</returns>
58 <member name="M:System.Collections.Immutable.IImmutableDictionary`2.TryGetKey(`0,`0@)">
59 <summary>Determines whether this dictionary contains a specified key.</summary>
60 <param name="equalKey">The key to search for.</param>
61 <param name="actualKey">The matching key located in the dictionary if found, or <c>equalkey</c> if no match is found.</param>
63 <see langword="true" /> if a match for <paramref name="equalKey" /> is found; otherwise, <see langword="false" />.</returns>
65 <member name="T:System.Collections.Immutable.IImmutableList`1">
66 <summary>Represents a list of elements that cannot be modified.
68 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
69 <typeparam name="T">The type of elements in the list.</typeparam>
71 <member name="M:System.Collections.Immutable.IImmutableList`1.Add(`0)">
72 <summary>Makes a copy of the list, and adds the specified object to the end of the copied list.</summary>
73 <param name="value">The object to add to the list.</param>
74 <returns>A new list with the object added.</returns>
76 <member name="M:System.Collections.Immutable.IImmutableList`1.AddRange(System.Collections.Generic.IEnumerable{`0})">
77 <summary>Makes a copy of the list and adds the specified objects to the end of the copied list.</summary>
78 <param name="items">The objects to add to the list.</param>
79 <returns>A new list with the elements added.</returns>
81 <member name="M:System.Collections.Immutable.IImmutableList`1.Clear">
82 <summary>Creates a list with all the items removed, but with the same sorting and ordering semantics as this list.</summary>
83 <returns>An empty list that has the same sorting and ordering semantics as this instance.</returns>
85 <member name="M:System.Collections.Immutable.IImmutableList`1.IndexOf(`0,System.Int32,System.Int32,System.Collections.Generic.IEqualityComparer{`0})">
86 <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>
87 <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>
88 <param name="index">The zero-based starting indexes of the search. 0 (zero) is valid in an empty list.</param>
89 <param name="count">The number of elements in the section to search.</param>
90 <param name="equalityComparer">The equality comparer to use to locate <paramref name="item" />.</param>
91 <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>
93 <member name="M:System.Collections.Immutable.IImmutableList`1.Insert(System.Int32,`0)">
94 <summary>Inserts the specified element at the specified index in the immutable list.</summary>
95 <param name="index">The zero-based index at which to insert the value.</param>
96 <param name="element">The object to insert.</param>
97 <returns>A new immutable list that includes the specified element.</returns>
99 <member name="M:System.Collections.Immutable.IImmutableList`1.InsertRange(System.Int32,System.Collections.Generic.IEnumerable{`0})">
100 <summary>Inserts the specified elements at the specified index in the immutable list.</summary>
101 <param name="index">The zero-based index at which the new elements should be inserted.</param>
102 <param name="items">The elements to insert.</param>
103 <returns>A new immutable list that includes the specified elements.</returns>
105 <member name="M:System.Collections.Immutable.IImmutableList`1.LastIndexOf(`0,System.Int32,System.Int32,System.Collections.Generic.IEqualityComparer{`0})">
106 <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>
107 <param name="item">The object to locate in the list. The value can be <see langword="null" /> for reference types.</param>
108 <param name="index">The zero-based starting index of the search. 0 (zero) is valid in an empty list.</param>
109 <param name="count">The number of elements in the section to search.</param>
110 <param name="equalityComparer">The equality comparer to match <paramref name="item" />.</param>
111 <returns>Returns <see cref="T:System.Int32" />.</returns>
113 <member name="M:System.Collections.Immutable.IImmutableList`1.Remove(`0,System.Collections.Generic.IEqualityComparer{`0})">
114 <summary>Removes the first occurrence of a specified object from this immutable list.</summary>
115 <param name="value">The object to remove from the list.</param>
116 <param name="equalityComparer">The equality comparer to use to locate <paramref name="value" />.</param>
117 <returns>A new list with the specified object removed.</returns>
119 <member name="M:System.Collections.Immutable.IImmutableList`1.RemoveAll(System.Predicate{`0})">
120 <summary>Removes all the elements that match the conditions defined by the specified predicate.</summary>
121 <param name="match">The delegate that defines the conditions of the elements to remove.</param>
122 <returns>A new immutable list with the elements removed.</returns>
124 <member name="M:System.Collections.Immutable.IImmutableList`1.RemoveAt(System.Int32)">
125 <summary>Removes the element at the specified index of the immutable list.</summary>
126 <param name="index">The index of the element to remove.</param>
127 <returns>A new list with the element removed.</returns>
129 <member name="M:System.Collections.Immutable.IImmutableList`1.RemoveRange(System.Collections.Generic.IEnumerable{`0},System.Collections.Generic.IEqualityComparer{`0})">
130 <summary>Removes the specified object from the list.</summary>
131 <param name="items">The objects to remove from the list.</param>
132 <param name="equalityComparer">The equality comparer to use to determine if <paramref name="items" /> match any objects in the list.</param>
133 <returns>A new immutable list with the specified objects removed, if <paramref name="items" /> matched objects in the list.</returns>
135 <member name="M:System.Collections.Immutable.IImmutableList`1.RemoveRange(System.Int32,System.Int32)">
136 <summary>Removes a range of elements from the <see cref="T:System.Collections.Immutable.IImmutableList`1" />.</summary>
137 <param name="index">The zero-based starting index of the range of elements to remove.</param>
138 <param name="count">The number of elements to remove.</param>
139 <returns>A new immutable list with the elements removed.</returns>
141 <member name="M:System.Collections.Immutable.IImmutableList`1.Replace(`0,`0,System.Collections.Generic.IEqualityComparer{`0})">
142 <summary>Returns a new list with the first matching element in the list replaced with the specified element.</summary>
143 <param name="oldValue">The element to be replaced.</param>
144 <param name="newValue">The element to replace the first occurrence of <paramref name="oldValue" /> with.</param>
145 <param name="equalityComparer">The equality comparer to use for matching <paramref name="oldValue" />.</param>
146 <exception cref="T:System.ArgumentException">
147 <paramref name="oldValue" /> does not exist in the list.</exception>
148 <returns>A new list that contains <paramref name="newValue" />, even if <paramref name="oldvalue" /> is the same as <paramref name="newValue" />.</returns>
150 <member name="M:System.Collections.Immutable.IImmutableList`1.SetItem(System.Int32,`0)">
151 <summary>Replaces an element in the list at a given position with the specified element.</summary>
152 <param name="index">The position in the list of the element to replace.</param>
153 <param name="value">The element to replace the old element with.</param>
154 <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>
156 <member name="T:System.Collections.Immutable.IImmutableQueue`1">
157 <summary>Represents an immutable first-in, first-out collection of objects.
159 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
160 <typeparam name="T">The type of elements in the queue.</typeparam>
162 <member name="M:System.Collections.Immutable.IImmutableQueue`1.Clear">
163 <summary>Returns a new queue with all the elements removed.</summary>
164 <returns>An empty immutable queue.</returns>
166 <member name="M:System.Collections.Immutable.IImmutableQueue`1.Dequeue">
167 <summary>Removes the first element in the immutable queue, and returns the new queue.</summary>
168 <exception cref="T:System.InvalidOperationException">The queue is empty.</exception>
169 <returns>The new immutable queue with the first element removed. This value is never <see langword="null" />.</returns>
171 <member name="M:System.Collections.Immutable.IImmutableQueue`1.Enqueue(`0)">
172 <summary>Adds an element to the end of the immutable queue, and returns the new queue.</summary>
173 <param name="value">The element to add.</param>
174 <returns>The new immutable queue with the specified element added.</returns>
176 <member name="M:System.Collections.Immutable.IImmutableQueue`1.Peek">
177 <summary>Returns the element at the beginning of the immutable queue without removing it.</summary>
178 <exception cref="T:System.InvalidOperationException">The queue is empty.</exception>
179 <returns>The element at the beginning of the queue.</returns>
181 <member name="P:System.Collections.Immutable.IImmutableQueue`1.IsEmpty">
182 <summary>Gets a value that indicates whether this immutable queue is empty.</summary>
184 <see langword="true" /> if this queue is empty; otherwise, <see langword="false" />.</returns>
186 <member name="T:System.Collections.Immutable.IImmutableSet`1">
187 <summary>Represents a set of elements that can only be modified by creating a new instance of the set.
189 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
190 <typeparam name="T">The type of element stored in the set.</typeparam>
192 <member name="M:System.Collections.Immutable.IImmutableSet`1.Add(`0)">
193 <summary>Adds the specified element to this immutable set.</summary>
194 <param name="value">The element to add.</param>
195 <returns>A new set with the element added, or this set if the element is already in the set.</returns>
197 <member name="M:System.Collections.Immutable.IImmutableSet`1.Clear">
198 <summary>Retrieves an empty immutable set that has the same sorting and ordering semantics as this instance.</summary>
199 <returns>An empty set that has the same sorting and ordering semantics as this instance.</returns>
201 <member name="M:System.Collections.Immutable.IImmutableSet`1.Contains(`0)">
202 <summary>Determines whether this immutable set contains a specified element.</summary>
203 <param name="value">The element to locate in the set.</param>
205 <see langword="true" /> if the set contains the specified value; otherwise, <see langword="false" />.</returns>
207 <member name="M:System.Collections.Immutable.IImmutableSet`1.Except(System.Collections.Generic.IEnumerable{`0})">
208 <summary>Removes the elements in the specified collection from the current immutable set.</summary>
209 <param name="other">The collection of items to remove from this set.</param>
210 <returns>A new set with the items removed; or the original set if none of the items were in the set.</returns>
212 <member name="M:System.Collections.Immutable.IImmutableSet`1.Intersect(System.Collections.Generic.IEnumerable{`0})">
213 <summary>Creates an immutable set that contains only elements that exist in this set and the specified set.</summary>
214 <param name="other">The collection to compare to the current <see cref="T:System.Collections.Immutable.IImmutableSet`1" />.</param>
215 <returns>A new immutable set that contains elements that exist in both sets.</returns>
217 <member name="M:System.Collections.Immutable.IImmutableSet`1.IsProperSubsetOf(System.Collections.Generic.IEnumerable{`0})">
218 <summary>Determines whether the current immutable set is a proper (strict) subset of the specified collection.</summary>
219 <param name="other">The collection to compare to the current set.</param>
221 <see langword="true" /> if the current set is a proper subset of the specified collection; otherwise, <see langword="false" />.</returns>
223 <member name="M:System.Collections.Immutable.IImmutableSet`1.IsProperSupersetOf(System.Collections.Generic.IEnumerable{`0})">
224 <summary>Determines whether the current immutable set is a proper (strict) superset of the specified collection.</summary>
225 <param name="other">The collection to compare to the current set.</param>
227 <see langword="true" /> if the current set is a proper superset of the specified collection; otherwise, <see langword="false" />.</returns>
229 <member name="M:System.Collections.Immutable.IImmutableSet`1.IsSubsetOf(System.Collections.Generic.IEnumerable{`0})">
230 <summary>Determines whether the current immutable set is a subset of a specified collection.</summary>
231 <param name="other">The collection to compare to the current set.</param>
233 <see langword="true" /> if the current set is a subset of the specified collection; otherwise, <see langword="false" />.</returns>
235 <member name="M:System.Collections.Immutable.IImmutableSet`1.IsSupersetOf(System.Collections.Generic.IEnumerable{`0})">
236 <summary>Determines whether the current immutable set is a superset of a specified collection.</summary>
237 <param name="other">The collection to compare to the current set.</param>
239 <see langword="true" /> if the current set is a superset of the specified collection; otherwise, <see langword="false" />.</returns>
241 <member name="M:System.Collections.Immutable.IImmutableSet`1.Overlaps(System.Collections.Generic.IEnumerable{`0})">
242 <summary>Determines whether the current immutable set overlaps with the specified collection.</summary>
243 <param name="other">The collection to compare to the current set.</param>
245 <see langword="true" /> if the current set and the specified collection share at least one common element; otherwise, <see langword="false" />.</returns>
247 <member name="M:System.Collections.Immutable.IImmutableSet`1.Remove(`0)">
248 <summary>Removes the specified element from this immutable set.</summary>
249 <param name="value">The element to remove.</param>
250 <returns>A new set with the specified element removed, or the current set if the element cannot be found in the set.</returns>
252 <member name="M:System.Collections.Immutable.IImmutableSet`1.SetEquals(System.Collections.Generic.IEnumerable{`0})">
253 <summary>Determines whether the current immutable set and the specified collection contain the same elements.</summary>
254 <param name="other">The collection to compare to the current set.</param>
256 <see langword="true" /> if the sets are equal; otherwise, <see langword="false" />.</returns>
258 <member name="M:System.Collections.Immutable.IImmutableSet`1.SymmetricExcept(System.Collections.Generic.IEnumerable{`0})">
259 <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>
260 <param name="other">The collection to compare to the current set.</param>
261 <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>
263 <member name="M:System.Collections.Immutable.IImmutableSet`1.TryGetValue(`0,`0@)">
264 <summary>Determines whether the set contains a specified value.</summary>
265 <param name="equalValue">The value to search for.</param>
266 <param name="actualValue">The matching value from the set, if found, or <c>equalvalue</c> if there are no matches.</param>
268 <see langword="true" /> if a matching value was found; otherwise, <see langword="false" />.</returns>
270 <member name="M:System.Collections.Immutable.IImmutableSet`1.Union(System.Collections.Generic.IEnumerable{`0})">
271 <summary>Creates a new immutable set that contains all elements that are present in either the current set or in the specified collection.</summary>
272 <param name="other">The collection to add elements from.</param>
273 <returns>A new immutable set with the items added; or the original set if all the items were already in the set.</returns>
275 <member name="T:System.Collections.Immutable.IImmutableStack`1">
276 <summary>Represents an immutable last-in-first-out (LIFO) collection.
278 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
279 <typeparam name="T">The type of elements in the stack.</typeparam>
281 <member name="M:System.Collections.Immutable.IImmutableStack`1.Clear">
282 <summary>Removes all objects from the immutable stack.</summary>
283 <returns>An empty immutable stack.</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 <exception cref="T:System.InvalidOperationException">The stack is empty.</exception>
288 <returns>The element at the top of the stack.</returns>
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 <exception cref="T:System.InvalidOperationException">The stack is empty.</exception>
293 <returns>The new stack; never <see langword="null" />.</returns>
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="P:System.Collections.Immutable.IImmutableStack`1.IsEmpty">
301 <summary>Gets a value that indicates whether this immutable stack is empty.</summary>
303 <see langword="true" /> if this stack is empty; otherwise,<see langword="false" />.</returns>
305 <member name="T:System.Collections.Immutable.ImmutableArray">
306 <summary>Provides methods for creating an array that is immutable; meaning it cannot be changed once it is created.
308 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
310 <member name="M:System.Collections.Immutable.ImmutableArray.BinarySearch``1(System.Collections.Immutable.ImmutableArray{``0},``0)">
311 <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>
312 <param name="array">The sorted array to search.</param>
313 <param name="value">The object to search for.</param>
314 <typeparam name="T">The type of element stored in the array.</typeparam>
315 <exception cref="T:System.InvalidOperationException">
316 <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>
317 <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>
319 <member name="M:System.Collections.Immutable.ImmutableArray.BinarySearch``1(System.Collections.Immutable.ImmutableArray{``0},``0,System.Collections.Generic.IComparer{``0})">
320 <summary>Searches a sorted immutable array for a specified element and returns the zero-based index of the element, if it's found.</summary>
321 <param name="array">The sorted array to search.</param>
322 <param name="value">The object to search for.</param>
323 <param name="comparer">The comparer implementation to use when comparing elements, or null to use the default comparer.</param>
324 <typeparam name="T">The type of element stored in the array.</typeparam>
325 <exception cref="T:System.InvalidOperationException">
326 <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>
327 <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>
329 <member name="M:System.Collections.Immutable.ImmutableArray.BinarySearch``1(System.Collections.Immutable.ImmutableArray{``0},System.Int32,System.Int32,``0)">
330 <summary>Searches a sorted immutable array for a specified element and returns the zero-based index of the element, if it's found.</summary>
331 <param name="array">The sorted array to search.</param>
332 <param name="index">The starting index of the range to search.</param>
333 <param name="length">The length of the range to search.</param>
334 <param name="value">The object to search for.</param>
335 <typeparam name="T">The type of element stored in the array.</typeparam>
336 <exception cref="T:System.InvalidOperationException">
337 <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>
338 <exception cref="T:System.ArgumentException">
339 <paramref name="index" /> and <paramref name="length" /> do not specify a valid range in <paramref name="array" />.</exception>
340 <exception cref="T:System.ArgumentOutOfRangeException">
341 <paramref name="index" /> is less than the lower bound of <paramref name="array" />.
345 <paramref name="length" /> is less than zero.</exception>
346 <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>
348 <member name="M:System.Collections.Immutable.ImmutableArray.BinarySearch``1(System.Collections.Immutable.ImmutableArray{``0},System.Int32,System.Int32,``0,System.Collections.Generic.IComparer{``0})">
349 <summary>Searches a sorted immutable array for a specified element and returns the zero-based index of the element.</summary>
350 <param name="array">The sorted array to search.</param>
351 <param name="index">The starting index of the range to search.</param>
352 <param name="length">The length of the range to search.</param>
353 <param name="value">The object to search for.</param>
354 <param name="comparer">The comparer to use when comparing elements for equality or <see langword="null" /> to use the default comparer.</param>
355 <typeparam name="T">The type of element stored in the array.</typeparam>
356 <exception cref="T:System.InvalidOperationException">
357 <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>
358 <exception cref="T:System.ArgumentException">
359 <paramref name="index" /> and <paramref name="length" /> do not specify a valid range in <paramref name="array" />.
363 <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>
364 <exception cref="T:System.ArgumentOutOfRangeException">
365 <paramref name="index" /> is less than the lower bound of <paramref name="array" />.
369 <paramref name="length" /> is less than zero.</exception>
370 <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>
372 <member name="M:System.Collections.Immutable.ImmutableArray.Create``1">
373 <summary>Creates an empty immutable array.</summary>
374 <typeparam name="T">The type of elements stored in the array.</typeparam>
375 <returns>An empty immutable array.</returns>
377 <member name="M:System.Collections.Immutable.ImmutableArray.Create``1(``0)">
378 <summary>Creates an immutable array that contains the specified object.</summary>
379 <param name="item">The object to store in the array.</param>
380 <typeparam name="T">The type of elements stored in the array.</typeparam>
381 <returns>An immutable array that contains the specified object.</returns>
383 <member name="M:System.Collections.Immutable.ImmutableArray.Create``1(``0,``0)">
384 <summary>Creates an immutable array that contains the specified objects.</summary>
385 <param name="item1">The first object to store in the array.</param>
386 <param name="item2">The second object to store in the array.</param>
387 <typeparam name="T">The type of elements stored in the array.</typeparam>
388 <returns>An immutable array that contains the specified objects.</returns>
390 <member name="M:System.Collections.Immutable.ImmutableArray.Create``1(``0,``0,``0)">
391 <summary>Creates an immutable array that contains the specified objects.</summary>
392 <param name="item1">The first object to store in the array.</param>
393 <param name="item2">The second object to store in the array.</param>
394 <param name="item3">The third object to store in the array.</param>
395 <typeparam name="T">The type of elements stored in the array.</typeparam>
396 <returns>An immutable array that contains the specified objects.</returns>
398 <member name="M:System.Collections.Immutable.ImmutableArray.Create``1(``0,``0,``0,``0)">
399 <summary>Creates an immutable array that contains the specified objects.</summary>
400 <param name="item1">The first object to store in the array.</param>
401 <param name="item2">The second object to store in the array.</param>
402 <param name="item3">The third object to store in the array.</param>
403 <param name="item4">The fourth object to store in the array.</param>
404 <typeparam name="T">The type of elements stored in the array.</typeparam>
405 <returns>An immutable array that contains the specified objects.</returns>
407 <member name="M:System.Collections.Immutable.ImmutableArray.Create``1(``0[])">
408 <summary>Creates an immutable array from the specified array of objects.</summary>
409 <param name="items">The array of objects to populate the array with.</param>
410 <typeparam name="T">The type of elements stored in the array.</typeparam>
411 <returns>An immutable array that contains the array of items.</returns>
413 <member name="M:System.Collections.Immutable.ImmutableArray.Create``1(``0[],System.Int32,System.Int32)">
414 <summary>Creates an immutable array with specified objects from another array.</summary>
415 <param name="items">The source array of objects.</param>
416 <param name="start">The index of the first element to copy from <paramref name="items" />.</param>
417 <param name="length">The number of elements from <paramref name="items" /> to include in this immutable array.</param>
418 <typeparam name="T">The type of elements stored in the array.</typeparam>
419 <returns>An immutable array that contains the specified objects from the source array.</returns>
421 <member name="M:System.Collections.Immutable.ImmutableArray.Create``1(System.Collections.Immutable.ImmutableArray{``0},System.Int32,System.Int32)">
422 <summary>Creates an immutable array with the specified objects from another immutable array.</summary>
423 <param name="items">The source array of objects.</param>
424 <param name="start">The index of the first element to copy from <paramref name="items" />.</param>
425 <param name="length">The number of elements from <paramref name="items" /> to include in this immutable array.</param>
426 <typeparam name="T">The type of elements stored in the array.</typeparam>
427 <returns>An immutable array that contains the specified objects from the source array.</returns>
429 <member name="M:System.Collections.Immutable.ImmutableArray.CreateBuilder``1">
430 <summary>Creates a mutable array that can be converted to an <see cref="T:System.Collections.Immutable.ImmutableArray" /> without allocating new memory.</summary>
431 <typeparam name="T">The type of elements stored in the builder.</typeparam>
432 <returns>A mutable array of the specified type that can be efficiently converted to an immutable array.</returns>
434 <member name="M:System.Collections.Immutable.ImmutableArray.CreateBuilder``1(System.Int32)">
435 <summary>Creates a mutable array that can be converted to an <see cref="T:System.Collections.Immutable.ImmutableArray" /> without allocating new memory.</summary>
436 <param name="initialCapacity">The initial capacity of the builder.</param>
437 <typeparam name="T">The type of elements stored in the builder.</typeparam>
438 <returns>A mutable array of the specified type that can be efficiently converted to an immutable array.</returns>
440 <member name="M:System.Collections.Immutable.ImmutableArray.CreateRange``1(System.Collections.Generic.IEnumerable{``0})">
441 <summary>Creates a new <see cref="T:System.Collections.Immutable.ImmutableArray`1" /> populated with the specified items.</summary>
442 <param name="items">The elements to add to the array.</param>
443 <typeparam name="T">The type of element stored in the array.</typeparam>
444 <returns>An immutable array that contains the specified items.</returns>
446 <member name="M:System.Collections.Immutable.ImmutableArray.CreateRange``2(System.Collections.Immutable.ImmutableArray{``0},System.Func{``0,``1})">
447 <summary>Initializes a new instance of the <see cref="T:System.Collections.Immutable.ImmutableArray`1" /> struct.</summary>
448 <param name="items">The source array to initialize the resulting array with.</param>
449 <param name="selector">The function to apply to each element from the source array.</param>
450 <typeparam name="TSource">The type of element stored in the source array.</typeparam>
451 <typeparam name="TResult">The type of element to store in the target array.</typeparam>
452 <returns>An immutable array that contains the specified items.</returns>
454 <member name="M:System.Collections.Immutable.ImmutableArray.CreateRange``2(System.Collections.Immutable.ImmutableArray{``0},System.Int32,System.Int32,System.Func{``0,``1})">
455 <summary>Initializes a new instance of the <see cref="T:System.Collections.Immutable.ImmutableArray`1" /> struct.</summary>
456 <param name="items">The source array to initialize the resulting array with.</param>
457 <param name="start">The index of the first element in the source array to include in the resulting array.</param>
458 <param name="length">The number of elements from the source array to include in the resulting array.</param>
459 <param name="selector">The function to apply to each element from the source array included in the resulting array.</param>
460 <typeparam name="TSource">The type of element stored in the source array.</typeparam>
461 <typeparam name="TResult">The type of element to store in the target array.</typeparam>
462 <returns>An immutable array that contains the specified items.</returns>
464 <member name="M:System.Collections.Immutable.ImmutableArray.CreateRange``3(System.Collections.Immutable.ImmutableArray{``0},System.Func{``0,``1,``2},``1)">
465 <summary>Initializes a new instance of the <see cref="T:System.Collections.Immutable.ImmutableArray`1" /> struct.</summary>
466 <param name="items">The source array to initialize the resulting array with.</param>
467 <param name="selector">The function to apply to each element from the source array.</param>
468 <param name="arg">An argument to be passed to the selector mapping function.</param>
469 <typeparam name="TSource">The type of element stored in the source array.</typeparam>
470 <typeparam name="TArg">The type of argument to pass to the selector mapping function.</typeparam>
471 <typeparam name="TResult">The type of element to store in the target array.</typeparam>
472 <returns>An immutable array that contains the specified items.</returns>
474 <member name="M:System.Collections.Immutable.ImmutableArray.CreateRange``3(System.Collections.Immutable.ImmutableArray{``0},System.Int32,System.Int32,System.Func{``0,``1,``2},``1)">
475 <summary>Initializes a new instance of the <see cref="T:System.Collections.Immutable.ImmutableArray`1" /> struct.</summary>
476 <param name="items">The source array to initialize the resulting array with.</param>
477 <param name="start">The index of the first element in the source array to include in the resulting array.</param>
478 <param name="length">The number of elements from the source array to include in the resulting array.</param>
479 <param name="selector">The function to apply to each element from the source array included in the resulting array.</param>
480 <param name="arg">An argument to be passed to the selector mapping function.</param>
481 <typeparam name="TSource">The type of element stored in the source array.</typeparam>
482 <typeparam name="TArg">The type of argument to be passed to the selector mapping function.</typeparam>
483 <typeparam name="TResult">The type of element to be stored in the target array.</typeparam>
484 <returns>An immutable array that contains the specified items.</returns>
486 <member name="M:System.Collections.Immutable.ImmutableArray.ToImmutableArray``1(System.Collections.Generic.IEnumerable{``0})">
487 <summary>Creates an immutable array from the specified collection.</summary>
488 <param name="items">The collection of objects to copy to the immutable array.</param>
489 <typeparam name="TSource">The type of elements contained in <paramref name="items" />.</typeparam>
490 <returns>An immutable array that contains the specified collection of objects.</returns>
492 <member name="M:System.Collections.Immutable.ImmutableArray.ToImmutableArray``1(System.Collections.Immutable.ImmutableArray{``0}.Builder)">
493 <summary>Creates an immutable array from the current contents of the builder's array.</summary>
494 <param name="builder">The builder to create the immutable array from.</param>
495 <typeparam name="TSource">The type of elements contained in the immutable array.</typeparam>
496 <returns>An immutable array that contains the current contents of the builder's array.</returns>
498 <member name="T:System.Collections.Immutable.ImmutableArray`1">
499 <summary>Represents an array that is immutable; meaning it cannot be changed once it is created.
501 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
502 <typeparam name="T">The type of element stored by the array.</typeparam>
504 <member name="F:System.Collections.Immutable.ImmutableArray`1.Empty">
505 <summary>Gets an empty immutable array.</summary>
507 <member name="M:System.Collections.Immutable.ImmutableArray`1.Add(`0)">
508 <summary>Returns a copy of the original array with the specified item added to the end.</summary>
509 <param name="item">The item to be added to the end of the array.</param>
510 <returns>A new array with the specified item added to the end.</returns>
512 <member name="M:System.Collections.Immutable.ImmutableArray`1.AddRange(System.Collections.Generic.IEnumerable{`0})">
513 <summary>Returns a copy of the original array with the specified elements added to the end of the array.</summary>
514 <param name="items">The elements to add to the array.</param>
515 <returns>A new array with the elements added.</returns>
517 <member name="M:System.Collections.Immutable.ImmutableArray`1.AddRange(System.Collections.Immutable.ImmutableArray{`0})">
518 <summary>Returns a copy of the original array with the specified elements added to the end of the array.</summary>
519 <param name="items">The elements to add to the array.</param>
520 <returns>A new array with the elements added.</returns>
522 <member name="M:System.Collections.Immutable.ImmutableArray`1.As``1">
523 <summary>Returns a new immutable array that contains the elements of this array cast to a different type.</summary>
524 <typeparam name="TOther">The type of array element to return.</typeparam>
525 <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>
527 <member name="M:System.Collections.Immutable.ImmutableArray`1.AsMemory">
528 <summary>Creates a new read-only memory region over this immutable array.</summary>
529 <returns>The read-only memory representation of this immutable array.</returns>
531 <member name="M:System.Collections.Immutable.ImmutableArray`1.AsSpan">
532 <summary>Creates a new read-only span over this immutable array.</summary>
533 <returns>The read-only span representation of this immutable array.</returns>
535 <member name="M:System.Collections.Immutable.ImmutableArray`1.CastArray``1">
536 <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>
537 <typeparam name="TOther">The type of array element to return.</typeparam>
538 <exception cref="T:System.InvalidCastException">Thrown if the cast is illegal.</exception>
539 <returns>An immutable array instance with elements cast to the new type.</returns>
541 <member name="M:System.Collections.Immutable.ImmutableArray`1.CastUp``1(System.Collections.Immutable.ImmutableArray{``0})">
542 <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>
543 <param name="items">The array to initialize the array with. No copy is made.</param>
544 <typeparam name="TDerived">The type of array element to return.</typeparam>
545 <returns>An immutable array instance with elements cast to the new type.</returns>
547 <member name="M:System.Collections.Immutable.ImmutableArray`1.Clear">
548 <summary>Returns an array with all the elements removed.</summary>
549 <returns>An array with all of the elements removed.</returns>
551 <member name="M:System.Collections.Immutable.ImmutableArray`1.Contains(`0)">
552 <summary>Determines whether the specified item exists in the array.</summary>
553 <param name="item">The item to search for.</param>
555 <see langword="true" /> if the specified item was found in the array; otherwise <see langword="false" />.</returns>
557 <member name="M:System.Collections.Immutable.ImmutableArray`1.CopyTo(`0[])">
558 <summary>Copies the contents of this array to the specified array.</summary>
559 <param name="destination">The array to copy to.</param>
561 <member name="M:System.Collections.Immutable.ImmutableArray`1.CopyTo(`0[],System.Int32)">
562 <summary>Copies the contents of this array to the specified array starting at the specified destination index.</summary>
563 <param name="destination">The array to copy to.</param>
564 <param name="destinationIndex">The index in <paramref name="array" /> where copying begins.</param>
566 <member name="M:System.Collections.Immutable.ImmutableArray`1.CopyTo(System.Int32,`0[],System.Int32,System.Int32)">
567 <summary>Copies the specified items in this array to the specified array at the specified starting index.</summary>
568 <param name="sourceIndex">The index of this array where copying begins.</param>
569 <param name="destination">The array to copy to.</param>
570 <param name="destinationIndex">The index in <paramref name="array" /> where copying begins.</param>
571 <param name="length">The number of elements to copy from this array.</param>
573 <member name="M:System.Collections.Immutable.ImmutableArray`1.Equals(System.Collections.Immutable.ImmutableArray{`0})">
574 <summary>Indicates whether specified array is equal to this array.</summary>
575 <param name="other">An object to compare with this object.</param>
577 <see langword="true" /> if <paramref name="other" /> is equal to this array; otherwise, <see langword="false" />.</returns>
579 <member name="M:System.Collections.Immutable.ImmutableArray`1.Equals(System.Object)">
580 <summary>Determines if this array is equal to the specified object.</summary>
581 <param name="obj">The <see cref="T:System.Object" /> to compare with this array.</param>
583 <see langword="true" /> if this array is equal to <paramref name="obj" />; otherwise, <see langword="false" />.</returns>
585 <member name="M:System.Collections.Immutable.ImmutableArray`1.GetEnumerator">
586 <summary>Returns an enumerator that iterates through the contents of the array.</summary>
587 <returns>An enumerator.</returns>
589 <member name="M:System.Collections.Immutable.ImmutableArray`1.GetHashCode">
590 <summary>Returns a hash code for this instance.</summary>
591 <returns>A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.</returns>
593 <member name="M:System.Collections.Immutable.ImmutableArray`1.IndexOf(`0)">
594 <summary>Searches the array for the specified item.</summary>
595 <param name="item">The item to search for.</param>
596 <returns>The zero-based index position of the item if it is found, or -1 if it is not.</returns>
598 <member name="M:System.Collections.Immutable.ImmutableArray`1.IndexOf(`0,System.Int32)">
599 <summary>Searches the array for the specified item.</summary>
600 <param name="item">The item to search for.</param>
601 <param name="startIndex">The index at which to begin the search.</param>
602 <returns>The zero-based index position of the item if it is found, or -1 if it is not.</returns>
604 <member name="M:System.Collections.Immutable.ImmutableArray`1.IndexOf(`0,System.Int32,System.Collections.Generic.IEqualityComparer{`0})">
605 <summary>Searches the array for the specified item.</summary>
606 <param name="item">The item to search for.</param>
607 <param name="startIndex">The index at which to begin the search.</param>
608 <param name="equalityComparer">The equality comparer to use in the search.</param>
609 <returns>The zero-based index position of the item if it is found, or -1 if it is not.</returns>
611 <member name="M:System.Collections.Immutable.ImmutableArray`1.IndexOf(`0,System.Int32,System.Int32)">
612 <summary>Searches the array for the specified item.</summary>
613 <param name="item">The item to search for.</param>
614 <param name="startIndex">The index at which to begin the search.</param>
615 <param name="count">The number of elements to search.</param>
616 <returns>The zero-based index position of the item if it is found, or -1 if it is not.</returns>
618 <member name="M:System.Collections.Immutable.ImmutableArray`1.IndexOf(`0,System.Int32,System.Int32,System.Collections.Generic.IEqualityComparer{`0})">
619 <summary>Searches the array for the specified item.</summary>
620 <param name="item">The item to search for.</param>
621 <param name="startIndex">The index at which to begin the search.</param>
622 <param name="count">The number of elements to search.</param>
623 <param name="equalityComparer">The equality comparer to use in the search.</param>
624 <returns>The zero-based index position of the item if it is found, or -1 if it is not.</returns>
626 <member name="M:System.Collections.Immutable.ImmutableArray`1.Insert(System.Int32,`0)">
627 <summary>Returns a new array with the specified value inserted at the specified position.</summary>
628 <param name="index">The 0-based index into the array at which the new item should be added.</param>
629 <param name="item">The item to insert at the start of the array.</param>
630 <returns>A new array with the item inserted at the specified index.</returns>
632 <member name="M:System.Collections.Immutable.ImmutableArray`1.InsertRange(System.Int32,System.Collections.Generic.IEnumerable{`0})">
633 <summary>Inserts the specified values at the specified index.</summary>
634 <param name="index">The index at which to insert the value.</param>
635 <param name="items">The elements to insert.</param>
636 <returns>A new immutable array with the items inserted at the specified index.</returns>
638 <member name="M:System.Collections.Immutable.ImmutableArray`1.InsertRange(System.Int32,System.Collections.Immutable.ImmutableArray{`0})">
639 <summary>Inserts the specified values at the specified index.</summary>
640 <param name="index">The index at which to insert the value.</param>
641 <param name="items">The elements to insert.</param>
642 <returns>A new immutable array with the items inserted at the specified index.</returns>
644 <member name="M:System.Collections.Immutable.ImmutableArray`1.ItemRef(System.Int32)">
645 <summary>Gets a read-only reference to the element at the specified <paramref name="index" /> in the read-only list.</summary>
646 <param name="index">The zero-based index of the element to get a reference to.</param>
647 <returns>A read-only reference to the element at the specified <paramref name="index" /> in the read-only list.</returns>
649 <member name="M:System.Collections.Immutable.ImmutableArray`1.LastIndexOf(`0)">
650 <summary>Searches the array for the specified item; starting at the end of the array.</summary>
651 <param name="item">The item to search for.</param>
652 <returns>The 0-based index into the array where the item was found; or -1 if it could not be found.</returns>
654 <member name="M:System.Collections.Immutable.ImmutableArray`1.LastIndexOf(`0,System.Int32)">
655 <summary>Searches the array for the specified item; starting at the end of the array.</summary>
656 <param name="item">The item to search for.</param>
657 <param name="startIndex">The index at which to begin the search.</param>
658 <returns>The 0-based index into the array where the item was found; or -1 if it could not be found.</returns>
660 <member name="M:System.Collections.Immutable.ImmutableArray`1.LastIndexOf(`0,System.Int32,System.Int32)">
661 <summary>Searches the array for the specified item; starting at the end of the array.</summary>
662 <param name="item">The item to search for.</param>
663 <param name="startIndex">The index at which to begin the search.</param>
664 <param name="count">The number of elements to search.</param>
665 <returns>The 0-based index into the array where the item was found; or -1 if it could not be found.</returns>
667 <member name="M:System.Collections.Immutable.ImmutableArray`1.LastIndexOf(`0,System.Int32,System.Int32,System.Collections.Generic.IEqualityComparer{`0})">
668 <summary>Searches the array for the specified item; starting at the end of the array.</summary>
669 <param name="item">The item to search for.</param>
670 <param name="startIndex">The index at which to begin the search.</param>
671 <param name="count">The number of elements to search.</param>
672 <param name="equalityComparer">The equality comparer to use in the search.</param>
673 <returns>The 0-based index into the array where the item was found; or -1 if it could not be found.</returns>
675 <member name="M:System.Collections.Immutable.ImmutableArray`1.OfType``1">
676 <summary>Filters the elements of this array to those assignable to the specified type.</summary>
677 <typeparam name="TResult">The type to filter the elements of the sequence on.</typeparam>
678 <returns>An <see cref="T:System.Collections.IEnumerable" /> that contains elements from the input sequence of type of <paramref name="TResult" />.</returns>
680 <member name="M:System.Collections.Immutable.ImmutableArray`1.op_Equality(System.Collections.Immutable.ImmutableArray{`0},System.Collections.Immutable.ImmutableArray{`0})">
681 <summary>Returns a value that indicates if two arrays are equal.</summary>
682 <param name="left">The array to the left of the operator.</param>
683 <param name="right">The array to the right of the operator.</param>
685 <see langword="true" /> if the arrays are equal; otherwise, <see langword="false" />.</returns>
687 <member name="M:System.Collections.Immutable.ImmutableArray`1.op_Equality(System.Nullable{System.Collections.Immutable.ImmutableArray{`0}},System.Nullable{System.Collections.Immutable.ImmutableArray{`0}})">
688 <summary>Returns a value that indicates if two arrays are equal.</summary>
689 <param name="left">The array to the left of the operator.</param>
690 <param name="right">The array to the right of the operator.</param>
692 <see langword="true" /> if the arrays are equal; otherwise, <see langword="false" />.</returns>
694 <member name="M:System.Collections.Immutable.ImmutableArray`1.op_Inequality(System.Collections.Immutable.ImmutableArray{`0},System.Collections.Immutable.ImmutableArray{`0})">
695 <summary>Returns a value that indicates whether two arrays are not equal.</summary>
696 <param name="left">The array to the left of the operator.</param>
697 <param name="right">The array to the right of the operator.</param>
699 <see langword="true" /> if the arrays are not equal; otherwise, <see langword="false" />.</returns>
701 <member name="M:System.Collections.Immutable.ImmutableArray`1.op_Inequality(System.Nullable{System.Collections.Immutable.ImmutableArray{`0}},System.Nullable{System.Collections.Immutable.ImmutableArray{`0}})">
702 <summary>Checks for inequality between two array.</summary>
703 <param name="left">The object to the left of the operator.</param>
704 <param name="right">The object to the right of the operator.</param>
706 <see langword="true" /> if the two arrays are not equal; otherwise, <see langword="false" />.</returns>
708 <member name="M:System.Collections.Immutable.ImmutableArray`1.Remove(`0)">
709 <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>
710 <param name="item">The item to remove.</param>
711 <returns>A new array with the item removed.</returns>
713 <member name="M:System.Collections.Immutable.ImmutableArray`1.Remove(`0,System.Collections.Generic.IEqualityComparer{`0})">
714 <summary>Returns an array with the first occurrence of the specified element removed from the array.
716 If no match is found, the current array is returned.</summary>
717 <param name="item">The item to remove.</param>
718 <param name="equalityComparer">The equality comparer to use in the search.</param>
719 <returns>A new array with the specified item removed.</returns>
721 <member name="M:System.Collections.Immutable.ImmutableArray`1.RemoveAll(System.Predicate{`0})">
722 <summary>Removes all the items from the array that meet the specified condition.</summary>
723 <param name="match">The delegate that defines the conditions of the elements to remove.</param>
724 <returns>A new array with items that meet the specified condition removed.</returns>
726 <member name="M:System.Collections.Immutable.ImmutableArray`1.RemoveAt(System.Int32)">
727 <summary>Returns an array with the element at the specified position removed.</summary>
728 <param name="index">The 0-based index of the element to remove from the returned array.</param>
729 <returns>A new array with the item at the specified index removed.</returns>
731 <member name="M:System.Collections.Immutable.ImmutableArray`1.RemoveRange(System.Collections.Generic.IEnumerable{`0})">
732 <summary>Removes the specified items from this array.</summary>
733 <param name="items">The items to remove if matches are found in this list.</param>
734 <returns>A new array with the elements removed.</returns>
736 <member name="M:System.Collections.Immutable.ImmutableArray`1.RemoveRange(System.Collections.Generic.IEnumerable{`0},System.Collections.Generic.IEqualityComparer{`0})">
737 <summary>Removes the specified items from this array.</summary>
738 <param name="items">The items to remove if matches are found in this list.</param>
739 <param name="equalityComparer">The equality comparer to use in the search.</param>
740 <returns>A new array with the elements removed.</returns>
742 <member name="M:System.Collections.Immutable.ImmutableArray`1.RemoveRange(System.Collections.Immutable.ImmutableArray{`0})">
743 <summary>Removes the specified values from this list.</summary>
744 <param name="items">The items to remove if matches are found in this list.</param>
745 <returns>A new list with the elements removed.</returns>
747 <member name="M:System.Collections.Immutable.ImmutableArray`1.RemoveRange(System.Collections.Immutable.ImmutableArray{`0},System.Collections.Generic.IEqualityComparer{`0})">
748 <summary>Removes the specified items from this list.</summary>
749 <param name="items">The items to remove if matches are found in this list.</param>
750 <param name="equalityComparer">The equality comparer to use in the search.</param>
751 <returns>A new array with the elements removed.</returns>
753 <member name="M:System.Collections.Immutable.ImmutableArray`1.RemoveRange(System.Int32,System.Int32)">
754 <summary>Returns an array with the elements at the specified position removed.</summary>
755 <param name="index">The 0-based index of the starting element to remove from the array.</param>
756 <param name="length">The number of elements to remove from the array.</param>
757 <returns>The new array with the specified elements removed.</returns>
759 <member name="M:System.Collections.Immutable.ImmutableArray`1.Replace(`0,`0)">
760 <summary>Finds the first element in the array equal to the specified value and replaces the value with the specified new value.</summary>
761 <param name="oldValue">The value to find and replace in the array.</param>
762 <param name="newValue">The value to replace the <c>oldvalue</c> with.</param>
763 <exception cref="T:System.ArgumentException">
764 <paramref name="oldValue" /> is not found in the array.</exception>
765 <returns>A new array that contains <paramref name="newValue" /> even if the new and old values are the same.</returns>
767 <member name="M:System.Collections.Immutable.ImmutableArray`1.Replace(`0,`0,System.Collections.Generic.IEqualityComparer{`0})">
768 <summary>Finds the first element in the array equal to the specified value and replaces the value with the specified new value.</summary>
769 <param name="oldValue">The value to find and replace in the array.</param>
770 <param name="newValue">The value to replace the <c>oldvalue</c> with.</param>
771 <param name="equalityComparer">The equality comparer to use to compare values.</param>
772 <exception cref="T:System.ArgumentException">
773 <paramref name="oldValue" /> is not found in the array.</exception>
774 <returns>A new array that contains <paramref name="newValue" /> even if the new and old values are the same.</returns>
776 <member name="M:System.Collections.Immutable.ImmutableArray`1.SetItem(System.Int32,`0)">
777 <summary>Replaces the item at the specified index with the specified item.</summary>
778 <param name="index">The index of the item to replace.</param>
779 <param name="item">The item to add to the list.</param>
780 <returns>The new array that contains <paramref name="item" /> at the specified index.</returns>
782 <member name="M:System.Collections.Immutable.ImmutableArray`1.Sort">
783 <summary>Sorts the elements in the immutable array using the default comparer.</summary>
784 <returns>A new immutable array that contains the items in this array, in sorted order.</returns>
786 <member name="M:System.Collections.Immutable.ImmutableArray`1.Sort(System.Collections.Generic.IComparer{`0})">
787 <summary>Sorts the elements in the immutable array using the specified comparer.</summary>
788 <param name="comparer">The implementation to use when comparing elements, or <see langword="null" /> to use the default comparer.</param>
789 <returns>A new immutable array that contains the items in this array, in sorted order.</returns>
791 <member name="M:System.Collections.Immutable.ImmutableArray`1.Sort(System.Comparison{`0})">
792 <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>
793 <param name="comparison">The <see cref="T:System.Comparison`1" /> to use when comparing elements.</param>
794 <exception cref="T:System.ArgumentNullException">
795 <paramref name="comparison" /> is null.</exception>
796 <returns>The sorted list.</returns>
798 <member name="M:System.Collections.Immutable.ImmutableArray`1.Sort(System.Int32,System.Int32,System.Collections.Generic.IComparer{`0})">
799 <summary>Sorts the specified elements in the immutable array using the specified comparer.</summary>
800 <param name="index">The index of the first element to sort.</param>
801 <param name="count">The number of elements to include in the sort.</param>
802 <param name="comparer">The implementation to use when comparing elements, or <see langword="null" /> to use the default comparer.</param>
803 <returns>A new immutable array that contains the items in this array, in sorted order.</returns>
805 <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#Generic#ICollection{T}#Add(`0)">
806 <summary>Throws <see cref="T:System.NotSupportedException" /> in all cases.</summary>
807 <param name="item">The item to add to the end of the array.</param>
809 <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#Generic#ICollection{T}#Clear">
810 <summary>Throws <see cref="T:System.NotSupportedException" /> in all cases.</summary>
812 <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#Generic#ICollection{T}#Remove(`0)">
813 <summary>Throws <see cref="T:System.NotSupportedException" /> in all cases.</summary>
814 <param name="item">The object to remove from the array.</param>
815 <returns>Throws <see cref="T:System.NotSupportedException" /> in all cases.</returns>
817 <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#Generic#IEnumerable{T}#GetEnumerator">
818 <summary>Returns an enumerator that iterates through the array.</summary>
819 <exception cref="T:System.InvalidOperationException">The <see cref="P:System.Collections.Immutable.ImmutableArray`1.IsDefault" /> property returns <see langword="true" />.</exception>
820 <returns>An enumerator that can be used to iterate through the array.</returns>
822 <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#Generic#IList{T}#Insert(System.Int32,`0)">
823 <summary>Throws <see cref="T:System.NotSupportedException" /> in all cases.</summary>
824 <param name="index">The index of the location to insert the item.</param>
825 <param name="item">The item to insert.</param>
827 <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#Generic#IList{T}#RemoveAt(System.Int32)">
828 <summary>Throws <see cref="T:System.NotSupportedException" /> in all cases.</summary>
829 <param name="index">The index.</param>
831 <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#ICollection#CopyTo(System.Array,System.Int32)">
832 <summary>Copies this array to another array starting at the specified index.</summary>
833 <param name="array">The array to copy this array to.</param>
834 <param name="index">The index in the destination array to start the copy operation.</param>
836 <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#IEnumerable#GetEnumerator">
837 <summary>Returns an enumerator that iterates through the immutable array.</summary>
838 <exception cref="T:System.InvalidOperationException">The <see cref="P:System.Collections.Immutable.ImmutableArray`1.IsDefault" /> property returns <see langword="true" />.</exception>
839 <returns>An enumerator that iterates through the immutable array.</returns>
841 <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#IList#Add(System.Object)">
842 <summary>Throws <see cref="T:System.NotSupportedException" /> in all cases.</summary>
843 <param name="value">The value to add to the array.</param>
844 <exception cref="T:System.NotSupportedException">Thrown in all cases.</exception>
845 <returns>Throws <see cref="T:System.NotSupportedException" /> in all cases.</returns>
847 <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#IList#Clear">
848 <summary>Throws <see cref="T:System.NotSupportedException" /> in all cases.</summary>
849 <exception cref="T:System.NotSupportedException">Thrown in all cases.</exception>
851 <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#IList#Contains(System.Object)">
852 <summary>Throws <see cref="T:System.NotSupportedException" /> in all cases.</summary>
853 <param name="value">The value to check for.</param>
854 <returns>Throws <see cref="T:System.NotSupportedException" /> in all cases.</returns>
856 <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#IList#IndexOf(System.Object)">
857 <summary>Gets the value at the specified index.</summary>
858 <param name="value">The value to return the index of.</param>
859 <returns>The value of the element at the specified index.</returns>
861 <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#IList#Insert(System.Int32,System.Object)">
862 <summary>Throws <see cref="T:System.NotSupportedException" /> in all cases.</summary>
863 <param name="index">Index that indicates where to insert the item.</param>
864 <param name="value">The value to insert.</param>
865 <exception cref="T:System.NotSupportedException">Thrown in all cases.</exception>
867 <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#IList#Remove(System.Object)">
868 <summary>Throws <see cref="T:System.NotSupportedException" /> in all cases.</summary>
869 <param name="value">The value to remove from the array.</param>
870 <exception cref="T:System.NotSupportedException">Thrown in all cases.</exception>
872 <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#IList#RemoveAt(System.Int32)">
873 <summary>Throws <see cref="T:System.NotSupportedException" /> in all cases.</summary>
874 <param name="index">The index of the item to remove.</param>
875 <exception cref="T:System.NotSupportedException">Thrown in all cases.</exception>
877 <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#Immutable#IImmutableList{T}#Add(`0)">
878 <summary>Returns a copy of the original array with the specified item added to the end.</summary>
879 <param name="value">The value to add to the end of the array.</param>
880 <returns>A new array with the specified item added to the end.</returns>
882 <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#Immutable#IImmutableList{T}#AddRange(System.Collections.Generic.IEnumerable{`0})">
883 <summary>Returns a copy of the original array with the specified elements added to the end of the array.</summary>
884 <param name="items">The elements to add to the end of the array.</param>
885 <returns>A new array with the elements added to the end.</returns>
887 <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#Immutable#IImmutableList{T}#Clear">
888 <summary>Returns an array with all the elements removed.</summary>
889 <returns>An array with all the elements removed.</returns>
891 <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#Immutable#IImmutableList{T}#Insert(System.Int32,`0)">
892 <summary>Returns a new array with the specified value inserted at the specified position.</summary>
893 <param name="index">The 0-based index into the array at which the new item should be added.</param>
894 <param name="element">The item to insert at the start of the array.</param>
895 <returns>A new array with the specified value inserted.</returns>
897 <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#Immutable#IImmutableList{T}#InsertRange(System.Int32,System.Collections.Generic.IEnumerable{`0})">
898 <summary>Inserts the specified values at the specified index.</summary>
899 <param name="index">The index at which to insert the value.</param>
900 <param name="items">The elements to insert.</param>
901 <returns>A new array with the specified values inserted.</returns>
903 <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#Immutable#IImmutableList{T}#Remove(`0,System.Collections.Generic.IEqualityComparer{`0})">
904 <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>
905 <param name="value">The value to remove from the array.</param>
906 <param name="equalityComparer">The equality comparer to use in the search.</param>
907 <returns>A new array with the value removed.</returns>
909 <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#Immutable#IImmutableList{T}#RemoveAll(System.Predicate{`0})">
910 <summary>Removes all the items from the array that meet the specified condition.</summary>
911 <param name="match">The delegate that defines the conditions of the elements to remove.</param>
912 <returns>A new array with items that meet the specified condition removed.</returns>
914 <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#Immutable#IImmutableList{T}#RemoveAt(System.Int32)">
915 <summary>Returns an array with the element at the specified position removed.</summary>
916 <param name="index">The 0-based index of the element to remove from the returned array.</param>
917 <returns>A new array with the specified item removed.</returns>
919 <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#Immutable#IImmutableList{T}#RemoveRange(System.Collections.Generic.IEnumerable{`0},System.Collections.Generic.IEqualityComparer{`0})">
920 <summary>Removes the specified items from this array.</summary>
921 <param name="items">The items to remove if matches are found in this list.</param>
922 <param name="equalityComparer">The equality comparer to use in the search.</param>
923 <returns>A new array with the elements removed.</returns>
925 <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#Immutable#IImmutableList{T}#RemoveRange(System.Int32,System.Int32)">
926 <summary>Returns an array with the elements at the specified position removed.</summary>
927 <param name="index">The 0-based index of the starting element to remove from the array.</param>
928 <param name="count">The number of elements to remove from the array.</param>
929 <returns>The new array with the specified elements removed.</returns>
931 <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#Immutable#IImmutableList{T}#Replace(`0,`0,System.Collections.Generic.IEqualityComparer{`0})">
932 <summary>Finds the first element in the array equal to the specified value and replaces the value with the specified new value.</summary>
933 <param name="oldValue">The value to find and replace in the array.</param>
934 <param name="newValue">The value to replace the <c>oldvalue</c> with.</param>
935 <param name="equalityComparer">The equality comparer to use to compare values.</param>
936 <exception cref="T:System.ArgumentException">
937 <paramref name="oldValue" /> is not found in the array.</exception>
938 <returns>A new array that contains <paramref name="newValue" /> even if the new and old values are the same.</returns>
940 <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#Immutable#IImmutableList{T}#SetItem(System.Int32,`0)">
941 <summary>Replaces the item at the specified index with the specified item.</summary>
942 <param name="index">The index of the item to replace.</param>
943 <param name="value">The value to add to the list.</param>
944 <returns>The new array that contains <paramref name="item" /> at the specified index.</returns>
946 <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#IStructuralComparable#CompareTo(System.Object,System.Collections.IComparer)">
947 <summary>Determines whether the current collection element precedes, occurs in the same position as, or follows another element in the sort order.</summary>
948 <param name="other">The element to compare with the current instance.</param>
949 <param name="comparer">The object used to compare members of the current array with the corresponding members of other array.</param>
950 <exception cref="T:System.ArgumentException">The arrays are not the same length.</exception>
951 <returns>An integer that indicates whether the current element precedes, is in the same position or follows the other element.</returns>
953 <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#IStructuralEquatable#Equals(System.Object,System.Collections.IEqualityComparer)">
954 <summary>Determines whether this array is structurally equal to the specified array.</summary>
955 <param name="other">The array to compare with the current instance.</param>
956 <param name="comparer">An object that determines whether the current instance and other are structurally equal.</param>
958 <see langword="true" /> if the two arrays are structurally equal; otherwise, <see langword="false" />.</returns>
960 <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#IStructuralEquatable#GetHashCode(System.Collections.IEqualityComparer)">
961 <summary>Returns a hash code for the current instance.</summary>
962 <param name="comparer">An object that computes the hash code of the current object.</param>
963 <returns>The hash code for the current instance.</returns>
965 <member name="M:System.Collections.Immutable.ImmutableArray`1.ToBuilder">
966 <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>
967 <returns>The new builder with the same contents as this array.</returns>
969 <member name="P:System.Collections.Immutable.ImmutableArray`1.IsDefault">
970 <summary>Gets a value indicating whether this array was declared but not initialized.</summary>
972 <see langword="true" /> if the <see cref="T:System.Collections.Immutable.ImmutableArray`1" /> is <see langword="null" />; otherwise, <see langword="false" />.</returns>
974 <member name="P:System.Collections.Immutable.ImmutableArray`1.IsDefaultOrEmpty">
975 <summary>Gets a value indicating whether this <see cref="T:System.Collections.Immutable.ImmutableArray`1" /> is empty or is not initialized.</summary>
977 <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>
979 <member name="P:System.Collections.Immutable.ImmutableArray`1.IsEmpty">
980 <summary>Gets a value indicating whether this <see cref="T:System.Collections.Immutable.ImmutableArray`1" /> is empty.</summary>
982 <see langword="true" /> if the <see cref="T:System.Collections.Immutable.ImmutableArray`1" /> is empty; otherwise, <see langword="false" />.</returns>
984 <member name="P:System.Collections.Immutable.ImmutableArray`1.Item(System.Int32)">
985 <summary>Gets the element at the specified index in the immutable array.</summary>
986 <param name="index">The zero-based index of the element to get.</param>
987 <returns>The element at the specified index in the immutable array.</returns>
989 <member name="P:System.Collections.Immutable.ImmutableArray`1.Length">
990 <summary>Gets the number of elements in the array.</summary>
991 <returns>The number of elements in the array.</returns>
993 <member name="P:System.Collections.Immutable.ImmutableArray`1.System#Collections#Generic#ICollection{T}#Count">
994 <summary>Gets the number of items in the collection.</summary>
995 <exception cref="T:System.InvalidOperationException">Thrown if the <see cref="P:System.Collections.Immutable.ImmutableArray`1.IsDefault" /> property returns true.</exception>
996 <returns>Number of items in the collection.</returns>
998 <member name="P:System.Collections.Immutable.ImmutableArray`1.System#Collections#Generic#ICollection{T}#IsReadOnly">
999 <summary>Gets a value indicating whether this instance is read only.</summary>
1001 <see langword="true" /> if this instance is read only; otherwise, <see langword="false" />.</returns>
1003 <member name="P:System.Collections.Immutable.ImmutableArray`1.System#Collections#Generic#IList{T}#Item(System.Int32)">
1004 <summary>Gets or sets the element at the specified index in the read-only list.</summary>
1005 <param name="index">The zero-based index of the element to get.</param>
1006 <exception cref="T:System.NotSupportedException">Always thrown from the setter.</exception>
1007 <exception cref="T:System.InvalidOperationException">Thrown if the <see cref="P:System.Collections.Immutable.ImmutableArray`1.IsDefault" /> property returns true.</exception>
1008 <returns>The element at the specified index in the read-only list.</returns>
1010 <member name="P:System.Collections.Immutable.ImmutableArray`1.System#Collections#Generic#IReadOnlyCollection{T}#Count">
1011 <summary>Gets the number of items in the collection.</summary>
1012 <exception cref="T:System.InvalidOperationException">Thrown if the <see cref="P:System.Collections.Immutable.ImmutableArray`1.IsDefault" /> property returns true.</exception>
1013 <returns>The number of items in the collection.</returns>
1015 <member name="P:System.Collections.Immutable.ImmutableArray`1.System#Collections#Generic#IReadOnlyList{T}#Item(System.Int32)">
1016 <summary>Gets the element at the specified index.</summary>
1017 <param name="index">The index.</param>
1018 <exception cref="T:System.InvalidOperationException">Thrown if the <see cref="P:System.Collections.Immutable.ImmutableArray`1.IsDefault" /> property returns true.</exception>
1019 <returns>The element.</returns>
1021 <member name="P:System.Collections.Immutable.ImmutableArray`1.System#Collections#ICollection#Count">
1022 <summary>Gets the size of the array.</summary>
1023 <exception cref="T:System.InvalidOperationException">Thrown if the <see cref="P:System.Collections.Immutable.ImmutableArray`1.IsDefault" /> property returns true.</exception>
1024 <returns>The number of items in the collection.</returns>
1026 <member name="P:System.Collections.Immutable.ImmutableArray`1.System#Collections#ICollection#IsSynchronized">
1027 <summary>See the <see cref="T:System.Collections.ICollection" /> interface. Always returns <see langword="true" /> since since immutable collections are thread-safe.</summary>
1028 <returns>Boolean value determining whether the collection is thread-safe.</returns>
1030 <member name="P:System.Collections.Immutable.ImmutableArray`1.System#Collections#ICollection#SyncRoot">
1031 <summary>Gets the sync root.</summary>
1032 <returns>An object for synchronizing access to the collection.</returns>
1034 <member name="P:System.Collections.Immutable.ImmutableArray`1.System#Collections#IList#IsFixedSize">
1035 <summary>Gets a value indicating whether this instance is fixed size.</summary>
1037 <see langword="true" /> if this instance is fixed size; otherwise, <see langword="false" />.</returns>
1039 <member name="P:System.Collections.Immutable.ImmutableArray`1.System#Collections#IList#IsReadOnly">
1040 <summary>Gets a value indicating whether this instance is read only.</summary>
1042 <see langword="true" /> if this instance is read only; otherwise, <see langword="false" />.</returns>
1044 <member name="P:System.Collections.Immutable.ImmutableArray`1.System#Collections#IList#Item(System.Int32)">
1045 <summary>Gets or sets the <see cref="T:System.Object" /> at the specified index.</summary>
1046 <param name="index">The index.</param>
1047 <exception cref="T:System.NotSupportedException">Always thrown from the setter.</exception>
1048 <exception cref="T:System.InvalidOperationException">Thrown if the <see cref="P:System.Collections.Immutable.ImmutableArray`1.IsDefault" /> property returns true.</exception>
1049 <returns>The object at the specified index.</returns>
1051 <member name="T:System.Collections.Immutable.ImmutableArray`1.Builder">
1052 <summary>A writable array accessor that can be converted into an <see cref="T:System.Collections.Immutable.ImmutableArray`1" /> instance without allocating extra memory.
1054 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
1055 <typeparam name="T" />
1057 <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.Add(`0)">
1058 <summary>Adds the specified item to the array.</summary>
1059 <param name="item">The object to add to the array.</param>
1061 <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.AddRange(`0[])">
1062 <summary>Adds the specified items to the end of the array.</summary>
1063 <param name="items">The items to add to the array.</param>
1065 <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.AddRange(`0[],System.Int32)">
1066 <summary>Adds the specified items to the end of the array.</summary>
1067 <param name="items">The items to add to the array.</param>
1068 <param name="length">The number of elements from the source array to add.</param>
1070 <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.AddRange(System.Collections.Generic.IEnumerable{`0})">
1071 <summary>Adds the specified items to the end of the array.</summary>
1072 <param name="items">The items to add to the array.</param>
1074 <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.AddRange(System.Collections.Immutable.ImmutableArray{`0}.Builder)">
1075 <summary>Adds the specified items to the end of the array.</summary>
1076 <param name="items">The items to add to the array.</param>
1078 <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.AddRange(System.Collections.Immutable.ImmutableArray{`0})">
1079 <summary>Adds the specified items to the end of the array.</summary>
1080 <param name="items">The items to add to the array.</param>
1082 <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.AddRange(System.Collections.Immutable.ImmutableArray{`0},System.Int32)">
1083 <summary>Adds the specified items to the end of the array.</summary>
1084 <param name="items">The items to add to the array.</param>
1085 <param name="length">The number of elements from the source array to add.</param>
1087 <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.AddRange``1(``0[])">
1088 <summary>Adds the specified items that derive from the type currently in the array, to the end of the array.</summary>
1089 <param name="items">The items to add to end of the array.</param>
1090 <typeparam name="TDerived">The type that derives from the type of item already in the array.</typeparam>
1092 <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.AddRange``1(System.Collections.Immutable.ImmutableArray{``0}.Builder)">
1093 <summary>Adds the specified items that derive from the type currently in the array, to the end of the array.</summary>
1094 <param name="items">The items to add to the end of the array.</param>
1095 <typeparam name="TDerived">The type that derives from the type of item already in the array.</typeparam>
1097 <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.AddRange``1(System.Collections.Immutable.ImmutableArray{``0})">
1098 <summary>Adds the specified items that derive from the type currently in the array, to the end of the array.</summary>
1099 <param name="items">The items to add to the end of the array.</param>
1100 <typeparam name="TDerived">The type that derives from the type of item already in the array.</typeparam>
1102 <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.Clear">
1103 <summary>Removes all items from the array.</summary>
1105 <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.Contains(`0)">
1106 <summary>Determines whether the array contains a specific value.</summary>
1107 <param name="item">The object to locate in the array.</param>
1109 <see langword="true" /> if the object is found; otherwise, <see langword="false" />.</returns>
1111 <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.CopyTo(`0[],System.Int32)">
1112 <summary>Copies the current contents to the specified array.</summary>
1113 <param name="array">The array to copy to.</param>
1114 <param name="index">The index to start the copy operation.</param>
1116 <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.GetEnumerator">
1117 <summary>Gets an object that can be used to iterate through the collection.</summary>
1118 <returns>An object that can be used to iterate through the collection.</returns>
1120 <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.IndexOf(`0)">
1121 <summary>Determines the index of a specific item in the array.</summary>
1122 <param name="item">The item to locate in the array.</param>
1123 <returns>The index of <paramref name="item" /> if it's found in the list; otherwise, -1.</returns>
1125 <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.IndexOf(`0,System.Int32)">
1126 <summary>Determines the index of the specified item.</summary>
1127 <param name="item">The item to locate in the array.</param>
1128 <param name="startIndex">The starting position of the search.</param>
1129 <returns>The index of <paramref name="item" /> if it's found in the list; otherwise, -1.</returns>
1131 <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.IndexOf(`0,System.Int32,System.Int32)">
1132 <summary>Determines the index of the specified item.</summary>
1133 <param name="item">The item to locate in the array.</param>
1134 <param name="startIndex">The starting position of the search.</param>
1135 <param name="count">The number of elements to search.</param>
1136 <returns>The index of <paramref name="item" /> if it's found in the list; otherwise, -1.</returns>
1138 <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.IndexOf(`0,System.Int32,System.Int32,System.Collections.Generic.IEqualityComparer{`0})">
1139 <summary>Determines the index for the specified item.</summary>
1140 <param name="item">The item to locate in the array.</param>
1141 <param name="startIndex">The index at which to begin the search.</param>
1142 <param name="count">The starting position of the search.</param>
1143 <param name="equalityComparer">The equality comparer to use in the search.</param>
1144 <returns>The index of <paramref name="item" /> if it's found in the list; otherwise, -1.</returns>
1146 <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.Insert(System.Int32,`0)">
1147 <summary>Inserts an item in the array at the specified index.</summary>
1148 <param name="index">The zero-based index at which to insert the item.</param>
1149 <param name="item">The object to insert into the array.</param>
1151 <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.ItemRef(System.Int32)">
1152 <summary>Gets a read-only reference to the element at the specified index.</summary>
1153 <param name="index">The item index.</param>
1154 <exception cref="T:System.IndexOutOfRangeException">
1155 <paramref name="index" /> is greater or equal to the array count.</exception>
1156 <returns>The read-only reference to the element at the specified index.</returns>
1158 <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.LastIndexOf(`0)">
1159 <summary>Determines the 0-based index of the last occurrence of the specified item in this array.</summary>
1160 <param name="item">The item to search for.</param>
1161 <returns>The 0-based index where the item was found; or -1 if it could not be found.</returns>
1163 <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.LastIndexOf(`0,System.Int32)">
1164 <summary>Determines the 0-based index of the last occurrence of the specified item in this array.</summary>
1165 <param name="item">The item to search for.</param>
1166 <param name="startIndex">The starting position of the search.</param>
1167 <returns>The 0-based index into the array where the item was found; or -1 if it could not be found.</returns>
1169 <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.LastIndexOf(`0,System.Int32,System.Int32)">
1170 <summary>Determines the 0-based index of the last occurrence of the specified item in this array.</summary>
1171 <param name="item">The item to search for.</param>
1172 <param name="startIndex">The starting position of the search.</param>
1173 <param name="count">The number of elements to search.</param>
1174 <returns>The 0-based index into the array where the item was found; or -1 if it could not be found.</returns>
1176 <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.LastIndexOf(`0,System.Int32,System.Int32,System.Collections.Generic.IEqualityComparer{`0})">
1177 <summary>Determines the 0-based index of the last occurrence of the specified item in this array.</summary>
1178 <param name="item">The item to search for.</param>
1179 <param name="startIndex">The starting position of the search.</param>
1180 <param name="count">The number of elements to search.</param>
1181 <param name="equalityComparer">The equality comparer to use in the search.</param>
1182 <returns>The 0-based index into the array where the item was found; or -1 if it could not be found.</returns>
1184 <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.MoveToImmutable">
1185 <summary>Extracts the internal array as an <see cref="T:System.Collections.Immutable.ImmutableArray`1" /> and replaces it with a zero length array.</summary>
1186 <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>
1187 <returns>An immutable array containing the elements of the builder.</returns>
1189 <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.Remove(`0)">
1190 <summary>Removes the specified element.</summary>
1191 <param name="element">The item to remove.</param>
1193 <see langword="true" /> if <paramref name="element" /> was found and removed; otherwise, <see langword="false" />.</returns>
1195 <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.RemoveAt(System.Int32)">
1196 <summary>Removes the item at the specified index from the array.</summary>
1197 <param name="index">The zero-based index of the item to remove.</param>
1199 <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.Reverse">
1200 <summary>Reverses the order of elements in the collection.</summary>
1202 <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.Sort">
1203 <summary>Sorts the contents of the array.</summary>
1205 <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.Sort(System.Collections.Generic.IComparer{`0})">
1206 <summary>Sorts the contents of the array.</summary>
1207 <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>
1209 <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.Sort(System.Comparison{`0})">
1210 <summary>Sorts the elements in the entire array using the specified <see cref="T:System.Comparison`1" />.</summary>
1211 <param name="comparison">The <see cref="T:System.Comparison`1" /> to use when comparing elements.</param>
1212 <exception cref="T:System.ArgumentNullException">
1213 <paramref name="comparison" /> is null.</exception>
1215 <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.Sort(System.Int32,System.Int32,System.Collections.Generic.IComparer{`0})">
1216 <summary>Sorts the contents of the array.</summary>
1217 <param name="index">The starting index for the sort.</param>
1218 <param name="count">The number of elements to include in the sort.</param>
1219 <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>
1221 <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.System#Collections#Generic#IEnumerable{T}#GetEnumerator">
1222 <summary>Returns an enumerator that iterates through the array.</summary>
1223 <returns>An enumerator that iterates through the array.</returns>
1225 <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.System#Collections#IEnumerable#GetEnumerator">
1226 <summary>Returns an enumerator that iterates through the array.</summary>
1227 <returns>An enumerator that iterates through the array.</returns>
1229 <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.ToArray">
1230 <summary>Creates a new array with the current contents of this <see cref="T:System.Collections.Immutable.ImmutableArray`1.Builder" />.</summary>
1231 <returns>A new array with the contents of this <see cref="T:System.Collections.Immutable.ImmutableArray`1.Builder" />.</returns>
1233 <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.ToImmutable">
1234 <summary>Returns an immutable array that contains the current contents of this <see cref="T:System.Collections.Immutable.ImmutableArray`1.Builder" />.</summary>
1235 <returns>An immutable array that contains the current contents of this <see cref="T:System.Collections.Immutable.ImmutableArray`1.Builder" />.</returns>
1237 <member name="P:System.Collections.Immutable.ImmutableArray`1.Builder.Capacity">
1238 <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>
1239 <returns>The length of the internal array.</returns>
1241 <member name="P:System.Collections.Immutable.ImmutableArray`1.Builder.Count">
1242 <summary>Gets or sets the number of items in the array.</summary>
1243 <returns>The number of items in the array.</returns>
1245 <member name="P:System.Collections.Immutable.ImmutableArray`1.Builder.Item(System.Int32)">
1246 <summary>Gets or sets the item at the specified index.</summary>
1247 <param name="index">The index of the item to get or set.</param>
1248 <exception cref="T:System.IndexOutOfRangeException">The specified index is not in the array.</exception>
1249 <returns>The item at the specified index.</returns>
1251 <member name="P:System.Collections.Immutable.ImmutableArray`1.Builder.System#Collections#Generic#ICollection{T}#IsReadOnly">
1252 <summary>Gets a value that indicates whether the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only.</summary>
1254 <see langword="true" /> if the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only; otherwise, <see langword="false" />.</returns>
1256 <member name="T:System.Collections.Immutable.ImmutableArray`1.Enumerator">
1257 <summary>An array enumerator.
1259 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
1260 <typeparam name="T" />
1262 <member name="M:System.Collections.Immutable.ImmutableArray`1.Enumerator.MoveNext">
1263 <summary>Advances to the next value in the array.</summary>
1265 <see langword="true" /> if another item exists in the array; otherwise, <see langword="false" />.</returns>
1267 <member name="P:System.Collections.Immutable.ImmutableArray`1.Enumerator.Current">
1268 <summary>Gets the current item.</summary>
1269 <returns>The current item.</returns>
1271 <member name="T:System.Collections.Immutable.ImmutableDictionary">
1272 <summary>Provides a set of initialization methods for instances of the <see cref="T:System.Collections.Immutable.ImmutableDictionary`2" /> class.
1274 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
1276 <member name="M:System.Collections.Immutable.ImmutableDictionary.Contains``2(System.Collections.Immutable.IImmutableDictionary{``0,``1},``0,``1)">
1277 <summary>Determines whether the specified immutable dictionary contains the specified key/value pair.</summary>
1278 <param name="map">The immutable dictionary to search.</param>
1279 <param name="key">The key to locate in the immutable dictionary.</param>
1280 <param name="value">The value to locate on the specified key, if the key is found.</param>
1281 <typeparam name="TKey">The type of the keys in the immutable dictionary.</typeparam>
1282 <typeparam name="TValue">The type of the values in the immutable dictionary.</typeparam>
1284 <see langword="true" /> if this map contains the specified key/value pair; otherwise, <see langword="false" />.</returns>
1286 <member name="M:System.Collections.Immutable.ImmutableDictionary.Create``2">
1287 <summary>Creates an empty immutable dictionary.</summary>
1288 <typeparam name="TKey">The type of keys stored by the dictionary.</typeparam>
1289 <typeparam name="TValue">The type of values stored by the dictionary.</typeparam>
1290 <returns>An empty immutable dictionary.</returns>
1292 <member name="M:System.Collections.Immutable.ImmutableDictionary.Create``2(System.Collections.Generic.IEqualityComparer{``0})">
1293 <summary>Creates an empty immutable dictionary that uses the specified key comparer.</summary>
1294 <param name="keyComparer">The implementation to use to determine the equality of keys in the dictionary.</param>
1295 <typeparam name="TKey">The type of keys stored by the dictionary.</typeparam>
1296 <typeparam name="TValue">The type of values stored by the dictionary.</typeparam>
1297 <returns>An empty immutable dictionary.</returns>
1299 <member name="M:System.Collections.Immutable.ImmutableDictionary.Create``2(System.Collections.Generic.IEqualityComparer{``0},System.Collections.Generic.IEqualityComparer{``1})">
1300 <summary>Creates an empty immutable dictionary that uses the specified key and value comparers.</summary>
1301 <param name="keyComparer">The implementation to use to determine the equality of keys in the dictionary.</param>
1302 <param name="valueComparer">The implementation to use to determine the equality of values in the dictionary.</param>
1303 <typeparam name="TKey">The type of keys stored by the dictionary.</typeparam>
1304 <typeparam name="TValue">The type of values stored by the dictionary.</typeparam>
1305 <returns>An empty immutable dictionary.</returns>
1307 <member name="M:System.Collections.Immutable.ImmutableDictionary.CreateBuilder``2">
1308 <summary>Creates a new immutable dictionary builder.</summary>
1309 <typeparam name="TKey">The type of keys stored by the dictionary.</typeparam>
1310 <typeparam name="TValue">The type of values stored by the dictionary.</typeparam>
1311 <returns>The new builder.</returns>
1313 <member name="M:System.Collections.Immutable.ImmutableDictionary.CreateBuilder``2(System.Collections.Generic.IEqualityComparer{``0})">
1314 <summary>Creates a new immutable dictionary builder.</summary>
1315 <param name="keyComparer">The key comparer.</param>
1316 <typeparam name="TKey">The type of keys stored by the dictionary.</typeparam>
1317 <typeparam name="TValue">The type of values stored by the dictionary.</typeparam>
1318 <returns>The new builder.</returns>
1320 <member name="M:System.Collections.Immutable.ImmutableDictionary.CreateBuilder``2(System.Collections.Generic.IEqualityComparer{``0},System.Collections.Generic.IEqualityComparer{``1})">
1321 <summary>Creates a new immutable dictionary builder.</summary>
1322 <param name="keyComparer">The key comparer.</param>
1323 <param name="valueComparer">The value comparer.</param>
1324 <typeparam name="TKey">The type of keys stored by the dictionary.</typeparam>
1325 <typeparam name="TValue">The type of values stored by the dictionary.</typeparam>
1326 <returns>The new builder.</returns>
1328 <member name="M:System.Collections.Immutable.ImmutableDictionary.CreateRange``2(System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{``0,``1}})">
1329 <summary>Creates a new immutable dictionary that contains the specified items.</summary>
1330 <param name="items">The items used to populate the dictionary before it's immutable.</param>
1331 <typeparam name="TKey">The type of keys in the dictionary.</typeparam>
1332 <typeparam name="TValue">The type of values in the dictionary.</typeparam>
1333 <returns>A new immutable dictionary that contains the specified items.</returns>
1335 <member name="M:System.Collections.Immutable.ImmutableDictionary.CreateRange``2(System.Collections.Generic.IEqualityComparer{``0},System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{``0,``1}})">
1336 <summary>Creates a new immutable dictionary that contains the specified items and uses the specified key comparer.</summary>
1337 <param name="keyComparer">The comparer implementation to use to compare keys for equality.</param>
1338 <param name="items">The items to add to the dictionary before it's immutable.</param>
1339 <typeparam name="TKey">The type of keys in the dictionary.</typeparam>
1340 <typeparam name="TValue">The type of values in the dictionary.</typeparam>
1341 <returns>A new immutable dictionary that contains the specified items and uses the specified comparer.</returns>
1343 <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}})">
1344 <summary>Creates a new immutable dictionary that contains the specified items and uses the specified key comparer.</summary>
1345 <param name="keyComparer">The comparer implementation to use to compare keys for equality.</param>
1346 <param name="valueComparer">The comparer implementation to use to compare values for equality.</param>
1347 <param name="items">The items to add to the dictionary before it's immutable.</param>
1348 <typeparam name="TKey">The type of keys in the dictionary.</typeparam>
1349 <typeparam name="TValue">The type of values in the dictionary.</typeparam>
1350 <returns>A new immutable dictionary that contains the specified items and uses the specified comparer.</returns>
1352 <member name="M:System.Collections.Immutable.ImmutableDictionary.GetValueOrDefault``2(System.Collections.Immutable.IImmutableDictionary{``0,``1},``0)">
1353 <summary>Gets the value for a given key if a matching key exists in the dictionary.</summary>
1354 <param name="dictionary">The dictionary to retrieve the value from.</param>
1355 <param name="key">The key to search for.</param>
1356 <typeparam name="TKey">The type of the key.</typeparam>
1357 <typeparam name="TValue">The type of the value.</typeparam>
1358 <returns>The value for the key, or <c>default(TValue)</c> if no matching key was found.</returns>
1360 <member name="M:System.Collections.Immutable.ImmutableDictionary.GetValueOrDefault``2(System.Collections.Immutable.IImmutableDictionary{``0,``1},``0,``1)">
1361 <summary>Gets the value for a given key if a matching key exists in the dictionary.</summary>
1362 <param name="dictionary">The dictionary to retrieve the value from.</param>
1363 <param name="key">The key to search for.</param>
1364 <param name="defaultValue">The default value to return if no matching key is found in the dictionary.</param>
1365 <typeparam name="TKey">The type of the key.</typeparam>
1366 <typeparam name="TValue">The type of the value.</typeparam>
1367 <returns>The value for the key, or <paramref name="defaultValue" /> if no matching key was found.</returns>
1369 <member name="M:System.Collections.Immutable.ImmutableDictionary.ToImmutableDictionary``2(System.Collections.Generic.IEnumerable{``0},System.Func{``0,``1})">
1370 <summary>Constructs an immutable dictionary from an existing collection of elements, applying a transformation function to the source keys.</summary>
1371 <param name="source">The source collection used to generate the immutable dictionary.</param>
1372 <param name="keySelector">The function used to transform keys for the immutable dictionary.</param>
1373 <typeparam name="TSource">The type of element in the source collection.</typeparam>
1374 <typeparam name="TKey">The type of key in the resulting immutable dictionary.</typeparam>
1375 <returns>The immutable dictionary that contains elements from <paramref name="source" />, with keys transformed by applying <paramref name="keySelector" />.</returns>
1377 <member name="M:System.Collections.Immutable.ImmutableDictionary.ToImmutableDictionary``2(System.Collections.Generic.IEnumerable{``0},System.Func{``0,``1},System.Collections.Generic.IEqualityComparer{``1})">
1378 <summary>Constructs an immutable dictionary based on some transformation of a sequence.</summary>
1379 <param name="source">The source collection used to generate the immutable dictionary.</param>
1380 <param name="keySelector">The function used to transform keys for the immutable dictionary.</param>
1381 <param name="keyComparer">The key comparer to use for the dictionary.</param>
1382 <typeparam name="TSource">The type of element in the source collection.</typeparam>
1383 <typeparam name="TKey">The type of key in the resulting immutable dictionary.</typeparam>
1384 <returns>The immutable dictionary that contains elements from <paramref name="source" />, with keys transformed by applying <paramref name="keySelector" />.</returns>
1386 <member name="M:System.Collections.Immutable.ImmutableDictionary.ToImmutableDictionary``2(System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{``0,``1}})">
1387 <summary>Enumerates a sequence of key/value pairs and produces an immutable dictionary of its contents.</summary>
1388 <param name="source">The sequence of key/value pairs to enumerate.</param>
1389 <typeparam name="TKey">The type of the keys in the dictionary.</typeparam>
1390 <typeparam name="TValue">The type of the values in the dictionary.</typeparam>
1391 <returns>An immutable dictionary that contains the key/value pairs in the specified sequence.</returns>
1393 <member name="M:System.Collections.Immutable.ImmutableDictionary.ToImmutableDictionary``2(System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{``0,``1}},System.Collections.Generic.IEqualityComparer{``0})">
1394 <summary>Enumerates a sequence of key/value pairs and produces an immutable dictionary of its contents by using the specified key comparer.</summary>
1395 <param name="source">The sequence of key/value pairs to enumerate.</param>
1396 <param name="keyComparer">The key comparer to use when building the immutable dictionary.</param>
1397 <typeparam name="TKey">The type of the keys in the dictionary.</typeparam>
1398 <typeparam name="TValue">The type of the values in the dictionary.</typeparam>
1399 <returns>An immutable dictionary that contains the key/value pairs in the specified sequence.</returns>
1401 <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})">
1402 <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>
1403 <param name="source">The sequence of key/value pairs to enumerate.</param>
1404 <param name="keyComparer">The key comparer to use when building the immutable dictionary.</param>
1405 <param name="valueComparer">The value comparer to use for the immutable dictionary.</param>
1406 <typeparam name="TKey">The type of the keys in the dictionary.</typeparam>
1407 <typeparam name="TValue">The type of the values in the dictionary.</typeparam>
1408 <returns>An immutable dictionary that contains the key/value pairs in the specified sequence.</returns>
1410 <member name="M:System.Collections.Immutable.ImmutableDictionary.ToImmutableDictionary``2(System.Collections.Immutable.ImmutableDictionary{``0,``1}.Builder)">
1411 <summary>Creates an immutable dictionary from the current contents of the builder's dictionary.</summary>
1412 <param name="builder">The builder to create the immutable dictionary from.</param>
1413 <typeparam name="TKey">The type of the keys in the dictionary.</typeparam>
1414 <typeparam name="TValue">The type of the values in the dictionary.</typeparam>
1415 <returns>An immutable dictionary that contains the current contents in the builder's dictionary.</returns>
1417 <member name="M:System.Collections.Immutable.ImmutableDictionary.ToImmutableDictionary``3(System.Collections.Generic.IEnumerable{``0},System.Func{``0,``1},System.Func{``0,``2})">
1418 <summary>Enumerates and transforms a sequence, and produces an immutable dictionary of its contents.</summary>
1419 <param name="source">The sequence to enumerate to generate the dictionary.</param>
1420 <param name="keySelector">The function that will produce the key for the dictionary from each sequence element.</param>
1421 <param name="elementSelector">The function that will produce the value for the dictionary from each sequence element.</param>
1422 <typeparam name="TSource">The type of the elements in the sequence.</typeparam>
1423 <typeparam name="TKey">The type of the keys in the resulting dictionary.</typeparam>
1424 <typeparam name="TValue">The type of the values in the resulting dictionary.</typeparam>
1425 <returns>An immutable dictionary that contains the items in the specified sequence.</returns>
1427 <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})">
1428 <summary>Enumerates and transforms a sequence, and produces an immutable dictionary of its contents by using the specified key comparer.</summary>
1429 <param name="source">The sequence to enumerate to generate the dictionary.</param>
1430 <param name="keySelector">The function that will produce the key for the dictionary from each sequence element.</param>
1431 <param name="elementSelector">The function that will produce the value for the dictionary from each sequence element.</param>
1432 <param name="keyComparer">The key comparer to use for the dictionary.</param>
1433 <typeparam name="TSource">The type of the elements in the sequence.</typeparam>
1434 <typeparam name="TKey">The type of the keys in the resulting dictionary.</typeparam>
1435 <typeparam name="TValue">The type of the values in the resulting dictionary.</typeparam>
1436 <returns>An immutable dictionary that contains the items in the specified sequence.</returns>
1438 <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})">
1439 <summary>Enumerates and transforms a sequence, and produces an immutable dictionary of its contents by using the specified key and value comparers.</summary>
1440 <param name="source">The sequence to enumerate to generate the dictionary.</param>
1441 <param name="keySelector">The function that will produce the key for the dictionary from each sequence element.</param>
1442 <param name="elementSelector">The function that will produce the value for the dictionary from each sequence element.</param>
1443 <param name="keyComparer">The key comparer to use for the dictionary.</param>
1444 <param name="valueComparer">The value comparer to use for the dictionary.</param>
1445 <typeparam name="TSource">The type of the elements in the sequence.</typeparam>
1446 <typeparam name="TKey">The type of the keys in the resulting dictionary.</typeparam>
1447 <typeparam name="TValue">The type of the values in the resulting dictionary.</typeparam>
1448 <returns>An immutable dictionary that contains the items in the specified sequence.</returns>
1450 <member name="T:System.Collections.Immutable.ImmutableDictionary`2">
1451 <summary>Represents an immutable, unordered collection of keys and values.
1453 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
1454 <typeparam name="TKey">The type of the keys in the dictionary.</typeparam>
1455 <typeparam name="TValue">The type of the values in the dictionary.</typeparam>
1457 <member name="F:System.Collections.Immutable.ImmutableDictionary`2.Empty">
1458 <summary>Gets an empty immutable dictionary.</summary>
1460 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Add(`0,`1)">
1461 <summary>Adds an element with the specified key and value to the immutable dictionary.</summary>
1462 <param name="key">The key of the element to add.</param>
1463 <param name="value">The value of the element to add.</param>
1464 <exception cref="T:System.ArgumentException">The given key already exists in the dictionary but has a different value.</exception>
1465 <returns>A new immutable dictionary that contains the additional key/value pair.</returns>
1467 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.AddRange(System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{`0,`1}})">
1468 <summary>Adds the specified key/value pairs to the immutable dictionary.</summary>
1469 <param name="pairs">The key/value pairs to add.</param>
1470 <exception cref="T:System.ArgumentException">One of the given keys already exists in the dictionary but has a different value.</exception>
1471 <returns>A new immutable dictionary that contains the additional key/value pairs.</returns>
1473 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Clear">
1474 <summary>Retrieves an empty immutable dictionary that has the same ordering and key/value comparison rules as this dictionary instance.</summary>
1475 <returns>An empty dictionary with equivalent ordering and key/value comparison rules.</returns>
1477 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Contains(System.Collections.Generic.KeyValuePair{`0,`1})">
1478 <summary>Determines whether this immutable dictionary contains the specified key/value pair.</summary>
1479 <param name="pair">The key/value pair to locate.</param>
1481 <see langword="true" /> if the specified key/value pair is found in the dictionary; otherwise, <see langword="false" />.</returns>
1483 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.ContainsKey(`0)">
1484 <summary>Determines whether the immutable dictionary contains an element with the specified key.</summary>
1485 <param name="key">The key to locate.</param>
1487 <see langword="true" /> if the immutable dictionary contains an element with the specified key; otherwise, <see langword="false" />.</returns>
1489 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.ContainsValue(`1)">
1490 <summary>Determines whether the immutable dictionary contains an element with the specified value.</summary>
1491 <param name="value">The value to locate. The value can be <see langword="null" /> for reference types.</param>
1493 <see langword="true" /> if the dictionary contains an element with the specified value; otherwise, <see langword="false" />.</returns>
1495 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.GetEnumerator">
1496 <summary>Returns an enumerator that iterates through the immutable dictionary.</summary>
1497 <returns>An enumerator that can be used to iterate through the dictionary.</returns>
1499 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Remove(`0)">
1500 <summary>Removes the element with the specified key from the immutable dictionary.</summary>
1501 <param name="key">The key of the element to remove.</param>
1502 <returns>A new immutable dictionary with the specified element removed; or this instance if the specified key cannot be found in the dictionary.</returns>
1504 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.RemoveRange(System.Collections.Generic.IEnumerable{`0})">
1505 <summary>Removes the elements with the specified keys from the immutable dictionary.</summary>
1506 <param name="keys">The keys of the elements to remove.</param>
1507 <returns>A new immutable dictionary with the specified keys removed; or this instance if the specified keys cannot be found in the dictionary.</returns>
1509 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.SetItem(`0,`1)">
1510 <summary>Sets the specified key and value in the immutable dictionary, possibly overwriting an existing value for the key.</summary>
1511 <param name="key">The key of the entry to add.</param>
1512 <param name="value">The key value to set.</param>
1513 <returns>A new immutable dictionary that contains the specified key/value pair.</returns>
1515 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.SetItems(System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{`0,`1}})">
1516 <summary>Sets the specified key/value pairs in the immutable dictionary, possibly overwriting existing values for the keys.</summary>
1517 <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>
1518 <returns>A new immutable dictionary that contains the specified key/value pairs.</returns>
1520 <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})">
1521 <summary>Adds an item to the <see cref="T:System.Collections.Generic.ICollection`1" />.</summary>
1522 <param name="item">The object to add to the <see cref="T:System.Collections.Generic.ICollection`1" />.</param>
1524 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#Generic#ICollection{System#Collections#Generic#KeyValuePair{TKey@TValue}}#Clear">
1525 <summary>Removes all items from the <see cref="T:System.Collections.Generic.ICollection`1" />.</summary>
1527 <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)">
1528 <summary>Copies the elements of the <see cref="T:System.Collections.Generic.ICollection`1" /> to an <see cref="T:System.Array" />, starting at a particular <see cref="T:System.Array" /> index.</summary>
1529 <param name="array">The one-dimensional <see cref="T:System.Array" /> that is the destination of the elements copied from <see cref="T:System.Collections.Generic.ICollection`1" />. The <see cref="T:System.Array" /> must have zero-based indexing.</param>
1530 <param name="arrayIndex">The zero-based index in <paramref name="array" /> at which copying begins.</param>
1532 <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})">
1533 <summary>Removes the first occurrence of a specific object from the <see cref="T:System.Collections.Generic.ICollection`1" />.</summary>
1534 <param name="item">The object to remove from the <see cref="T:System.Collections.Generic.ICollection`1" />.</param>
1536 <see langword="true" /> if <paramref name="item" /> was successfully removed from the <see cref="T:System.Collections.Generic.ICollection`1" />; otherwise, <see langword="false" />. This method also returns <see langword="false" /> if <paramref name="item" /> is not found in the original <see cref="T:System.Collections.Generic.ICollection`1" />.</returns>
1538 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#Generic#IDictionary{TKey@TValue}#Add(`0,`1)">
1539 <summary>Adds an element with the provided key and value to the immutable dictionary.</summary>
1540 <param name="key">The object to use as the key of the element to add.</param>
1541 <param name="value">The object to use as the value of the element to add.</param>
1542 <exception cref="T:System.ArgumentNullException">
1543 <paramref name="key" /> is <see langword="null" />.</exception>
1544 <exception cref="T:System.ArgumentException">An element with the same key already exists in the <see cref="T:System.Collections.Generic.IDictionary`2" />.</exception>
1545 <exception cref="T:System.NotSupportedException">The <see cref="T:System.Collections.Generic.IDictionary`2" /> is read-only.</exception>
1547 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#Generic#IDictionary{TKey@TValue}#Remove(`0)">
1548 <summary>Removes the element with the specified key from the generic dictionary.</summary>
1549 <param name="key">The key of the element to remove.</param>
1550 <exception cref="T:System.ArgumentNullException">
1551 <paramref name="key" /> is <see langword="null" />.</exception>
1552 <exception cref="T:System.NotSupportedException">The <see cref="T:System.Collections.Generic.IDictionary`2" /> is read-only.</exception>
1554 <see langword="true" /> if the element is successfully removed; otherwise, <see langword="false" />. This method also returns <see langword="false" /> if <paramref name="key" /> was not found in the original generic dictionary.</returns>
1556 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#Generic#IEnumerable{System#Collections#Generic#KeyValuePair{TKey@TValue}}#GetEnumerator">
1557 <summary>Returns an enumerator that iterates through the collection.</summary>
1558 <returns>An enumerator that can be used to iterate through the collection.</returns>
1560 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#ICollection#CopyTo(System.Array,System.Int32)">
1561 <summary>Copies the elements of the dictionary to an array, starting at a particular array index.</summary>
1562 <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>
1563 <param name="arrayIndex">The zero-based index in <paramref name="array" /> at which copying begins.</param>
1565 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#IDictionary#Add(System.Object,System.Object)">
1566 <summary>Adds an element with the provided key and value to the immutable dictionary object.</summary>
1567 <param name="key">The object to use as the key of the element to add.</param>
1568 <param name="value">The object to use as the value of the element to add.</param>
1570 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#IDictionary#Clear">
1571 <summary>Clears this instance.</summary>
1572 <exception cref="T:System.NotSupportedException">The dictionary object is read-only.</exception>
1574 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#IDictionary#Contains(System.Object)">
1575 <summary>Determines whether the immutable dictionary object contains an element with the specified key.</summary>
1576 <param name="key">The key to locate in the dictionary object.</param>
1578 <see langword="true" /> if the dictionary contains an element with the key; otherwise, <see langword="false" />.</returns>
1580 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#IDictionary#GetEnumerator">
1581 <summary>Returns an <see cref="T:System.Collections.IDictionaryEnumerator" /> object for the immutable dictionary object.</summary>
1582 <returns>An enumerator object for the dictionary object.</returns>
1584 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#IDictionary#Remove(System.Object)">
1585 <summary>Removes the element with the specified key from the immutable dictionary object.</summary>
1586 <param name="key">The key of the element to remove.</param>
1588 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#IEnumerable#GetEnumerator">
1589 <summary>Returns an enumerator that iterates through a collection.</summary>
1590 <returns>An enumerator object that can be used to iterate through the collection.</returns>
1592 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#Immutable#IImmutableDictionary{TKey@TValue}#Add(`0,`1)">
1593 <summary>See the <see cref="T:System.Collections.Immutable.IImmutableDictionary`2" /> interface.</summary>
1594 <param name="key">Key of the entry to be added.</param>
1595 <param name="value">Value of the entry to be added.</param>
1596 <returns>A new immutable dictionary that contains the additional key/value pair.</returns>
1598 <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}})">
1599 <summary>See the <see cref="T:System.Collections.Immutable.IImmutableDictionary`2" /> interface.</summary>
1600 <param name="pairs">Sequence of key/value pairs to be added to the dictionary.</param>
1601 <returns>A new immutable dictionary that contains the additional key/value pairs.</returns>
1603 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#Immutable#IImmutableDictionary{TKey@TValue}#Clear">
1604 <summary>Retrieves an empty dictionary that has the same ordering and key-value comparison rules as this dictionary instance.</summary>
1605 <returns>The immutable dictionary instance.</returns>
1607 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#Immutable#IImmutableDictionary{TKey@TValue}#Remove(`0)">
1608 <summary>See the <see cref="T:System.Collections.Immutable.IImmutableDictionary`2" /> interface.</summary>
1609 <param name="key">Key of the entry to be removed.</param>
1610 <returns>A new immutable dictionary with the specified element removed; or this instance if the specified key cannot be found in the dictionary.</returns>
1612 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#Immutable#IImmutableDictionary{TKey@TValue}#RemoveRange(System.Collections.Generic.IEnumerable{`0})">
1613 <summary>See the <see cref="T:System.Collections.Immutable.IImmutableDictionary`2" /> interface.</summary>
1614 <param name="keys">Sequence of keys to be removed.</param>
1615 <returns>A new immutable dictionary with the specified keys removed; or this instance if the specified keys cannot be found in the dictionary.</returns>
1617 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#Immutable#IImmutableDictionary{TKey@TValue}#SetItem(`0,`1)">
1618 <summary>See the <see cref="T:System.Collections.Immutable.IImmutableDictionary`2" /> interface.</summary>
1619 <param name="key">Key of entry to be added.</param>
1620 <param name="value">Value of the entry to be added.</param>
1621 <returns>A new immutable dictionary that contains the specified key/value pair.</returns>
1623 <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}})">
1624 <summary>Applies a given set of key-value pairs to an immutable dictionary, replacing any conflicting keys in the resulting dictionary.</summary>
1625 <param name="items">The key-value pairs to set on the map. Any keys that conflict with existing keys will replace the previous values.</param>
1626 <returns>A copy of the immutable dictionary with updated key-value pairs.</returns>
1628 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.ToBuilder">
1629 <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>
1630 <returns>A collection with the same contents as this dictionary that can be efficiently mutated across multiple operations by using standard mutable interfaces.</returns>
1632 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.TryGetKey(`0,`0@)">
1633 <summary>Determines whether this dictionary contains a specified key.</summary>
1634 <param name="equalKey">The key to search for.</param>
1635 <param name="actualKey">The matching key located in the dictionary if found, or <c>equalkey</c> if no match is found.</param>
1637 <see langword="true" /> if a match for <paramref name="equalKey" /> is found; otherwise, <see langword="false" />.</returns>
1639 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.TryGetValue(`0,`1@)">
1640 <summary>Gets the value associated with the specified key.</summary>
1641 <param name="key">The key whose value will be retrieved.</param>
1642 <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>
1643 <exception cref="T:System.ArgumentNullException">
1644 <paramref name="key" /> is null.</exception>
1646 <see langword="true" /> if the object that implements the dictionary contains an element with the specified key; otherwise, <see langword="false" />.</returns>
1648 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.WithComparers(System.Collections.Generic.IEqualityComparer{`0})">
1649 <summary>Gets an instance of the immutable dictionary that uses the specified key comparer.</summary>
1650 <param name="keyComparer">The key comparer to use.</param>
1651 <returns>An instance of the immutable dictionary that uses the given comparer.</returns>
1653 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.WithComparers(System.Collections.Generic.IEqualityComparer{`0},System.Collections.Generic.IEqualityComparer{`1})">
1654 <summary>Gets an instance of the immutable dictionary that uses the specified key and value comparers.</summary>
1655 <param name="keyComparer">The key comparer to use.</param>
1656 <param name="valueComparer">The value comparer to use.</param>
1657 <returns>An instance of the immutable dictionary that uses the given comparers.</returns>
1659 <member name="P:System.Collections.Immutable.ImmutableDictionary`2.Count">
1660 <summary>Gets the number of key/value pairs in the immutable dictionary.</summary>
1661 <returns>The number of key/value pairs in the dictionary.</returns>
1663 <member name="P:System.Collections.Immutable.ImmutableDictionary`2.IsEmpty">
1664 <summary>Gets a value that indicates whether this instance of the immutable dictionary is empty.</summary>
1666 <see langword="true" /> if this instance is empty; otherwise, <see langword="false" />.</returns>
1668 <member name="P:System.Collections.Immutable.ImmutableDictionary`2.Item(`0)">
1669 <summary>Gets the <paramref name="TValue" /> associated with the specified key.</summary>
1670 <param name="key">The type of the key.</param>
1671 <returns>The value associated with the specified key. If no results are found, the operation throws an exception.</returns>
1673 <member name="P:System.Collections.Immutable.ImmutableDictionary`2.KeyComparer">
1674 <summary>Gets the key comparer for the immutable dictionary.</summary>
1675 <returns>The key comparer.</returns>
1677 <member name="P:System.Collections.Immutable.ImmutableDictionary`2.Keys">
1678 <summary>Gets the keys in the immutable dictionary.</summary>
1679 <returns>The keys in the immutable dictionary.</returns>
1681 <member name="P:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#Generic#ICollection{System#Collections#Generic#KeyValuePair{TKey@TValue}}#IsReadOnly">
1682 <summary>Gets a value indicating whether the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only.</summary>
1684 <see langword="true" /> if the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only; otherwise, <see langword="false" />.</returns>
1686 <member name="P:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#Generic#IDictionary{TKey@TValue}#Item(`0)">
1687 <summary>Gets or sets the <typeparamref name="TValue" /> with the specified key.</summary>
1688 <param name="key">The type of the key.</param>
1689 <returns>An object of type <typeparamref name="TValue" /> associated with the <paramref name="key" />.</returns>
1691 <member name="P:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#Generic#IDictionary{TKey@TValue}#Keys">
1692 <summary>Gets the keys.</summary>
1693 <returns>A collection containing the keys.</returns>
1695 <member name="P:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#Generic#IDictionary{TKey@TValue}#Values">
1696 <summary>Gets the values.</summary>
1697 <returns>A collection containing the values.</returns>
1699 <member name="P:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#ICollection#IsSynchronized">
1700 <summary>Gets a value indicating whether access to the <see cref="T:System.Collections.ICollection" /> is synchronized (thread safe).</summary>
1702 <see langword="true" /> if access to the <see cref="T:System.Collections.ICollection" /> is synchronized (thread safe); otherwise, <see langword="false" />.</returns>
1704 <member name="P:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#ICollection#SyncRoot">
1705 <summary>Gets an object that can be used to synchronize access to the <see cref="T:System.Collections.ICollection" />.</summary>
1706 <returns>An object that can be used to synchronize access to the <see cref="T:System.Collections.ICollection" />.</returns>
1708 <member name="P:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#IDictionary#IsFixedSize">
1709 <summary>Gets a value indicating whether the <see cref="T:System.Collections.IDictionary" /> object has a fixed size.</summary>
1711 <see langword="true" /> if the <see cref="T:System.Collections.IDictionary" /> object has a fixed size; otherwise, <see langword="false" />.</returns>
1713 <member name="P:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#IDictionary#IsReadOnly">
1714 <summary>Gets a value indicating whether the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only.</summary>
1716 <see langword="true" /> if the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only; otherwise, <see langword="false" />.</returns>
1718 <member name="P:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#IDictionary#Item(System.Object)">
1719 <summary>Gets or sets the element with the specified key.</summary>
1720 <param name="key">The key.</param>
1721 <returns>The value stored under the specified key.</returns>
1723 <member name="P:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#IDictionary#Keys">
1724 <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>
1725 <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>
1727 <member name="P:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#IDictionary#Values">
1728 <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>
1729 <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>
1731 <member name="P:System.Collections.Immutable.ImmutableDictionary`2.ValueComparer">
1732 <summary>Gets the value comparer used to determine whether values are equal.</summary>
1733 <returns>The value comparer used to determine whether values are equal.</returns>
1735 <member name="P:System.Collections.Immutable.ImmutableDictionary`2.Values">
1736 <summary>Gets the values in the immutable dictionary.</summary>
1737 <returns>The values in the immutable dictionary.</returns>
1739 <member name="T:System.Collections.Immutable.ImmutableDictionary`2.Builder">
1740 <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.
1742 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
1743 <typeparam name="TKey" />
1744 <typeparam name="TValue" />
1746 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Builder.Add(`0,`1)">
1747 <summary>Adds an element that has the specified key and value to the immutable dictionary.</summary>
1748 <param name="key">The key of the element to add.</param>
1749 <param name="value">The value of the element to add.</param>
1750 <exception cref="T:System.ArgumentNullException">
1751 <paramref name="key" /> is null.</exception>
1752 <exception cref="T:System.ArgumentException">An element with the same key already exists in the dictionary.</exception>
1753 <exception cref="T:System.NotSupportedException">The dictionary is read-only.</exception>
1755 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Builder.Add(System.Collections.Generic.KeyValuePair{`0,`1})">
1756 <summary>Adds the specified item to the immutable dictionary.</summary>
1757 <param name="item">The object to add to the dictionary.</param>
1758 <exception cref="T:System.NotSupportedException">The dictionary is read-only.</exception>
1760 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Builder.AddRange(System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{`0,`1}})">
1761 <summary>Adds a sequence of values to this collection.</summary>
1762 <param name="items">The items to add to this collection.</param>
1764 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Builder.Clear">
1765 <summary>Removes all items from the immutable dictionary.</summary>
1766 <exception cref="T:System.NotSupportedException">The dictionary is read-only.</exception>
1768 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Builder.Contains(System.Collections.Generic.KeyValuePair{`0,`1})">
1769 <summary>Determines whether the immutable dictionary contains a specific value.</summary>
1770 <param name="item">The object to locate in the dictionary.</param>
1772 <see langword="true" /> if <paramref name="item" /> is found in the dictionary; otherwise, <see langword="false" />.</returns>
1774 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Builder.ContainsKey(`0)">
1775 <summary>Determines whether the immutable dictionary contains an element that has the specified key.</summary>
1776 <param name="key">The key to locate in the dictionary.</param>
1777 <exception cref="T:System.ArgumentNullException">
1778 <paramref name="key" /> is null.</exception>
1780 <see langword="true" /> if the dictionary contains an element with the key; otherwise, <see langword="false" />.</returns>
1782 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Builder.ContainsValue(`1)">
1783 <summary>Determines whether the immutable dictionary contains an element that has the specified value.</summary>
1784 <param name="value">The value to locate in the immutable dictionary. The value can be <see langword="null" /> for reference types.</param>
1786 <see langword="true" /> if the dictionary contains an element with the specified value; otherwise, <see langword="false" />.</returns>
1788 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Builder.GetEnumerator">
1789 <summary>Returns an enumerator that iterates through the immutable dictionary.</summary>
1790 <returns>An enumerator that can be used to iterate through the collection.</returns>
1792 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Builder.GetValueOrDefault(`0)">
1793 <summary>Gets the value for a given key if a matching key exists in the dictionary.</summary>
1794 <param name="key">The key to search for.</param>
1795 <returns>The value for the key, or <c>default(TValue)</c> if no matching key was found.</returns>
1797 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Builder.GetValueOrDefault(`0,`1)">
1798 <summary>Gets the value for a given key if a matching key exists in the dictionary.</summary>
1799 <param name="key">The key to search for.</param>
1800 <param name="defaultValue">The default value to return if no matching key is found in the dictionary.</param>
1801 <returns>The value for the key, or <paramref name="defaultValue" /> if no matching key was found.</returns>
1803 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Builder.Remove(`0)">
1804 <summary>Removes the element with the specified key from the immutable dictionary.</summary>
1805 <param name="key">The key of the element to remove.</param>
1806 <exception cref="T:System.ArgumentNullException">
1807 <paramref name="key" /> is null.</exception>
1808 <exception cref="T:System.NotSupportedException">The dictionary is read-only.</exception>
1810 <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>
1812 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Builder.Remove(System.Collections.Generic.KeyValuePair{`0,`1})">
1813 <summary>Removes the first occurrence of a specific object from the immutable dictionary.</summary>
1814 <param name="item">The object to remove from the dictionary.</param>
1815 <exception cref="T:System.NotSupportedException">The dictionary is read-only.</exception>
1817 <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>
1819 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Builder.RemoveRange(System.Collections.Generic.IEnumerable{`0})">
1820 <summary>Removes any entries with keys that match those found in the specified sequence from the immutable dictionary.</summary>
1821 <param name="keys">The keys for entries to remove from the dictionary.</param>
1823 <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)">
1824 <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>
1825 <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>
1826 <param name="arrayIndex">The zero-based index in <paramref name="array" /> at which copying begins.</param>
1828 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Builder.System#Collections#Generic#IEnumerable{System#Collections#Generic#KeyValuePair{TKey@TValue}}#GetEnumerator">
1829 <summary>Returns an enumerator that iterates through the collection.</summary>
1830 <returns>An enumerator that can be used to iterate through the collection.</returns>
1832 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Builder.System#Collections#ICollection#CopyTo(System.Array,System.Int32)">
1833 <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>
1834 <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>
1835 <param name="arrayIndex">The zero-based index in <paramref name="array" /> at which copying begins.</param>
1837 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Builder.System#Collections#IDictionary#Add(System.Object,System.Object)">
1838 <summary>Adds an element with the provided key and value to the dictionary object.</summary>
1839 <param name="key">The key of the element to add.</param>
1840 <param name="value">The value of the element to add.</param>
1842 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Builder.System#Collections#IDictionary#Contains(System.Object)">
1843 <summary>Determines whether the dictionary object contains an element with the specified key.</summary>
1844 <param name="key">The key to locate.</param>
1846 <see langword="true" /> if the dictionary contains an element with the key; otherwise, <see langword="false" />.</returns>
1848 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Builder.System#Collections#IDictionary#GetEnumerator">
1849 <summary>Returns an <see cref="T:System.Collections.IDictionaryEnumerator" /> object for the dictionary.</summary>
1850 <exception cref="T:System.NotImplementedException" />
1851 <returns>An <see cref="T:System.Collections.IDictionaryEnumerator" /> object for the dictionary.</returns>
1853 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Builder.System#Collections#IDictionary#Remove(System.Object)">
1854 <summary>Removes the element with the specified key from the dictionary.</summary>
1855 <param name="key">The key of the element to remove.</param>
1857 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Builder.System#Collections#IEnumerable#GetEnumerator">
1858 <summary>Returns an enumerator that iterates through a collection.</summary>
1859 <returns>An enumerator object that can be used to iterate through the collection.</returns>
1861 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Builder.ToImmutable">
1862 <summary>Creates an immutable dictionary based on the contents of this instance.</summary>
1863 <returns>An immutable dictionary.</returns>
1865 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Builder.TryGetKey(`0,`0@)">
1866 <summary>Determines whether this dictionary contains a specified key.</summary>
1867 <param name="equalKey">The key to search for.</param>
1868 <param name="actualKey">The matching key located in the dictionary if found, or <c>equalkey</c> if no match is found.</param>
1870 <see langword="true" /> if a match for <paramref name="equalKey" /> is found; otherwise, <see langword="false" />.</returns>
1872 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Builder.TryGetValue(`0,`1@)">
1873 <summary>Returns the value associated with the specified key.</summary>
1874 <param name="key">The key whose value will be retrieved.</param>
1875 <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>
1876 <exception cref="T:System.ArgumentNullException">
1877 <paramref name="key" /> is null.</exception>
1879 <see langword="true" /> if the object that implements the immutable dictionary contains an element with the specified key; otherwise, <see langword="false" />.</returns>
1881 <member name="P:System.Collections.Immutable.ImmutableDictionary`2.Builder.Count">
1882 <summary>Gets the number of elements contained in the immutable dictionary.</summary>
1883 <returns>The number of elements contained in the immutable dictionary.</returns>
1885 <member name="P:System.Collections.Immutable.ImmutableDictionary`2.Builder.Item(`0)">
1886 <summary>Gets or sets the element with the specified key.</summary>
1887 <param name="key">The element to get or set.</param>
1888 <exception cref="T:System.ArgumentNullException">
1889 <paramref name="key" /> is <see langword="null" />.</exception>
1890 <exception cref="T:System.Collections.Generic.KeyNotFoundException">The property is being retrieved, and <paramref name="key" /> is not found.</exception>
1891 <exception cref="T:System.NotSupportedException">The property is being set, and the <see cref="T:System.Collections.Generic.IDictionary`2" /> is read-only.</exception>
1892 <returns>The element that has the specified key.</returns>
1894 <member name="P:System.Collections.Immutable.ImmutableDictionary`2.Builder.KeyComparer">
1895 <summary>Gets or sets the key comparer.</summary>
1896 <returns>The key comparer.</returns>
1898 <member name="P:System.Collections.Immutable.ImmutableDictionary`2.Builder.Keys">
1899 <summary>Gets a collection that contains the keys of the immutable dictionary.</summary>
1900 <returns>A collection that contains the keys of the object that implements the immutable dictionary.</returns>
1902 <member name="P:System.Collections.Immutable.ImmutableDictionary`2.Builder.System#Collections#Generic#ICollection{System#Collections#Generic#KeyValuePair{TKey@TValue}}#IsReadOnly">
1903 <summary>Gets a value that indicates whether the collection is read-only.</summary>
1905 <see langword="true" /> if the collection is read-only; otherwise, <see langword="false" />.</returns>
1907 <member name="P:System.Collections.Immutable.ImmutableDictionary`2.Builder.System#Collections#Generic#IDictionary{TKey@TValue}#Keys">
1908 <summary>Gets a collection containing the keys of the generic dictionary.</summary>
1909 <returns>A collection containing the keys of the object that implements the generic dictionary.</returns>
1911 <member name="P:System.Collections.Immutable.ImmutableDictionary`2.Builder.System#Collections#Generic#IDictionary{TKey@TValue}#Values">
1912 <summary>Gets a collection containing the values in the generic dictionary.</summary>
1913 <returns>A collection containing the values in the object that implements the generic dictionary.</returns>
1915 <member name="P:System.Collections.Immutable.ImmutableDictionary`2.Builder.System#Collections#ICollection#IsSynchronized">
1916 <summary>Gets a value that indicates whether access to the <see cref="T:System.Collections.ICollection" /> is synchronized (thread safe).</summary>
1918 <see langword="true" /> if access to the <see cref="T:System.Collections.ICollection" /> is synchronized (thread safe); otherwise, <see langword="false" />.</returns>
1920 <member name="P:System.Collections.Immutable.ImmutableDictionary`2.Builder.System#Collections#ICollection#SyncRoot">
1921 <summary>Gets an object that can be used to synchronize access to the <see cref="T:System.Collections.ICollection" />.</summary>
1922 <returns>An object that can be used to synchronize access to the <see cref="T:System.Collections.ICollection" />.</returns>
1924 <member name="P:System.Collections.Immutable.ImmutableDictionary`2.Builder.System#Collections#IDictionary#IsFixedSize">
1925 <summary>Gets a value that indicates whether the <see cref="T:System.Collections.IDictionary" /> object has a fixed size.</summary>
1927 <see langword="true" /> if the <see cref="T:System.Collections.IDictionary" /> object has a fixed size; otherwise, <see langword="false" />.</returns>
1929 <member name="P:System.Collections.Immutable.ImmutableDictionary`2.Builder.System#Collections#IDictionary#IsReadOnly">
1930 <summary>Gets a value that indicates whether the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only.</summary>
1932 <see langword="true" /> if the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only; otherwise, <see langword="false" />.</returns>
1934 <member name="P:System.Collections.Immutable.ImmutableDictionary`2.Builder.System#Collections#IDictionary#Item(System.Object)">
1935 <summary>Gets or sets the element with the specified key.</summary>
1936 <param name="key">The key.</param>
1937 <returns>Value stored under specified key.</returns>
1939 <member name="P:System.Collections.Immutable.ImmutableDictionary`2.Builder.System#Collections#IDictionary#Keys">
1940 <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>
1941 <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>
1943 <member name="P:System.Collections.Immutable.ImmutableDictionary`2.Builder.System#Collections#IDictionary#Values">
1944 <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>
1945 <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>
1947 <member name="P:System.Collections.Immutable.ImmutableDictionary`2.Builder.ValueComparer">
1948 <summary>Gets or sets the value comparer.</summary>
1949 <returns>The value comparer.</returns>
1951 <member name="P:System.Collections.Immutable.ImmutableDictionary`2.Builder.Values">
1952 <summary>Gets a collection that contains the values of the immutable dictionary.</summary>
1953 <returns>A collection that contains the values of the object that implements the dictionary.</returns>
1955 <member name="T:System.Collections.Immutable.ImmutableDictionary`2.Enumerator">
1956 <summary>Enumerates the contents of the immutable dictionary without allocating any memory.
1958 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
1959 <typeparam name="TKey" />
1960 <typeparam name="TValue" />
1962 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Enumerator.Dispose">
1963 <summary>Releases the resources used by the current instance of the <see cref="T:System.Collections.Immutable.ImmutableDictionary`2.Enumerator" /> class.</summary>
1965 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Enumerator.MoveNext">
1966 <summary>Advances the enumerator to the next element of the immutable dictionary.</summary>
1967 <exception cref="T:System.InvalidOperationException">The dictionary was modified after the enumerator was created.</exception>
1969 <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>
1971 <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Enumerator.Reset">
1972 <summary>Sets the enumerator to its initial position, which is before the first element in the dictionary.</summary>
1973 <exception cref="T:System.InvalidOperationException">The dictionary was modified after the enumerator was created.</exception>
1975 <member name="P:System.Collections.Immutable.ImmutableDictionary`2.Enumerator.Current">
1976 <summary>Gets the element at the current position of the enumerator.</summary>
1977 <returns>The element in the dictionary at the current position of the enumerator.</returns>
1979 <member name="P:System.Collections.Immutable.ImmutableDictionary`2.Enumerator.System#Collections#IEnumerator#Current">
1980 <summary>Gets the current element.</summary>
1981 <returns>Current element in enumeration.</returns>
1983 <member name="T:System.Collections.Immutable.ImmutableHashSet">
1984 <summary>Provides a set of initialization methods for instances of the <see cref="T:System.Collections.Immutable.ImmutableHashSet`1" /> class.
1986 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
1988 <member name="M:System.Collections.Immutable.ImmutableHashSet.Create``1">
1989 <summary>Creates an empty immutable hash set.</summary>
1990 <typeparam name="T">The type of items to be stored in the immutable hash set.</typeparam>
1991 <returns>An empty immutable hash set.</returns>
1993 <member name="M:System.Collections.Immutable.ImmutableHashSet.Create``1(``0)">
1994 <summary>Creates a new immutable hash set that contains the specified item.</summary>
1995 <param name="item">The item to prepopulate the hash set with.</param>
1996 <typeparam name="T">The type of items in the immutable hash set.</typeparam>
1997 <returns>A new immutable hash set that contains the specified item.</returns>
1999 <member name="M:System.Collections.Immutable.ImmutableHashSet.Create``1(``0[])">
2000 <summary>Creates a new immutable hash set that contains the specified array of items.</summary>
2001 <param name="items">An array that contains the items to prepopulate the hash set with.</param>
2002 <typeparam name="T">The type of items in the immutable hash set.</typeparam>
2003 <returns>A new immutable hash set that contains the specified items.</returns>
2005 <member name="M:System.Collections.Immutable.ImmutableHashSet.Create``1(System.Collections.Generic.IEqualityComparer{``0})">
2006 <summary>Creates an empty immutable hash set that uses the specified equality comparer.</summary>
2007 <param name="equalityComparer">The object to use for comparing objects in the set for equality.</param>
2008 <typeparam name="T">The type of items in the immutable hash set.</typeparam>
2009 <returns>An empty immutable hash set.</returns>
2011 <member name="M:System.Collections.Immutable.ImmutableHashSet.Create``1(System.Collections.Generic.IEqualityComparer{``0},``0)">
2012 <summary>Creates a new immutable hash set that contains the specified item and uses the specified equality comparer for the set type.</summary>
2013 <param name="equalityComparer">The object to use for comparing objects in the set for equality.</param>
2014 <param name="item">The item to prepopulate the hash set with.</param>
2015 <typeparam name="T">The type of items in the immutable hash set.</typeparam>
2016 <returns>A new immutable hash set that contains the specified item.</returns>
2018 <member name="M:System.Collections.Immutable.ImmutableHashSet.Create``1(System.Collections.Generic.IEqualityComparer{``0},``0[])">
2019 <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>
2020 <param name="equalityComparer">The object to use for comparing objects in the set for equality.</param>
2021 <param name="items">An array that contains the items to prepopulate the hash set with.</param>
2022 <typeparam name="T">The type of items stored in the immutable hash set.</typeparam>
2023 <returns>A new immutable hash set that contains the specified items.</returns>
2025 <member name="M:System.Collections.Immutable.ImmutableHashSet.CreateBuilder``1">
2026 <summary>Creates a new immutable hash set builder.</summary>
2027 <typeparam name="T">The type of items stored by the collection.</typeparam>
2028 <returns>The immutable hash set builder.</returns>
2030 <member name="M:System.Collections.Immutable.ImmutableHashSet.CreateBuilder``1(System.Collections.Generic.IEqualityComparer{``0})">
2031 <summary>Creates a new immutable hash set builder.</summary>
2032 <param name="equalityComparer">The object to use for comparing objects in the set for equality.</param>
2033 <typeparam name="T">The type of items stored by the collection.</typeparam>
2034 <returns>The new immutable hash set builder.</returns>
2036 <member name="M:System.Collections.Immutable.ImmutableHashSet.CreateRange``1(System.Collections.Generic.IEnumerable{``0})">
2037 <summary>Creates a new immutable hash set prefilled with the specified items.</summary>
2038 <param name="items">The items to add to the hash set.</param>
2039 <typeparam name="T">The type of items stored by the collection.</typeparam>
2040 <returns>The new immutable hash set that contains the specified items.</returns>
2042 <member name="M:System.Collections.Immutable.ImmutableHashSet.CreateRange``1(System.Collections.Generic.IEqualityComparer{``0},System.Collections.Generic.IEnumerable{``0})">
2043 <summary>Creates a new immutable hash set that contains the specified items and uses the specified equality comparer for the set type.</summary>
2044 <param name="equalityComparer">The object to use for comparing objects in the set for equality.</param>
2045 <param name="items">The items add to the collection before immutability is applied.</param>
2046 <typeparam name="T">The type of items stored in the collection.</typeparam>
2047 <returns>The new immutable hash set.</returns>
2049 <member name="M:System.Collections.Immutable.ImmutableHashSet.ToImmutableHashSet``1(System.Collections.Generic.IEnumerable{``0})">
2050 <summary>Enumerates a sequence and produces an immutable hash set of its contents.</summary>
2051 <param name="source">The sequence to enumerate.</param>
2052 <typeparam name="TSource">The type of the elements in the sequence.</typeparam>
2053 <returns>An immutable hash set that contains the items in the specified sequence.</returns>
2055 <member name="M:System.Collections.Immutable.ImmutableHashSet.ToImmutableHashSet``1(System.Collections.Generic.IEnumerable{``0},System.Collections.Generic.IEqualityComparer{``0})">
2056 <summary>Enumerates a sequence, produces an immutable hash set of its contents, and uses the specified equality comparer for the set type.</summary>
2057 <param name="source">The sequence to enumerate.</param>
2058 <param name="equalityComparer">The object to use for comparing objects in the set for equality.</param>
2059 <typeparam name="TSource">The type of the elements in the sequence.</typeparam>
2060 <returns>An immutable hash set that contains the items in the specified sequence and uses the specified equality comparer.</returns>
2062 <member name="M:System.Collections.Immutable.ImmutableHashSet.ToImmutableHashSet``1(System.Collections.Immutable.ImmutableHashSet{``0}.Builder)">
2063 <summary>Creates an immutable hash set from the current contents of the builder's set.</summary>
2064 <param name="builder">The builder to create the immutable hash set from.</param>
2065 <typeparam name="TSource">The type of the elements in the hash set.</typeparam>
2066 <returns>An immutable hash set that contains the current contents in the builder's set.</returns>
2068 <member name="T:System.Collections.Immutable.ImmutableHashSet`1">
2069 <summary>Represents an immutable, unordered hash set.
2071 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
2072 <typeparam name="T">The type of elements in the hash set.</typeparam>
2074 <member name="F:System.Collections.Immutable.ImmutableHashSet`1.Empty">
2075 <summary>Gets an immutable hash set for this type that uses the default <see cref="T:System.Collections.Generic.IEqualityComparer`1" />.</summary>
2077 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Add(`0)">
2078 <summary>Adds the specified element to the hash set.</summary>
2079 <param name="item">The element to add to the set.</param>
2080 <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>
2082 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Clear">
2083 <summary>Retrieves an empty immutable hash set that has the same sorting and ordering semantics as this instance.</summary>
2084 <returns>An empty hash set that has the same sorting and ordering semantics as this instance.</returns>
2086 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Contains(`0)">
2087 <summary>Determines whether this immutable hash set contains the specified element.</summary>
2088 <param name="item">The object to locate in the immutable hash set.</param>
2090 <see langword="true" /> if <paramref name="item" /> is found in the <see cref="T:System.Collections.Immutable.ImmutableHashSet`1" />; otherwise, <see langword="false" />.</returns>
2092 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Except(System.Collections.Generic.IEnumerable{`0})">
2093 <summary>Removes the elements in the specified collection from the current immutable hash set.</summary>
2094 <param name="other">The collection of items to remove from this set.</param>
2095 <returns>A new set with the items removed; or the original set if none of the items were in the set.</returns>
2097 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.GetEnumerator">
2098 <summary>Returns an enumerator that iterates through the collection.</summary>
2099 <returns>An enumerator that can be used to iterate through the collection.</returns>
2101 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Intersect(System.Collections.Generic.IEnumerable{`0})">
2102 <summary>Creates an immutable hash set that contains elements that exist in both this set and the specified set.</summary>
2103 <param name="other">The collection to compare to the current set.</param>
2104 <returns>A new immutable set that contains any elements that exist in both sets.</returns>
2106 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.IsProperSubsetOf(System.Collections.Generic.IEnumerable{`0})">
2107 <summary>Determines whether the current immutable hash set is a proper (strict) subset of a specified collection.</summary>
2108 <param name="other">The collection to compare to the current set.</param>
2110 <see langword="true" /> if the current set is a proper subset of the specified collection; otherwise, <see langword="false" />.</returns>
2112 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.IsProperSupersetOf(System.Collections.Generic.IEnumerable{`0})">
2113 <summary>Determines whether the current immutable hash set is a proper (strict) superset of a specified collection.</summary>
2114 <param name="other">The collection to compare to the current set.</param>
2116 <see langword="true" /> if the current set is a proper superset of the specified collection; otherwise, <see langword="false" />.</returns>
2118 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.IsSubsetOf(System.Collections.Generic.IEnumerable{`0})">
2119 <summary>Determines whether the current immutable hash set is a subset of a specified collection.</summary>
2120 <param name="other">The collection to compare to the current set.</param>
2122 <see langword="true" /> if the current set is a subset of the specified collection; otherwise, <see langword="false" />.</returns>
2124 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.IsSupersetOf(System.Collections.Generic.IEnumerable{`0})">
2125 <summary>Determines whether the current immutable hash set is a superset of a specified collection.</summary>
2126 <param name="other">The collection to compare to the current set.</param>
2128 <see langword="true" /> if the current set is a superset of the specified collection; otherwise, <see langword="false" />.</returns>
2130 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Overlaps(System.Collections.Generic.IEnumerable{`0})">
2131 <summary>Determines whether the current immutable hash set overlaps with the specified collection.</summary>
2132 <param name="other">The collection to compare to the current set.</param>
2134 <see langword="true" /> if the current set and the specified collection share at least one common element; otherwise, <see langword="false" />.</returns>
2136 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Remove(`0)">
2137 <summary>Removes the specified element from this immutable hash set.</summary>
2138 <param name="item">The element to remove.</param>
2139 <returns>A new set with the specified element removed, or the current set if the element cannot be found in the set.</returns>
2141 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.SetEquals(System.Collections.Generic.IEnumerable{`0})">
2142 <summary>Determines whether the current immutable hash set and the specified collection contain the same elements.</summary>
2143 <param name="other">The collection to compare to the current set.</param>
2145 <see langword="true" /> if the sets are equal; otherwise, <see langword="false" />.</returns>
2147 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.SymmetricExcept(System.Collections.Generic.IEnumerable{`0})">
2148 <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>
2149 <param name="other">The collection to compare to the current set.</param>
2150 <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>
2152 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.System#Collections#Generic#ICollection{T}#Add(`0)">
2153 <summary>Adds an item to the set.</summary>
2154 <param name="item">The object to add to the set.</param>
2155 <exception cref="T:System.NotSupportedException">The set is read-only.</exception>
2157 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.System#Collections#Generic#ICollection{T}#Clear">
2158 <summary>Removes all items from this set.</summary>
2159 <exception cref="T:System.NotSupportedException">The set is read-only.</exception>
2161 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.System#Collections#Generic#ICollection{T}#CopyTo(`0[],System.Int32)">
2162 <summary>Copies the elements of the set to an array, starting at a particular index.</summary>
2163 <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>
2164 <param name="arrayIndex">The zero-based index in <paramref name="array" /> at which copying begins.</param>
2166 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.System#Collections#Generic#ICollection{T}#Remove(`0)">
2167 <summary>Removes the first occurrence of a specific object from the set.</summary>
2168 <param name="item">The object to remove from the set.</param>
2170 <see langword="true" /> if the element is successfully removed; otherwise, <see langword="false" />.</returns>
2172 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.System#Collections#Generic#IEnumerable{T}#GetEnumerator">
2173 <summary>Returns an enumerator that iterates through the collection.</summary>
2174 <returns>An enumerator that iterates through the collection.</returns>
2176 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.System#Collections#Generic#ISet{T}#Add(`0)">
2177 <summary>Adds an element to the current set and returns a value that indicates whether the element was successfully added.</summary>
2178 <param name="item">The element to add to the collection.</param>
2180 <see langword="true" /> if the element is added to the set; <see langword="false" /> if the element is already in the set.</returns>
2182 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.System#Collections#Generic#ISet{T}#ExceptWith(System.Collections.Generic.IEnumerable{`0})">
2183 <summary>Removes all elements in the specified collection from the current set.</summary>
2184 <param name="other">The collection of items to remove.</param>
2186 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.System#Collections#Generic#ISet{T}#IntersectWith(System.Collections.Generic.IEnumerable{`0})">
2187 <summary>Modifies the current set so that it contains only elements that are also in a specified collection.</summary>
2188 <param name="other">The collection to compare to the current collection.</param>
2190 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.System#Collections#Generic#ISet{T}#SymmetricExceptWith(System.Collections.Generic.IEnumerable{`0})">
2191 <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>
2192 <param name="other">The collection to compare to the current set.</param>
2194 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.System#Collections#Generic#ISet{T}#UnionWith(System.Collections.Generic.IEnumerable{`0})">
2195 <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>
2196 <param name="other">The collection to compare to the current set.</param>
2198 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.System#Collections#ICollection#CopyTo(System.Array,System.Int32)">
2199 <summary>Copies the elements of the set to an array, starting at a particular index.</summary>
2200 <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>
2201 <param name="arrayIndex">The zero-based index in <paramref name="array" /> at which copying begins.</param>
2203 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.System#Collections#IEnumerable#GetEnumerator">
2204 <summary>Returns an enumerator that iterates through a set.</summary>
2205 <returns>An enumerator that can be used to iterate through the set.</returns>
2207 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.System#Collections#Immutable#IImmutableSet{T}#Add(`0)">
2208 <summary>Adds the specified element to this immutable set.</summary>
2209 <param name="item">The element to add.</param>
2210 <returns>A new set with the element added, or this set if the element is already in the set.</returns>
2212 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.System#Collections#Immutable#IImmutableSet{T}#Clear">
2213 <summary>Retrieves an empty set that has the same sorting and ordering semantics as this instance.</summary>
2214 <returns>An empty set that has the same sorting or ordering semantics as this instance.</returns>
2216 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.System#Collections#Immutable#IImmutableSet{T}#Except(System.Collections.Generic.IEnumerable{`0})">
2217 <summary>Removes the elements in the specified collection from the current set.</summary>
2218 <param name="other">The collection of items to remove from this set.</param>
2219 <returns>A new set with the items removed; or the original set if none of the items were in the set.</returns>
2221 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.System#Collections#Immutable#IImmutableSet{T}#Intersect(System.Collections.Generic.IEnumerable{`0})">
2222 <summary>Creates an immutable set that contains elements that exist in both this set and the specified set.</summary>
2223 <param name="other">The collection to compare to the current set.</param>
2224 <returns>A new immutable set that contains any elements that exist in both sets.</returns>
2226 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.System#Collections#Immutable#IImmutableSet{T}#Remove(`0)">
2227 <summary>Removes the specified element from this immutable set.</summary>
2228 <param name="item">The element to remove.</param>
2229 <returns>A new set with the specified element removed, or the current set if the element cannot be found in the set.</returns>
2231 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.System#Collections#Immutable#IImmutableSet{T}#SymmetricExcept(System.Collections.Generic.IEnumerable{`0})">
2232 <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>
2233 <param name="other">The collection to compare to the current set.</param>
2234 <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>
2236 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.System#Collections#Immutable#IImmutableSet{T}#Union(System.Collections.Generic.IEnumerable{`0})">
2237 <summary>Creates a new immutable set that contains all elements that are present in either the current set or in the specified collection.</summary>
2238 <param name="other">The collection to add elements from.</param>
2239 <returns>A new immutable set with the items added; or the original set if all the items were already in the set.</returns>
2241 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.ToBuilder">
2242 <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>
2243 <returns>A set with the same contents as this set that can be efficiently mutated across multiple operations by using standard mutable interfaces.</returns>
2245 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.TryGetValue(`0,`0@)">
2246 <summary>Searches the set for a given value and returns the equal value it finds, if any.</summary>
2247 <param name="equalValue">The value to search for.</param>
2248 <param name="actualValue">The value from the set that the search found, or the original value if the search yielded no match.</param>
2249 <returns>A value indicating whether the search was successful.</returns>
2251 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Union(System.Collections.Generic.IEnumerable{`0})">
2252 <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>
2253 <param name="other">The collection to add elements from.</param>
2254 <returns>A new immutable hash set with the items added; or the original set if all the items were already in the set.</returns>
2256 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.WithComparer(System.Collections.Generic.IEqualityComparer{`0})">
2257 <summary>Gets an instance of the immutable hash set that uses the specified equality comparer for its search methods.</summary>
2258 <param name="equalityComparer">The equality comparer to use.</param>
2259 <returns>An instance of this immutable hash set that uses the given comparer.</returns>
2261 <member name="P:System.Collections.Immutable.ImmutableHashSet`1.Count">
2262 <summary>Gets the number of elements in the immutable hash set.</summary>
2263 <returns>The number of elements in the hash set.</returns>
2265 <member name="P:System.Collections.Immutable.ImmutableHashSet`1.IsEmpty">
2266 <summary>Gets a value that indicates whether the current immutable hash set is empty.</summary>
2268 <see langword="true" /> if this instance is empty; otherwise, <see langword="false" />.</returns>
2270 <member name="P:System.Collections.Immutable.ImmutableHashSet`1.KeyComparer">
2271 <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>
2272 <returns>The comparer used to obtain hash codes for the keys and check equality.</returns>
2274 <member name="P:System.Collections.Immutable.ImmutableHashSet`1.System#Collections#Generic#ICollection{T}#IsReadOnly">
2275 <summary>See the <see cref="T:System.Collections.Generic.ICollection`1" /> interface.</summary>
2277 <member name="P:System.Collections.Immutable.ImmutableHashSet`1.System#Collections#ICollection#IsSynchronized">
2278 <summary>See the <see cref="T:System.Collections.ICollection" /> interface.</summary>
2280 <member name="P:System.Collections.Immutable.ImmutableHashSet`1.System#Collections#ICollection#SyncRoot">
2281 <summary>See <see cref="T:System.Collections.ICollection" />.</summary>
2283 <member name="T:System.Collections.Immutable.ImmutableHashSet`1.Builder">
2284 <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.
2286 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
2287 <typeparam name="T" />
2289 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Builder.Add(`0)">
2290 <summary>Adds the specified item to the immutable hash set.</summary>
2291 <param name="item">The item to add.</param>
2293 <see langword="true" /> if the item did not already belong to the collection; otherwise, <see langword="false" />.</returns>
2295 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Builder.Clear">
2296 <summary>Removes all items from the immutable hash set.</summary>
2297 <exception cref="T:System.NotSupportedException">The hash set is read-only.</exception>
2299 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Builder.Contains(`0)">
2300 <summary>Determines whether the immutable hash set contains a specific value.</summary>
2301 <param name="item">The object to locate in the hash set.</param>
2303 <see langword="true" /> if <paramref name="item" /> is found in the hash set ; otherwise, <see langword="false" />.</returns>
2305 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Builder.ExceptWith(System.Collections.Generic.IEnumerable{`0})">
2306 <summary>Removes all elements in the specified collection from the current hash set.</summary>
2307 <param name="other">The collection of items to remove from the set.</param>
2309 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Builder.GetEnumerator">
2310 <summary>Returns an enumerator that iterates through the immutable hash set.</summary>
2311 <returns>An enumerator that can be used to iterate through the set.</returns>
2313 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Builder.IntersectWith(System.Collections.Generic.IEnumerable{`0})">
2314 <summary>Modifies the current set so that it contains only elements that are also in a specified collection.</summary>
2315 <param name="other">The collection to compare to the current set.</param>
2317 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Builder.IsProperSubsetOf(System.Collections.Generic.IEnumerable{`0})">
2318 <summary>Determines whether the current set is a proper (strict) subset of a specified collection.</summary>
2319 <param name="other">The collection to compare to the current set.</param>
2321 <see langword="true" /> if the current set is a proper subset of <paramref name="other" />; otherwise, <see langword="false" />.</returns>
2323 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Builder.IsProperSupersetOf(System.Collections.Generic.IEnumerable{`0})">
2324 <summary>Determines whether the current set is a proper (strict) superset of a specified collection.</summary>
2325 <param name="other">The collection to compare to the current set.</param>
2327 <see langword="true" /> if the current set is a proper superset of <paramref name="other" />; otherwise, <see langword="false" />.</returns>
2329 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Builder.IsSubsetOf(System.Collections.Generic.IEnumerable{`0})">
2330 <summary>Determines whether the current set is a subset of a specified collection.</summary>
2331 <param name="other">The collection to compare to the current set.</param>
2333 <see langword="true" /> if the current set is a subset of <paramref name="other" />; otherwise, <see langword="false" />.</returns>
2335 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Builder.IsSupersetOf(System.Collections.Generic.IEnumerable{`0})">
2336 <summary>Determines whether the current set is a superset of a specified collection.</summary>
2337 <param name="other">The collection to compare to the current set.</param>
2339 <see langword="true" /> if the current set is a superset of <paramref name="other" />; otherwise, <see langword="false" />.</returns>
2341 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Builder.Overlaps(System.Collections.Generic.IEnumerable{`0})">
2342 <summary>Determines whether the current set overlaps with the specified collection.</summary>
2343 <param name="other">The collection to compare to the current set.</param>
2345 <see langword="true" /> if the current set and <paramref name="other" /> share at least one common element; otherwise, <see langword="false" />.</returns>
2347 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Builder.Remove(`0)">
2348 <summary>Removes the first occurrence of a specific object from the immutable hash set.</summary>
2349 <param name="item">The object to remove from the set.</param>
2350 <exception cref="T:System.NotSupportedException">The set is read-only.</exception>
2352 <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>
2354 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Builder.SetEquals(System.Collections.Generic.IEnumerable{`0})">
2355 <summary>Determines whether the current set and the specified collection contain the same elements.</summary>
2356 <param name="other">The collection to compare to the current set.</param>
2358 <see langword="true" /> if the current set is equal to <paramref name="other" />; otherwise, <see langword="false" />.</returns>
2360 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Builder.SymmetricExceptWith(System.Collections.Generic.IEnumerable{`0})">
2361 <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>
2362 <param name="other">The collection to compare to the current set.</param>
2364 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Builder.System#Collections#Generic#ICollection{T}#Add(`0)">
2365 <summary>Adds an item to the hash set.</summary>
2366 <param name="item">The object to add to the set.</param>
2367 <exception cref="T:System.NotSupportedException">The set is read-only.</exception>
2369 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Builder.System#Collections#Generic#ICollection{T}#CopyTo(`0[],System.Int32)">
2370 <summary>Copies the elements of the hash set to an array, starting at a particular array index.</summary>
2371 <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>
2372 <param name="arrayIndex">The zero-based index in <paramref name="array" /> at which copying begins.</param>
2374 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Builder.System#Collections#Generic#IEnumerable{T}#GetEnumerator">
2375 <summary>Returns an enumerator that iterates through the collection.</summary>
2376 <returns>An enumerator that can be used to iterate through the collection.</returns>
2378 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Builder.System#Collections#IEnumerable#GetEnumerator">
2379 <summary>Returns an enumerator that iterates through a collection.</summary>
2380 <returns>An enumerator that can be used to iterate through the collection.</returns>
2382 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Builder.ToImmutable">
2383 <summary>Creates an immutable hash set based on the contents of this instance.</summary>
2384 <returns>An immutable set.</returns>
2386 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Builder.TryGetValue(`0,`0@)">
2387 <summary>Searches the set for a given value and returns the equal value it finds, if any.</summary>
2388 <param name="equalValue">The value for which to search.</param>
2389 <param name="actualValue">The value from the set that the search found, or the original value if the search yielded no match.</param>
2390 <returns>A value indicating whether the search was successful.</returns>
2392 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Builder.UnionWith(System.Collections.Generic.IEnumerable{`0})">
2393 <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>
2394 <param name="other">The collection to compare to the current set.</param>
2396 <member name="P:System.Collections.Immutable.ImmutableHashSet`1.Builder.Count">
2397 <summary>Gets the number of elements contained in the immutable hash set.</summary>
2398 <returns>The number of elements contained in the immutable hash set.</returns>
2400 <member name="P:System.Collections.Immutable.ImmutableHashSet`1.Builder.KeyComparer">
2401 <summary>Gets or sets the key comparer.</summary>
2402 <returns>The key comparer.</returns>
2404 <member name="P:System.Collections.Immutable.ImmutableHashSet`1.Builder.System#Collections#Generic#ICollection{T}#IsReadOnly">
2405 <summary>Gets a value indicating whether the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only.</summary>
2407 <see langword="true" /> if the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only; otherwise, <see langword="false" />.</returns>
2409 <member name="T:System.Collections.Immutable.ImmutableHashSet`1.Enumerator">
2410 <summary>Enumerates the contents of the immutable hash set without allocating any memory.
2412 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
2413 <typeparam name="T" />
2415 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Enumerator.Dispose">
2416 <summary>Releases the resources used by the current instance of the <see cref="T:System.Collections.Immutable.ImmutableHashSet`1.Enumerator" /> class.</summary>
2418 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Enumerator.MoveNext">
2419 <summary>Advances the enumerator to the next element of the immutable hash set.</summary>
2420 <exception cref="T:System.InvalidOperationException">The hash set was modified after the enumerator was created.</exception>
2422 <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>
2424 <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Enumerator.Reset">
2425 <summary>Sets the enumerator to its initial position, which is before the first element in the hash set.</summary>
2426 <exception cref="T:System.InvalidOperationException">The hash set was modified after the enumerator was created.</exception>
2428 <member name="P:System.Collections.Immutable.ImmutableHashSet`1.Enumerator.Current">
2429 <summary>Gets the element at the current position of the enumerator.</summary>
2430 <returns>The element at the current position of the enumerator.</returns>
2432 <member name="P:System.Collections.Immutable.ImmutableHashSet`1.Enumerator.System#Collections#IEnumerator#Current">
2433 <summary>Gets the current element.</summary>
2435 <member name="T:System.Collections.Immutable.ImmutableInterlocked">
2436 <summary>Contains interlocked exchange mechanisms for immutable collections.
2438 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
2440 <member name="M:System.Collections.Immutable.ImmutableInterlocked.AddOrUpdate``2(System.Collections.Immutable.ImmutableDictionary{``0,``1}@,``0,``1,System.Func{``0,``1,``1})">
2441 <summary>Obtains the value from a dictionary after having added it or updated an existing entry.</summary>
2442 <param name="location">The variable or field to atomically update if the specified is not in the dictionary.</param>
2443 <param name="key">The key for the value to add or update.</param>
2444 <param name="addValue">The value to use if no previous value exists.</param>
2445 <param name="updateValueFactory">The function that receives the key and prior value and returns the new value with which to update the dictionary.</param>
2446 <typeparam name="TKey">The type of key stored by the dictionary.</typeparam>
2447 <typeparam name="TValue">The type of value stored by the dictionary.</typeparam>
2448 <returns>The added or updated value.</returns>
2450 <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})">
2451 <summary>Obtains the value from a dictionary after having added it or updated an existing entry.</summary>
2452 <param name="location">The variable or field to atomically update if the specified is not in the dictionary.</param>
2453 <param name="key">The key for the value to add or update.</param>
2454 <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>
2455 <param name="updateValueFactory">The function that receives the key and prior value and returns the new value with which to update the dictionary.</param>
2456 <typeparam name="TKey">The type of key stored by the dictionary.</typeparam>
2457 <typeparam name="TValue">The type of value stored by the dictionary.</typeparam>
2458 <returns>The added or updated value.</returns>
2460 <member name="M:System.Collections.Immutable.ImmutableInterlocked.Enqueue``1(System.Collections.Immutable.ImmutableQueue{``0}@,``0)">
2461 <summary>Atomically enqueues an element to the end of a queue.</summary>
2462 <param name="location">The variable or field to atomically update.</param>
2463 <param name="value">The value to enqueue.</param>
2464 <typeparam name="T">The type of items contained in the collection.</typeparam>
2466 <member name="M:System.Collections.Immutable.ImmutableInterlocked.GetOrAdd``2(System.Collections.Immutable.ImmutableDictionary{``0,``1}@,``0,``1)">
2467 <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>
2468 <param name="location">The variable or field to atomically update if the specified key is not in the dictionary.</param>
2469 <param name="key">The key for the value to get or add.</param>
2470 <param name="value">The value to add to the dictionary the key is not found.</param>
2471 <typeparam name="TKey">The type of the keys contained in the collection.</typeparam>
2472 <typeparam name="TValue">The type of the values contained in the collection.</typeparam>
2473 <returns>The value at the specified key or <paramref name="valueFactory" /> if the key was not present.</returns>
2475 <member name="M:System.Collections.Immutable.ImmutableInterlocked.GetOrAdd``2(System.Collections.Immutable.ImmutableDictionary{``0,``1}@,``0,System.Func{``0,``1})">
2476 <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>
2477 <param name="location">The variable or field to atomically update if the specified is not in the dictionary.</param>
2478 <param name="key">The key for the value to retrieve or add.</param>
2479 <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>
2480 <typeparam name="TKey">The type of the keys contained in the collection.</typeparam>
2481 <typeparam name="TValue">The type of the values contained in the collection.</typeparam>
2482 <returns>The value at the specified key or <paramref name="valueFactory" /> if the key was not present.</returns>
2484 <member name="M:System.Collections.Immutable.ImmutableInterlocked.GetOrAdd``3(System.Collections.Immutable.ImmutableDictionary{``0,``1}@,``0,System.Func{``0,``2,``1},``2)">
2485 <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>
2486 <param name="location">The variable or field to update if the specified is not in the dictionary.</param>
2487 <param name="key">The key for the value to retrieve or add.</param>
2488 <param name="valueFactory">The function to execute to obtain the value to insert into the dictionary if the key is not found.</param>
2489 <param name="factoryArgument">The argument to pass to the value factory.</param>
2490 <typeparam name="TKey">The type of the keys contained in the collection.</typeparam>
2491 <typeparam name="TValue">The type of the values contained in the collection.</typeparam>
2492 <typeparam name="TArg">The type of the argument supplied to the value factory.</typeparam>
2493 <returns>The value at the specified key or <paramref name="valueFactory" /> if the key was not present.</returns>
2495 <member name="M:System.Collections.Immutable.ImmutableInterlocked.InterlockedCompareExchange``1(System.Collections.Immutable.ImmutableArray{``0}@,System.Collections.Immutable.ImmutableArray{``0},System.Collections.Immutable.ImmutableArray{``0})">
2496 <summary>Compares two immutable arrays for equality and, if they are equal, replaces one of the arrays.</summary>
2497 <param name="location">The destination, whose value is compared with <paramref name="comparand" /> and possibly replaced.</param>
2498 <param name="value">The value that replaces the destination value if the comparison results in equality.</param>
2499 <param name="comparand">The value that is compared to the value at <paramref name="location" />.</param>
2500 <typeparam name="T">The type of element stored by the array.</typeparam>
2501 <returns>The original value in <paramref name="location" />.</returns>
2503 <member name="M:System.Collections.Immutable.ImmutableInterlocked.InterlockedExchange``1(System.Collections.Immutable.ImmutableArray{``0}@,System.Collections.Immutable.ImmutableArray{``0})">
2504 <summary>Sets an array to the specified array and returns a reference to the original array, as an atomic operation.</summary>
2505 <param name="location">The array to set to the specified value.</param>
2506 <param name="value">The value to which the <paramref name="location" /> parameter is set.</param>
2507 <typeparam name="T">The type of element stored by the array.</typeparam>
2508 <returns>The original value of <paramref name="location" />.</returns>
2510 <member name="M:System.Collections.Immutable.ImmutableInterlocked.InterlockedInitialize``1(System.Collections.Immutable.ImmutableArray{``0}@,System.Collections.Immutable.ImmutableArray{``0})">
2511 <summary>Sets an array to the specified array if the array has not been initialized.</summary>
2512 <param name="location">The array to set to the specified value.</param>
2513 <param name="value">The value to which the <paramref name="location" /> parameter is set, if it's not initialized.</param>
2514 <typeparam name="T">The type of element stored by the array.</typeparam>
2516 <see langword="true" /> if the array was assigned the specified value; otherwise, <see langword="false" />.</returns>
2518 <member name="M:System.Collections.Immutable.ImmutableInterlocked.Push``1(System.Collections.Immutable.ImmutableStack{``0}@,``0)">
2519 <summary>Pushes a new element onto the stack.</summary>
2520 <param name="location">The stack to update.</param>
2521 <param name="value">The value to push on the stack.</param>
2522 <typeparam name="T">The type of items in the stack.</typeparam>
2524 <member name="M:System.Collections.Immutable.ImmutableInterlocked.TryAdd``2(System.Collections.Immutable.ImmutableDictionary{``0,``1}@,``0,``1)">
2525 <summary>Adds the specified key and value to the dictionary if the key is not in the dictionary.</summary>
2526 <param name="location">The dictionary to update with the specified key and value.</param>
2527 <param name="key">The key to add, if is not already defined in the dictionary.</param>
2528 <param name="value">The value to add.</param>
2529 <typeparam name="TKey">The type of the keys contained in the collection.</typeparam>
2530 <typeparam name="TValue">The type of the values contained in the collection.</typeparam>
2532 <see langword="true" /> if the key is not in the dictionary; otherwise, <see langword="false" />.</returns>
2534 <member name="M:System.Collections.Immutable.ImmutableInterlocked.TryDequeue``1(System.Collections.Immutable.ImmutableQueue{``0}@,``0@)">
2535 <summary>Atomically removes and returns the specified element at the head of the queue, if the queue is not empty.</summary>
2536 <param name="location">The variable or field to atomically update.</param>
2537 <param name="value">Set to the value from the head of the queue, if the queue not empty.</param>
2538 <typeparam name="T">The type of items in the queue.</typeparam>
2540 <see langword="true" /> if the queue is not empty and the head element is removed; otherwise, <see langword="false" />.</returns>
2542 <member name="M:System.Collections.Immutable.ImmutableInterlocked.TryPop``1(System.Collections.Immutable.ImmutableStack{``0}@,``0@)">
2543 <summary>Removes an element from the top of the stack, if there is an element to remove.</summary>
2544 <param name="location">The stack to update.</param>
2545 <param name="value">Receives the value removed from the stack, if the stack is not empty.</param>
2546 <typeparam name="T">The type of items in the stack.</typeparam>
2548 <see langword="true" /> if an element is removed from the stack; otherwise, <see langword="false" />.</returns>
2550 <member name="M:System.Collections.Immutable.ImmutableInterlocked.TryRemove``2(System.Collections.Immutable.ImmutableDictionary{``0,``1}@,``0,``1@)">
2551 <summary>Removes the element with the specified key, if the key exists.</summary>
2552 <param name="location">The dictionary to update.</param>
2553 <param name="key">The key to remove.</param>
2554 <param name="value">Receives the value of the removed item, if the dictionary is not empty.</param>
2555 <typeparam name="TKey">The type of the keys contained in the collection.</typeparam>
2556 <typeparam name="TValue">The type of the values contained in the collection.</typeparam>
2558 <see langword="true" /> if the key was found and removed; otherwise, <see langword="false" />.</returns>
2560 <member name="M:System.Collections.Immutable.ImmutableInterlocked.TryUpdate``2(System.Collections.Immutable.ImmutableDictionary{``0,``1}@,``0,``1,``1)">
2561 <summary>Sets the specified key to the specified value if the specified key already is set to a specific value.</summary>
2562 <param name="location">The dictionary to update.</param>
2563 <param name="key">The key to update.</param>
2564 <param name="newValue">The new value to set.</param>
2565 <param name="comparisonValue">The current value for <paramref name="key" /> in order for the update to succeed.</param>
2566 <typeparam name="TKey">The type of the keys contained in the collection.</typeparam>
2567 <typeparam name="TValue">The type of the values contained in the collection.</typeparam>
2569 <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>
2571 <member name="M:System.Collections.Immutable.ImmutableInterlocked.Update``1(``0@,System.Func{``0,``0})">
2572 <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>
2573 <param name="location">The variable or field to be changed, which may be accessed by multiple threads.</param>
2574 <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>
2575 <typeparam name="T">The type of data.</typeparam>
2577 <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>
2579 <member name="M:System.Collections.Immutable.ImmutableInterlocked.Update``1(System.Collections.Immutable.ImmutableArray{``0}@,System.Func{System.Collections.Immutable.ImmutableArray{``0},System.Collections.Immutable.ImmutableArray{``0}})">
2580 <summary>Mutates an immutable array in-place with optimistic locking transaction semantics via a specified transformation function.
2581 The transformation is retried as many times as necessary to win the optimistic locking race.</summary>
2582 <param name="location">The immutable array to be changed.</param>
2583 <param name="transformer">A function that produces the new array from the old. This function should be side-effect free, as it may run multiple times when races occur with other threads.</param>
2584 <typeparam name="T">The type of data in the immutable array.</typeparam>
2586 <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>
2588 <member name="M:System.Collections.Immutable.ImmutableInterlocked.Update``2(``0@,System.Func{``0,``1,``0},``1)">
2589 <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>
2590 <param name="location">The variable or field to be changed, which may be accessed by multiple threads.</param>
2591 <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>
2592 <param name="transformerArgument">The argument to pass to <paramref name="transformer" />.</param>
2593 <typeparam name="T">The type of data.</typeparam>
2594 <typeparam name="TArg">The type of argument passed to the <paramref name="transformer" />.</typeparam>
2596 <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>
2598 <member name="M:System.Collections.Immutable.ImmutableInterlocked.Update``2(System.Collections.Immutable.ImmutableArray{``0}@,System.Func{System.Collections.Immutable.ImmutableArray{``0},``1,System.Collections.Immutable.ImmutableArray{``0}},``1)">
2599 <summary>Mutates an immutable array in-place with optimistic locking transaction semantics via a specified transformation function.
2600 The transformation is retried as many times as necessary to win the optimistic locking race.</summary>
2601 <param name="location">The immutable array to be changed.</param>
2602 <param name="transformer">A function that produces the new array from the old. This function should be side-effect free, as it may run multiple times when races occur with other threads.</param>
2603 <param name="transformerArgument">The argument to pass to <paramref name="transformer" />.</param>
2604 <typeparam name="T">The type of data in the immutable array.</typeparam>
2605 <typeparam name="TArg">The type of argument passed to the <paramref name="transformer" />.</typeparam>
2607 <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>
2609 <member name="T:System.Collections.Immutable.ImmutableList">
2610 <summary>Provides a set of initialization methods for instances of the <see cref="T:System.Collections.Immutable.ImmutableList`1" /> class.
2612 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
2614 <member name="M:System.Collections.Immutable.ImmutableList.Create``1">
2615 <summary>Creates an empty immutable list.</summary>
2616 <typeparam name="T">The type of items to be stored in the .</typeparam>
2617 <returns>An empty immutable list.</returns>
2619 <member name="M:System.Collections.Immutable.ImmutableList.Create``1(``0)">
2620 <summary>Creates a new immutable list that contains the specified item.</summary>
2621 <param name="item">The item to prepopulate the list with.</param>
2622 <typeparam name="T">The type of items in the .</typeparam>
2623 <returns>A new that contains the specified item.</returns>
2625 <member name="M:System.Collections.Immutable.ImmutableList.Create``1(``0[])">
2626 <summary>Creates a new immutable list that contains the specified array of items.</summary>
2627 <param name="items">An array that contains the items to prepopulate the list with.</param>
2628 <typeparam name="T">The type of items in the .</typeparam>
2629 <returns>A new immutable list that contains the specified items.</returns>
2631 <member name="M:System.Collections.Immutable.ImmutableList.CreateBuilder``1">
2632 <summary>Creates a new immutable list builder.</summary>
2633 <typeparam name="T">The type of items stored by the collection.</typeparam>
2634 <returns>The immutable collection builder.</returns>
2636 <member name="M:System.Collections.Immutable.ImmutableList.CreateRange``1(System.Collections.Generic.IEnumerable{``0})">
2637 <summary>Creates a new immutable list that contains the specified items.</summary>
2638 <param name="items">The items to add to the list.</param>
2639 <typeparam name="T">The type of items in the .</typeparam>
2640 <returns>An immutable list that contains the specified items.</returns>
2642 <member name="M:System.Collections.Immutable.ImmutableList.IndexOf``1(System.Collections.Immutable.IImmutableList{``0},``0)">
2643 <summary>Searches for the specified object and returns the zero-based index of the first occurrence within the list.</summary>
2644 <param name="list">The list to search.</param>
2645 <param name="item">The object to locate in the list. The value can be null for reference types.</param>
2646 <typeparam name="T">The type of items in the list.</typeparam>
2647 <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>
2649 <member name="M:System.Collections.Immutable.ImmutableList.IndexOf``1(System.Collections.Immutable.IImmutableList{``0},``0,System.Collections.Generic.IEqualityComparer{``0})">
2650 <summary>Searches for the specified object and returns the zero-based index of the first occurrence within the list.</summary>
2651 <param name="list">The list to search.</param>
2652 <param name="item">The object to locate in the Immutable list. The value can be null for reference types.</param>
2653 <param name="equalityComparer">The equality comparer to use in the search.</param>
2654 <typeparam name="T">The type of items in the list.</typeparam>
2655 <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>
2657 <member name="M:System.Collections.Immutable.ImmutableList.IndexOf``1(System.Collections.Immutable.IImmutableList{``0},``0,System.Int32)">
2658 <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>
2659 <param name="list">The list to search.</param>
2660 <param name="item">The object to locate in the Immutable list. The value can be null for reference types.</param>
2661 <param name="startIndex">The zero-based starting index of the search. 0 (zero) is valid in an empty list.</param>
2662 <typeparam name="T">The type of items in the list.</typeparam>
2663 <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>
2665 <member name="M:System.Collections.Immutable.ImmutableList.IndexOf``1(System.Collections.Immutable.IImmutableList{``0},``0,System.Int32,System.Int32)">
2666 <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>
2667 <param name="list">The list to search.</param>
2668 <param name="item">The object to locate in the Immutable list. The value can be null for reference types.</param>
2669 <param name="startIndex">The zero-based starting index of the search. 0 (zero) is valid in an empty list.</param>
2670 <param name="count">The number of elements in the section to search.</param>
2671 <typeparam name="T">The type of items in the list.</typeparam>
2672 <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>
2674 <member name="M:System.Collections.Immutable.ImmutableList.LastIndexOf``1(System.Collections.Immutable.IImmutableList{``0},``0)">
2675 <summary>Searches for the specified object and returns the zero-based index of the last occurrence within the entire immutable list.</summary>
2676 <param name="list">The list to search.</param>
2677 <param name="item">The object to locate in the Immutable list. The value can be null for reference types.</param>
2678 <typeparam name="T">The type of items in the list.</typeparam>
2679 <returns>The zero-based index of the last occurrence of item within the entire the Immutable list, if found; otherwise, -1.</returns>
2681 <member name="M:System.Collections.Immutable.ImmutableList.LastIndexOf``1(System.Collections.Immutable.IImmutableList{``0},``0,System.Collections.Generic.IEqualityComparer{``0})">
2682 <summary>Searches for the specified object and returns the zero-based index of the last occurrence within the entire immutable list.</summary>
2683 <param name="list">The list to search.</param>
2684 <param name="item">The object to locate in the Immutable list. The value can be null for reference types.</param>
2685 <param name="equalityComparer">The equality comparer to use in the search.</param>
2686 <typeparam name="T">The type of items in the list.</typeparam>
2687 <returns>The zero-based index of the last occurrence of item within the entire the Immutable list, if found; otherwise, -1.</returns>
2689 <member name="M:System.Collections.Immutable.ImmutableList.LastIndexOf``1(System.Collections.Immutable.IImmutableList{``0},``0,System.Int32)">
2690 <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>
2691 <param name="list">The list to search.</param>
2692 <param name="item">The object to locate in the Immutable list. The value can be null for reference types.</param>
2693 <param name="startIndex">The zero-based starting index of the backward search.</param>
2694 <typeparam name="T">The type of items in the list.</typeparam>
2695 <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>
2697 <member name="M:System.Collections.Immutable.ImmutableList.LastIndexOf``1(System.Collections.Immutable.IImmutableList{``0},``0,System.Int32,System.Int32)">
2698 <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>
2699 <param name="list">The list to search.</param>
2700 <param name="item">The object to locate in the Immutable list. The value can be null for reference types.</param>
2701 <param name="startIndex">The zero-based starting index of the backward search.</param>
2702 <param name="count">The number of elements in the section to search.</param>
2703 <typeparam name="T">The type of items in the list.</typeparam>
2704 <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>
2706 <member name="M:System.Collections.Immutable.ImmutableList.Remove``1(System.Collections.Immutable.IImmutableList{``0},``0)">
2707 <summary>Removes the specified value from this list.</summary>
2708 <param name="list">The list to search.</param>
2709 <param name="value">The value to remove.</param>
2710 <typeparam name="T">The type of items in the list.</typeparam>
2711 <returns>A new immutable list with the element removed, or this list if the element is not in this list.</returns>
2713 <member name="M:System.Collections.Immutable.ImmutableList.RemoveRange``1(System.Collections.Immutable.IImmutableList{``0},System.Collections.Generic.IEnumerable{``0})">
2714 <summary>Removes the specified values from this list.</summary>
2715 <param name="list">The list to search.</param>
2716 <param name="items">The items to remove if matches are found in this list.</param>
2717 <typeparam name="T">The type of items in the list.</typeparam>
2718 <returns>A new immutable list with the elements removed.</returns>
2720 <member name="M:System.Collections.Immutable.ImmutableList.Replace``1(System.Collections.Immutable.IImmutableList{``0},``0,``0)">
2721 <summary>Replaces the first equal element in the list with the specified element.</summary>
2722 <param name="list">The list to search.</param>
2723 <param name="oldValue">The element to replace.</param>
2724 <param name="newValue">The element to replace the old element with.</param>
2725 <typeparam name="T">The type of items in the list.</typeparam>
2726 <exception cref="T:System.ArgumentException">Thrown when the old value does not exist in the list.</exception>
2727 <returns>The new list -- even if the value being replaced is equal to the new value for that position.</returns>
2729 <member name="M:System.Collections.Immutable.ImmutableList.ToImmutableList``1(System.Collections.Generic.IEnumerable{``0})">
2730 <summary>Enumerates a sequence and produces an immutable list of its contents.</summary>
2731 <param name="source">The sequence to enumerate.</param>
2732 <typeparam name="TSource">The type of the elements in the sequence.</typeparam>
2733 <returns>An immutable list that contains the items in the specified sequence.</returns>
2735 <member name="M:System.Collections.Immutable.ImmutableList.ToImmutableList``1(System.Collections.Immutable.ImmutableList{``0}.Builder)">
2736 <summary>Creates an immutable list from the current contents of the builder's collection.</summary>
2737 <param name="builder">The builder to create the immutable list from.</param>
2738 <typeparam name="TSource">The type of the elements in the list.</typeparam>
2739 <returns>An immutable list that contains the current contents in the builder's collection.</returns>
2741 <member name="T:System.Collections.Immutable.ImmutableList`1">
2742 <summary>Represents an immutable list, which is a strongly typed list of objects that can be accessed by index.
2744 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
2745 <typeparam name="T">The type of elements in the list.</typeparam>
2747 <member name="F:System.Collections.Immutable.ImmutableList`1.Empty">
2748 <summary>Gets an empty set with the default sort comparer.</summary>
2750 <member name="M:System.Collections.Immutable.ImmutableList`1.Add(`0)">
2751 <summary>Adds the specified object to the end of the immutable list.</summary>
2752 <param name="value">The object to add.</param>
2753 <returns>A new immutable list with the object added.</returns>
2755 <member name="M:System.Collections.Immutable.ImmutableList`1.AddRange(System.Collections.Generic.IEnumerable{`0})">
2756 <summary>Adds the elements of the specified collection to the end of the immutable list.</summary>
2757 <param name="items">The collection whose elements will be added to the end of the list.</param>
2758 <returns>A new immutable list with the elements added.</returns>
2760 <member name="M:System.Collections.Immutable.ImmutableList`1.BinarySearch(`0)">
2761 <summary>Searches the entire sorted list for an element using the default comparer and returns the zero-based index of the element.</summary>
2762 <param name="item">The object to locate. The value can be <see langword="null" /> for reference types.</param>
2763 <exception cref="T:System.InvalidOperationException">The default comparer cannot find a comparer implementation of the for type T.</exception>
2764 <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>
2766 <member name="M:System.Collections.Immutable.ImmutableList`1.BinarySearch(`0,System.Collections.Generic.IComparer{`0})">
2767 <summary>Searches the entire sorted list for an element using the specified comparer and returns the zero-based index of the element.</summary>
2768 <param name="item">The object to locate. The value can be null for reference types.</param>
2769 <param name="comparer">The comparer implementation to use when comparing elements or null to use the default comparer.</param>
2770 <exception cref="T:System.InvalidOperationException">comparer is <see langword="null" />, and the default comparer cannot find an comparer implementation for type T.</exception>
2771 <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>
2773 <member name="M:System.Collections.Immutable.ImmutableList`1.BinarySearch(System.Int32,System.Int32,`0,System.Collections.Generic.IComparer{`0})">
2774 <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>
2775 <param name="index">The zero-based starting index of the range to search.</param>
2776 <param name="count">The length of the range to search.</param>
2777 <param name="item">The object to locate. The value can be null for reference types.</param>
2778 <param name="comparer">The comparer implementation to use when comparing elements, or <see langword="null" /> to use the default comparer.</param>
2779 <exception cref="T:System.ArgumentOutOfRangeException">index is less than 0 or <paramref name="count" /> is less than 0.</exception>
2780 <exception cref="T:System.ArgumentException">index and <paramref name="count" /> do not denote a valid range in the list.</exception>
2781 <exception cref="T:System.InvalidOperationException">
2782 <paramref name="comparer" /> is <see langword="null" />, and the default comparer cannot find an comparer implementation for type T.</exception>
2783 <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>
2785 <member name="M:System.Collections.Immutable.ImmutableList`1.Clear">
2786 <summary>Removes all elements from the immutable list.</summary>
2787 <returns>An empty list that retains the same sort or unordered semantics that this instance has.</returns>
2789 <member name="M:System.Collections.Immutable.ImmutableList`1.Contains(`0)">
2790 <summary>Determines whether this immutable list contains the specified value.</summary>
2791 <param name="value">The value to locate.</param>
2793 <see langword="true" /> if the list contains the specified value; otherwise, <see langword="false" />.</returns>
2795 <member name="M:System.Collections.Immutable.ImmutableList`1.ConvertAll``1(System.Func{`0,``0})">
2796 <summary>Converts the elements in the current immutable list to another type, and returns a list containing the converted elements.</summary>
2797 <param name="converter">A delegate that converts each element from one type to another type.</param>
2798 <typeparam name="TOutput">The type of the elements of the target array.</typeparam>
2799 <returns>A list of the target type containing the converted elements from the current <see cref="T:System.Collections.Immutable.ImmutableList`1" />.</returns>
2801 <member name="M:System.Collections.Immutable.ImmutableList`1.CopyTo(`0[])">
2802 <summary>Copies the entire immutable list to a compatible one-dimensional array, starting at the beginning of the target array.</summary>
2803 <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>
2805 <member name="M:System.Collections.Immutable.ImmutableList`1.CopyTo(`0[],System.Int32)">
2806 <summary>Copies the entire immutable list to a compatible one-dimensional array, starting at the specified index of the target array.</summary>
2807 <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>
2808 <param name="arrayIndex">The zero-based index in <paramref name="array" /> at which copying begins.</param>
2810 <member name="M:System.Collections.Immutable.ImmutableList`1.CopyTo(System.Int32,`0[],System.Int32,System.Int32)">
2811 <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>
2812 <param name="index">The zero-based index in the source immutable list at which copying begins.</param>
2813 <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>
2814 <param name="arrayIndex">The zero-based index in array at which copying begins.</param>
2815 <param name="count">The number of elements to copy.</param>
2817 <member name="M:System.Collections.Immutable.ImmutableList`1.Exists(System.Predicate{`0})">
2818 <summary>Determines whether the immutable list contains elements that match the conditions defined by the specified predicate.</summary>
2819 <param name="match">The delegate that defines the conditions of the elements to search for.</param>
2821 <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>
2823 <member name="M:System.Collections.Immutable.ImmutableList`1.Find(System.Predicate{`0})">
2824 <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>
2825 <param name="match">The delegate that defines the conditions of the element to search for.</param>
2826 <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>
2828 <member name="M:System.Collections.Immutable.ImmutableList`1.FindAll(System.Predicate{`0})">
2829 <summary>Retrieves all the elements that match the conditions defined by the specified predicate.</summary>
2830 <param name="match">The delegate that defines the conditions of the elements to search for.</param>
2831 <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>
2833 <member name="M:System.Collections.Immutable.ImmutableList`1.FindIndex(System.Int32,System.Int32,System.Predicate{`0})">
2834 <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>
2835 <param name="startIndex">The zero-based starting index of the search.</param>
2836 <param name="count">The number of elements in the section to search.</param>
2837 <param name="match">The delegate that defines the conditions of the element to search for.</param>
2838 <returns>The zero-based index of the first occurrence of an element that matches the conditions defined by match, if found; otherwise, ?1.</returns>
2840 <member name="M:System.Collections.Immutable.ImmutableList`1.FindIndex(System.Int32,System.Predicate{`0})">
2841 <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>
2842 <param name="startIndex">The zero-based starting index of the search.</param>
2843 <param name="match">The delegate that defines the conditions of the element to search for.</param>
2844 <returns>The zero-based index of the first occurrence of an element that matches the conditions defined by match, if found; otherwise, ?1.</returns>
2846 <member name="M:System.Collections.Immutable.ImmutableList`1.FindIndex(System.Predicate{`0})">
2847 <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>
2848 <param name="match">The delegate that defines the conditions of the element to search for.</param>
2849 <returns>The zero-based index of the first occurrence of an element that matches the conditions defined by match, if found; otherwise, ?1.</returns>
2851 <member name="M:System.Collections.Immutable.ImmutableList`1.FindLast(System.Predicate{`0})">
2852 <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>
2853 <param name="match">The delegate that defines the conditions of the element to search for.</param>
2854 <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>
2856 <member name="M:System.Collections.Immutable.ImmutableList`1.FindLastIndex(System.Int32,System.Int32,System.Predicate{`0})">
2857 <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>
2858 <param name="startIndex">The zero-based starting index of the backward search.</param>
2859 <param name="count">The number of elements in the section to search.</param>
2860 <param name="match">The delegate that defines the conditions of the element to search for.</param>
2861 <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>
2863 <member name="M:System.Collections.Immutable.ImmutableList`1.FindLastIndex(System.Int32,System.Predicate{`0})">
2864 <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>
2865 <param name="startIndex">The zero-based starting index of the backward search.</param>
2866 <param name="match">The delegate that defines the conditions of the element to search for.</param>
2867 <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>
2869 <member name="M:System.Collections.Immutable.ImmutableList`1.FindLastIndex(System.Predicate{`0})">
2870 <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>
2871 <param name="match">The delegate that defines the conditions of the element to search for.</param>
2872 <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>
2874 <member name="M:System.Collections.Immutable.ImmutableList`1.ForEach(System.Action{`0})">
2875 <summary>Performs the specified action on each element of the immutable list.</summary>
2876 <param name="action">The delegate to perform on each element of the immutable list.</param>
2878 <member name="M:System.Collections.Immutable.ImmutableList`1.GetEnumerator">
2879 <summary>Returns an enumerator that iterates through the immutable list.</summary>
2880 <returns>An enumerator that can be used to iterate through the immutable list.</returns>
2882 <member name="M:System.Collections.Immutable.ImmutableList`1.GetRange(System.Int32,System.Int32)">
2883 <summary>Creates a shallow copy of a range of elements in the source immutable list.</summary>
2884 <param name="index">The zero-based index at which the range starts.</param>
2885 <param name="count">The number of elements in the range.</param>
2886 <returns>A shallow copy of a range of elements in the source immutable list.</returns>
2888 <member name="M:System.Collections.Immutable.ImmutableList`1.IndexOf(`0)">
2889 <summary>Searches for the specified object and returns the zero-based index of the first occurrence within the entire immutable list.</summary>
2890 <param name="value">The object to locate in the immutable list. The value can be <see langword="null" /> for reference types.</param>
2891 <returns>The zero-based index of the first occurrence of <paramref name="value" /> within the entire immutable list, if found; otherwise, ?1.</returns>
2893 <member name="M:System.Collections.Immutable.ImmutableList`1.IndexOf(`0,System.Int32,System.Int32,System.Collections.Generic.IEqualityComparer{`0})">
2894 <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>
2895 <param name="item">The object to locate in the list The value can be null for reference types.</param>
2896 <param name="index">The zero-based starting index of the search. 0 (zero) is valid in an empty list.</param>
2897 <param name="count">The number of elements in the section to search.</param>
2898 <param name="equalityComparer">The equality comparer to use in the search.</param>
2899 <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>
2901 <member name="M:System.Collections.Immutable.ImmutableList`1.Insert(System.Int32,`0)">
2902 <summary>Inserts the specified object into the immutable list at the specified index.</summary>
2903 <param name="index">The zero-based index at which to insert the object.</param>
2904 <param name="item">The object to insert.</param>
2905 <returns>The new immutable list after the object is inserted.</returns>
2907 <member name="M:System.Collections.Immutable.ImmutableList`1.InsertRange(System.Int32,System.Collections.Generic.IEnumerable{`0})">
2908 <summary>Inserts the elements of a collection into the immutable list at the specified index.</summary>
2909 <param name="index">The zero-based index at which to insert the elements.</param>
2910 <param name="items">The collection whose elements should be inserted.</param>
2911 <returns>The new immutable list after the elements are inserted.</returns>
2913 <member name="M:System.Collections.Immutable.ImmutableList`1.ItemRef(System.Int32)">
2914 <summary>Gets a read-only reference to the element of the set at the given <paramref name="index" />.</summary>
2915 <param name="index">The 0-based index of the element in the set to return.</param>
2916 <exception cref="T:System.IndexOutOfRangeException">
2917 <paramref name="index" /> is negative or not less than <see cref="P:System.Collections.Immutable.ImmutableList`1.Count" />.</exception>
2918 <returns>A read-only reference to the element at the given position.</returns>
2920 <member name="M:System.Collections.Immutable.ImmutableList`1.LastIndexOf(`0,System.Int32,System.Int32,System.Collections.Generic.IEqualityComparer{`0})">
2921 <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>
2922 <param name="item">The object to locate in the list. The value can be null for reference types.</param>
2923 <param name="index">The zero-based starting index of the backward search.</param>
2924 <param name="count">The number of elements in the section to search.</param>
2925 <param name="equalityComparer">The equality comparer to use in the search.</param>
2926 <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>
2928 <member name="M:System.Collections.Immutable.ImmutableList`1.Remove(`0)">
2929 <summary>Removes the first occurrence of the specified object from this immutable list.</summary>
2930 <param name="value">The object to remove.</param>
2931 <returns>A new list with the object removed, or this list if the specified object is not in this list.</returns>
2933 <member name="M:System.Collections.Immutable.ImmutableList`1.Remove(`0,System.Collections.Generic.IEqualityComparer{`0})">
2934 <summary>Removes the first occurrence of the object that matches the specified value from this immutable list.</summary>
2935 <param name="value">The value of the element to remove from the list.</param>
2936 <param name="equalityComparer">The equality comparer to use in the search.</param>
2937 <returns>A new list with the object removed, or this list if the specified object is not in this list.</returns>
2939 <member name="M:System.Collections.Immutable.ImmutableList`1.RemoveAll(System.Predicate{`0})">
2940 <summary>Removes all the elements that match the conditions defined by the specified predicate.</summary>
2941 <param name="match">The delegate that defines the conditions of the elements to remove.</param>
2942 <returns>The new list with the elements removed.</returns>
2944 <member name="M:System.Collections.Immutable.ImmutableList`1.RemoveAt(System.Int32)">
2945 <summary>Removes the element at the specified index.</summary>
2946 <param name="index">The zero-based index of the element to remove.</param>
2947 <returns>A new list with the element removed.</returns>
2949 <member name="M:System.Collections.Immutable.ImmutableList`1.RemoveRange(System.Collections.Generic.IEnumerable{`0})">
2950 <summary>Removes a range of elements from this immutable list.</summary>
2951 <param name="items">The collection whose elements should be removed if matches are found in this list.</param>
2952 <returns>A new list with the elements removed.</returns>
2954 <member name="M:System.Collections.Immutable.ImmutableList`1.RemoveRange(System.Collections.Generic.IEnumerable{`0},System.Collections.Generic.IEqualityComparer{`0})">
2955 <summary>Removes the specified values from this list.</summary>
2956 <param name="items">The items to remove if matches are found in this list.</param>
2957 <param name="equalityComparer">The equality comparer to use in the search.</param>
2958 <returns>A new list with the elements removed.</returns>
2960 <member name="M:System.Collections.Immutable.ImmutableList`1.RemoveRange(System.Int32,System.Int32)">
2961 <summary>Removes a range of elements, starting from the specified index and containing the specified number of elements, from this immutable list.</summary>
2962 <param name="index">The starting index to begin removal.</param>
2963 <param name="count">The number of elements to remove.</param>
2964 <returns>A new list with the elements removed.</returns>
2966 <member name="M:System.Collections.Immutable.ImmutableList`1.Replace(`0,`0)">
2967 <summary>Replaces the specified element in the immutable list with a new element.</summary>
2968 <param name="oldValue">The element to replace.</param>
2969 <param name="newValue">The element to replace <paramref name="oldValue" /> with.</param>
2970 <exception cref="T:System.ArgumentException">
2971 <paramref name="oldValue" /> does not exist in the immutable list.</exception>
2972 <returns>The new list with the replaced element, even if it is equal to the old element.</returns>
2974 <member name="M:System.Collections.Immutable.ImmutableList`1.Replace(`0,`0,System.Collections.Generic.IEqualityComparer{`0})">
2975 <summary>Replaces the specified element in the immutable list with a new element.</summary>
2976 <param name="oldValue">The element to replace in the list.</param>
2977 <param name="newValue">The element to replace <paramref name="oldValue" /> with.</param>
2978 <param name="equalityComparer">The comparer to use to check for equality.</param>
2979 <returns>A new list with the object replaced, or this list if the specified object is not in this list.</returns>
2981 <member name="M:System.Collections.Immutable.ImmutableList`1.Reverse">
2982 <summary>Reverses the order of the elements in the entire immutable list.</summary>
2983 <returns>The reversed list.</returns>
2985 <member name="M:System.Collections.Immutable.ImmutableList`1.Reverse(System.Int32,System.Int32)">
2986 <summary>Reverses the order of the elements in the specified range of the immutable list.</summary>
2987 <param name="index">The zero-based starting index of the range to reverse.</param>
2988 <param name="count">The number of elements in the range to reverse.</param>
2989 <returns>The reversed list.</returns>
2991 <member name="M:System.Collections.Immutable.ImmutableList`1.SetItem(System.Int32,`0)">
2992 <summary>Replaces an element at a given position in the immutable list with the specified element.</summary>
2993 <param name="index">The position in the list of the element to replace.</param>
2994 <param name="value">The element to replace the old element with.</param>
2995 <returns>The new list with the replaced element, even if it is equal to the old element at that position.</returns>
2997 <member name="M:System.Collections.Immutable.ImmutableList`1.Sort">
2998 <summary>Sorts the elements in the entire immutable list using the default comparer.</summary>
2999 <returns>The sorted list.</returns>
3001 <member name="M:System.Collections.Immutable.ImmutableList`1.Sort(System.Collections.Generic.IComparer{`0})">
3002 <summary>Sorts the elements in the entire immutable list using the specified comparer.</summary>
3003 <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>
3004 <returns>The sorted list.</returns>
3006 <member name="M:System.Collections.Immutable.ImmutableList`1.Sort(System.Comparison{`0})">
3007 <summary>Sorts the elements in the entire immutable list using the specified comparer.</summary>
3008 <param name="comparison">The delegate to use when comparing elements.</param>
3009 <exception cref="T:System.ArgumentNullException">
3010 <paramref name="comparison" /> is <see langword="null" />.</exception>
3011 <returns>The sorted list.</returns>
3013 <member name="M:System.Collections.Immutable.ImmutableList`1.Sort(System.Int32,System.Int32,System.Collections.Generic.IComparer{`0})">
3014 <summary>Sorts a range of elements in the immutable list using the specified comparer.</summary>
3015 <param name="index">The zero-based starting index of the range to sort.</param>
3016 <param name="count">The length of the range to sort.</param>
3017 <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>
3018 <returns>The sorted list.</returns>
3020 <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#Generic#ICollection{T}#Add(`0)">
3021 <summary>Adds the specified item to the immutable list.</summary>
3022 <param name="item">The item to add.</param>
3023 <exception cref="T:System.NotSupportedException">Always thrown.</exception>
3025 <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#Generic#ICollection{T}#Clear">
3026 <summary>Removes all items from the immutable list.</summary>
3027 <exception cref="T:System.NotSupportedException" />
3029 <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#Generic#ICollection{T}#Remove(`0)">
3030 <summary>Removes the first occurrence of a specific object from the immutable list.</summary>
3031 <param name="item">The object to remove.</param>
3032 <exception cref="T:System.NotSupportedException">Always thrown.</exception>
3034 <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>
3036 <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#Generic#IEnumerable{T}#GetEnumerator">
3037 <summary>Returns an enumerator that iterates through the immutable list.</summary>
3038 <returns>An enumerator that can be used to iterate through the list.</returns>
3040 <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#Generic#IList{T}#Insert(System.Int32,`0)">
3041 <summary>Inserts an object in the immutable list at the specified index.</summary>
3042 <param name="index">The zero-based index at which <paramref name="item" /> should be inserted.</param>
3043 <param name="item">The object to insert.</param>
3044 <exception cref="T:System.NotSupportedException" />
3046 <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#Generic#IList{T}#RemoveAt(System.Int32)">
3047 <summary>Removes the value at the specified index.</summary>
3048 <param name="index">The zero-based index of the item to remove.</param>
3049 <exception cref="T:System.NotSupportedException" />
3051 <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#ICollection#CopyTo(System.Array,System.Int32)">
3052 <summary>Copies the entire immutable list to a compatible one-dimensional array, starting at the specified array index.</summary>
3053 <param name="array">The one-dimensional array that is the destination of the elements copied from immutable list.</param>
3054 <param name="arrayIndex">The zero-based index in <paramref name="array" /> at which copying begins.</param>
3056 <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#IEnumerable#GetEnumerator">
3057 <summary>Returns an enumerator that iterates through the immutable list.</summary>
3058 <returns>An enumerator that can be used to iterate through the list.</returns>
3060 <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#IList#Add(System.Object)">
3061 <summary>Adds an item to the immutable list.</summary>
3062 <param name="value">The object to add to the list.</param>
3063 <exception cref="T:System.NotSupportedException">Always thrown.</exception>
3064 <returns>The position into which the new element was inserted, or -1 to indicate that the item was not inserted into the list.</returns>
3066 <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#IList#Clear">
3067 <summary>Removes all items from the immutable list.</summary>
3068 <exception cref="T:System.NotSupportedException">Always thrown.</exception>
3070 <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#IList#Contains(System.Object)">
3071 <summary>Determines whether the immutable list contains a specific value.</summary>
3072 <param name="value">The object to locate in the list.</param>
3073 <exception cref="T:System.NotImplementedException" />
3075 <see langword="true" /> if the object is found in the list; otherwise, <see langword="false" />.</returns>
3077 <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#IList#IndexOf(System.Object)">
3078 <summary>Determines the index of a specific item in the immutable list.</summary>
3079 <param name="value">The object to locate in the list.</param>
3080 <exception cref="T:System.NotImplementedException" />
3081 <returns>The index of <paramref name="value" /> if found in the list; otherwise, -1.</returns>
3083 <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#IList#Insert(System.Int32,System.Object)">
3084 <summary>Inserts an item into the immutable list at the specified index.</summary>
3085 <param name="index">The zero-based index at which <paramref name="value" /> should be inserted.</param>
3086 <param name="value">The object to insert into the list.</param>
3087 <exception cref="T:System.NotSupportedException">Always thrown.</exception>
3089 <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#IList#Remove(System.Object)">
3090 <summary>Removes the first occurrence of a specific object from the immutable list.</summary>
3091 <param name="value">The object to remove from the list.</param>
3092 <exception cref="T:System.NotSupportedException">Always thrown.</exception>
3094 <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#IList#RemoveAt(System.Int32)">
3095 <summary>Removes the item at the specified index of the immutable list.</summary>
3096 <param name="index">The zero-based index of the item to remove.</param>
3097 <exception cref="T:System.NotSupportedException">Always thrown.</exception>
3099 <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#Immutable#IImmutableList{T}#Add(`0)">
3100 <summary>Adds the specified value to this immutable list.</summary>
3101 <param name="value">The value to add.</param>
3102 <returns>A new list with the element added.</returns>
3104 <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#Immutable#IImmutableList{T}#AddRange(System.Collections.Generic.IEnumerable{`0})">
3105 <summary>Adds the specified values to this immutable list.</summary>
3106 <param name="items">The values to add.</param>
3107 <returns>A new list with the elements added.</returns>
3109 <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#Immutable#IImmutableList{T}#Clear">
3110 <summary>Retrieves an empty list that has the same sorting and ordering semantics as this instance.</summary>
3111 <returns>An empty list that has the same sorting and ordering semantics as this instance.</returns>
3113 <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#Immutable#IImmutableList{T}#Insert(System.Int32,`0)">
3114 <summary>Inserts the specified element at the specified index in the immutable list.</summary>
3115 <param name="index">The index at which to insert the value.</param>
3116 <param name="item">The element to insert.</param>
3117 <returns>A new immutable list that includes the specified element.</returns>
3119 <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#Immutable#IImmutableList{T}#InsertRange(System.Int32,System.Collections.Generic.IEnumerable{`0})">
3120 <summary>Inserts the specified elements at the specified index in the immutable list.</summary>
3121 <param name="index">The index at which to insert the elements.</param>
3122 <param name="items">The elements to insert.</param>
3123 <returns>A new immutable list that includes the specified elements.</returns>
3125 <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#Immutable#IImmutableList{T}#Remove(`0,System.Collections.Generic.IEqualityComparer{`0})">
3126 <summary>Removes the element with the specified value from the list.</summary>
3127 <param name="value">The value of the element to remove from the list.</param>
3128 <param name="equalityComparer">The comparer to use to compare elements for equality.</param>
3129 <returns>A new <see cref="T:System.Collections.Immutable.ImmutableList`1" /> with the specified element removed.</returns>
3131 <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#Immutable#IImmutableList{T}#RemoveAll(System.Predicate{`0})">
3132 <summary>Removes all the elements that match the conditions defined by the specified predicate.</summary>
3133 <param name="match">The delegate that defines the conditions of the elements to remove.</param>
3134 <returns>A new immutable list with the elements removed.</returns>
3136 <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#Immutable#IImmutableList{T}#RemoveAt(System.Int32)">
3137 <summary>Removes the element at the specified index of the immutable list.</summary>
3138 <param name="index">The index of the element to remove.</param>
3139 <returns>A new list with the element removed.</returns>
3141 <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#Immutable#IImmutableList{T}#RemoveRange(System.Collections.Generic.IEnumerable{`0},System.Collections.Generic.IEqualityComparer{`0})">
3142 <summary>Removes a range of elements from this immutable list that match the items specified.</summary>
3143 <param name="items">The range of items to remove from the list, if found.</param>
3144 <param name="equalityComparer">The equality comparer to use to compare elements.</param>
3145 <exception cref="T:System.ArgumentNullException">
3146 <paramref name="items" /> or <paramref name="equalityComparer" /> is <see langword="null" />.</exception>
3147 <returns>An immutable list with the items removed.</returns>
3149 <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#Immutable#IImmutableList{T}#RemoveRange(System.Int32,System.Int32)">
3150 <summary>Removes the specified number of elements at the specified location from this list.</summary>
3151 <param name="index">The starting index of the range of elements to remove.</param>
3152 <param name="count">The number of elements to remove.</param>
3153 <returns>A new list with the elements removed.</returns>
3155 <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#Immutable#IImmutableList{T}#Replace(`0,`0,System.Collections.Generic.IEqualityComparer{`0})">
3156 <summary>Replaces an element in the list with the specified element.</summary>
3157 <param name="oldValue">The element to replace.</param>
3158 <param name="newValue">The element to replace the old element with.</param>
3159 <param name="equalityComparer">The equality comparer to use in the search.</param>
3160 <exception cref="T:System.ArgumentException">Thrown when the old value does not exist in the list.</exception>
3161 <returns>The new list.</returns>
3163 <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#Immutable#IImmutableList{T}#SetItem(System.Int32,`0)">
3164 <summary>Replaces an element in the list at a given position with the specified element.</summary>
3165 <param name="index">The position in the list of the element to replace.</param>
3166 <param name="value">The element to replace the old element with.</param>
3167 <returns>The new list.</returns>
3169 <member name="M:System.Collections.Immutable.ImmutableList`1.ToBuilder">
3170 <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>
3171 <returns>The created list with the same contents as this list.</returns>
3173 <member name="M:System.Collections.Immutable.ImmutableList`1.TrueForAll(System.Predicate{`0})">
3174 <summary>Determines whether every element in the immutable list matches the conditions defined by the specified predicate.</summary>
3175 <param name="match">The delegate that defines the conditions to check against the elements.</param>
3177 <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>
3179 <member name="P:System.Collections.Immutable.ImmutableList`1.Count">
3180 <summary>Gets the number of elements contained in the list.</summary>
3181 <returns>The number of elements in the list.</returns>
3183 <member name="P:System.Collections.Immutable.ImmutableList`1.IsEmpty">
3184 <summary>Gets a value that indicates whether this list is empty.</summary>
3186 <see langword="true" /> if the list is empty; otherwise, <see langword="false" />.</returns>
3188 <member name="P:System.Collections.Immutable.ImmutableList`1.Item(System.Int32)">
3189 <summary>Gets the element at the specified index of the list.</summary>
3190 <param name="index">The index of the element to retrieve.</param>
3191 <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>
3192 <returns>The element at the specified index.</returns>
3194 <member name="P:System.Collections.Immutable.ImmutableList`1.System#Collections#Generic#ICollection{T}#IsReadOnly">
3195 <summary>Gets a value indicating whether the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only.</summary>
3197 <see langword="true" /> if the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only; otherwise, <see langword="false" />.</returns>
3199 <member name="P:System.Collections.Immutable.ImmutableList`1.System#Collections#Generic#IList{T}#Item(System.Int32)">
3200 <summary>Gets or sets the value at the specified index.</summary>
3201 <param name="index">The zero-based index of the item to access.</param>
3202 <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>
3203 <exception cref="T:System.NotSupportedException">Always thrown from the setter.</exception>
3204 <returns>Value stored in the specified index.</returns>
3206 <member name="P:System.Collections.Immutable.ImmutableList`1.System#Collections#ICollection#IsSynchronized">
3207 <summary>This type is immutable, so it is always thread-safe. See the <see cref="T:System.Collections.ICollection" /> interface.</summary>
3208 <returns>Boolean value determining whether the collection is thread-safe.</returns>
3210 <member name="P:System.Collections.Immutable.ImmutableList`1.System#Collections#ICollection#SyncRoot">
3211 <summary>See <see cref="T:System.Collections.ICollection" />.</summary>
3212 <returns>Object used for synchronizing access to the collection.</returns>
3214 <member name="P:System.Collections.Immutable.ImmutableList`1.System#Collections#IList#IsFixedSize">
3215 <summary>Gets a value indicating whether the <see cref="T:System.Collections.IList" /> has a fixed size.</summary>
3217 <see langword="true" /> if the <see cref="T:System.Collections.IList" /> has a fixed size; otherwise, <see langword="false" />.</returns>
3219 <member name="P:System.Collections.Immutable.ImmutableList`1.System#Collections#IList#IsReadOnly">
3220 <summary>Gets a value indicating whether the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only.</summary>
3222 <see langword="true" /> if the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only; otherwise, <see langword="false" />.</returns>
3224 <member name="P:System.Collections.Immutable.ImmutableList`1.System#Collections#IList#Item(System.Int32)">
3225 <summary>Gets or sets the <see cref="T:System.Object" /> at the specified index.</summary>
3226 <param name="index">The index.</param>
3227 <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>
3228 <exception cref="T:System.NotSupportedException">Always thrown from the setter.</exception>
3229 <returns>The value at the specified index.</returns>
3231 <member name="T:System.Collections.Immutable.ImmutableList`1.Builder">
3232 <summary>Represents a list that mutates with little or no memory allocations and that can produce or build on immutable list instances very efficiently.
3234 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
3235 <typeparam name="T" />
3237 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.Add(`0)">
3238 <summary>Adds an item to the immutable list.</summary>
3239 <param name="item">The item to add to the list.</param>
3241 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.AddRange(System.Collections.Generic.IEnumerable{`0})">
3242 <summary>Adds a series of elements to the end of this list.</summary>
3243 <param name="items">The elements to add to the end of the list.</param>
3245 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.BinarySearch(`0)">
3246 <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>
3247 <param name="item">The object to locate. The value can be null for reference types.</param>
3248 <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>
3249 <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>
3251 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.BinarySearch(`0,System.Collections.Generic.IComparer{`0})">
3252 <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>
3253 <param name="item">The object to locate. This value can be null for reference types.</param>
3254 <param name="comparer">The implementation to use when comparing elements, or <see langword="null" /> for the default comparer.</param>
3255 <exception cref="T:System.InvalidOperationException">
3256 <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>
3257 <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>
3259 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.BinarySearch(System.Int32,System.Int32,`0,System.Collections.Generic.IComparer{`0})">
3260 <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>
3261 <param name="index">The zero-based starting index of the range to search.</param>
3262 <param name="count">The length of the range to search.</param>
3263 <param name="item">The object to locate. This value can be null for reference types.</param>
3264 <param name="comparer">The implementation to use when comparing elements, or <see langword="null" /> for the default comparer.</param>
3265 <exception cref="T:System.ArgumentOutOfRangeException">
3266 <paramref name="index" /> is less than 0.
3269 <paramref name="count" /> is less than 0.</exception>
3270 <exception cref="T:System.ArgumentException">
3271 <paramref name="index" /> and <paramref name="count" /> do not denote a valid range in the <see cref="T:System.Collections.Generic.List`1" />.</exception>
3272 <exception cref="T:System.InvalidOperationException">
3273 <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>
3274 <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>
3276 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.Clear">
3277 <summary>Removes all items from the immutable list.</summary>
3279 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.Contains(`0)">
3280 <summary>Determines whether the immutable list contains a specific value.</summary>
3281 <param name="item">The object to locate in the list.</param>
3283 <see langword="true" /> if item is found in the list; otherwise, <see langword="false" />.</returns>
3285 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.ConvertAll``1(System.Func{`0,``0})">
3286 <summary>Creates a new immutable list from the list represented by this builder by using the converter function.</summary>
3287 <param name="converter">The converter function.</param>
3288 <typeparam name="TOutput">The type of the output of the delegate converter function.</typeparam>
3289 <returns>A new immutable list from the list represented by this builder.</returns>
3291 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.CopyTo(`0[])">
3292 <summary>Copies the entire immutable list to a compatible one-dimensional array, starting at the beginning of the target array.</summary>
3293 <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>
3295 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.CopyTo(`0[],System.Int32)">
3296 <summary>Copies the entire immutable list to a compatible one-dimensional array, starting at the specified index of the target array.</summary>
3297 <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>
3298 <param name="arrayIndex">The zero-based index in array at which copying begins.</param>
3300 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.CopyTo(System.Int32,`0[],System.Int32,System.Int32)">
3301 <summary>Copies the entire immutable list to a compatible one-dimensional array, starting at the specified index of the target array.</summary>
3302 <param name="index">The zero-based index in the source immutable list at which copying begins.</param>
3303 <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>
3304 <param name="arrayIndex">The zero-based index in <paramref name="array" /> at which copying begins.</param>
3305 <param name="count">The number of elements to copy.</param>
3307 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.Exists(System.Predicate{`0})">
3308 <summary>Determines whether the immutable list contains elements that match the conditions defined by the specified predicate.</summary>
3309 <param name="match">The delegate that defines the conditions of the elements to search for.</param>
3311 <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>
3313 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.Find(System.Predicate{`0})">
3314 <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>
3315 <param name="match">The delegate that defines the conditions of the element to search for.</param>
3316 <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>
3318 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.FindAll(System.Predicate{`0})">
3319 <summary>Retrieves all the elements that match the conditions defined by the specified predicate.</summary>
3320 <param name="match">The delegate that defines the conditions of the elements to search for.</param>
3321 <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>
3323 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.FindIndex(System.Int32,System.Int32,System.Predicate{`0})">
3324 <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>
3325 <param name="startIndex">The zero-based starting index of the search.</param>
3326 <param name="count">The number of elements in the section to search.</param>
3327 <param name="match">The delegate that defines the conditions of the element to search for.</param>
3328 <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>
3330 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.FindIndex(System.Int32,System.Predicate{`0})">
3331 <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>
3332 <param name="startIndex">The zero-based starting index of the search.</param>
3333 <param name="match">The delegate that defines the conditions of the element to search for.</param>
3334 <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>
3336 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.FindIndex(System.Predicate{`0})">
3337 <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>
3338 <param name="match">The delegate that defines the conditions of the element to search for.</param>
3339 <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>
3341 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.FindLast(System.Predicate{`0})">
3342 <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>
3343 <param name="match">The delegate that defines the conditions of the element to search for.</param>
3344 <returns>The last element that matches the conditions defined by the specified predicate, found; otherwise, the default value for type <paramref name="T" />.</returns>
3346 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.FindLastIndex(System.Int32,System.Int32,System.Predicate{`0})">
3347 <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>
3348 <param name="startIndex">The zero-based starting index of the backward search.</param>
3349 <param name="count">The number of elements in the section to search.</param>
3350 <param name="match">The delegate that defines the conditions of the element to search for.</param>
3351 <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>
3353 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.FindLastIndex(System.Int32,System.Predicate{`0})">
3354 <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>
3355 <param name="startIndex">The zero-based starting index of the backward search.</param>
3356 <param name="match">The delegate that defines the conditions of the element to search for.</param>
3357 <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>
3359 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.FindLastIndex(System.Predicate{`0})">
3360 <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>
3361 <param name="match">The delegate that defines the conditions of the element to search for.</param>
3362 <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>
3364 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.ForEach(System.Action{`0})">
3365 <summary>Performs the specified action on each element of the list.</summary>
3366 <param name="action">The delegate to perform on each element of the list.</param>
3368 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.GetEnumerator">
3369 <summary>Returns an enumerator that iterates through the collection.</summary>
3370 <returns>An enumerator that can be used to iterate through the list.</returns>
3372 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.GetRange(System.Int32,System.Int32)">
3373 <summary>Creates a shallow copy of a range of elements in the source immutable list.</summary>
3374 <param name="index">The zero-based index at which the range starts.</param>
3375 <param name="count">The number of elements in the range.</param>
3376 <returns>A shallow copy of a range of elements in the source immutable list.</returns>
3378 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.IndexOf(`0)">
3379 <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>
3380 <param name="item">The object to locate in the immutable list. The value can be <see langword="null" /> for reference types.</param>
3381 <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>
3383 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.IndexOf(`0,System.Int32)">
3384 <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>
3385 <param name="item">The object to locate in the immutable list. The value can be <see langword="null" /> for reference types.</param>
3386 <param name="index">The zero-based starting index of the search. 0 (zero) is valid in an empty list.</param>
3387 <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>
3389 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.IndexOf(`0,System.Int32,System.Int32)">
3390 <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>
3391 <param name="item">The object to locate in the immutable list. The value can be <see langword="null" /> for reference types.</param>
3392 <param name="index">The zero-based starting index of the search. 0 (zero) is valid in an empty list.</param>
3393 <param name="count">The number of elements in the section to search.</param>
3394 <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>
3396 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.IndexOf(`0,System.Int32,System.Int32,System.Collections.Generic.IEqualityComparer{`0})">
3397 <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>
3398 <param name="item">The object to locate in the immutable list. The value can be <see langword="null" /> for reference types.</param>
3399 <param name="index">The zero-based starting index of the search. 0 (zero) is valid in an empty list.</param>
3400 <param name="count">The number of elements to search.</param>
3401 <param name="equalityComparer">The value comparer to use for comparing elements for equality.</param>
3402 <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>
3404 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.Insert(System.Int32,`0)">
3405 <summary>Inserts an item to the immutable list at the specified index.</summary>
3406 <param name="index">The zero-based index at which <paramref name="item" /> should be inserted.</param>
3407 <param name="item">The object to insert into the immutable list.</param>
3409 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.InsertRange(System.Int32,System.Collections.Generic.IEnumerable{`0})">
3410 <summary>Inserts the elements of a collection into the immutable list at the specified index.</summary>
3411 <param name="index">The zero-based index at which the new elements should be inserted.</param>
3412 <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>
3414 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.ItemRef(System.Int32)">
3415 <summary>Gets a read-only reference to the value for a given <paramref name="index" /> into the list.</summary>
3416 <param name="index">The index of the desired element.</param>
3417 <returns>A read-only reference to the value at the specified <paramref name="index" />.</returns>
3419 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.LastIndexOf(`0)">
3420 <summary>Searches for the specified object and returns the zero-based index of the last occurrence within the entire immutable list.</summary>
3421 <param name="item">The object to locate in the immutable list. The value can be <see langword="null" /> for reference types.</param>
3422 <returns>The zero-based index of the last occurrence of <paramref name="item" /> within the entire immutable list, if found; otherwise, -1.</returns>
3424 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.LastIndexOf(`0,System.Int32)">
3425 <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>
3426 <param name="item">The object to locate in the immutable list. The value can be <see langword="null" /> for reference types.</param>
3427 <param name="startIndex">The zero-based starting index of the backward search.</param>
3428 <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>
3430 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.LastIndexOf(`0,System.Int32,System.Int32)">
3431 <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>
3432 <param name="item">The object to locate in the immutable list. The value can be <see langword="null" /> for reference types.</param>
3433 <param name="startIndex">The zero-based starting index of the backward search.</param>
3434 <param name="count">The number of elements in the section to search.</param>
3435 <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>
3437 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.LastIndexOf(`0,System.Int32,System.Int32,System.Collections.Generic.IEqualityComparer{`0})">
3438 <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>
3439 <param name="item">The object to locate in the immutable list. The value can be <see langword="null" /> for reference types.</param>
3440 <param name="startIndex">The zero-based starting index of the search. 0 (zero) is valid in an empty list.</param>
3441 <param name="count">The number of elements to search.</param>
3442 <param name="equalityComparer">The value comparer to use for comparing elements for equality.</param>
3443 <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>
3445 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.Remove(`0)">
3446 <summary>Removes the first occurrence of a specific object from the immutable list.</summary>
3447 <param name="item">The object to remove from the list.</param>
3449 <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>
3451 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.RemoveAll(System.Predicate{`0})">
3452 <summary>Removes all the elements that match the conditions defined by the specified predicate.</summary>
3453 <param name="match">The delegate that defines the conditions of the elements to remove.</param>
3454 <returns>The number of elements removed from the immutable list.</returns>
3456 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.RemoveAt(System.Int32)">
3457 <summary>Removes the item at the specified index of the immutable list.</summary>
3458 <param name="index">The zero-based index of the item to remove from the list.</param>
3460 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.Reverse">
3461 <summary>Reverses the order of the elements in the entire immutable list.</summary>
3463 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.Reverse(System.Int32,System.Int32)">
3464 <summary>Reverses the order of the elements in the specified range of the immutable list.</summary>
3465 <param name="index">The zero-based starting index of the range to reverse.</param>
3466 <param name="count">The number of elements in the range to reverse.</param>
3468 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.Sort">
3469 <summary>Sorts the elements in the entire immutable list by using the default comparer.</summary>
3471 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.Sort(System.Collections.Generic.IComparer{`0})">
3472 <summary>Sorts the elements in the entire immutable list by using the specified comparer.</summary>
3473 <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>
3475 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.Sort(System.Comparison{`0})">
3476 <summary>Sorts the elements in the entire immutable list by using the specified comparison object.</summary>
3477 <param name="comparison">The object to use when comparing elements.</param>
3478 <exception cref="T:System.ArgumentNullException">
3479 <paramref name="comparison" /> is <see langword="null" />.</exception>
3481 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.Sort(System.Int32,System.Int32,System.Collections.Generic.IComparer{`0})">
3482 <summary>Sorts the elements in a range of elements in the immutable list by using the specified comparer.</summary>
3483 <param name="index">The zero-based starting index of the range to sort.</param>
3484 <param name="count">The length of the range to sort.</param>
3485 <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>
3487 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.System#Collections#Generic#IEnumerable{T}#GetEnumerator">
3488 <summary>Returns an enumerator that iterates through the collection.</summary>
3489 <returns>An enumerator that can be used to iterate through the collection.</returns>
3491 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.System#Collections#ICollection#CopyTo(System.Array,System.Int32)">
3492 <summary>Copies the elements of the list to an array, starting at a particular array index.</summary>
3493 <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>
3494 <param name="arrayIndex">The zero-based index in <paramref name="array" /> at which copying begins.</param>
3495 <exception cref="T:System.NotImplementedException" />
3497 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.System#Collections#IEnumerable#GetEnumerator">
3498 <summary>Returns an enumerator that iterates through the collection.</summary>
3499 <returns>An enumerator that can be used to iterate through the collection.</returns>
3501 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.System#Collections#IList#Add(System.Object)">
3502 <summary>Adds an item to the list.</summary>
3503 <param name="value">The object to add to the list.</param>
3504 <exception cref="T:System.NotImplementedException" />
3505 <returns>The position into which the new element was inserted, or -1 to indicate that the item was not inserted into the collection.</returns>
3507 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.System#Collections#IList#Clear">
3508 <summary>Removes all items from the list.</summary>
3509 <exception cref="T:System.NotImplementedException" />
3511 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.System#Collections#IList#Contains(System.Object)">
3512 <summary>Determines whether the list contains a specific value.</summary>
3513 <param name="value">The object to locate in the list.</param>
3514 <exception cref="T:System.NotImplementedException" />
3516 <see langword="true" /> if the <see cref="T:System.Object" /> is found in the list; otherwise, <see langword="false" />.</returns>
3518 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.System#Collections#IList#IndexOf(System.Object)">
3519 <summary>Determines the index of a specific item in the list.</summary>
3520 <param name="value">The object to locate in the list.</param>
3521 <exception cref="T:System.NotImplementedException" />
3522 <returns>The index of <paramref name="value" /> if found in the list; otherwise, -1.</returns>
3524 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.System#Collections#IList#Insert(System.Int32,System.Object)">
3525 <summary>Inserts an item to the list at the specified index.</summary>
3526 <param name="index">The zero-based index at which <paramref name="value" /> should be inserted.</param>
3527 <param name="value">The object to insert into the list.</param>
3528 <exception cref="T:System.NotImplementedException" />
3530 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.System#Collections#IList#Remove(System.Object)">
3531 <summary>Removes the first occurrence of a specific object from the list.</summary>
3532 <param name="value">The object to remove from the list.</param>
3533 <exception cref="T:System.NotImplementedException" />
3535 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.ToImmutable">
3536 <summary>Creates an immutable list based on the contents of this instance.</summary>
3537 <returns>An immutable list.</returns>
3539 <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.TrueForAll(System.Predicate{`0})">
3540 <summary>Determines whether every element in the immutable list matches the conditions defined by the specified predicate.</summary>
3541 <param name="match">The delegate that defines the conditions to check against the elements.</param>
3543 <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>
3545 <member name="P:System.Collections.Immutable.ImmutableList`1.Builder.Count">
3546 <summary>Gets the number of elements in this immutable list.</summary>
3547 <returns>The number of elements in this list.</returns>
3549 <member name="P:System.Collections.Immutable.ImmutableList`1.Builder.Item(System.Int32)">
3550 <summary>Gets or sets the value for a given index in the list.</summary>
3551 <param name="index">The index of the item to get or set.</param>
3552 <returns>The value at the specified index.</returns>
3554 <member name="P:System.Collections.Immutable.ImmutableList`1.Builder.System#Collections#Generic#ICollection{T}#IsReadOnly">
3555 <summary>Gets a value that indicates whether this instance is read-only.</summary>
3556 <returns>Always <see langword="false" />.</returns>
3558 <member name="P:System.Collections.Immutable.ImmutableList`1.Builder.System#Collections#ICollection#IsSynchronized">
3559 <summary>Gets a value that indicates whether access to the <see cref="T:System.Collections.ICollection" /> is synchronized (thread safe).</summary>
3561 <see langword="true" /> if access to the <see cref="T:System.Collections.ICollection" /> is synchronized (thread safe); otherwise, <see langword="false" />.</returns>
3563 <member name="P:System.Collections.Immutable.ImmutableList`1.Builder.System#Collections#ICollection#SyncRoot">
3564 <summary>Gets an object that can be used to synchronize access to the <see cref="T:System.Collections.ICollection" />.</summary>
3565 <returns>An object that can be used to synchronize access to the <see cref="T:System.Collections.ICollection" />.</returns>
3567 <member name="P:System.Collections.Immutable.ImmutableList`1.Builder.System#Collections#IList#IsFixedSize">
3568 <summary>Gets a value that indicates whether the <see cref="T:System.Collections.IList" /> has a fixed size.</summary>
3570 <see langword="true" /> if the <see cref="T:System.Collections.IList" /> has a fixed size; otherwise, <see langword="false" />.</returns>
3572 <member name="P:System.Collections.Immutable.ImmutableList`1.Builder.System#Collections#IList#IsReadOnly">
3573 <summary>Gets a value that indicates whether the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only.</summary>
3575 <see langword="true" /> if the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only; otherwise, <see langword="false" />.</returns>
3577 <member name="P:System.Collections.Immutable.ImmutableList`1.Builder.System#Collections#IList#Item(System.Int32)">
3578 <summary>Gets or sets the <see cref="T:System.Object" /> at the specified index.</summary>
3579 <param name="index">The index.</param>
3580 <returns>The object at the specified index.</returns>
3582 <member name="T:System.Collections.Immutable.ImmutableList`1.Enumerator">
3583 <summary>Enumerates the contents of a binary tree.
3585 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
3586 <typeparam name="T" />
3588 <member name="M:System.Collections.Immutable.ImmutableList`1.Enumerator.Dispose">
3589 <summary>Releases the resources used by the current instance of the <see cref="T:System.Collections.Immutable.ImmutableList`1.Enumerator" /> class.</summary>
3591 <member name="M:System.Collections.Immutable.ImmutableList`1.Enumerator.MoveNext">
3592 <summary>Advances enumeration to the next element of the immutable list.</summary>
3594 <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>
3596 <member name="M:System.Collections.Immutable.ImmutableList`1.Enumerator.Reset">
3597 <summary>Sets the enumerator to its initial position, which is before the first element in the immutable list.</summary>
3599 <member name="P:System.Collections.Immutable.ImmutableList`1.Enumerator.Current">
3600 <summary>Gets the element at the current position of the enumerator.</summary>
3601 <returns>The element at the current position of the enumerator.</returns>
3603 <member name="P:System.Collections.Immutable.ImmutableList`1.Enumerator.System#Collections#IEnumerator#Current">
3604 <summary>The current element.</summary>
3606 <member name="T:System.Collections.Immutable.ImmutableQueue">
3607 <summary>Provides a set of initialization methods for instances of the <see cref="T:System.Collections.Immutable.ImmutableQueue`1" /> class.
3609 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
3611 <member name="M:System.Collections.Immutable.ImmutableQueue.Create``1">
3612 <summary>Creates an empty immutable queue.</summary>
3613 <typeparam name="T">The type of items to be stored in the immutable queue.</typeparam>
3614 <returns>An empty immutable queue.</returns>
3616 <member name="M:System.Collections.Immutable.ImmutableQueue.Create``1(``0)">
3617 <summary>Creates a new immutable queue that contains the specified item.</summary>
3618 <param name="item">The item to prepopulate the queue with.</param>
3619 <typeparam name="T">The type of items in the immutable queue.</typeparam>
3620 <returns>A new immutable queue that contains the specified item.</returns>
3622 <member name="M:System.Collections.Immutable.ImmutableQueue.Create``1(``0[])">
3623 <summary>Creates a new immutable queue that contains the specified array of items.</summary>
3624 <param name="items">An array that contains the items to prepopulate the queue with.</param>
3625 <typeparam name="T">The type of items in the immutable queue.</typeparam>
3626 <returns>A new immutable queue that contains the specified items.</returns>
3628 <member name="M:System.Collections.Immutable.ImmutableQueue.CreateRange``1(System.Collections.Generic.IEnumerable{``0})">
3629 <summary>Creates a new immutable queue that contains the specified items.</summary>
3630 <param name="items">The items to add to the queue before immutability is applied.</param>
3631 <typeparam name="T">The type of elements in the queue.</typeparam>
3632 <returns>An immutable queue that contains the specified items.</returns>
3634 <member name="M:System.Collections.Immutable.ImmutableQueue.Dequeue``1(System.Collections.Immutable.IImmutableQueue{``0},``0@)">
3635 <summary>Removes the item at the beginning of the immutable queue, and returns the new queue.</summary>
3636 <param name="queue">The queue to remove the item from.</param>
3637 <param name="value">When this method returns, contains the item from the beginning of the queue.</param>
3638 <typeparam name="T">The type of elements in the immutable queue.</typeparam>
3639 <exception cref="T:System.InvalidOperationException">The stack is empty.</exception>
3640 <returns>The new queue with the item removed.</returns>
3642 <member name="T:System.Collections.Immutable.ImmutableQueue`1">
3643 <summary>Represents an immutable queue.
3645 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
3646 <typeparam name="T">The type of elements in the queue.</typeparam>
3648 <member name="M:System.Collections.Immutable.ImmutableQueue`1.Clear">
3649 <summary>Removes all objects from the immutable queue.</summary>
3650 <returns>The empty immutable queue.</returns>
3652 <member name="M:System.Collections.Immutable.ImmutableQueue`1.Dequeue">
3653 <summary>Removes the element at the beginning of the immutable queue, and returns the new queue.</summary>
3654 <exception cref="T:System.InvalidOperationException">The queue is empty.</exception>
3655 <returns>The new immutable queue; never <see langword="null" />.</returns>
3657 <member name="M:System.Collections.Immutable.ImmutableQueue`1.Dequeue(`0@)">
3658 <summary>Removes the item at the beginning of the immutable queue, and returns the new queue.</summary>
3659 <param name="value">When this method returns, contains the element from the beginning of the queue.</param>
3660 <exception cref="T:System.InvalidOperationException">The queue is empty.</exception>
3661 <returns>The new immutable queue with the beginning element removed.</returns>
3663 <member name="M:System.Collections.Immutable.ImmutableQueue`1.Enqueue(`0)">
3664 <summary>Adds an element to the end of the immutable queue, and returns the new queue.</summary>
3665 <param name="value">The element to add.</param>
3666 <returns>The new immutable queue.</returns>
3668 <member name="M:System.Collections.Immutable.ImmutableQueue`1.GetEnumerator">
3669 <summary>Returns an enumerator that iterates through the immutable queue.</summary>
3670 <returns>An enumerator that can be used to iterate through the queue.</returns>
3672 <member name="M:System.Collections.Immutable.ImmutableQueue`1.Peek">
3673 <summary>Returns the element at the beginning of the immutable queue without removing it.</summary>
3674 <exception cref="T:System.InvalidOperationException">The queue is empty.</exception>
3675 <returns>The element at the beginning of the queue.</returns>
3677 <member name="M:System.Collections.Immutable.ImmutableQueue`1.PeekRef">
3678 <summary>Gets a read-only reference to the element at the front of the queue.</summary>
3679 <exception cref="T:System.InvalidOperationException">The queue is empty.</exception>
3680 <returns>Read-only reference to the element at the front of the queue.</returns>
3682 <member name="M:System.Collections.Immutable.ImmutableQueue`1.System#Collections#Generic#IEnumerable{T}#GetEnumerator">
3683 <summary>Returns an enumerator that iterates through the collection.</summary>
3684 <returns>An enumerator that can be used to iterate through the collection.</returns>
3686 <member name="M:System.Collections.Immutable.ImmutableQueue`1.System#Collections#IEnumerable#GetEnumerator">
3687 <summary>Returns an enumerator that iterates through a collection.</summary>
3688 <returns>An <see cref="T:System.Collections.IEnumerator" /> object that can be used to iterate through the collection.</returns>
3690 <member name="M:System.Collections.Immutable.ImmutableQueue`1.System#Collections#Immutable#IImmutableQueue{T}#Clear">
3691 <summary>Removes all elements from the immutable queue.</summary>
3692 <returns>The empty immutable queue.</returns>
3694 <member name="M:System.Collections.Immutable.ImmutableQueue`1.System#Collections#Immutable#IImmutableQueue{T}#Dequeue">
3695 <summary>Removes the element at the beginning of the immutable queue, and returns the new queue.</summary>
3696 <exception cref="T:System.InvalidOperationException">Thrown when the queue is empty.</exception>
3697 <returns>The new immutable queue; never <see langword="null" />.</returns>
3699 <member name="M:System.Collections.Immutable.ImmutableQueue`1.System#Collections#Immutable#IImmutableQueue{T}#Enqueue(`0)">
3700 <summary>Adds an element to the end of the immutable queue, and returns the new queue.</summary>
3701 <param name="value">The element to add.</param>
3702 <returns>The new immutable queue.</returns>
3704 <member name="P:System.Collections.Immutable.ImmutableQueue`1.Empty">
3705 <summary>Gets an empty immutable queue.</summary>
3706 <returns>An empty immutable queue.</returns>
3708 <member name="P:System.Collections.Immutable.ImmutableQueue`1.IsEmpty">
3709 <summary>Gets a value that indicates whether this immutable queue is empty.
3711 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
3713 <see langword="true" /> if this queue is empty; otherwise, <see langword="false" />.</returns>
3715 <member name="T:System.Collections.Immutable.ImmutableQueue`1.Enumerator">
3716 <summary>Enumerates the contents of an immutable queue without allocating any memory.
3718 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
3719 <typeparam name="T" />
3721 <member name="M:System.Collections.Immutable.ImmutableQueue`1.Enumerator.MoveNext">
3722 <summary>Advances the enumerator to the next element of the immutable queue.</summary>
3724 <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>
3726 <member name="P:System.Collections.Immutable.ImmutableQueue`1.Enumerator.Current">
3727 <summary>Gets the element at the current position of the enumerator.</summary>
3728 <returns>The element at the current position of the enumerator.</returns>
3730 <member name="T:System.Collections.Immutable.ImmutableSortedDictionary">
3731 <summary>Provides a set of initialization methods for instances of the <see cref="T:System.Collections.Immutable.ImmutableSortedDictionary`2" /> class.
3733 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
3735 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary.Create``2">
3736 <summary>Creates an empty immutable sorted dictionary.</summary>
3737 <typeparam name="TKey">The type of keys stored by the dictionary.</typeparam>
3738 <typeparam name="TValue">The type of values stored by the dictionary.</typeparam>
3739 <returns>An empty immutable sorted dictionary.</returns>
3741 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary.Create``2(System.Collections.Generic.IComparer{``0})">
3742 <summary>Creates an empty immutable sorted dictionary that uses the specified key comparer.</summary>
3743 <param name="keyComparer">The implementation to use to determine the equality of keys in the dictionary.</param>
3744 <typeparam name="TKey">The type of keys stored by the dictionary.</typeparam>
3745 <typeparam name="TValue">The type of values stored by the dictionary.</typeparam>
3746 <returns>An empty immutable sorted dictionary.</returns>
3748 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary.Create``2(System.Collections.Generic.IComparer{``0},System.Collections.Generic.IEqualityComparer{``1})">
3749 <summary>Creates an empty immutable sorted dictionary that uses the specified key and value comparers.</summary>
3750 <param name="keyComparer">The implementation to use to determine the equality of keys in the dictionary.</param>
3751 <param name="valueComparer">The implementation to use to determine the equality of values in the dictionary.</param>
3752 <typeparam name="TKey">The type of keys stored by the dictionary.</typeparam>
3753 <typeparam name="TValue">The type of values stored by the dictionary.</typeparam>
3754 <returns>An empty immutable sorted dictionary.</returns>
3756 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary.CreateBuilder``2">
3757 <summary>Creates a new immutable sorted dictionary builder.</summary>
3758 <typeparam name="TKey">The type of keys stored by the dictionary.</typeparam>
3759 <typeparam name="TValue">The type of values stored by the dictionary.</typeparam>
3760 <returns>The immutable collection builder.</returns>
3762 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary.CreateBuilder``2(System.Collections.Generic.IComparer{``0})">
3763 <summary>Creates a new immutable sorted dictionary builder.</summary>
3764 <param name="keyComparer">The key comparer.</param>
3765 <typeparam name="TKey">The type of keys stored by the dictionary.</typeparam>
3766 <typeparam name="TValue">The type of values stored by the dictionary.</typeparam>
3767 <returns>The immutable collection builder.</returns>
3769 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary.CreateBuilder``2(System.Collections.Generic.IComparer{``0},System.Collections.Generic.IEqualityComparer{``1})">
3770 <summary>Creates a new immutable sorted dictionary builder.</summary>
3771 <param name="keyComparer">The key comparer.</param>
3772 <param name="valueComparer">The value comparer.</param>
3773 <typeparam name="TKey">The type of keys stored by the dictionary.</typeparam>
3774 <typeparam name="TValue">The type of values stored by the dictionary.</typeparam>
3775 <returns>The immutable collection builder.</returns>
3777 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary.CreateRange``2(System.Collections.Generic.IComparer{``0},System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{``0,``1}})">
3778 <summary>Creates a new immutable sorted dictionary from the specified range of items with the specified key comparer.</summary>
3779 <param name="keyComparer">The comparer implementation to use to evaluate keys for equality and sorting.</param>
3780 <param name="items">The items to add to the sorted dictionary.</param>
3781 <typeparam name="TKey">The type of keys stored in the dictionary.</typeparam>
3782 <typeparam name="TValue">The type of values stored in the dictionary.</typeparam>
3783 <returns>The new immutable sorted dictionary that contains the specified items and uses the specified key comparer.</returns>
3785 <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}})">
3786 <summary>Creates a new immutable sorted dictionary from the specified range of items with the specified key and value comparers.</summary>
3787 <param name="keyComparer">The comparer implementation to use to compare keys for equality and sorting.</param>
3788 <param name="valueComparer">The comparer implementation to use to compare values for equality.</param>
3789 <param name="items">The items to add to the sorted dictionary before it's immutable.</param>
3790 <typeparam name="TKey">The type of keys stored in the dictionary.</typeparam>
3791 <typeparam name="TValue">The type of values stored in the dictionary.</typeparam>
3792 <returns>An immutable sorted dictionary that contains the specified items and uses the specified comparers.</returns>
3794 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary.CreateRange``2(System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{``0,``1}})">
3795 <summary>Creates an immutable sorted dictionary that contains the specified items and uses the default comparer.</summary>
3796 <param name="items">The items to add to the sorted dictionary before it's immutable.</param>
3797 <typeparam name="TKey">The type of keys stored in the dictionary.</typeparam>
3798 <typeparam name="TValue">The type of values stored in the dictionary.</typeparam>
3799 <returns>An immutable sorted dictionary that contains the specified items.</returns>
3801 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary.ToImmutableSortedDictionary``2(System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{``0,``1}})">
3802 <summary>Enumerates a sequence of key/value pairs and produces an immutable sorted dictionary of its contents.</summary>
3803 <param name="source">The sequence of key/value pairs to enumerate.</param>
3804 <typeparam name="TKey">The type of the keys in the dictionary.</typeparam>
3805 <typeparam name="TValue">The type of the values in the dictionary.</typeparam>
3806 <returns>An immutable sorted dictionary that contains the key/value pairs in the specified sequence.</returns>
3808 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary.ToImmutableSortedDictionary``2(System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{``0,``1}},System.Collections.Generic.IComparer{``0})">
3809 <summary>Enumerates a sequence of key/value pairs and produces an immutable dictionary of its contents by using the specified key comparer.</summary>
3810 <param name="source">The sequence of key/value pairs to enumerate.</param>
3811 <param name="keyComparer">The key comparer to use when building the immutable dictionary.</param>
3812 <typeparam name="TKey">The type of the keys in the dictionary.</typeparam>
3813 <typeparam name="TValue">The type of the values in the dictionary.</typeparam>
3814 <returns>An immutable sorted dictionary that contains the key/value pairs in the specified sequence.</returns>
3816 <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})">
3817 <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>
3818 <param name="source">The sequence of key/value pairs to enumerate.</param>
3819 <param name="keyComparer">The key comparer to use when building the immutable dictionary.</param>
3820 <param name="valueComparer">The value comparer to use for the immutable dictionary.</param>
3821 <typeparam name="TKey">The type of the keys in the dictionary.</typeparam>
3822 <typeparam name="TValue">The type of the values in the dictionary.</typeparam>
3823 <returns>An immutable sorted dictionary that contains the key/value pairs in the specified sequence.</returns>
3825 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary.ToImmutableSortedDictionary``2(System.Collections.Immutable.ImmutableSortedDictionary{``0,``1}.Builder)">
3826 <summary>Creates an immutable sorted dictionary from the current contents of the builder's dictionary.</summary>
3827 <param name="builder">The builder to create the immutable sorted dictionary from.</param>
3828 <typeparam name="TKey">The type of the keys in the dictionary.</typeparam>
3829 <typeparam name="TValue">The type of the values in the dictionary.</typeparam>
3830 <returns>An immutable sorted dictionary that contains the current contents in the builder's dictionary.</returns>
3832 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary.ToImmutableSortedDictionary``3(System.Collections.Generic.IEnumerable{``0},System.Func{``0,``1},System.Func{``0,``2})">
3833 <summary>Enumerates and transforms a sequence, and produces an immutable sorted dictionary of its contents.</summary>
3834 <param name="source">The sequence to enumerate to generate the dictionary.</param>
3835 <param name="keySelector">The function that will produce the key for the dictionary from each sequence element.</param>
3836 <param name="elementSelector">The function that will produce the value for the dictionary from each sequence element.</param>
3837 <typeparam name="TSource">The type of the elements in the sequence.</typeparam>
3838 <typeparam name="TKey">The type of the keys in the resulting dictionary.</typeparam>
3839 <typeparam name="TValue">The type of the values in the resulting dictionary.</typeparam>
3840 <returns>An immutable sorted dictionary that contains the items in the specified sequence.</returns>
3842 <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})">
3843 <summary>Enumerates and transforms a sequence, and produces an immutable sorted dictionary of its contents by using the specified key comparer.</summary>
3844 <param name="source">The sequence to enumerate to generate the dictionary.</param>
3845 <param name="keySelector">The function that will produce the key for the dictionary from each sequence element.</param>
3846 <param name="elementSelector">The function that will produce the value for the dictionary from each sequence element.</param>
3847 <param name="keyComparer">The key comparer to use for the dictionary.</param>
3848 <typeparam name="TSource">The type of the elements in the sequence.</typeparam>
3849 <typeparam name="TKey">The type of the keys in the resulting dictionary.</typeparam>
3850 <typeparam name="TValue">The type of the values in the resulting dictionary.</typeparam>
3851 <returns>An immutable dictionary that contains the items in the specified sequence.</returns>
3853 <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})">
3854 <summary>Enumerates and transforms a sequence, and produces an immutable sorted dictionary of its contents by using the specified key and value comparers.</summary>
3855 <param name="source">The sequence to enumerate to generate the dictionary.</param>
3856 <param name="keySelector">The function that will produce the key for the dictionary from each sequence element.</param>
3857 <param name="elementSelector">The function that will produce the value for the dictionary from each sequence element.</param>
3858 <param name="keyComparer">The key comparer to use for the dictionary.</param>
3859 <param name="valueComparer">The value comparer to use for the dictionary.</param>
3860 <typeparam name="TSource">The type of the elements in the sequence.</typeparam>
3861 <typeparam name="TKey">The type of the keys in the resulting dictionary.</typeparam>
3862 <typeparam name="TValue">The type of the values in the resulting dictionary.</typeparam>
3863 <returns>An immutable sorted dictionary that contains the items in the specified sequence.</returns>
3865 <member name="T:System.Collections.Immutable.ImmutableSortedDictionary`2">
3866 <summary>Represents an immutable sorted dictionary.
3868 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
3869 <typeparam name="TKey">The type of the key contained in the dictionary.</typeparam>
3870 <typeparam name="TValue">The type of the value contained in the dictionary.</typeparam>
3872 <member name="F:System.Collections.Immutable.ImmutableSortedDictionary`2.Empty">
3873 <summary>Gets an empty immutable sorted dictionary.</summary>
3875 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Add(`0,`1)">
3876 <summary>Adds an element with the specified key and value to the immutable sorted dictionary.</summary>
3877 <param name="key">The key of the entry to add.</param>
3878 <param name="value">The value of entry to add.</param>
3879 <exception cref="T:System.ArgumentException">The given key already exists in the dictionary but has a different value.</exception>
3880 <returns>A new immutable sorted dictionary that contains the additional key/value pair.</returns>
3882 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.AddRange(System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{`0,`1}})">
3883 <summary>Adds the specific key/value pairs to the immutable sorted dictionary.</summary>
3884 <param name="items">The key/value pairs to add.</param>
3885 <exception cref="T:System.ArgumentException">One of the given keys already exists in the dictionary but has a different value.</exception>
3886 <returns>A new immutable dictionary that contains the additional key/value pairs.</returns>
3888 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Clear">
3889 <summary>Retrieves an empty immutable sorted dictionary that has the same ordering and key/value comparison rules as this dictionary instance.</summary>
3890 <returns>An empty dictionary with equivalent ordering and key/value comparison rules.</returns>
3892 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Contains(System.Collections.Generic.KeyValuePair{`0,`1})">
3893 <summary>Determines whether this immutable sorted dictionary contains the specified key/value pair.</summary>
3894 <param name="pair">The key/value pair to locate.</param>
3896 <see langword="true" /> if the specified key/value pair is found in the dictionary; otherwise, <see langword="false" />.</returns>
3898 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.ContainsKey(`0)">
3899 <summary>Determines whether this immutable sorted map contains the specified key.</summary>
3900 <param name="key">The key to locate.</param>
3902 <see langword="true" /> if the immutable dictionary contains the specified key; otherwise, <see langword="false" />.</returns>
3904 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.ContainsValue(`1)">
3905 <summary>Determines whether the immutable sorted dictionary contains an element with the specified value.</summary>
3906 <param name="value">The value to locate. The value can be <see langword="null" /> for reference types.</param>
3908 <see langword="true" /> if the dictionary contains an element with the specified value; otherwise, <see langword="false" />.</returns>
3910 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.GetEnumerator">
3911 <summary>Returns an enumerator that iterates through the immutable sorted dictionary.</summary>
3912 <returns>An enumerator that can be used to iterate through the dictionary.</returns>
3914 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Remove(`0)">
3915 <summary>Removes the element with the specified value from the immutable sorted dictionary.</summary>
3916 <param name="value">The value of the element to remove.</param>
3917 <returns>A new immutable dictionary with the specified element removed; or this instance if the specified value cannot be found in the dictionary.</returns>
3919 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.RemoveRange(System.Collections.Generic.IEnumerable{`0})">
3920 <summary>Removes the elements with the specified keys from the immutable sorted dictionary.</summary>
3921 <param name="keys">The keys of the elements to remove.</param>
3922 <returns>A new immutable dictionary with the specified keys removed; or this instance if the specified keys cannot be found in the dictionary.</returns>
3924 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.SetItem(`0,`1)">
3925 <summary>Sets the specified key and value in the immutable sorted dictionary, possibly overwriting an existing value for the given key.</summary>
3926 <param name="key">The key of the entry to add.</param>
3927 <param name="value">The key value to set.</param>
3928 <returns>A new immutable sorted dictionary that contains the specified key/value pair.</returns>
3930 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.SetItems(System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{`0,`1}})">
3931 <summary>Sets the specified key/value pairs in the immutable sorted dictionary, possibly overwriting existing values for the keys.</summary>
3932 <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>
3933 <returns>An immutable dictionary that contains the specified key/value pairs.</returns>
3935 <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})">
3936 <summary>Adds an item to the <see cref="T:System.Collections.Generic.ICollection`1" />.</summary>
3937 <param name="item">The object to add to the <see cref="T:System.Collections.Generic.ICollection`1" />.</param>
3939 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#Generic#ICollection{System#Collections#Generic#KeyValuePair{TKey@TValue}}#Clear">
3940 <summary>Removes all items from the <see cref="T:System.Collections.Generic.ICollection`1" />.</summary>
3942 <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)">
3943 <summary>Copies the elements of the <see cref="T:System.Collections.Generic.ICollection`1" /> to an <see cref="T:System.Array" />, starting at a particular <see cref="T:System.Array" /> index.</summary>
3944 <param name="array">The one-dimensional <see cref="T:System.Array" /> that is the destination of the elements copied from <see cref="T:System.Collections.Generic.ICollection`1" />. The <see cref="T:System.Array" /> must have zero-based indexing.</param>
3945 <param name="arrayIndex">The zero-based index in <paramref name="array" /> at which copying begins.</param>
3947 <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})">
3948 <summary>Removes the first occurrence of a specific object from the <see cref="T:System.Collections.Generic.ICollection`1" />.</summary>
3949 <param name="item">The object to remove from the <see cref="T:System.Collections.Generic.ICollection`1" />.</param>
3951 <see langword="true" /> if <paramref name="item" /> was successfully removed from the <see cref="T:System.Collections.Generic.ICollection`1" />; otherwise, <see langword="false" />. This method also returns <see langword="false" /> if <paramref name="item" /> is not found in the original <see cref="T:System.Collections.Generic.ICollection`1" />.</returns>
3953 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#Generic#IDictionary{TKey@TValue}#Add(`0,`1)">
3954 <summary>Adds an element with the provided key and value to the generic dictionary.</summary>
3955 <param name="key">The object to use as the key of the element to add.</param>
3956 <param name="value">The object to use as the value of the element to add.</param>
3957 <exception cref="T:System.ArgumentNullException">
3958 <paramref name="key" /> is <see langword="null" />.</exception>
3959 <exception cref="T:System.ArgumentException">An element with the same key already exists in the <see cref="T:System.Collections.Generic.IDictionary`2" />.</exception>
3960 <exception cref="T:System.NotSupportedException">The <see cref="T:System.Collections.Generic.IDictionary`2" /> is read-only.</exception>
3962 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#Generic#IDictionary{TKey@TValue}#Remove(`0)">
3963 <summary>Removes the element with the specified key from the generic dictionary.</summary>
3964 <param name="key">The key of the element to remove.</param>
3965 <exception cref="T:System.ArgumentNullException">
3966 <paramref name="key" /> is <see langword="null" />.</exception>
3967 <exception cref="T:System.NotSupportedException">The <see cref="T:System.Collections.Generic.IDictionary`2" /> is read-only.</exception>
3969 <see langword="true" /> if the element is successfully removed; otherwise, <see langword="false" />. This method also returns <see langword="false" /> if <paramref name="key" /> was not found in the original generic dictionary.</returns>
3971 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#Generic#IEnumerable{System#Collections#Generic#KeyValuePair{TKey@TValue}}#GetEnumerator">
3972 <summary>Returns an enumerator that iterates through the collection.</summary>
3973 <returns>An enumerator that can be used to iterate through the collection.</returns>
3975 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#ICollection#CopyTo(System.Array,System.Int32)">
3976 <summary>Copies the elements of the dictionary to an array, starting at a particular array index.</summary>
3977 <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>
3978 <param name="index">The zero-based index in <paramref name="array" /> at which copying begins.</param>
3980 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#IDictionary#Add(System.Object,System.Object)">
3981 <summary>Adds an element with the provided key and value to the dictionary object.</summary>
3982 <param name="key">The object to use as the key of the element to add.</param>
3983 <param name="value">The object to use as the value of the element to add.</param>
3985 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#IDictionary#Clear">
3986 <summary>Clears this instance.</summary>
3987 <exception cref="T:System.NotSupportedException">The dictionary object is read-only.</exception>
3989 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#IDictionary#Contains(System.Object)">
3990 <summary>Determines whether the immutable dictionary object contains an element with the specified key.</summary>
3991 <param name="key">The key to locate in the dictionary object.</param>
3993 <see langword="true" /> if the dictionary contains an element with the key; otherwise, <see langword="false" />.</returns>
3995 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#IDictionary#GetEnumerator">
3996 <summary>Returns an <see cref="T:System.Collections.IDictionaryEnumerator" /> object for the immutable dictionary object.</summary>
3997 <returns>An enumerator object for the dictionary object.</returns>
3999 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#IDictionary#Remove(System.Object)">
4000 <summary>Removes the element with the specified key from the immutable dictionary object.</summary>
4001 <param name="key">The key of the element to remove.</param>
4003 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#IEnumerable#GetEnumerator">
4004 <summary>Returns an enumerator that iterates through a collection.</summary>
4005 <returns>An enumerator object that can be used to iterate through the collection.</returns>
4007 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#Immutable#IImmutableDictionary{TKey@TValue}#Add(`0,`1)">
4008 <summary>See the <see cref="T:System.Collections.Immutable.IImmutableDictionary`2" /> interface.</summary>
4009 <param name="key">Key of the entry to be added.</param>
4010 <param name="value">Value of the entry to be added.</param>
4011 <returns>The <see cref="T:System.Collections.Immutable.IImmutableDictionary`2" /> instance.</returns>
4013 <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}})">
4014 <summary>See the <see cref="T:System.Collections.Immutable.IImmutableDictionary`2" /> interface.</summary>
4015 <param name="pairs">Sequence of key/value pairs to be added.</param>
4016 <returns>The <see cref="T:System.Collections.Immutable.IImmutableDictionary`2" /> instance.</returns>
4018 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#Immutable#IImmutableDictionary{TKey@TValue}#Clear">
4019 <summary>See the <see cref="T:System.Collections.Immutable.IImmutableDictionary`2" /> interface.</summary>
4020 <returns>The <see cref="T:System.Collections.Immutable.IImmutableDictionary`2" /> instance.</returns>
4022 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#Immutable#IImmutableDictionary{TKey@TValue}#Remove(`0)">
4023 <summary>See the <see cref="T:System.Collections.Immutable.IImmutableDictionary`2" /> interface.</summary>
4024 <param name="key">Key of entry to be removed.</param>
4025 <returns>The <see cref="T:System.Collections.Immutable.IImmutableDictionary`2" /> instance.</returns>
4027 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#Immutable#IImmutableDictionary{TKey@TValue}#RemoveRange(System.Collections.Generic.IEnumerable{`0})">
4028 <summary>See the <see cref="T:System.Collections.Immutable.IImmutableDictionary`2" /> interface.</summary>
4029 <param name="keys">Sequence of keys to be removed.</param>
4030 <returns>The <see cref="T:System.Collections.Immutable.IImmutableDictionary`2" /> instance.</returns>
4032 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#Immutable#IImmutableDictionary{TKey@TValue}#SetItem(`0,`1)">
4033 <summary>See the <see cref="T:System.Collections.Immutable.IImmutableDictionary`2" /> interface.</summary>
4034 <param name="key">Key of entry to be updated.</param>
4035 <param name="value">Value of entry to be updated.</param>
4036 <returns>The <see cref="T:System.Collections.Immutable.IImmutableDictionary`2" /> instance.</returns>
4038 <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}})">
4039 <summary>Applies a given set of key-value pairs to an immutable dictionary, replacing any conflicting keys in the resulting dictionary.</summary>
4040 <param name="items">A set of key-value pairs to set on the map.</param>
4041 <returns>The <see cref="T:System.Collections.Immutable.IImmutableDictionary`2" /> instance.</returns>
4043 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.ToBuilder">
4044 <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>
4045 <returns>A collection with the same contents as this dictionary.</returns>
4047 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.TryGetKey(`0,`0@)">
4048 <summary>Determines whether this dictionary contains a specified key.</summary>
4049 <param name="equalKey">The key to search for.</param>
4050 <param name="actualKey">The matching key located in the dictionary if found, or <c>equalkey</c> if no match is found.</param>
4052 <see langword="true" /> if a match for <paramref name="equalKey" /> is found; otherwise, <see langword="false" />.</returns>
4054 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.TryGetValue(`0,`1@)">
4055 <summary>Gets the value associated with the specified key.</summary>
4056 <param name="key">The key whose value will be retrieved.</param>
4057 <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>
4059 <see langword="true" /> if the dictionary contains an element with the specified key; otherwise, <see langword="false" />.</returns>
4061 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.ValueRef(`0)">
4062 <summary>Returns a read-only reference to the value associated with the provided <paramref name="key" />.</summary>
4063 <param name="key">Key of the entry to be looked up.</param>
4064 <exception cref="T:System.Collections.Generic.KeyNotFoundException">The <paramref name="key" /> is not present.</exception>
4065 <returns>A read-only reference to the value associated with the provided <paramref name="key" />.</returns>
4067 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.WithComparers(System.Collections.Generic.IComparer{`0})">
4068 <summary>Gets an instance of the immutable sorted dictionary that uses the specified key comparer.</summary>
4069 <param name="keyComparer">The key comparer to use.</param>
4070 <returns>An instance of the immutable dictionary that uses the given comparer.</returns>
4072 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.WithComparers(System.Collections.Generic.IComparer{`0},System.Collections.Generic.IEqualityComparer{`1})">
4073 <summary>Gets an instance of the immutable sorted dictionary that uses the specified key and value comparers.</summary>
4074 <param name="keyComparer">The key comparer to use.</param>
4075 <param name="valueComparer">The value comparer to use.</param>
4076 <returns>An instance of the immutable dictionary that uses the given comparers.</returns>
4078 <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.Count">
4079 <summary>Gets the number of key/value pairs in the immutable sorted dictionary.</summary>
4080 <returns>The number of key/value pairs in the dictionary.</returns>
4082 <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.IsEmpty">
4083 <summary>Gets a value that indicates whether this instance of the immutable sorted dictionary is empty.</summary>
4085 <see langword="true" /> if this instance is empty; otherwise, <see langword="false" />.</returns>
4087 <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.Item(`0)">
4088 <summary>Gets the <paramref name="TValue" /> associated with the specified key.</summary>
4089 <param name="key">The key to retrieve the value for.</param>
4090 <returns>The value associated with the specified key. If no results are found, the operation throws an exception.</returns>
4092 <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.KeyComparer">
4093 <summary>Gets the key comparer for the immutable sorted dictionary.</summary>
4094 <returns>The key comparer for the dictionary.</returns>
4096 <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.Keys">
4097 <summary>Gets the keys in the immutable sorted dictionary.</summary>
4098 <returns>The keys in the immutable dictionary.</returns>
4100 <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#Generic#ICollection{System#Collections#Generic#KeyValuePair{TKey@TValue}}#IsReadOnly">
4101 <summary>Gets a value indicating whether the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only.</summary>
4103 <see langword="true" /> if the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only; otherwise, <see langword="false" />.</returns>
4105 <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#Generic#IDictionary{TKey@TValue}#Item(`0)">
4106 <summary>Gets or sets the <typeparamref name="TValue" /> with the specified key.</summary>
4107 <param name="key">The object to use as the key of the element to access.</param>
4108 <returns>An object of type <typeparamref name="TValue" /> associated with the <paramref name="key" />.</returns>
4110 <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#Generic#IDictionary{TKey@TValue}#Keys">
4111 <summary>Gets the keys.</summary>
4112 <returns>A collection containing the keys.</returns>
4114 <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#Generic#IDictionary{TKey@TValue}#Values">
4115 <summary>Gets the values.</summary>
4116 <returns>A collection containing the values.</returns>
4118 <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#ICollection#IsSynchronized">
4119 <summary>Gets a value indicating whether access to the <see cref="T:System.Collections.ICollection" /> is synchronized (thread safe).</summary>
4121 <see langword="true" /> if access to the <see cref="T:System.Collections.ICollection" /> is synchronized (thread-safe); otherwise, <see langword="false" />.</returns>
4123 <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#ICollection#SyncRoot">
4124 <summary>Gets an object that can be used to synchronize access to the <see cref="T:System.Collections.ICollection" />.</summary>
4125 <returns>An object that can be used to synchronize access to the <see cref="T:System.Collections.ICollection" />.</returns>
4127 <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#IDictionary#IsFixedSize">
4128 <summary>Gets a value indicating whether the <see cref="T:System.Collections.IDictionary" /> object has a fixed size.</summary>
4130 <see langword="true" /> if the <see cref="T:System.Collections.IDictionary" /> object has a fixed size; otherwise, <see langword="false" />.</returns>
4132 <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#IDictionary#IsReadOnly">
4133 <summary>Gets a value indicating whether the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only.</summary>
4135 <see langword="true" /> if the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only; otherwise, <see langword="false" />.</returns>
4137 <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#IDictionary#Item(System.Object)">
4138 <summary>Gets or sets the element with the specified key.</summary>
4139 <param name="key">The key of the element to be accessed.</param>
4140 <returns>Value stored under the specified key.</returns>
4142 <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#IDictionary#Keys">
4143 <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>
4144 <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>
4146 <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#IDictionary#Values">
4147 <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>
4148 <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>
4150 <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.ValueComparer">
4151 <summary>Gets the value comparer used to determine whether values are equal.</summary>
4152 <returns>The value comparer used to determine whether values are equal.</returns>
4154 <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.Values">
4155 <summary>Gets the values in the immutable sorted dictionary.</summary>
4156 <returns>The values in the dictionary.</returns>
4158 <member name="T:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder">
4159 <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.
4161 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
4162 <typeparam name="TKey" />
4163 <typeparam name="TValue" />
4165 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.Add(`0,`1)">
4166 <summary>Adds an element that has the specified key and value to the immutable sorted dictionary.</summary>
4167 <param name="key">The key of the element to add.</param>
4168 <param name="value">The value of the element to add.</param>
4170 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.Add(System.Collections.Generic.KeyValuePair{`0,`1})">
4171 <summary>Adds the specified item to the immutable sorted dictionary.</summary>
4172 <param name="item">The object to add to the dictionary.</param>
4174 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.AddRange(System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{`0,`1}})">
4175 <summary>Adds a sequence of values to the immutable sorted dictionary.</summary>
4176 <param name="items">The items to add to the dictionary.</param>
4178 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.Clear">
4179 <summary>Removes all items from the immutable sorted dictionary.</summary>
4181 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.Contains(System.Collections.Generic.KeyValuePair{`0,`1})">
4182 <summary>Determines whether the immutable sorted dictionary contains a specific value.</summary>
4183 <param name="item">The object to locate in the dictionary.</param>
4185 <see langword="true" /> if <paramref name="item" /> is found in the dictionary; otherwise, <see langword="false" />.</returns>
4187 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.ContainsKey(`0)">
4188 <summary>Determines whether the immutable sorted dictionary contains an element with the specified key.</summary>
4189 <param name="key">The key to locate in the dictionary.</param>
4191 <see langword="true" /> if the dictionary contains an element with the key; otherwise, <see langword="false" />.</returns>
4193 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.ContainsValue(`1)">
4194 <summary>Determines whether the immutable sorted dictionary contains an element with the specified value.</summary>
4195 <param name="value">The value to locate in the dictionary. The value can be <see langword="null" /> for reference types.</param>
4197 <see langword="true" /> if the immutable sorted dictionary contains an element with the specified value; otherwise, <see langword="false" />.</returns>
4199 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.GetEnumerator">
4200 <summary>Returns an enumerator that iterates through the immutable sorted dictionary.</summary>
4201 <returns>An enumerator that can be used to iterate through the dictionary.</returns>
4203 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.GetValueOrDefault(`0)">
4204 <summary>Gets the value for a given key if a matching key exists in the dictionary; otherwise the default value.</summary>
4205 <param name="key">The key to search for.</param>
4206 <returns>The value for the key, or <c>default(TValue)</c> if no matching key was found.</returns>
4208 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.GetValueOrDefault(`0,`1)">
4209 <summary>Gets the value for a given key if a matching key exists in the dictionary; otherwise the default value.</summary>
4210 <param name="key">The key to search for.</param>
4211 <param name="defaultValue">The default value to return if no matching key is found in the dictionary.</param>
4212 <returns>The value for the key, or <paramref name="defaultValue" /> if no matching key was found.</returns>
4214 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.Remove(`0)">
4215 <summary>Removes the element with the specified key from the immutable sorted dictionary.</summary>
4216 <param name="key">The key of the element to remove.</param>
4218 <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>
4220 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.Remove(System.Collections.Generic.KeyValuePair{`0,`1})">
4221 <summary>Removes the first occurrence of a specific object from the immutable sorted dictionary.</summary>
4222 <param name="item">The object to remove from the dictionary.</param>
4224 <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>
4226 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.RemoveRange(System.Collections.Generic.IEnumerable{`0})">
4227 <summary>Removes any entries with keys that match those found in the specified sequence from the immutable sorted dictionary.</summary>
4228 <param name="keys">The keys for entries to remove from the dictionary.</param>
4230 <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)">
4231 <summary>See <see cref="T:System.Collections.Generic.IDictionary`2" />.</summary>
4232 <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>
4233 <param name="arrayIndex">The zero-based index in <paramref name="array" /> at which copying begins.</param>
4235 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.System#Collections#Generic#IEnumerable{System#Collections#Generic#KeyValuePair{TKey@TValue}}#GetEnumerator">
4236 <summary>See <see cref="T:System.Collections.Generic.IDictionary`2" />.</summary>
4237 <returns>An enumerator that can be used to iterate through the collection.</returns>
4239 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.System#Collections#ICollection#CopyTo(System.Array,System.Int32)">
4240 <summary>Copies the elements of the dictionary to an array, starting at a particular array index.
4242 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
4243 <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>
4244 <param name="index">The zero-based index in <paramref name="array" /> at which copying begins.</param>
4246 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.System#Collections#IDictionary#Add(System.Object,System.Object)">
4247 <summary>Adds an element with the provided key and value to the dictionary object.</summary>
4248 <param name="key">The key of the element to add.</param>
4249 <param name="value">The value of the element to add.</param>
4251 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.System#Collections#IDictionary#Contains(System.Object)">
4252 <summary>Determines whether the dictionary object contains an element with the specified key.</summary>
4253 <param name="key">The key to locate.</param>
4255 <see langword="true" /> if the dictionary contains an element with the key; otherwise, <see langword="false" />.</returns>
4257 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.System#Collections#IDictionary#GetEnumerator">
4258 <summary>Returns an <see cref="T:System.Collections.IDictionaryEnumerator" /> object for the dictionary.</summary>
4259 <returns>An <see cref="T:System.Collections.IDictionaryEnumerator" /> object for the dictionary.</returns>
4261 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.System#Collections#IDictionary#Remove(System.Object)">
4262 <summary>Removes the element with the specified key from the dictionary.</summary>
4263 <param name="key">The key of the element to remove.</param>
4265 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.System#Collections#IEnumerable#GetEnumerator">
4266 <summary>Returns an enumerator that iterates through a collection.</summary>
4267 <returns>An enumerator object that can be used to iterate through the collection.</returns>
4269 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.ToImmutable">
4270 <summary>Creates an immutable sorted dictionary based on the contents of this instance.</summary>
4271 <returns>An immutable sorted dictionary.</returns>
4273 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.TryGetKey(`0,`0@)">
4274 <summary>Determines whether this dictionary contains a specified key.</summary>
4275 <param name="equalKey">The key to search for.</param>
4276 <param name="actualKey">The matching key located in the dictionary if found, or <c>equalkey</c> if no match is found.</param>
4278 <see langword="true" /> if a match for <paramref name="equalKey" /> is found; otherwise, <see langword="false" />.</returns>
4280 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.TryGetValue(`0,`1@)">
4281 <summary>Gets the value associated with the specified key.</summary>
4282 <param name="key">The key whose value will be retrieved.</param>
4283 <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>
4285 <see langword="true" /> if the object that implements the dictionary contains an element with the specified key; otherwise, <see langword="false" />.</returns>
4287 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.ValueRef(`0)">
4288 <summary>Returns a read-only reference to the value associated with the provided <paramref name="key" />.</summary>
4289 <param name="key">Key of the entry to be looked up.</param>
4290 <exception cref="T:System.Collections.Generic.KeyNotFoundException">The <paramref name="key" /> is not present.</exception>
4291 <returns>A read-only reference to the value associated with the provided <paramref name="key" />.</returns>
4293 <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.Count">
4294 <summary>Gets the number of elements in this immutable sorted dictionary.</summary>
4295 <returns>The number of elements in this dictionary.</returns>
4297 <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.Item(`0)">
4298 <summary>Gets or sets the value for a specified key in the immutable sorted dictionary.</summary>
4299 <param name="key">The key to retrieve the value for.</param>
4300 <returns>The value associated with the given key.</returns>
4302 <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.KeyComparer">
4303 <summary>Gets or sets the key comparer.</summary>
4304 <returns>The key comparer.</returns>
4306 <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.Keys">
4307 <summary>Gets a strongly typed, read-only collection of elements.</summary>
4308 <returns>A strongly typed, read-only collection of elements.</returns>
4310 <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.System#Collections#Generic#ICollection{System#Collections#Generic#KeyValuePair{TKey@TValue}}#IsReadOnly">
4311 <summary>Gets a value that indicates whether this instance is read-only.</summary>
4312 <returns>Always <see langword="false" />.</returns>
4314 <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.System#Collections#Generic#IDictionary{TKey@TValue}#Keys">
4315 <summary>Returns a collection containing all keys stored in the dictionary. See <see cref="T:System.Collections.Generic.IDictionary`2" />.</summary>
4316 <returns>A collection containing all keys stored in the dictionary.</returns>
4318 <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.System#Collections#Generic#IDictionary{TKey@TValue}#Values">
4319 <summary>Returns a collection containing all values stored in the dictionary. See <see cref="T:System.Collections.Generic.IDictionary`2" />.</summary>
4320 <returns>A collection containing all values stored in the dictionary.</returns>
4322 <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.System#Collections#ICollection#IsSynchronized">
4323 <summary>Gets a value that indicates whether access to the <see cref="T:System.Collections.ICollection" /> is synchronized (thread safe).</summary>
4325 <see langword="true" /> if access to the <see cref="T:System.Collections.ICollection" /> is synchronized (thread safe); otherwise, <see langword="false" />.</returns>
4327 <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.System#Collections#ICollection#SyncRoot">
4328 <summary>Gets an object that can be used to synchronize access to the <see cref="T:System.Collections.ICollection" />.</summary>
4329 <returns>An object that can be used to synchronize access to the <see cref="T:System.Collections.ICollection" />.</returns>
4331 <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.System#Collections#IDictionary#IsFixedSize">
4332 <summary>Gets a value that indicates whether the <see cref="T:System.Collections.IDictionary" /> object has a fixed size.</summary>
4334 <see langword="true" /> if the <see cref="T:System.Collections.IDictionary" /> object has a fixed size; otherwise, <see langword="false" />.</returns>
4336 <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.System#Collections#IDictionary#IsReadOnly">
4337 <summary>Gets a value that indicates whether the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only.</summary>
4339 <see langword="true" /> if the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only; otherwise, <see langword="false" />.</returns>
4341 <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.System#Collections#IDictionary#Item(System.Object)">
4342 <summary>Gets or sets the element with the specified key.</summary>
4343 <param name="key">The key.</param>
4344 <returns>The value associated with the specified key.</returns>
4346 <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.System#Collections#IDictionary#Keys">
4347 <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>
4348 <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>
4350 <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.System#Collections#IDictionary#Values">
4351 <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>
4352 <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>
4354 <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.ValueComparer">
4355 <summary>Gets or sets the value comparer.</summary>
4356 <returns>The value comparer.</returns>
4358 <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.Values">
4359 <summary>Gets a collection that contains the values of the immutable sorted dictionary.</summary>
4360 <returns>A collection that contains the values of the object that implements the dictionary.</returns>
4362 <member name="T:System.Collections.Immutable.ImmutableSortedDictionary`2.Enumerator">
4363 <summary>Enumerates the contents of a binary tree.
4365 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
4366 <typeparam name="TKey" />
4367 <typeparam name="TValue" />
4369 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Enumerator.Dispose">
4370 <summary>Releases the resources used by the current instance of the <see cref="T:System.Collections.Immutable.ImmutableSortedDictionary`2.Enumerator" /> class.</summary>
4372 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Enumerator.MoveNext">
4373 <summary>Advances the enumerator to the next element of the immutable sorted dictionary.</summary>
4375 <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>
4377 <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Enumerator.Reset">
4378 <summary>Sets the enumerator to its initial position, which is before the first element in the immutable sorted dictionary.</summary>
4380 <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.Enumerator.Current">
4381 <summary>Gets the element at the current position of the enumerator.</summary>
4382 <returns>The element at the current position of the enumerator.</returns>
4384 <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.Enumerator.System#Collections#IEnumerator#Current">
4385 <summary>The current element.</summary>
4387 <member name="T:System.Collections.Immutable.ImmutableSortedSet">
4388 <summary>Provides a set of initialization methods for instances of the <see cref="T:System.Collections.Immutable.ImmutableSortedSet`1" /> class.
4390 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
4392 <member name="M:System.Collections.Immutable.ImmutableSortedSet.Create``1">
4393 <summary>Creates an empty immutable sorted set.</summary>
4394 <typeparam name="T">The type of items to be stored in the immutable set.</typeparam>
4395 <returns>An empty immutable sorted set.</returns>
4397 <member name="M:System.Collections.Immutable.ImmutableSortedSet.Create``1(``0)">
4398 <summary>Creates a new immutable sorted set that contains the specified item.</summary>
4399 <param name="item">The item to prepopulate the set with.</param>
4400 <typeparam name="T">The type of items in the immutable set.</typeparam>
4401 <returns>A new immutable set that contains the specified item.</returns>
4403 <member name="M:System.Collections.Immutable.ImmutableSortedSet.Create``1(``0[])">
4404 <summary>Creates a new immutable sorted set that contains the specified array of items.</summary>
4405 <param name="items">An array that contains the items to prepopulate the set with.</param>
4406 <typeparam name="T">The type of items in the immutable set.</typeparam>
4407 <returns>A new immutable set that contains the specified items.</returns>
4409 <member name="M:System.Collections.Immutable.ImmutableSortedSet.Create``1(System.Collections.Generic.IComparer{``0})">
4410 <summary>Creates an empty immutable sorted set that uses the specified comparer.</summary>
4411 <param name="comparer">The implementation to use when comparing items in the set.</param>
4412 <typeparam name="T">The type of items in the immutable set.</typeparam>
4413 <returns>An empty immutable set.</returns>
4415 <member name="M:System.Collections.Immutable.ImmutableSortedSet.Create``1(System.Collections.Generic.IComparer{``0},``0)">
4416 <summary>Creates a new immutable sorted set that contains the specified item and uses the specified comparer.</summary>
4417 <param name="comparer">The implementation to use when comparing items in the set.</param>
4418 <param name="item">The item to prepopulate the set with.</param>
4419 <typeparam name="T">The type of items stored in the immutable set.</typeparam>
4420 <returns>A new immutable set that contains the specified item.</returns>
4422 <member name="M:System.Collections.Immutable.ImmutableSortedSet.Create``1(System.Collections.Generic.IComparer{``0},``0[])">
4423 <summary>Creates a new immutable sorted set that contains the specified array of items and uses the specified comparer.</summary>
4424 <param name="comparer">The implementation to use when comparing items in the set.</param>
4425 <param name="items">An array that contains the items to prepopulate the set with.</param>
4426 <typeparam name="T">The type of items in the immutable set.</typeparam>
4427 <returns>A new immutable set that contains the specified items.</returns>
4429 <member name="M:System.Collections.Immutable.ImmutableSortedSet.CreateBuilder``1">
4430 <summary>Returns a collection that can be used to build an immutable sorted set.</summary>
4431 <typeparam name="T">The type of items stored by the collection.</typeparam>
4432 <returns>The immutable collection builder.</returns>
4434 <member name="M:System.Collections.Immutable.ImmutableSortedSet.CreateBuilder``1(System.Collections.Generic.IComparer{``0})">
4435 <summary>Returns a collection that can be used to build an immutable sorted set.</summary>
4436 <param name="comparer">The comparer used to compare items in the set for equality.</param>
4437 <typeparam name="T">The type of items stored by the collection.</typeparam>
4438 <returns>The immutable collection.</returns>
4440 <member name="M:System.Collections.Immutable.ImmutableSortedSet.CreateRange``1(System.Collections.Generic.IComparer{``0},System.Collections.Generic.IEnumerable{``0})">
4441 <summary>Creates a new immutable collection that contains the specified items.</summary>
4442 <param name="comparer">The comparer to use to compare elements in this set.</param>
4443 <param name="items">The items to add to the set before it's immutable.</param>
4444 <typeparam name="T">The type of items stored by the collection.</typeparam>
4445 <returns>The new immutable set that contains the specified items.</returns>
4447 <member name="M:System.Collections.Immutable.ImmutableSortedSet.CreateRange``1(System.Collections.Generic.IEnumerable{``0})">
4448 <summary>Creates a new immutable collection that contains the specified items.</summary>
4449 <param name="items">The items to add to the set with before it's immutable.</param>
4450 <typeparam name="T">The type of items stored by the collection.</typeparam>
4451 <returns>The new immutable set that contains the specified items.</returns>
4453 <member name="M:System.Collections.Immutable.ImmutableSortedSet.ToImmutableSortedSet``1(System.Collections.Generic.IEnumerable{``0})">
4454 <summary>Enumerates a sequence and produces an immutable sorted set of its contents.</summary>
4455 <param name="source">The sequence to enumerate.</param>
4456 <typeparam name="TSource">The type of the elements in the sequence.</typeparam>
4457 <returns>An immutable sorted set that contains the items in the specified sequence.</returns>
4459 <member name="M:System.Collections.Immutable.ImmutableSortedSet.ToImmutableSortedSet``1(System.Collections.Generic.IEnumerable{``0},System.Collections.Generic.IComparer{``0})">
4460 <summary>Enumerates a sequence, produces an immutable sorted set of its contents, and uses the specified comparer.</summary>
4461 <param name="source">The sequence to enumerate.</param>
4462 <param name="comparer">The comparer to use for initializing and adding members to the sorted set.</param>
4463 <typeparam name="TSource">The type of the elements in the sequence.</typeparam>
4464 <returns>An immutable sorted set that contains the items in the specified sequence.</returns>
4466 <member name="M:System.Collections.Immutable.ImmutableSortedSet.ToImmutableSortedSet``1(System.Collections.Immutable.ImmutableSortedSet{``0}.Builder)">
4467 <summary>Creates an immutable sorted set from the current contents of the builder's set.</summary>
4468 <param name="builder">The builder to create the immutable sorted set from.</param>
4469 <typeparam name="TSource">The type of the elements in the immutable sorted set.</typeparam>
4470 <returns>An immutable sorted set that contains the current contents in the builder's set.</returns>
4472 <member name="T:System.Collections.Immutable.ImmutableSortedSet`1">
4473 <summary>Represents an immutable sorted set implementation.
4475 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
4476 <typeparam name="T">The type of elements in the set.</typeparam>
4478 <member name="F:System.Collections.Immutable.ImmutableSortedSet`1.Empty">
4479 <summary>Gets an empty immutable sorted set.</summary>
4481 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Add(`0)">
4482 <summary>Adds the specified value to this immutable sorted set.</summary>
4483 <param name="value">The value to add.</param>
4484 <returns>A new set with the element added, or this set if the element is already in this set.</returns>
4486 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Clear">
4487 <summary>Removes all elements from the immutable sorted set.</summary>
4488 <returns>An empty set with the elements removed.</returns>
4490 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Contains(`0)">
4491 <summary>Determines whether this immutable sorted set contains the specified value.</summary>
4492 <param name="value">The value to check for.</param>
4494 <see langword="true" /> if the set contains the specified value; otherwise, <see langword="false" />.</returns>
4496 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Except(System.Collections.Generic.IEnumerable{`0})">
4497 <summary>Removes a specified set of items from this immutable sorted set.</summary>
4498 <param name="other">The items to remove from this set.</param>
4499 <returns>A new set with the items removed; or the original set if none of the items were in the set.</returns>
4501 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.GetEnumerator">
4502 <summary>Returns an enumerator that iterates through the immutable sorted set.</summary>
4503 <returns>An enumerator that can be used to iterate through the set.</returns>
4505 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.IndexOf(`0)">
4506 <summary>Gets the position within this immutable sorted set that the specified value appears in.</summary>
4507 <param name="item">The value whose position is being sought.</param>
4508 <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>
4510 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Intersect(System.Collections.Generic.IEnumerable{`0})">
4511 <summary>Creates an immutable sorted set that contains elements that exist both in this set and in the specified set.</summary>
4512 <param name="other">The set to intersect with this one.</param>
4513 <returns>A new immutable sorted set that contains any elements that exist in both sets.</returns>
4515 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.IsProperSubsetOf(System.Collections.Generic.IEnumerable{`0})">
4516 <summary>Determines whether the current immutable sorted set is a proper (strict) subset of the specified collection.</summary>
4517 <param name="other">The collection to compare to the current set.</param>
4519 <see langword="true" /> if the current set is a proper subset of <paramref name="other" />; otherwise, <see langword="false" />.</returns>
4521 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.IsProperSupersetOf(System.Collections.Generic.IEnumerable{`0})">
4522 <summary>Determines whether the current immutable sorted set is a proper superset of a specified collection.</summary>
4523 <param name="other">The collection to compare to the current set.</param>
4525 <see langword="true" /> if the current set is a proper superset of <paramref name="other" />; otherwise, <see langword="false" />.</returns>
4527 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.IsSubsetOf(System.Collections.Generic.IEnumerable{`0})">
4528 <summary>Determines whether the current immutable sorted set is a subset of a specified collection.</summary>
4529 <param name="other">The collection to compare to the current set.</param>
4531 <see langword="true" /> if the current set is a subset of <paramref name="other" />; otherwise, <see langword="false" />.</returns>
4533 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.IsSupersetOf(System.Collections.Generic.IEnumerable{`0})">
4534 <summary>Determines whether the current immutable sorted set is a superset of a specified collection.</summary>
4535 <param name="other">The collection to compare to the current set.</param>
4537 <see langword="true" /> if the current set is a superset of <paramref name="other" />; otherwise, <see langword="false" />.</returns>
4539 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.ItemRef(System.Int32)">
4540 <summary>Gets a read-only reference of the element of the set at the given <paramref name="index" />.</summary>
4541 <param name="index">The 0-based index of the element in the set to return.</param>
4542 <returns>A read-only reference of the element at the given position.</returns>
4544 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Overlaps(System.Collections.Generic.IEnumerable{`0})">
4545 <summary>Determines whether the current immutable sorted set and a specified collection share common elements.</summary>
4546 <param name="other">The collection to compare to the current set.</param>
4548 <see langword="true" /> if the current set and <paramref name="other" /> share at least one common element; otherwise, <see langword="false" />.</returns>
4550 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Remove(`0)">
4551 <summary>Removes the specified value from this immutable sorted set.</summary>
4552 <param name="value">The element to remove.</param>
4553 <returns>A new immutable sorted set with the element removed, or this set if the element was not found in the set.</returns>
4555 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Reverse">
4556 <summary>Returns an <see cref="T:System.Collections.Generic.IEnumerable`1" /> that iterates over this immutable sorted set in reverse order.</summary>
4557 <returns>An enumerator that iterates over the immutable sorted set in reverse order.</returns>
4559 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.SetEquals(System.Collections.Generic.IEnumerable{`0})">
4560 <summary>Determines whether the current immutable sorted set and the specified collection contain the same elements.</summary>
4561 <param name="other">The collection to compare to the current set.</param>
4563 <see langword="true" /> if the sets are equal; otherwise, <see langword="false" />.</returns>
4565 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.SymmetricExcept(System.Collections.Generic.IEnumerable{`0})">
4566 <summary>Creates an immutable sorted set that contains elements that exist either in this set or in a given sequence, but not both.</summary>
4567 <param name="other">The other sequence of items.</param>
4568 <returns>The new immutable sorted set.</returns>
4570 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#Generic#ICollection{T}#Add(`0)">
4571 <summary>Adds the specified value to the collection.</summary>
4572 <param name="item">The value to add.</param>
4574 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#Generic#ICollection{T}#Clear">
4575 <summary>Removes all the items from the collection.</summary>
4577 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#Generic#ICollection{T}#CopyTo(`0[],System.Int32)">
4578 <summary>Copies the elements of the collection to an array, starting at a particular array index.</summary>
4579 <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>
4580 <param name="arrayIndex">The zero-based index in <paramref name="array" /> at which copying begins.</param>
4582 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#Generic#ICollection{T}#Remove(`0)">
4583 <summary>Removes the first occurrence of a specific object from the collection.</summary>
4584 <param name="item">The object to remove from the collection.</param>
4586 <see langword="true" /> if <paramref name="item" /> was successfully removed from the collection; otherwise, <see langword="false" />.</returns>
4588 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#Generic#IEnumerable{T}#GetEnumerator">
4589 <summary>Returns an enumerator that iterates through the collection.</summary>
4590 <returns>An enumerator that can be used to iterate through the collection.</returns>
4592 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#Generic#IList{T}#Insert(System.Int32,`0)">
4593 <summary>Inserts an item in the set at the specified index.</summary>
4594 <param name="index">The zero-based index at which <paramref name="item" /> should be inserted.</param>
4595 <param name="item">The object to insert into the set.</param>
4597 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#Generic#IList{T}#RemoveAt(System.Int32)">
4598 <summary>Removes the item at the specified index.</summary>
4599 <param name="index">The zero-based index of the item to remove.</param>
4601 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#Generic#ISet{T}#Add(`0)">
4602 <summary>Adds an element to the current set and returns a value to indicate if the element was successfully added.</summary>
4603 <param name="item">The element to add to the set.</param>
4605 <see langword="true" /> if the element is added to the set; <see langword="false" /> if the element is already in the set.</returns>
4607 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#Generic#ISet{T}#ExceptWith(System.Collections.Generic.IEnumerable{`0})">
4608 <summary>Removes all elements in the specified collection from the current set.</summary>
4609 <param name="other">The collection of items to remove from the set.</param>
4611 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#Generic#ISet{T}#IntersectWith(System.Collections.Generic.IEnumerable{`0})">
4612 <summary>Modifies the current set so that it contains only elements that are also in a specified collection.</summary>
4613 <param name="other">The collection to compare to the current set.</param>
4615 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#Generic#ISet{T}#SymmetricExceptWith(System.Collections.Generic.IEnumerable{`0})">
4616 <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>
4617 <param name="other">The collection to compare to the current set.</param>
4619 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#Generic#ISet{T}#UnionWith(System.Collections.Generic.IEnumerable{`0})">
4620 <summary>Modifies the current set so that it contains all elements that are present in either the current set or the specified collection.</summary>
4621 <param name="other">The collection to compare to the current set.</param>
4623 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#ICollection#CopyTo(System.Array,System.Int32)">
4624 <summary>Copies the elements of the set to an array, starting at a particular array index.</summary>
4625 <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>
4626 <param name="index">The zero-based index in <paramref name="array" /> at which copying begins.</param>
4628 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#IEnumerable#GetEnumerator">
4629 <summary>Returns an enumerator that iterates through a collection.</summary>
4630 <returns>An enumerator object that can be used to iterate through the collection.</returns>
4632 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#IList#Add(System.Object)">
4633 <summary>Adds an item to the set.</summary>
4634 <param name="value">The object to add to the set.</param>
4635 <exception cref="T:System.NotSupportedException">The set is read-only or has a fixed size.</exception>
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>
4638 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#IList#Clear">
4639 <summary>Removes all items from the set.</summary>
4640 <exception cref="T:System.NotSupportedException">Thrown in all cases.</exception>
4642 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#IList#Contains(System.Object)">
4643 <summary>Determines whether the set contains a specific value.</summary>
4644 <param name="value">The object to locate in the set.</param>
4646 <see langword="true" /> if the object is found in the set; otherwise, <see langword="false" />.</returns>
4648 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#IList#IndexOf(System.Object)">
4649 <summary>Determines the index of a specific item in the set.</summary>
4650 <param name="value">The object to locate in the set.</param>
4651 <returns>The index of <paramref name="value" /> if found in the list; otherwise, -1.</returns>
4653 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#IList#Insert(System.Int32,System.Object)">
4654 <summary>Inserts an item into the set at the specified index.</summary>
4655 <param name="index">The zero-based index at which <paramref name="value" /> should be inserted.</param>
4656 <param name="value">The object to insert into the set.</param>
4657 <exception cref="T:System.NotSupportedException">The set is read-only or has a fixed size.</exception>
4659 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#IList#Remove(System.Object)">
4660 <summary>Removes the first occurrence of a specific object from the set.</summary>
4661 <param name="value">The object to remove from the set.</param>
4662 <exception cref="T:System.NotSupportedException">The set is read-only or has a fixed size.</exception>
4664 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#IList#RemoveAt(System.Int32)">
4665 <summary>Removes the item at the specified index of the set.</summary>
4666 <param name="index">The zero-based index of the item to remove.</param>
4667 <exception cref="T:System.NotSupportedException">The set is read-only or has a fixed size.</exception>
4669 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#Immutable#IImmutableSet{T}#Add(`0)">
4670 <summary>Adds the specified element to this immutable set.</summary>
4671 <param name="value">The element to add.</param>
4672 <returns>A new set with the element added, or this set if the element is already in the set.</returns>
4674 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#Immutable#IImmutableSet{T}#Clear">
4675 <summary>Retrieves an empty immutable set that has the same sorting and ordering semantics as this instance.</summary>
4676 <returns>An empty set that has the same sorting and ordering semantics as this instance.</returns>
4678 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#Immutable#IImmutableSet{T}#Except(System.Collections.Generic.IEnumerable{`0})">
4679 <summary>Removes the elements in the specified collection from the current immutable set.</summary>
4680 <param name="other">The items to remove from this set.</param>
4681 <returns>The new set with the items removed; or the original set if none of the items were in the set.</returns>
4683 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#Immutable#IImmutableSet{T}#Intersect(System.Collections.Generic.IEnumerable{`0})">
4684 <summary>Creates an immutable set that contains elements that exist in both this set and the specified set.</summary>
4685 <param name="other">The collection to compare to the current set.</param>
4686 <returns>A new immutable set that contains any elements that exist in both sets.</returns>
4688 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#Immutable#IImmutableSet{T}#Remove(`0)">
4689 <summary>Removes the specified element from this immutable set.</summary>
4690 <param name="value">The element to remove.</param>
4691 <returns>A new set with the specified element removed, or the current set if the element cannot be found in the set.</returns>
4693 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#Immutable#IImmutableSet{T}#SymmetricExcept(System.Collections.Generic.IEnumerable{`0})">
4694 <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>
4695 <param name="other">The collection to compare to the current set.</param>
4696 <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>
4698 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#Immutable#IImmutableSet{T}#Union(System.Collections.Generic.IEnumerable{`0})">
4699 <summary>Creates a new immutable set that contains all elements that are present in either the current set or in the specified collection.</summary>
4700 <param name="other">The collection to add elements from.</param>
4701 <returns>A new immutable set with the items added; or the original set if all the items were already in the set.</returns>
4703 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.ToBuilder">
4704 <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>
4705 <returns>The sorted set builder.</returns>
4707 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.TryGetValue(`0,`0@)">
4708 <summary>Searches the set for a given value and returns the equal value it finds, if any.</summary>
4709 <param name="equalValue">The value to search for.</param>
4710 <param name="actualValue">The value from the set that the search found, or the original value if the search yielded no match.</param>
4711 <returns>A value indicating whether the search was successful.</returns>
4713 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Union(System.Collections.Generic.IEnumerable{`0})">
4714 <summary>Adds a given set of items to this immutable sorted set.</summary>
4715 <param name="other">The items to add.</param>
4716 <returns>The new set with the items added; or the original set if all the items were already in the set.</returns>
4718 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.WithComparer(System.Collections.Generic.IComparer{`0})">
4719 <summary>Returns the immutable sorted set that has the specified key comparer.</summary>
4720 <param name="comparer">The comparer to check for.</param>
4721 <returns>The immutable sorted set that has the specified key comparer.</returns>
4723 <member name="P:System.Collections.Immutable.ImmutableSortedSet`1.Count">
4724 <summary>Gets the number of elements in the immutable sorted set.</summary>
4725 <returns>The number of elements in the immutable sorted set.</returns>
4727 <member name="P:System.Collections.Immutable.ImmutableSortedSet`1.IsEmpty">
4728 <summary>Gets a value that indicates whether this immutable sorted set is empty.</summary>
4730 <see langword="true" /> if this set is empty; otherwise, <see langword="false" />.</returns>
4732 <member name="P:System.Collections.Immutable.ImmutableSortedSet`1.Item(System.Int32)">
4733 <summary>Gets the element of the immutable sorted set at the given index.</summary>
4734 <param name="index">The index of the element to retrieve from the sorted set.</param>
4735 <returns>The element at the given index.</returns>
4737 <member name="P:System.Collections.Immutable.ImmutableSortedSet`1.KeyComparer">
4738 <summary>Gets the comparer used to sort keys in the immutable sorted set.</summary>
4739 <returns>The comparer used to sort keys.</returns>
4741 <member name="P:System.Collections.Immutable.ImmutableSortedSet`1.Max">
4742 <summary>Gets the maximum value in the immutable sorted set, as defined by the comparer.</summary>
4743 <returns>The maximum value in the set.</returns>
4745 <member name="P:System.Collections.Immutable.ImmutableSortedSet`1.Min">
4746 <summary>Gets the minimum value in the immutable sorted set, as defined by the comparer.</summary>
4747 <returns>The minimum value in the set.</returns>
4749 <member name="P:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#Generic#ICollection{T}#IsReadOnly">
4750 <summary>Returns true, since immutable collections are always read-only. See the <see cref="T:System.Collections.Generic.ICollection`1" /> interface.</summary>
4751 <returns>A boolean value indicating whether the collection is read-only.</returns>
4753 <member name="P:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#Generic#IList{T}#Item(System.Int32)">
4754 <summary>See the <see cref="T:System.Collections.Generic.IList`1" /> interface.</summary>
4755 <param name="index">The zero-based index of the item to access.</param>
4756 <returns>The element stored at the specified index.</returns>
4758 <member name="P:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#ICollection#IsSynchronized">
4759 <summary>Returns true, since immutable collections are always thread-safe. See the <see cref="T:System.Collections.ICollection" /> interface.</summary>
4760 <returns>A boolean value indicating whether the collection is thread-safe.</returns>
4762 <member name="P:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#ICollection#SyncRoot">
4763 <summary>See <see cref="T:System.Collections.ICollection" />.</summary>
4764 <returns>Object used for synchronizing access to the collection.</returns>
4766 <member name="P:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#IList#IsFixedSize">
4767 <summary>Gets a value that indicates whether the <see cref="T:System.Collections.IList" /> has a fixed size.</summary>
4769 <see langword="true" /> if the <see cref="T:System.Collections.IList" /> has a fixed size; otherwise, <see langword="false" />.</returns>
4771 <member name="P:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#IList#IsReadOnly">
4772 <summary>Gets a value that indicates whether the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only.</summary>
4774 <see langword="true" /> if the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only; otherwise, <see langword="false" />.</returns>
4776 <member name="P:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#IList#Item(System.Int32)">
4777 <summary>Gets or sets the <see cref="T:System.Object" /> at the specified index.</summary>
4778 <param name="index">The index.</param>
4779 <exception cref="T:System.NotSupportedException" />
4780 <returns>The <see cref="T:System.Object" />.</returns>
4782 <member name="T:System.Collections.Immutable.ImmutableSortedSet`1.Builder">
4783 <summary>Represents a sorted set that enables changes with little or no memory allocations, and efficiently manipulates or builds immutable sorted sets.
4785 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
4786 <typeparam name="T" />
4788 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Builder.Add(`0)">
4789 <summary>Adds an element to the current set and returns a value to indicate whether the element was successfully added.</summary>
4790 <param name="item">The element to add to the set.</param>
4792 <see langword="true" /> if the element is added to the set; <see langword="false" /> if the element is already in the set.</returns>
4794 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Builder.Clear">
4795 <summary>Removes all elements from this set.</summary>
4797 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Builder.Contains(`0)">
4798 <summary>Determines whether the set contains the specified object.</summary>
4799 <param name="item">The object to locate in the set.</param>
4801 <see langword="true" /> if <paramref name="item" /> is found in the set; otherwise, <see langword="false" />.</returns>
4803 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Builder.ExceptWith(System.Collections.Generic.IEnumerable{`0})">
4804 <summary>Removes the specified set of items from the current set.</summary>
4805 <param name="other">The collection of items to remove from the set.</param>
4807 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Builder.GetEnumerator">
4808 <summary>Returns an enumerator that iterates through the set.</summary>
4809 <returns>A enumerator that can be used to iterate through the set.</returns>
4811 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Builder.IntersectWith(System.Collections.Generic.IEnumerable{`0})">
4812 <summary>Modifies the current set so that it contains only elements that are also in a specified collection.</summary>
4813 <param name="other">The collection to compare to the current set.</param>
4815 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Builder.IsProperSubsetOf(System.Collections.Generic.IEnumerable{`0})">
4816 <summary>Determines whether the current set is a proper (strict) subset of a specified collection.</summary>
4817 <param name="other">The collection to compare to the current set.</param>
4819 <see langword="true" /> if the current set is a proper subset of <paramref name="other" />; otherwise, <see langword="false" />.</returns>
4821 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Builder.IsProperSupersetOf(System.Collections.Generic.IEnumerable{`0})">
4822 <summary>Determines whether the current set is a proper (strict) superset of a specified collection.</summary>
4823 <param name="other">The collection to compare to the current set.</param>
4825 <see langword="true" /> if the current set is a proper superset of <paramref name="other" />; otherwise, <see langword="false" />.</returns>
4827 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Builder.IsSubsetOf(System.Collections.Generic.IEnumerable{`0})">
4828 <summary>Determines whether the current set is a subset of a specified collection.</summary>
4829 <param name="other">The collection is compare to the current set.</param>
4831 <see langword="true" /> if the current set is a subset of <paramref name="other" />; otherwise, <see langword="false" />.</returns>
4833 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Builder.IsSupersetOf(System.Collections.Generic.IEnumerable{`0})">
4834 <summary>Determines whether the current set is a superset of a specified collection.</summary>
4835 <param name="other">The collection to compare to the current set.</param>
4837 <see langword="true" /> if the current set is a superset of <paramref name="other" />; otherwise, <see langword="false" />.</returns>
4839 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Builder.ItemRef(System.Int32)">
4840 <summary>Gets a read-only reference to the element of the set at the given <paramref name="index" />.</summary>
4841 <param name="index">The 0-based index of the element in the set to return.</param>
4842 <returns>A read-only reference to the element at the given position.</returns>
4844 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Builder.Overlaps(System.Collections.Generic.IEnumerable{`0})">
4845 <summary>Determines whether the current set overlaps with the specified collection.</summary>
4846 <param name="other">The collection to compare to the current set.</param>
4848 <see langword="true" /> if the current set and <paramref name="other" /> share at least one common element; otherwise, <see langword="false" />.</returns>
4850 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Builder.Remove(`0)">
4851 <summary>Removes the first occurrence of the specified object from the set.</summary>
4852 <param name="item">The object to remove from the set.</param>
4854 <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>
4856 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Builder.Reverse">
4857 <summary>Returns an enumerator that iterates over the immutable sorted set in reverse order.</summary>
4858 <returns>An enumerator that iterates over the set in reverse order.</returns>
4860 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Builder.SetEquals(System.Collections.Generic.IEnumerable{`0})">
4861 <summary>Determines whether the current set and the specified collection contain the same elements.</summary>
4862 <param name="other">The collection to compare to the current set.</param>
4864 <see langword="true" /> if the current set is equal to <paramref name="other" />; otherwise, <see langword="false" />.</returns>
4866 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Builder.SymmetricExceptWith(System.Collections.Generic.IEnumerable{`0})">
4867 <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>
4868 <param name="other">The collection to compare to the current set.</param>
4870 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Builder.System#Collections#Generic#ICollection{T}#Add(`0)">
4871 <summary>Adds an element to the current set and returns a value to indicate whether the element was successfully added.</summary>
4872 <param name="item">The element to add to the set.</param>
4874 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Builder.System#Collections#Generic#ICollection{T}#CopyTo(`0[],System.Int32)">
4875 <summary>Copies the elements of the collection to an array, starting at a particular array index.</summary>
4876 <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>
4877 <param name="arrayIndex">The zero-based index in <paramref name="array" /> at which copying begins.</param>
4879 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Builder.System#Collections#Generic#IEnumerable{T}#GetEnumerator">
4880 <summary>Returns an enumerator that iterates through the collection.</summary>
4881 <returns>A enumerator that can be used to iterate through the collection.</returns>
4883 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Builder.System#Collections#ICollection#CopyTo(System.Array,System.Int32)">
4884 <summary>Copies the elements of the set to an array, starting at a particular array index.</summary>
4885 <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>
4886 <param name="arrayIndex">The zero-based index in <paramref name="array" /> at which copying begins.</param>
4888 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Builder.System#Collections#IEnumerable#GetEnumerator">
4889 <summary>Returns an enumerator that iterates through the collection.</summary>
4890 <returns>A enumerator that can be used to iterate through the collection.</returns>
4892 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Builder.ToImmutable">
4893 <summary>Creates an immutable sorted set based on the contents of this instance.</summary>
4894 <returns>An immutable set.</returns>
4896 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Builder.TryGetValue(`0,`0@)">
4897 <summary>Searches the set for a given value and returns the equal value it finds, if any.</summary>
4898 <param name="equalValue">The value for which to search.</param>
4899 <param name="actualValue">The value from the set that the search found, or the original value if the search yielded no match.</param>
4900 <returns>A value indicating whether the search was successful.</returns>
4902 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Builder.UnionWith(System.Collections.Generic.IEnumerable{`0})">
4903 <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>
4904 <param name="other">The collection to compare to the current state.</param>
4906 <member name="P:System.Collections.Immutable.ImmutableSortedSet`1.Builder.Count">
4907 <summary>Gets the number of elements in the immutable sorted set.</summary>
4908 <returns>The number of elements in this set.</returns>
4910 <member name="P:System.Collections.Immutable.ImmutableSortedSet`1.Builder.Item(System.Int32)">
4911 <summary>Gets the element of the set at the given index.</summary>
4912 <param name="index">The 0-based index of the element in the set to return.</param>
4913 <returns>The element at the given position.</returns>
4915 <member name="P:System.Collections.Immutable.ImmutableSortedSet`1.Builder.KeyComparer">
4916 <summary>Gets or sets the object that is used to determine equality for the values in the immutable sorted set.</summary>
4917 <returns>The comparer that is used to determine equality for the values in the set.</returns>
4919 <member name="P:System.Collections.Immutable.ImmutableSortedSet`1.Builder.Max">
4920 <summary>Gets the maximum value in the immutable sorted set, as defined by the comparer.</summary>
4921 <returns>The maximum value in the set.</returns>
4923 <member name="P:System.Collections.Immutable.ImmutableSortedSet`1.Builder.Min">
4924 <summary>Gets the minimum value in the immutable sorted set, as defined by the comparer.</summary>
4925 <returns>The minimum value in the set.</returns>
4927 <member name="P:System.Collections.Immutable.ImmutableSortedSet`1.Builder.System#Collections#Generic#ICollection{T}#IsReadOnly">
4928 <summary>Gets a value that indicates whether this instance is read-only.</summary>
4929 <returns>Always <see langword="false" />.</returns>
4931 <member name="P:System.Collections.Immutable.ImmutableSortedSet`1.Builder.System#Collections#ICollection#IsSynchronized">
4932 <summary>Gets a value that indicates whether access to the <see cref="T:System.Collections.ICollection" /> is synchronized (thread-safe).</summary>
4934 <see langword="true" /> if access to the <see cref="T:System.Collections.ICollection" /> is synchronized (thread-safe); otherwise, <see langword="false" />.</returns>
4936 <member name="P:System.Collections.Immutable.ImmutableSortedSet`1.Builder.System#Collections#ICollection#SyncRoot">
4937 <summary>Gets an object that can be used to synchronize access to the <see cref="T:System.Collections.ICollection" />.</summary>
4938 <returns>An object that can be used to synchronize access to the <see cref="T:System.Collections.ICollection" />.</returns>
4940 <member name="T:System.Collections.Immutable.ImmutableSortedSet`1.Enumerator">
4941 <summary>Enumerates the contents of a binary tree.
4943 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
4944 <typeparam name="T" />
4946 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Enumerator.Dispose">
4947 <summary>Releases the resources used by the current instance of the <see cref="T:System.Collections.Immutable.ImmutableSortedSet`1.Enumerator" /> class.
4949 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
4951 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Enumerator.MoveNext">
4952 <summary>Advances the enumerator to the next element of the immutable sorted set.
4954 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
4956 <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>
4958 <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Enumerator.Reset">
4959 <summary>Sets the enumerator to its initial position, which is before the first element in the immutable sorted set.
4961 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
4963 <member name="P:System.Collections.Immutable.ImmutableSortedSet`1.Enumerator.Current">
4964 <summary>Gets the element at the current position of the enumerator.
4966 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
4967 <returns>The element at the current position of the enumerator.</returns>
4969 <member name="P:System.Collections.Immutable.ImmutableSortedSet`1.Enumerator.System#Collections#IEnumerator#Current">
4970 <summary>The current element.</summary>
4972 <member name="T:System.Collections.Immutable.ImmutableStack">
4973 <summary>Provides a set of initialization methods for instances of the <see cref="T:System.Collections.Immutable.ImmutableStack`1" /> class.
4975 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
4977 <member name="M:System.Collections.Immutable.ImmutableStack.Create``1">
4978 <summary>Creates an empty immutable stack.</summary>
4979 <typeparam name="T">The type of items to be stored in the immutable stack.</typeparam>
4980 <returns>An empty immutable stack.</returns>
4982 <member name="M:System.Collections.Immutable.ImmutableStack.Create``1(``0)">
4983 <summary>Creates a new immutable stack that contains the specified item.</summary>
4984 <param name="item">The item to prepopulate the stack with.</param>
4985 <typeparam name="T">The type of items in the immutable stack.</typeparam>
4986 <returns>A new immutable collection that contains the specified item.</returns>
4988 <member name="M:System.Collections.Immutable.ImmutableStack.Create``1(``0[])">
4989 <summary>Creates a new immutable stack that contains the specified array of items.</summary>
4990 <param name="items">An array that contains the items to prepopulate the stack with.</param>
4991 <typeparam name="T">The type of items in the immutable stack.</typeparam>
4992 <returns>A new immutable stack that contains the specified items.</returns>
4994 <member name="M:System.Collections.Immutable.ImmutableStack.CreateRange``1(System.Collections.Generic.IEnumerable{``0})">
4995 <summary>Creates a new immutable stack that contains the specified items.</summary>
4996 <param name="items">The items to add to the stack before it's immutable.</param>
4997 <typeparam name="T">The type of items in the stack.</typeparam>
4998 <returns>An immutable stack that contains the specified items.</returns>
5000 <member name="M:System.Collections.Immutable.ImmutableStack.Pop``1(System.Collections.Immutable.IImmutableStack{``0},``0@)">
5001 <summary>Removes the specified item from an immutable stack.</summary>
5002 <param name="stack">The stack to modify.</param>
5003 <param name="value">The item to remove from the stack.</param>
5004 <typeparam name="T">The type of items contained in the stack.</typeparam>
5005 <exception cref="T:System.InvalidOperationException">The stack is empty.</exception>
5006 <returns>A stack; never <see langword="null" />.</returns>
5008 <member name="T:System.Collections.Immutable.ImmutableStack`1">
5009 <summary>Represents an immutable stack.
5011 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
5012 <typeparam name="T">The type of element on the stack.</typeparam>
5014 <member name="M:System.Collections.Immutable.ImmutableStack`1.Clear">
5015 <summary>Removes all objects from the immutable stack.</summary>
5016 <returns>An empty immutable stack.</returns>
5018 <member name="M:System.Collections.Immutable.ImmutableStack`1.GetEnumerator">
5019 <summary>Returns an enumerator that iterates through the immutable stack.</summary>
5020 <returns>An enumerator that can be used to iterate through the stack.</returns>
5022 <member name="M:System.Collections.Immutable.ImmutableStack`1.Peek">
5023 <summary>Returns the object at the top of the stack without removing it.</summary>
5024 <exception cref="T:System.InvalidOperationException">The stack is empty.</exception>
5025 <returns>The object at the top of the stack.</returns>
5027 <member name="M:System.Collections.Immutable.ImmutableStack`1.PeekRef">
5028 <summary>Gets a read-only reference to the element on the top of the stack.</summary>
5029 <exception cref="T:System.InvalidOperationException">Thrown when the stack is empty.</exception>
5030 <returns>A read-only reference to the element on the top of the stack.</returns>
5032 <member name="M:System.Collections.Immutable.ImmutableStack`1.Pop">
5033 <summary>Removes the element at the top of the immutable stack and returns the stack after the removal.</summary>
5034 <exception cref="T:System.InvalidOperationException">The stack is empty.</exception>
5035 <returns>A stack; never <see langword="null" />.</returns>
5037 <member name="M:System.Collections.Immutable.ImmutableStack`1.Pop(`0@)">
5038 <summary>Removes the specified element from the immutable stack and returns the stack after the removal.</summary>
5039 <param name="value">The value to remove from the stack.</param>
5040 <returns>A stack; never <see langword="null" />.</returns>
5042 <member name="M:System.Collections.Immutable.ImmutableStack`1.Push(`0)">
5043 <summary>Inserts an object at the top of the immutable stack and returns the new stack.</summary>
5044 <param name="value">The object to push onto the stack.</param>
5045 <returns>The new stack.</returns>
5047 <member name="M:System.Collections.Immutable.ImmutableStack`1.System#Collections#Generic#IEnumerable{T}#GetEnumerator">
5048 <summary>Returns an enumerator that iterates through the collection.</summary>
5049 <returns>An enumerator that can be used to iterate through the collection.</returns>
5051 <member name="M:System.Collections.Immutable.ImmutableStack`1.System#Collections#IEnumerable#GetEnumerator">
5052 <summary>Returns an enumerator that iterates through a collection.</summary>
5053 <returns>An <see cref="T:System.Collections.IEnumerator" /> object that can be used to iterate through the collection.</returns>
5055 <member name="M:System.Collections.Immutable.ImmutableStack`1.System#Collections#Immutable#IImmutableStack{T}#Clear">
5056 <summary>Removes all elements from the immutable stack.</summary>
5057 <returns>The empty immutable stack.</returns>
5059 <member name="M:System.Collections.Immutable.ImmutableStack`1.System#Collections#Immutable#IImmutableStack{T}#Pop">
5060 <summary>Removes the element at the top of the immutable stack and returns the new stack.</summary>
5061 <exception cref="T:System.InvalidOperationException">The stack is empty.</exception>
5062 <returns>The new stack; never <see langword="null" />.</returns>
5064 <member name="M:System.Collections.Immutable.ImmutableStack`1.System#Collections#Immutable#IImmutableStack{T}#Push(`0)">
5065 <summary>Inserts an element at the top of the immutable stack and returns the new stack.</summary>
5066 <param name="value">The element to push onto the stack.</param>
5067 <returns>The new stack.</returns>
5069 <member name="P:System.Collections.Immutable.ImmutableStack`1.Empty">
5070 <summary>Gets an empty immutable stack.</summary>
5071 <returns>An empty immutable stack.</returns>
5073 <member name="P:System.Collections.Immutable.ImmutableStack`1.IsEmpty">
5074 <summary>Gets a value that indicates whether this instance of the immutable stack is empty.</summary>
5076 <see langword="true" /> if this instance is empty; otherwise, <see langword="false" />.</returns>
5078 <member name="T:System.Collections.Immutable.ImmutableStack`1.Enumerator">
5079 <summary>Enumerates the contents of an immutable stack without allocating any memory.
5081 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
5082 <typeparam name="T" />
5084 <member name="M:System.Collections.Immutable.ImmutableStack`1.Enumerator.MoveNext">
5085 <summary>Advances the enumerator to the next element of the immutable stack.</summary>
5087 <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>
5089 <member name="P:System.Collections.Immutable.ImmutableStack`1.Enumerator.Current">
5090 <summary>Gets the element at the current position of the enumerator.</summary>
5091 <returns>The element at the current position of the enumerator.</returns>
5093 <member name="T:System.Linq.ImmutableArrayExtensions">
5094 <summary>LINQ extension method overrides that offer greater efficiency for <see cref="T:System.Collections.Immutable.ImmutableArray`1" /> than the standard LINQ methods
5096 NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
5098 <member name="M:System.Linq.ImmutableArrayExtensions.Aggregate``1(System.Collections.Immutable.ImmutableArray{``0},System.Func{``0,``0,``0})">
5099 <summary>Applies a function to a sequence of elements in a cumulative way.</summary>
5100 <param name="immutableArray">The collection to apply the function to.</param>
5101 <param name="func">A function to be invoked on each element, in a cumulative way.</param>
5102 <typeparam name="T">The type of element contained by the collection.</typeparam>
5103 <returns>The final value after the cumulative function has been applied to all elements.</returns>
5105 <member name="M:System.Linq.ImmutableArrayExtensions.Aggregate``2(System.Collections.Immutable.ImmutableArray{``1},``0,System.Func{``0,``1,``0})">
5106 <summary>Applies a function to a sequence of elements in a cumulative way.</summary>
5107 <param name="immutableArray">The collection to apply the function to.</param>
5108 <param name="seed">The initial accumulator value.</param>
5109 <param name="func">A function to be invoked on each element, in a cumulative way.</param>
5110 <typeparam name="TAccumulate">The type of the accumulated value.</typeparam>
5111 <typeparam name="T">The type of element contained by the collection.</typeparam>
5112 <returns>The final accumulator value.</returns>
5114 <member name="M:System.Linq.ImmutableArrayExtensions.Aggregate``3(System.Collections.Immutable.ImmutableArray{``2},``0,System.Func{``0,``2,``0},System.Func{``0,``1})">
5115 <summary>Applies a function to a sequence of elements in a cumulative way.</summary>
5116 <param name="immutableArray">The collection to apply the function to.</param>
5117 <param name="seed">The initial accumulator value.</param>
5118 <param name="func">A function to be invoked on each element, in a cumulative way.</param>
5119 <param name="resultSelector">A function to transform the final accumulator value into the result type.</param>
5120 <typeparam name="TAccumulate">The type of the accumulated value.</typeparam>
5121 <typeparam name="TResult">The type of result returned by the result selector.</typeparam>
5122 <typeparam name="T">The type of element contained by the collection.</typeparam>
5123 <returns>The final accumulator value.</returns>
5125 <member name="M:System.Linq.ImmutableArrayExtensions.All``1(System.Collections.Immutable.ImmutableArray{``0},System.Func{``0,System.Boolean})">
5126 <summary>Gets a value indicating whether all elements in this array match a given condition.</summary>
5127 <param name="immutableArray">The array to check for matches.</param>
5128 <param name="predicate">The predicate.</param>
5129 <typeparam name="T">The type of element contained by the collection.</typeparam>
5131 <see langword="true" /> if every element of the source sequence passes the test in the specified predicate; otherwise, <see langword="false" />.</returns>
5133 <member name="M:System.Linq.ImmutableArrayExtensions.Any``1(System.Collections.Immutable.ImmutableArray{``0}.Builder)">
5134 <summary>Returns a value indicating whether this collection contains any elements.</summary>
5135 <param name="builder">The builder to check for matches.</param>
5136 <typeparam name="T">The type of elements in the array.</typeparam>
5138 <see langword="true" /> if the array builder contains any elements; otherwise, <see langword="false" />.</returns>
5140 <member name="M:System.Linq.ImmutableArrayExtensions.Any``1(System.Collections.Immutable.ImmutableArray{``0})">
5141 <summary>Gets a value indicating whether the array contains any elements.</summary>
5142 <param name="immutableArray">The array to check for elements.</param>
5143 <typeparam name="T">The type of element contained by the collection.</typeparam>
5145 <see langword="true" /> if the array contains an elements; otherwise, <see langword="false" />.</returns>
5147 <member name="M:System.Linq.ImmutableArrayExtensions.Any``1(System.Collections.Immutable.ImmutableArray{``0},System.Func{``0,System.Boolean})">
5148 <summary>Gets a value indicating whether the array contains any elements that match a specified condition.</summary>
5149 <param name="immutableArray">The array to check for elements.</param>
5150 <param name="predicate">The delegate that defines the condition to match to an element.</param>
5151 <typeparam name="T">The type of element contained by the collection.</typeparam>
5153 <see langword="true" /> if an element matches the specified condition; otherwise, <see langword="false" />.</returns>
5155 <member name="M:System.Linq.ImmutableArrayExtensions.ElementAt``1(System.Collections.Immutable.ImmutableArray{``0},System.Int32)">
5156 <summary>Returns the element at a specified index in the array.</summary>
5157 <param name="immutableArray">The array to find an element in.</param>
5158 <param name="index">The index for the element to retrieve.</param>
5159 <typeparam name="T">The type of element contained by the collection.</typeparam>
5160 <returns>The item at the specified index.</returns>
5162 <member name="M:System.Linq.ImmutableArrayExtensions.ElementAtOrDefault``1(System.Collections.Immutable.ImmutableArray{``0},System.Int32)">
5163 <summary>Returns the element at a specified index in a sequence or a default value if the index is out of range.</summary>
5164 <param name="immutableArray">The array to find an element in.</param>
5165 <param name="index">The index for the element to retrieve.</param>
5166 <typeparam name="T">The type of element contained by the collection.</typeparam>
5167 <returns>The item at the specified index, or the default value if the index is not found.</returns>
5169 <member name="M:System.Linq.ImmutableArrayExtensions.First``1(System.Collections.Immutable.ImmutableArray{``0}.Builder)">
5170 <summary>Returns the first element in the collection.</summary>
5171 <param name="builder">The builder to retrieve an item from.</param>
5172 <typeparam name="T">The type of items in the array.</typeparam>
5173 <exception cref="T:System.InvalidOperationException">If the array is empty.</exception>
5174 <returns>The first item in the list.</returns>
5176 <member name="M:System.Linq.ImmutableArrayExtensions.First``1(System.Collections.Immutable.ImmutableArray{``0})">
5177 <summary>Returns the first element in an array.</summary>
5178 <param name="immutableArray">The array to get an item from.</param>
5179 <typeparam name="T">The type of element contained by the collection.</typeparam>
5180 <exception cref="T:System.InvalidOperationException">If the array is empty.</exception>
5181 <returns>The first item in the array.</returns>
5183 <member name="M:System.Linq.ImmutableArrayExtensions.First``1(System.Collections.Immutable.ImmutableArray{``0},System.Func{``0,System.Boolean})">
5184 <summary>Returns the first element in a sequence that satisfies a specified condition.</summary>
5185 <param name="immutableArray">The array to get an item from.</param>
5186 <param name="predicate">The delegate that defines the conditions of the element to search for.</param>
5187 <typeparam name="T">The type of element contained by the collection.</typeparam>
5188 <exception cref="T:System.InvalidOperationException">If the array is empty.</exception>
5189 <returns>The first item in the list if it meets the condition specified by <paramref name="predicate" />.</returns>
5191 <member name="M:System.Linq.ImmutableArrayExtensions.FirstOrDefault``1(System.Collections.Immutable.ImmutableArray{``0}.Builder)">
5192 <summary>Returns the first element in the collection, or the default value if the collection is empty.</summary>
5193 <param name="builder">The builder to retrieve an element from.</param>
5194 <typeparam name="T">The type of item in the builder.</typeparam>
5195 <returns>The first item in the list, if found; otherwise the default value for the item type.</returns>
5197 <member name="M:System.Linq.ImmutableArrayExtensions.FirstOrDefault``1(System.Collections.Immutable.ImmutableArray{``0})">
5198 <summary>Returns the first element of a sequence, or a default value if the sequence contains no elements.</summary>
5199 <param name="immutableArray">The array to retrieve items from.</param>
5200 <typeparam name="T">The type of element contained by the collection.</typeparam>
5201 <returns>The first item in the list, if found; otherwise the default value for the item type.</returns>
5203 <member name="M:System.Linq.ImmutableArrayExtensions.FirstOrDefault``1(System.Collections.Immutable.ImmutableArray{``0},System.Func{``0,System.Boolean})">
5204 <summary>Returns the first element of the sequence that satisfies a condition or a default value if no such element is found.</summary>
5205 <param name="immutableArray">The array to retrieve elements from.</param>
5206 <param name="predicate">The delegate that defines the conditions of the element to search for.</param>
5207 <typeparam name="T">The type of element contained by the collection.</typeparam>
5208 <returns>The first item in the list, if found; otherwise the default value for the item type.</returns>
5210 <member name="M:System.Linq.ImmutableArrayExtensions.Last``1(System.Collections.Immutable.ImmutableArray{``0}.Builder)">
5211 <summary>Returns the last element in the collection.</summary>
5212 <param name="builder">The builder to retrieve elements from.</param>
5213 <typeparam name="T">The type of item in the builder.</typeparam>
5214 <exception cref="T:System.InvalidOperationException">Thrown if the collection is empty.</exception>
5215 <returns>The last element in the builder.</returns>
5217 <member name="M:System.Linq.ImmutableArrayExtensions.Last``1(System.Collections.Immutable.ImmutableArray{``0})">
5218 <summary>Returns the last element of the array.</summary>
5219 <param name="immutableArray">The array to retrieve items from.</param>
5220 <typeparam name="T">The type of element contained by the array.</typeparam>
5221 <exception cref="T:System.InvalidOperationException">Thrown if the collection is empty.</exception>
5222 <returns>The last element in the array.</returns>
5224 <member name="M:System.Linq.ImmutableArrayExtensions.Last``1(System.Collections.Immutable.ImmutableArray{``0},System.Func{``0,System.Boolean})">
5225 <summary>Returns the last element of a sequence that satisfies a specified condition.</summary>
5226 <param name="immutableArray">The array to retrieve elements from.</param>
5227 <param name="predicate">The delegate that defines the conditions of the element to retrieve.</param>
5228 <typeparam name="T">The type of element contained by the collection.</typeparam>
5229 <exception cref="T:System.InvalidOperationException">Thrown if the collection is empty.</exception>
5230 <returns>The last element of the array that satisfies the <paramref name="predicate" /> condition.</returns>
5232 <member name="M:System.Linq.ImmutableArrayExtensions.LastOrDefault``1(System.Collections.Immutable.ImmutableArray{``0}.Builder)">
5233 <summary>Returns the last element in the collection, or the default value if the collection is empty.</summary>
5234 <param name="builder">The builder to retrieve an element from.</param>
5235 <typeparam name="T">The type of item in the builder.</typeparam>
5236 <returns>The last element of a sequence, or a default value if the sequence contains no elements.</returns>
5238 <member name="M:System.Linq.ImmutableArrayExtensions.LastOrDefault``1(System.Collections.Immutable.ImmutableArray{``0})">
5239 <summary>Returns the last element of a sequence, or a default value if the sequence contains no elements.</summary>
5240 <param name="immutableArray">The array to retrieve items from.</param>
5241 <typeparam name="T">The type of element contained by the collection.</typeparam>
5242 <returns>The last element of a sequence, or a default value if the sequence contains no elements.</returns>
5244 <member name="M:System.Linq.ImmutableArrayExtensions.LastOrDefault``1(System.Collections.Immutable.ImmutableArray{``0},System.Func{``0,System.Boolean})">
5245 <summary>Returns the last element of a sequence that satisfies a condition or a default value if no such element is found.</summary>
5246 <param name="immutableArray">The array to retrieve an element from.</param>
5247 <param name="predicate">The delegate that defines the conditions of the element to search for.</param>
5248 <typeparam name="T">The type of element contained by the collection.</typeparam>
5249 <returns>The last element of a sequence, or a default value if the sequence contains no elements.</returns>
5251 <member name="M:System.Linq.ImmutableArrayExtensions.Select``2(System.Collections.Immutable.ImmutableArray{``0},System.Func{``0,``1})">
5252 <summary>Projects each element of a sequence into a new form.</summary>
5253 <param name="immutableArray">The immutable array to select items from.</param>
5254 <param name="selector">A transform function to apply to each element.</param>
5255 <typeparam name="T">The type of element contained by the collection.</typeparam>
5256 <typeparam name="TResult">The type of the result element.</typeparam>
5257 <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>
5259 <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})">
5260 <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>
5261 <param name="immutableArray">The immutable array.</param>
5262 <param name="collectionSelector">A transform function to apply to each element of the input sequence.</param>
5263 <param name="resultSelector">A transform function to apply to each element of the intermediate sequence.</param>
5264 <typeparam name="TSource">The type of the elements of <paramref name="immutableArray" />.</typeparam>
5265 <typeparam name="TCollection">The type of the intermediate elements collected by <paramref name="collectionSelector" />.</typeparam>
5266 <typeparam name="TResult">The type of the elements of the resulting sequence.</typeparam>
5267 <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>
5269 <member name="M:System.Linq.ImmutableArrayExtensions.SequenceEqual``2(System.Collections.Immutable.ImmutableArray{``1},System.Collections.Generic.IEnumerable{``0},System.Collections.Generic.IEqualityComparer{``1})">
5270 <summary>Determines whether two sequences are equal according to an equality comparer.</summary>
5271 <param name="immutableArray">The array to use for comparison.</param>
5272 <param name="items">The items to use for comparison.</param>
5273 <param name="comparer">The comparer to use to check for equality.</param>
5274 <typeparam name="TDerived">The type of element in the compared array.</typeparam>
5275 <typeparam name="TBase">The type of element contained by the collection.</typeparam>
5277 <see langword="true" /> to indicate the sequences are equal; otherwise, <see langword="false" />.</returns>
5279 <member name="M:System.Linq.ImmutableArrayExtensions.SequenceEqual``2(System.Collections.Immutable.ImmutableArray{``1},System.Collections.Immutable.ImmutableArray{``0},System.Collections.Generic.IEqualityComparer{``1})">
5280 <summary>Determines whether two sequences are equal according to an equality comparer.</summary>
5281 <param name="immutableArray">The array to use for comparison.</param>
5282 <param name="items">The items to use for comparison.</param>
5283 <param name="comparer">The comparer to use to check for equality.</param>
5284 <typeparam name="TDerived">The type of element in the compared array.</typeparam>
5285 <typeparam name="TBase">The type of element contained by the collection.</typeparam>
5287 <see langword="true" /> to indicate the sequences are equal; otherwise, <see langword="false" />.</returns>
5289 <member name="M:System.Linq.ImmutableArrayExtensions.SequenceEqual``2(System.Collections.Immutable.ImmutableArray{``1},System.Collections.Immutable.ImmutableArray{``0},System.Func{``1,``1,System.Boolean})">
5290 <summary>Determines whether two sequences are equal according to an equality comparer.</summary>
5291 <param name="immutableArray">The array to use for comparison.</param>
5292 <param name="items">The items to use for comparison.</param>
5293 <param name="predicate">The comparer to use to check for equality.</param>
5294 <typeparam name="TDerived">The type of element in the compared array.</typeparam>
5295 <typeparam name="TBase">The type of element contained by the collection.</typeparam>
5297 <see langword="true" /> to indicate the sequences are equal; otherwise, <see langword="false" />.</returns>
5299 <member name="M:System.Linq.ImmutableArrayExtensions.Single``1(System.Collections.Immutable.ImmutableArray{``0})">
5300 <summary>Returns the only element of a sequence, and throws an exception if there is not exactly one element in the sequence.</summary>
5301 <param name="immutableArray">The array to retrieve the element from.</param>
5302 <typeparam name="T">The type of element contained by the collection.</typeparam>
5303 <returns>The element in the sequence.</returns>
5305 <member name="M:System.Linq.ImmutableArrayExtensions.Single``1(System.Collections.Immutable.ImmutableArray{``0},System.Func{``0,System.Boolean})">
5306 <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>
5307 <param name="immutableArray">The immutable array to return a single element from.</param>
5308 <param name="predicate">The function to test whether an element should be returned.</param>
5309 <typeparam name="T">The type of element contained by the collection.</typeparam>
5310 <returns>Returns <see cref="T:System.Boolean" />.</returns>
5312 <member name="M:System.Linq.ImmutableArrayExtensions.SingleOrDefault``1(System.Collections.Immutable.ImmutableArray{``0})">
5313 <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>
5314 <param name="immutableArray">The array.</param>
5315 <typeparam name="T">The type of element contained by the collection.</typeparam>
5316 <exception cref="T:System.InvalidOperationException">
5317 <paramref name="source" /> contains more than one element.</exception>
5318 <returns>The element in the array, or the default value if the array is empty.</returns>
5320 <member name="M:System.Linq.ImmutableArrayExtensions.SingleOrDefault``1(System.Collections.Immutable.ImmutableArray{``0},System.Func{``0,System.Boolean})">
5321 <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>
5322 <param name="immutableArray">The array to get the element from.</param>
5323 <param name="predicate">The condition the element must satisfy.</param>
5324 <typeparam name="T">The type of element contained by the collection.</typeparam>
5325 <exception cref="T:System.InvalidOperationException">More than one element satisfies the condition in <paramref name="predicate" />.</exception>
5326 <returns>The element if it satisfies the specified condition; otherwise the default element.</returns>
5328 <member name="M:System.Linq.ImmutableArrayExtensions.ToArray``1(System.Collections.Immutable.ImmutableArray{``0})">
5329 <summary>Copies the contents of this array to a mutable array.</summary>
5330 <param name="immutableArray">The immutable array to copy into a mutable one.</param>
5331 <typeparam name="T">The type of element contained by the collection.</typeparam>
5332 <returns>The newly instantiated array.</returns>
5334 <member name="M:System.Linq.ImmutableArrayExtensions.ToDictionary``2(System.Collections.Immutable.ImmutableArray{``1},System.Func{``1,``0})">
5335 <summary>Creates a dictionary based on the contents of this array.</summary>
5336 <param name="immutableArray">The array to create a dictionary from.</param>
5337 <param name="keySelector">The key selector.</param>
5338 <typeparam name="TKey">The type of the key.</typeparam>
5339 <typeparam name="T">The type of element contained by the collection.</typeparam>
5340 <returns>The newly initialized dictionary.</returns>
5342 <member name="M:System.Linq.ImmutableArrayExtensions.ToDictionary``2(System.Collections.Immutable.ImmutableArray{``1},System.Func{``1,``0},System.Collections.Generic.IEqualityComparer{``0})">
5343 <summary>Creates a dictionary based on the contents of this array.</summary>
5344 <param name="immutableArray">The array to create a dictionary from.</param>
5345 <param name="keySelector">The key selector.</param>
5346 <param name="comparer">The comparer to initialize the dictionary with.</param>
5347 <typeparam name="TKey">The type of the key.</typeparam>
5348 <typeparam name="T">The type of element contained by the collection.</typeparam>
5349 <returns>The newly initialized dictionary.</returns>
5351 <member name="M:System.Linq.ImmutableArrayExtensions.ToDictionary``3(System.Collections.Immutable.ImmutableArray{``2},System.Func{``2,``0},System.Func{``2,``1})">
5352 <summary>Creates a dictionary based on the contents of this array.</summary>
5353 <param name="immutableArray">The array to create a dictionary from.</param>
5354 <param name="keySelector">The key selector.</param>
5355 <param name="elementSelector">The element selector.</param>
5356 <typeparam name="TKey">The type of the key.</typeparam>
5357 <typeparam name="TElement">The type of the element.</typeparam>
5358 <typeparam name="T">The type of element contained by the collection.</typeparam>
5359 <returns>The newly initialized dictionary.</returns>
5361 <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})">
5362 <summary>Creates a dictionary based on the contents of this array.</summary>
5363 <param name="immutableArray">The array to create a dictionary from.</param>
5364 <param name="keySelector">The key selector.</param>
5365 <param name="elementSelector">The element selector.</param>
5366 <param name="comparer">The comparer to initialize the dictionary with.</param>
5367 <typeparam name="TKey">The type of the key.</typeparam>
5368 <typeparam name="TElement">The type of the element.</typeparam>
5369 <typeparam name="T">The type of element contained by the collection.</typeparam>
5370 <returns>The newly initialized dictionary.</returns>
5372 <member name="M:System.Linq.ImmutableArrayExtensions.Where``1(System.Collections.Immutable.ImmutableArray{``0},System.Func{``0,System.Boolean})">
5373 <summary>Filters a sequence of values based on a predicate.</summary>
5374 <param name="immutableArray">The array to filter.</param>
5375 <param name="predicate">The condition to use for filtering the array content.</param>
5376 <typeparam name="T">The type of element contained by the collection.</typeparam>
5377 <returns>Returns <see cref="T:System.Collections.Generic.IEnumerable`1" /> that contains elements that meet the condition.</returns>