5 instantiations of ImmutableList
System.Collections.Immutable (5)
2171 references to ImmutableList
Aspire.Dashboard (4)
Aspire.Dashboard.Tests (2)
GenerateDocumentationAndConfigFiles (89)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (47)
21/// best for <see cref="ImmutableList{T}"/>.</para>
30/// <description><see cref="ImmutableList{T}"/> Complexity</description>
75/// <inheritdoc cref="ImmutableList{T}.Empty"/>
87/// <inheritdoc cref="ImmutableList{T}.IsEmpty"/>
126/// <inheritdoc cref="ImmutableList{T}.ItemRef(int)"/>
140/// <inheritdoc cref="ImmutableList{T}.Add(T)"/>
160/// <inheritdoc cref="ImmutableList{T}.AddRange(IEnumerable{T})"/>
188/// <inheritdoc cref="ImmutableList{T}.BinarySearch(T)"/>
192/// <inheritdoc cref="ImmutableList{T}.BinarySearch(T, IComparer{T}?)"/>
196/// <inheritdoc cref="ImmutableList{T}.BinarySearch(int, int, T, IComparer{T}?)"/>
200/// <inheritdoc cref="ImmutableList{T}.Clear()"/>
207/// <inheritdoc cref="ImmutableList{T}.ConvertAll{TOutput}(Func{T, TOutput})"/>
211/// <inheritdoc cref="ImmutableList{T}.CopyTo(T[])"/>
218/// <inheritdoc cref="ImmutableList{T}.CopyTo(int, T[], int, int)"/>
222/// <inheritdoc cref="ImmutableList{T}.Exists(Predicate{T})"/>
226/// <inheritdoc cref="ImmutableList{T}.Find(Predicate{T})"/>
230/// <inheritdoc cref="ImmutableList{T}.FindAll(Predicate{T})"/>
234/// <inheritdoc cref="ImmutableList{T}.FindIndex(Predicate{T})"/>
238/// <inheritdoc cref="ImmutableList{T}.FindIndex(int, Predicate{T})"/>
242/// <inheritdoc cref="ImmutableList{T}.FindIndex(int, int, Predicate{T})"/>
246/// <inheritdoc cref="ImmutableList{T}.FindLast(Predicate{T})"/>
250/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(Predicate{T})"/>
254/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(int, Predicate{T})"/>
269/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(int, int, Predicate{T})"/>
284/// <inheritdoc cref="ImmutableList{T}.ForEach(Action{T})"/>
288/// <inheritdoc cref="ImmutableList{T}.GetEnumerator()"/>
292/// <inheritdoc cref="ImmutableList{T}.GetRange(int, int)"/>
309/// <inheritdoc cref="ImmutableList{T}.Insert(int, T)"/>
324/// <inheritdoc cref="ImmutableList{T}.InsertRange(int, IEnumerable{T})"/>
360/// <inheritdoc cref="ImmutableList{T}.Remove(T)"/>
372/// <inheritdoc cref="ImmutableList{T}.Remove(T, IEqualityComparer{T}?)"/>
384/// <inheritdoc cref="ImmutableList{T}.RemoveAll(Predicate{T})"/>
394/// <inheritdoc cref="ImmutableList{T}.RemoveAt(int)"/>
403/// <inheritdoc cref="ImmutableList{T}.RemoveRange(IEnumerable{T})"/>
427/// <inheritdoc cref="ImmutableList{T}.RemoveRange(IEnumerable{T}, IEqualityComparer{T}?)"/>
451/// <inheritdoc cref="ImmutableList{T}.RemoveRange(int, int)"/>
467/// <inheritdoc cref="ImmutableList{T}.Replace(T, T)"/>
481/// <inheritdoc cref="ImmutableList{T}.Replace(T, T, IEqualityComparer{T}?)"/>
495/// <inheritdoc cref="ImmutableList{T}.Reverse()"/>
507/// <inheritdoc cref="ImmutableList{T}.Reverse(int, int)"/>
515/// <inheritdoc cref="ImmutableList{T}.SetItem(int, T)"/>
524/// <inheritdoc cref="ImmutableList{T}.Sort()"/>
538/// <inheritdoc cref="ImmutableList{T}.Sort(IComparer{T}?)"/>
552/// <inheritdoc cref="ImmutableList{T}.Sort(Comparison{T})"/>
571/// <inheritdoc cref="ImmutableList{T}.Sort(int, int, IComparer{T}?)"/>
580/// <inheritdoc cref="ImmutableList{T}.ToBuilder()"/>
599/// <inheritdoc cref="ImmutableList{T}.TrueForAll(Predicate{T})"/>
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (38)
50/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.ItemRef(int)"/>
57/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.AddRange(IEnumerable{T})"/>
61/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.BinarySearch(T)"/>
65/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.BinarySearch(T, IComparer{T}?)"/>
69/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.BinarySearch(int, int, T, IComparer{T}?)"/>
79/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.ConvertAll{TOutput}(Func{T, TOutput})"/>
83/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.CopyTo(T[])"/>
90/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.CopyTo(int, T[], int, int)"/>
94/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Exists(Predicate{T})"/>
98/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Find(Predicate{T})"/>
102/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindAll(Predicate{T})"/>
106/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(Predicate{T})"/>
110/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(int, Predicate{T})"/>
114/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(int, int, Predicate{T})"/>
118/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLast(Predicate{T})"/>
122/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(Predicate{T})"/>
126/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(int, Predicate{T})"/>
130/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(int, int, Predicate{T})"/>
134/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.ForEach(Action{T})"/>
138/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.GetEnumerator()"/>
142/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.GetRange(int, int)"/>
149/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.IndexOf(T, int)"/>
153/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.IndexOf(T, int, int)"/>
157/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.IndexOf(T, int, int, IEqualityComparer{T}?)"/>
164/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.InsertRange(int, IEnumerable{T})"/>
168/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.LastIndexOf(T)"/>
172/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.LastIndexOf(T, int)"/>
176/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.LastIndexOf(T, int, int)"/>
180/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.LastIndexOf(T, int, int, IEqualityComparer{T}?)"/>
187/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.RemoveAll(Predicate{T})"/>
194/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Reverse()"/>
198/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Reverse(int, int)"/>
202/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Sort()"/>
206/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Sort(IComparer{T}?)"/>
210/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Sort(Comparison{T})"/>
214/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Sort(int, int, IComparer{T}?)"/>
218/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.ToImmutable()"/>
222/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.TrueForAll(Predicate{T})"/>
Metrics (90)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (47)
21/// best for <see cref="ImmutableList{T}"/>.</para>
30/// <description><see cref="ImmutableList{T}"/> Complexity</description>
75/// <inheritdoc cref="ImmutableList{T}.Empty"/>
87/// <inheritdoc cref="ImmutableList{T}.IsEmpty"/>
126/// <inheritdoc cref="ImmutableList{T}.ItemRef(int)"/>
140/// <inheritdoc cref="ImmutableList{T}.Add(T)"/>
160/// <inheritdoc cref="ImmutableList{T}.AddRange(IEnumerable{T})"/>
188/// <inheritdoc cref="ImmutableList{T}.BinarySearch(T)"/>
192/// <inheritdoc cref="ImmutableList{T}.BinarySearch(T, IComparer{T}?)"/>
196/// <inheritdoc cref="ImmutableList{T}.BinarySearch(int, int, T, IComparer{T}?)"/>
200/// <inheritdoc cref="ImmutableList{T}.Clear()"/>
207/// <inheritdoc cref="ImmutableList{T}.ConvertAll{TOutput}(Func{T, TOutput})"/>
211/// <inheritdoc cref="ImmutableList{T}.CopyTo(T[])"/>
218/// <inheritdoc cref="ImmutableList{T}.CopyTo(int, T[], int, int)"/>
222/// <inheritdoc cref="ImmutableList{T}.Exists(Predicate{T})"/>
226/// <inheritdoc cref="ImmutableList{T}.Find(Predicate{T})"/>
230/// <inheritdoc cref="ImmutableList{T}.FindAll(Predicate{T})"/>
234/// <inheritdoc cref="ImmutableList{T}.FindIndex(Predicate{T})"/>
238/// <inheritdoc cref="ImmutableList{T}.FindIndex(int, Predicate{T})"/>
242/// <inheritdoc cref="ImmutableList{T}.FindIndex(int, int, Predicate{T})"/>
246/// <inheritdoc cref="ImmutableList{T}.FindLast(Predicate{T})"/>
250/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(Predicate{T})"/>
254/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(int, Predicate{T})"/>
269/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(int, int, Predicate{T})"/>
284/// <inheritdoc cref="ImmutableList{T}.ForEach(Action{T})"/>
288/// <inheritdoc cref="ImmutableList{T}.GetEnumerator()"/>
292/// <inheritdoc cref="ImmutableList{T}.GetRange(int, int)"/>
309/// <inheritdoc cref="ImmutableList{T}.Insert(int, T)"/>
324/// <inheritdoc cref="ImmutableList{T}.InsertRange(int, IEnumerable{T})"/>
360/// <inheritdoc cref="ImmutableList{T}.Remove(T)"/>
372/// <inheritdoc cref="ImmutableList{T}.Remove(T, IEqualityComparer{T}?)"/>
384/// <inheritdoc cref="ImmutableList{T}.RemoveAll(Predicate{T})"/>
394/// <inheritdoc cref="ImmutableList{T}.RemoveAt(int)"/>
403/// <inheritdoc cref="ImmutableList{T}.RemoveRange(IEnumerable{T})"/>
427/// <inheritdoc cref="ImmutableList{T}.RemoveRange(IEnumerable{T}, IEqualityComparer{T}?)"/>
451/// <inheritdoc cref="ImmutableList{T}.RemoveRange(int, int)"/>
467/// <inheritdoc cref="ImmutableList{T}.Replace(T, T)"/>
481/// <inheritdoc cref="ImmutableList{T}.Replace(T, T, IEqualityComparer{T}?)"/>
495/// <inheritdoc cref="ImmutableList{T}.Reverse()"/>
507/// <inheritdoc cref="ImmutableList{T}.Reverse(int, int)"/>
515/// <inheritdoc cref="ImmutableList{T}.SetItem(int, T)"/>
524/// <inheritdoc cref="ImmutableList{T}.Sort()"/>
538/// <inheritdoc cref="ImmutableList{T}.Sort(IComparer{T}?)"/>
552/// <inheritdoc cref="ImmutableList{T}.Sort(Comparison{T})"/>
571/// <inheritdoc cref="ImmutableList{T}.Sort(int, int, IComparer{T}?)"/>
580/// <inheritdoc cref="ImmutableList{T}.ToBuilder()"/>
599/// <inheritdoc cref="ImmutableList{T}.TrueForAll(Predicate{T})"/>
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (38)
50/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.ItemRef(int)"/>
57/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.AddRange(IEnumerable{T})"/>
61/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.BinarySearch(T)"/>
65/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.BinarySearch(T, IComparer{T}?)"/>
69/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.BinarySearch(int, int, T, IComparer{T}?)"/>
79/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.ConvertAll{TOutput}(Func{T, TOutput})"/>
83/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.CopyTo(T[])"/>
90/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.CopyTo(int, T[], int, int)"/>
94/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Exists(Predicate{T})"/>
98/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Find(Predicate{T})"/>
102/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindAll(Predicate{T})"/>
106/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(Predicate{T})"/>
110/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(int, Predicate{T})"/>
114/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(int, int, Predicate{T})"/>
118/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLast(Predicate{T})"/>
122/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(Predicate{T})"/>
126/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(int, Predicate{T})"/>
130/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(int, int, Predicate{T})"/>
134/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.ForEach(Action{T})"/>
138/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.GetEnumerator()"/>
142/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.GetRange(int, int)"/>
149/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.IndexOf(T, int)"/>
153/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.IndexOf(T, int, int)"/>
157/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.IndexOf(T, int, int, IEqualityComparer{T}?)"/>
164/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.InsertRange(int, IEnumerable{T})"/>
168/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.LastIndexOf(T)"/>
172/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.LastIndexOf(T, int)"/>
176/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.LastIndexOf(T, int, int)"/>
180/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.LastIndexOf(T, int, int, IEqualityComparer{T}?)"/>
187/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.RemoveAll(Predicate{T})"/>
194/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Reverse()"/>
198/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Reverse(int, int)"/>
202/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Sort()"/>
206/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Sort(IComparer{T}?)"/>
210/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Sort(Comparison{T})"/>
214/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Sort(int, int, IComparer{T}?)"/>
218/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.ToImmutable()"/>
222/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.TrueForAll(Predicate{T})"/>
Metrics.Legacy (90)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (47)
21/// best for <see cref="ImmutableList{T}"/>.</para>
30/// <description><see cref="ImmutableList{T}"/> Complexity</description>
75/// <inheritdoc cref="ImmutableList{T}.Empty"/>
87/// <inheritdoc cref="ImmutableList{T}.IsEmpty"/>
126/// <inheritdoc cref="ImmutableList{T}.ItemRef(int)"/>
140/// <inheritdoc cref="ImmutableList{T}.Add(T)"/>
160/// <inheritdoc cref="ImmutableList{T}.AddRange(IEnumerable{T})"/>
188/// <inheritdoc cref="ImmutableList{T}.BinarySearch(T)"/>
192/// <inheritdoc cref="ImmutableList{T}.BinarySearch(T, IComparer{T}?)"/>
196/// <inheritdoc cref="ImmutableList{T}.BinarySearch(int, int, T, IComparer{T}?)"/>
200/// <inheritdoc cref="ImmutableList{T}.Clear()"/>
207/// <inheritdoc cref="ImmutableList{T}.ConvertAll{TOutput}(Func{T, TOutput})"/>
211/// <inheritdoc cref="ImmutableList{T}.CopyTo(T[])"/>
218/// <inheritdoc cref="ImmutableList{T}.CopyTo(int, T[], int, int)"/>
222/// <inheritdoc cref="ImmutableList{T}.Exists(Predicate{T})"/>
226/// <inheritdoc cref="ImmutableList{T}.Find(Predicate{T})"/>
230/// <inheritdoc cref="ImmutableList{T}.FindAll(Predicate{T})"/>
234/// <inheritdoc cref="ImmutableList{T}.FindIndex(Predicate{T})"/>
238/// <inheritdoc cref="ImmutableList{T}.FindIndex(int, Predicate{T})"/>
242/// <inheritdoc cref="ImmutableList{T}.FindIndex(int, int, Predicate{T})"/>
246/// <inheritdoc cref="ImmutableList{T}.FindLast(Predicate{T})"/>
250/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(Predicate{T})"/>
254/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(int, Predicate{T})"/>
269/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(int, int, Predicate{T})"/>
284/// <inheritdoc cref="ImmutableList{T}.ForEach(Action{T})"/>
288/// <inheritdoc cref="ImmutableList{T}.GetEnumerator()"/>
292/// <inheritdoc cref="ImmutableList{T}.GetRange(int, int)"/>
309/// <inheritdoc cref="ImmutableList{T}.Insert(int, T)"/>
324/// <inheritdoc cref="ImmutableList{T}.InsertRange(int, IEnumerable{T})"/>
360/// <inheritdoc cref="ImmutableList{T}.Remove(T)"/>
372/// <inheritdoc cref="ImmutableList{T}.Remove(T, IEqualityComparer{T}?)"/>
384/// <inheritdoc cref="ImmutableList{T}.RemoveAll(Predicate{T})"/>
394/// <inheritdoc cref="ImmutableList{T}.RemoveAt(int)"/>
403/// <inheritdoc cref="ImmutableList{T}.RemoveRange(IEnumerable{T})"/>
427/// <inheritdoc cref="ImmutableList{T}.RemoveRange(IEnumerable{T}, IEqualityComparer{T}?)"/>
451/// <inheritdoc cref="ImmutableList{T}.RemoveRange(int, int)"/>
467/// <inheritdoc cref="ImmutableList{T}.Replace(T, T)"/>
481/// <inheritdoc cref="ImmutableList{T}.Replace(T, T, IEqualityComparer{T}?)"/>
495/// <inheritdoc cref="ImmutableList{T}.Reverse()"/>
507/// <inheritdoc cref="ImmutableList{T}.Reverse(int, int)"/>
515/// <inheritdoc cref="ImmutableList{T}.SetItem(int, T)"/>
524/// <inheritdoc cref="ImmutableList{T}.Sort()"/>
538/// <inheritdoc cref="ImmutableList{T}.Sort(IComparer{T}?)"/>
552/// <inheritdoc cref="ImmutableList{T}.Sort(Comparison{T})"/>
571/// <inheritdoc cref="ImmutableList{T}.Sort(int, int, IComparer{T}?)"/>
580/// <inheritdoc cref="ImmutableList{T}.ToBuilder()"/>
599/// <inheritdoc cref="ImmutableList{T}.TrueForAll(Predicate{T})"/>
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (38)
50/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.ItemRef(int)"/>
57/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.AddRange(IEnumerable{T})"/>
61/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.BinarySearch(T)"/>
65/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.BinarySearch(T, IComparer{T}?)"/>
69/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.BinarySearch(int, int, T, IComparer{T}?)"/>
79/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.ConvertAll{TOutput}(Func{T, TOutput})"/>
83/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.CopyTo(T[])"/>
90/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.CopyTo(int, T[], int, int)"/>
94/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Exists(Predicate{T})"/>
98/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Find(Predicate{T})"/>
102/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindAll(Predicate{T})"/>
106/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(Predicate{T})"/>
110/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(int, Predicate{T})"/>
114/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(int, int, Predicate{T})"/>
118/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLast(Predicate{T})"/>
122/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(Predicate{T})"/>
126/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(int, Predicate{T})"/>
130/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(int, int, Predicate{T})"/>
134/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.ForEach(Action{T})"/>
138/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.GetEnumerator()"/>
142/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.GetRange(int, int)"/>
149/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.IndexOf(T, int)"/>
153/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.IndexOf(T, int, int)"/>
157/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.IndexOf(T, int, int, IEqualityComparer{T}?)"/>
164/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.InsertRange(int, IEnumerable{T})"/>
168/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.LastIndexOf(T)"/>
172/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.LastIndexOf(T, int)"/>
176/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.LastIndexOf(T, int, int)"/>
180/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.LastIndexOf(T, int, int, IEqualityComparer{T}?)"/>
187/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.RemoveAll(Predicate{T})"/>
194/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Reverse()"/>
198/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Reverse(int, int)"/>
202/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Sort()"/>
206/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Sort(IComparer{T}?)"/>
210/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Sort(Comparison{T})"/>
214/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Sort(int, int, IComparer{T}?)"/>
218/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.ToImmutable()"/>
222/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.TrueForAll(Predicate{T})"/>
Microsoft.AspNetCore.App.Analyzers (10)
Infrastructure\VirtualChars\AbstractVirtualCharService.cs (4)
190protected static int ConvertTextAtIndexToRune(string tokenText, int index, ImmutableList<VirtualChar>.Builder result, int offset)
193protected static int ConvertTextAtIndexToRune(SourceText tokenText, int index, ImmutableList<VirtualChar>.Builder result, int offset)
197T tokenText, int index, TTextInfo info, ImmutableList<VirtualChar>.Builder result, int offset)
230ImmutableList<VirtualChar>.Builder result)
Microsoft.AspNetCore.Components.Endpoints (14)
Microsoft.AspNetCore.Components.Endpoints.Tests (5)
Binding\FormDataMapperTests.cs (5)
817var expected = ImmutableList.CreateRange(new[] { 10, 11, 12, 13, 14, 15, 16, 17, 18, 19 });
818CanDeserialize_Collection<ImmutableList<int>, ImmutableList<int>, int>(expected);
857var expected = ImmutableList.CreateRange(new[] { 10, 11, 12, 13, 14, 15, 16, 17, 18, 19 });
858CanDeserialize_Collection<IImmutableList<int>, ImmutableList<int>, int>(expected);
Microsoft.AspNetCore.Http.Extensions (14)
Microsoft.CodeAnalysis (89)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (47)
21/// best for <see cref="ImmutableList{T}"/>.</para>
30/// <description><see cref="ImmutableList{T}"/> Complexity</description>
75/// <inheritdoc cref="ImmutableList{T}.Empty"/>
87/// <inheritdoc cref="ImmutableList{T}.IsEmpty"/>
126/// <inheritdoc cref="ImmutableList{T}.ItemRef(int)"/>
140/// <inheritdoc cref="ImmutableList{T}.Add(T)"/>
160/// <inheritdoc cref="ImmutableList{T}.AddRange(IEnumerable{T})"/>
188/// <inheritdoc cref="ImmutableList{T}.BinarySearch(T)"/>
192/// <inheritdoc cref="ImmutableList{T}.BinarySearch(T, IComparer{T}?)"/>
196/// <inheritdoc cref="ImmutableList{T}.BinarySearch(int, int, T, IComparer{T}?)"/>
200/// <inheritdoc cref="ImmutableList{T}.Clear()"/>
207/// <inheritdoc cref="ImmutableList{T}.ConvertAll{TOutput}(Func{T, TOutput})"/>
211/// <inheritdoc cref="ImmutableList{T}.CopyTo(T[])"/>
218/// <inheritdoc cref="ImmutableList{T}.CopyTo(int, T[], int, int)"/>
222/// <inheritdoc cref="ImmutableList{T}.Exists(Predicate{T})"/>
226/// <inheritdoc cref="ImmutableList{T}.Find(Predicate{T})"/>
230/// <inheritdoc cref="ImmutableList{T}.FindAll(Predicate{T})"/>
234/// <inheritdoc cref="ImmutableList{T}.FindIndex(Predicate{T})"/>
238/// <inheritdoc cref="ImmutableList{T}.FindIndex(int, Predicate{T})"/>
242/// <inheritdoc cref="ImmutableList{T}.FindIndex(int, int, Predicate{T})"/>
246/// <inheritdoc cref="ImmutableList{T}.FindLast(Predicate{T})"/>
250/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(Predicate{T})"/>
254/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(int, Predicate{T})"/>
269/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(int, int, Predicate{T})"/>
284/// <inheritdoc cref="ImmutableList{T}.ForEach(Action{T})"/>
288/// <inheritdoc cref="ImmutableList{T}.GetEnumerator()"/>
292/// <inheritdoc cref="ImmutableList{T}.GetRange(int, int)"/>
309/// <inheritdoc cref="ImmutableList{T}.Insert(int, T)"/>
324/// <inheritdoc cref="ImmutableList{T}.InsertRange(int, IEnumerable{T})"/>
360/// <inheritdoc cref="ImmutableList{T}.Remove(T)"/>
372/// <inheritdoc cref="ImmutableList{T}.Remove(T, IEqualityComparer{T}?)"/>
384/// <inheritdoc cref="ImmutableList{T}.RemoveAll(Predicate{T})"/>
394/// <inheritdoc cref="ImmutableList{T}.RemoveAt(int)"/>
403/// <inheritdoc cref="ImmutableList{T}.RemoveRange(IEnumerable{T})"/>
427/// <inheritdoc cref="ImmutableList{T}.RemoveRange(IEnumerable{T}, IEqualityComparer{T}?)"/>
451/// <inheritdoc cref="ImmutableList{T}.RemoveRange(int, int)"/>
467/// <inheritdoc cref="ImmutableList{T}.Replace(T, T)"/>
481/// <inheritdoc cref="ImmutableList{T}.Replace(T, T, IEqualityComparer{T}?)"/>
495/// <inheritdoc cref="ImmutableList{T}.Reverse()"/>
507/// <inheritdoc cref="ImmutableList{T}.Reverse(int, int)"/>
515/// <inheritdoc cref="ImmutableList{T}.SetItem(int, T)"/>
524/// <inheritdoc cref="ImmutableList{T}.Sort()"/>
538/// <inheritdoc cref="ImmutableList{T}.Sort(IComparer{T}?)"/>
552/// <inheritdoc cref="ImmutableList{T}.Sort(Comparison{T})"/>
571/// <inheritdoc cref="ImmutableList{T}.Sort(int, int, IComparer{T}?)"/>
580/// <inheritdoc cref="ImmutableList{T}.ToBuilder()"/>
599/// <inheritdoc cref="ImmutableList{T}.TrueForAll(Predicate{T})"/>
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (38)
50/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.ItemRef(int)"/>
57/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.AddRange(IEnumerable{T})"/>
61/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.BinarySearch(T)"/>
65/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.BinarySearch(T, IComparer{T}?)"/>
69/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.BinarySearch(int, int, T, IComparer{T}?)"/>
79/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.ConvertAll{TOutput}(Func{T, TOutput})"/>
83/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.CopyTo(T[])"/>
90/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.CopyTo(int, T[], int, int)"/>
94/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Exists(Predicate{T})"/>
98/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Find(Predicate{T})"/>
102/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindAll(Predicate{T})"/>
106/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(Predicate{T})"/>
110/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(int, Predicate{T})"/>
114/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(int, int, Predicate{T})"/>
118/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLast(Predicate{T})"/>
122/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(Predicate{T})"/>
126/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(int, Predicate{T})"/>
130/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(int, int, Predicate{T})"/>
134/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.ForEach(Action{T})"/>
138/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.GetEnumerator()"/>
142/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.GetRange(int, int)"/>
149/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.IndexOf(T, int)"/>
153/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.IndexOf(T, int, int)"/>
157/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.IndexOf(T, int, int, IEqualityComparer{T}?)"/>
164/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.InsertRange(int, IEnumerable{T})"/>
168/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.LastIndexOf(T)"/>
172/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.LastIndexOf(T, int)"/>
176/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.LastIndexOf(T, int, int)"/>
180/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.LastIndexOf(T, int, int, IEqualityComparer{T}?)"/>
187/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.RemoveAll(Predicate{T})"/>
194/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Reverse()"/>
198/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Reverse(int, int)"/>
202/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Sort()"/>
206/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Sort(IComparer{T}?)"/>
210/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Sort(Comparison{T})"/>
214/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Sort(int, int, IComparer{T}?)"/>
218/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.ToImmutable()"/>
222/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.TrueForAll(Predicate{T})"/>
Microsoft.CodeAnalysis.Analyzers (90)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (47)
21/// best for <see cref="ImmutableList{T}"/>.</para>
30/// <description><see cref="ImmutableList{T}"/> Complexity</description>
75/// <inheritdoc cref="ImmutableList{T}.Empty"/>
87/// <inheritdoc cref="ImmutableList{T}.IsEmpty"/>
126/// <inheritdoc cref="ImmutableList{T}.ItemRef(int)"/>
140/// <inheritdoc cref="ImmutableList{T}.Add(T)"/>
160/// <inheritdoc cref="ImmutableList{T}.AddRange(IEnumerable{T})"/>
188/// <inheritdoc cref="ImmutableList{T}.BinarySearch(T)"/>
192/// <inheritdoc cref="ImmutableList{T}.BinarySearch(T, IComparer{T}?)"/>
196/// <inheritdoc cref="ImmutableList{T}.BinarySearch(int, int, T, IComparer{T}?)"/>
200/// <inheritdoc cref="ImmutableList{T}.Clear()"/>
207/// <inheritdoc cref="ImmutableList{T}.ConvertAll{TOutput}(Func{T, TOutput})"/>
211/// <inheritdoc cref="ImmutableList{T}.CopyTo(T[])"/>
218/// <inheritdoc cref="ImmutableList{T}.CopyTo(int, T[], int, int)"/>
222/// <inheritdoc cref="ImmutableList{T}.Exists(Predicate{T})"/>
226/// <inheritdoc cref="ImmutableList{T}.Find(Predicate{T})"/>
230/// <inheritdoc cref="ImmutableList{T}.FindAll(Predicate{T})"/>
234/// <inheritdoc cref="ImmutableList{T}.FindIndex(Predicate{T})"/>
238/// <inheritdoc cref="ImmutableList{T}.FindIndex(int, Predicate{T})"/>
242/// <inheritdoc cref="ImmutableList{T}.FindIndex(int, int, Predicate{T})"/>
246/// <inheritdoc cref="ImmutableList{T}.FindLast(Predicate{T})"/>
250/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(Predicate{T})"/>
254/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(int, Predicate{T})"/>
269/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(int, int, Predicate{T})"/>
284/// <inheritdoc cref="ImmutableList{T}.ForEach(Action{T})"/>
288/// <inheritdoc cref="ImmutableList{T}.GetEnumerator()"/>
292/// <inheritdoc cref="ImmutableList{T}.GetRange(int, int)"/>
309/// <inheritdoc cref="ImmutableList{T}.Insert(int, T)"/>
324/// <inheritdoc cref="ImmutableList{T}.InsertRange(int, IEnumerable{T})"/>
360/// <inheritdoc cref="ImmutableList{T}.Remove(T)"/>
372/// <inheritdoc cref="ImmutableList{T}.Remove(T, IEqualityComparer{T}?)"/>
384/// <inheritdoc cref="ImmutableList{T}.RemoveAll(Predicate{T})"/>
394/// <inheritdoc cref="ImmutableList{T}.RemoveAt(int)"/>
403/// <inheritdoc cref="ImmutableList{T}.RemoveRange(IEnumerable{T})"/>
427/// <inheritdoc cref="ImmutableList{T}.RemoveRange(IEnumerable{T}, IEqualityComparer{T}?)"/>
451/// <inheritdoc cref="ImmutableList{T}.RemoveRange(int, int)"/>
467/// <inheritdoc cref="ImmutableList{T}.Replace(T, T)"/>
481/// <inheritdoc cref="ImmutableList{T}.Replace(T, T, IEqualityComparer{T}?)"/>
495/// <inheritdoc cref="ImmutableList{T}.Reverse()"/>
507/// <inheritdoc cref="ImmutableList{T}.Reverse(int, int)"/>
515/// <inheritdoc cref="ImmutableList{T}.SetItem(int, T)"/>
524/// <inheritdoc cref="ImmutableList{T}.Sort()"/>
538/// <inheritdoc cref="ImmutableList{T}.Sort(IComparer{T}?)"/>
552/// <inheritdoc cref="ImmutableList{T}.Sort(Comparison{T})"/>
571/// <inheritdoc cref="ImmutableList{T}.Sort(int, int, IComparer{T}?)"/>
580/// <inheritdoc cref="ImmutableList{T}.ToBuilder()"/>
599/// <inheritdoc cref="ImmutableList{T}.TrueForAll(Predicate{T})"/>
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (38)
50/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.ItemRef(int)"/>
57/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.AddRange(IEnumerable{T})"/>
61/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.BinarySearch(T)"/>
65/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.BinarySearch(T, IComparer{T}?)"/>
69/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.BinarySearch(int, int, T, IComparer{T}?)"/>
79/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.ConvertAll{TOutput}(Func{T, TOutput})"/>
83/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.CopyTo(T[])"/>
90/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.CopyTo(int, T[], int, int)"/>
94/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Exists(Predicate{T})"/>
98/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Find(Predicate{T})"/>
102/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindAll(Predicate{T})"/>
106/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(Predicate{T})"/>
110/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(int, Predicate{T})"/>
114/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(int, int, Predicate{T})"/>
118/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLast(Predicate{T})"/>
122/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(Predicate{T})"/>
126/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(int, Predicate{T})"/>
130/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(int, int, Predicate{T})"/>
134/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.ForEach(Action{T})"/>
138/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.GetEnumerator()"/>
142/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.GetRange(int, int)"/>
149/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.IndexOf(T, int)"/>
153/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.IndexOf(T, int, int)"/>
157/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.IndexOf(T, int, int, IEqualityComparer{T}?)"/>
164/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.InsertRange(int, IEnumerable{T})"/>
168/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.LastIndexOf(T)"/>
172/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.LastIndexOf(T, int)"/>
176/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.LastIndexOf(T, int, int)"/>
180/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.LastIndexOf(T, int, int, IEqualityComparer{T}?)"/>
187/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.RemoveAll(Predicate{T})"/>
194/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Reverse()"/>
198/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Reverse(int, int)"/>
202/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Sort()"/>
206/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Sort(IComparer{T}?)"/>
210/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Sort(Comparison{T})"/>
214/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Sort(int, int, IComparer{T}?)"/>
218/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.ToImmutable()"/>
222/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.TrueForAll(Predicate{T})"/>
Microsoft.CodeAnalysis.AnalyzerUtilities (90)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (47)
21/// best for <see cref="ImmutableList{T}"/>.</para>
30/// <description><see cref="ImmutableList{T}"/> Complexity</description>
75/// <inheritdoc cref="ImmutableList{T}.Empty"/>
87/// <inheritdoc cref="ImmutableList{T}.IsEmpty"/>
126/// <inheritdoc cref="ImmutableList{T}.ItemRef(int)"/>
140/// <inheritdoc cref="ImmutableList{T}.Add(T)"/>
160/// <inheritdoc cref="ImmutableList{T}.AddRange(IEnumerable{T})"/>
188/// <inheritdoc cref="ImmutableList{T}.BinarySearch(T)"/>
192/// <inheritdoc cref="ImmutableList{T}.BinarySearch(T, IComparer{T}?)"/>
196/// <inheritdoc cref="ImmutableList{T}.BinarySearch(int, int, T, IComparer{T}?)"/>
200/// <inheritdoc cref="ImmutableList{T}.Clear()"/>
207/// <inheritdoc cref="ImmutableList{T}.ConvertAll{TOutput}(Func{T, TOutput})"/>
211/// <inheritdoc cref="ImmutableList{T}.CopyTo(T[])"/>
218/// <inheritdoc cref="ImmutableList{T}.CopyTo(int, T[], int, int)"/>
222/// <inheritdoc cref="ImmutableList{T}.Exists(Predicate{T})"/>
226/// <inheritdoc cref="ImmutableList{T}.Find(Predicate{T})"/>
230/// <inheritdoc cref="ImmutableList{T}.FindAll(Predicate{T})"/>
234/// <inheritdoc cref="ImmutableList{T}.FindIndex(Predicate{T})"/>
238/// <inheritdoc cref="ImmutableList{T}.FindIndex(int, Predicate{T})"/>
242/// <inheritdoc cref="ImmutableList{T}.FindIndex(int, int, Predicate{T})"/>
246/// <inheritdoc cref="ImmutableList{T}.FindLast(Predicate{T})"/>
250/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(Predicate{T})"/>
254/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(int, Predicate{T})"/>
269/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(int, int, Predicate{T})"/>
284/// <inheritdoc cref="ImmutableList{T}.ForEach(Action{T})"/>
288/// <inheritdoc cref="ImmutableList{T}.GetEnumerator()"/>
292/// <inheritdoc cref="ImmutableList{T}.GetRange(int, int)"/>
309/// <inheritdoc cref="ImmutableList{T}.Insert(int, T)"/>
324/// <inheritdoc cref="ImmutableList{T}.InsertRange(int, IEnumerable{T})"/>
360/// <inheritdoc cref="ImmutableList{T}.Remove(T)"/>
372/// <inheritdoc cref="ImmutableList{T}.Remove(T, IEqualityComparer{T}?)"/>
384/// <inheritdoc cref="ImmutableList{T}.RemoveAll(Predicate{T})"/>
394/// <inheritdoc cref="ImmutableList{T}.RemoveAt(int)"/>
403/// <inheritdoc cref="ImmutableList{T}.RemoveRange(IEnumerable{T})"/>
427/// <inheritdoc cref="ImmutableList{T}.RemoveRange(IEnumerable{T}, IEqualityComparer{T}?)"/>
451/// <inheritdoc cref="ImmutableList{T}.RemoveRange(int, int)"/>
467/// <inheritdoc cref="ImmutableList{T}.Replace(T, T)"/>
481/// <inheritdoc cref="ImmutableList{T}.Replace(T, T, IEqualityComparer{T}?)"/>
495/// <inheritdoc cref="ImmutableList{T}.Reverse()"/>
507/// <inheritdoc cref="ImmutableList{T}.Reverse(int, int)"/>
515/// <inheritdoc cref="ImmutableList{T}.SetItem(int, T)"/>
524/// <inheritdoc cref="ImmutableList{T}.Sort()"/>
538/// <inheritdoc cref="ImmutableList{T}.Sort(IComparer{T}?)"/>
552/// <inheritdoc cref="ImmutableList{T}.Sort(Comparison{T})"/>
571/// <inheritdoc cref="ImmutableList{T}.Sort(int, int, IComparer{T}?)"/>
580/// <inheritdoc cref="ImmutableList{T}.ToBuilder()"/>
599/// <inheritdoc cref="ImmutableList{T}.TrueForAll(Predicate{T})"/>
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (38)
50/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.ItemRef(int)"/>
57/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.AddRange(IEnumerable{T})"/>
61/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.BinarySearch(T)"/>
65/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.BinarySearch(T, IComparer{T}?)"/>
69/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.BinarySearch(int, int, T, IComparer{T}?)"/>
79/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.ConvertAll{TOutput}(Func{T, TOutput})"/>
83/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.CopyTo(T[])"/>
90/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.CopyTo(int, T[], int, int)"/>
94/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Exists(Predicate{T})"/>
98/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Find(Predicate{T})"/>
102/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindAll(Predicate{T})"/>
106/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(Predicate{T})"/>
110/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(int, Predicate{T})"/>
114/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(int, int, Predicate{T})"/>
118/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLast(Predicate{T})"/>
122/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(Predicate{T})"/>
126/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(int, Predicate{T})"/>
130/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(int, int, Predicate{T})"/>
134/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.ForEach(Action{T})"/>
138/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.GetEnumerator()"/>
142/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.GetRange(int, int)"/>
149/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.IndexOf(T, int)"/>
153/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.IndexOf(T, int, int)"/>
157/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.IndexOf(T, int, int, IEqualityComparer{T}?)"/>
164/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.InsertRange(int, IEnumerable{T})"/>
168/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.LastIndexOf(T)"/>
172/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.LastIndexOf(T, int)"/>
176/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.LastIndexOf(T, int, int)"/>
180/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.LastIndexOf(T, int, int, IEqualityComparer{T}?)"/>
187/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.RemoveAll(Predicate{T})"/>
194/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Reverse()"/>
198/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Reverse(int, int)"/>
202/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Sort()"/>
206/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Sort(IComparer{T}?)"/>
210/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Sort(Comparison{T})"/>
214/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Sort(int, int, IComparer{T}?)"/>
218/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.ToImmutable()"/>
222/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.TrueForAll(Predicate{T})"/>
Microsoft.CodeAnalysis.BannedApiAnalyzers (90)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (47)
21/// best for <see cref="ImmutableList{T}"/>.</para>
30/// <description><see cref="ImmutableList{T}"/> Complexity</description>
75/// <inheritdoc cref="ImmutableList{T}.Empty"/>
87/// <inheritdoc cref="ImmutableList{T}.IsEmpty"/>
126/// <inheritdoc cref="ImmutableList{T}.ItemRef(int)"/>
140/// <inheritdoc cref="ImmutableList{T}.Add(T)"/>
160/// <inheritdoc cref="ImmutableList{T}.AddRange(IEnumerable{T})"/>
188/// <inheritdoc cref="ImmutableList{T}.BinarySearch(T)"/>
192/// <inheritdoc cref="ImmutableList{T}.BinarySearch(T, IComparer{T}?)"/>
196/// <inheritdoc cref="ImmutableList{T}.BinarySearch(int, int, T, IComparer{T}?)"/>
200/// <inheritdoc cref="ImmutableList{T}.Clear()"/>
207/// <inheritdoc cref="ImmutableList{T}.ConvertAll{TOutput}(Func{T, TOutput})"/>
211/// <inheritdoc cref="ImmutableList{T}.CopyTo(T[])"/>
218/// <inheritdoc cref="ImmutableList{T}.CopyTo(int, T[], int, int)"/>
222/// <inheritdoc cref="ImmutableList{T}.Exists(Predicate{T})"/>
226/// <inheritdoc cref="ImmutableList{T}.Find(Predicate{T})"/>
230/// <inheritdoc cref="ImmutableList{T}.FindAll(Predicate{T})"/>
234/// <inheritdoc cref="ImmutableList{T}.FindIndex(Predicate{T})"/>
238/// <inheritdoc cref="ImmutableList{T}.FindIndex(int, Predicate{T})"/>
242/// <inheritdoc cref="ImmutableList{T}.FindIndex(int, int, Predicate{T})"/>
246/// <inheritdoc cref="ImmutableList{T}.FindLast(Predicate{T})"/>
250/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(Predicate{T})"/>
254/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(int, Predicate{T})"/>
269/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(int, int, Predicate{T})"/>
284/// <inheritdoc cref="ImmutableList{T}.ForEach(Action{T})"/>
288/// <inheritdoc cref="ImmutableList{T}.GetEnumerator()"/>
292/// <inheritdoc cref="ImmutableList{T}.GetRange(int, int)"/>
309/// <inheritdoc cref="ImmutableList{T}.Insert(int, T)"/>
324/// <inheritdoc cref="ImmutableList{T}.InsertRange(int, IEnumerable{T})"/>
360/// <inheritdoc cref="ImmutableList{T}.Remove(T)"/>
372/// <inheritdoc cref="ImmutableList{T}.Remove(T, IEqualityComparer{T}?)"/>
384/// <inheritdoc cref="ImmutableList{T}.RemoveAll(Predicate{T})"/>
394/// <inheritdoc cref="ImmutableList{T}.RemoveAt(int)"/>
403/// <inheritdoc cref="ImmutableList{T}.RemoveRange(IEnumerable{T})"/>
427/// <inheritdoc cref="ImmutableList{T}.RemoveRange(IEnumerable{T}, IEqualityComparer{T}?)"/>
451/// <inheritdoc cref="ImmutableList{T}.RemoveRange(int, int)"/>
467/// <inheritdoc cref="ImmutableList{T}.Replace(T, T)"/>
481/// <inheritdoc cref="ImmutableList{T}.Replace(T, T, IEqualityComparer{T}?)"/>
495/// <inheritdoc cref="ImmutableList{T}.Reverse()"/>
507/// <inheritdoc cref="ImmutableList{T}.Reverse(int, int)"/>
515/// <inheritdoc cref="ImmutableList{T}.SetItem(int, T)"/>
524/// <inheritdoc cref="ImmutableList{T}.Sort()"/>
538/// <inheritdoc cref="ImmutableList{T}.Sort(IComparer{T}?)"/>
552/// <inheritdoc cref="ImmutableList{T}.Sort(Comparison{T})"/>
571/// <inheritdoc cref="ImmutableList{T}.Sort(int, int, IComparer{T}?)"/>
580/// <inheritdoc cref="ImmutableList{T}.ToBuilder()"/>
599/// <inheritdoc cref="ImmutableList{T}.TrueForAll(Predicate{T})"/>
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (38)
50/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.ItemRef(int)"/>
57/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.AddRange(IEnumerable{T})"/>
61/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.BinarySearch(T)"/>
65/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.BinarySearch(T, IComparer{T}?)"/>
69/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.BinarySearch(int, int, T, IComparer{T}?)"/>
79/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.ConvertAll{TOutput}(Func{T, TOutput})"/>
83/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.CopyTo(T[])"/>
90/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.CopyTo(int, T[], int, int)"/>
94/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Exists(Predicate{T})"/>
98/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Find(Predicate{T})"/>
102/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindAll(Predicate{T})"/>
106/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(Predicate{T})"/>
110/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(int, Predicate{T})"/>
114/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(int, int, Predicate{T})"/>
118/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLast(Predicate{T})"/>
122/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(Predicate{T})"/>
126/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(int, Predicate{T})"/>
130/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(int, int, Predicate{T})"/>
134/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.ForEach(Action{T})"/>
138/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.GetEnumerator()"/>
142/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.GetRange(int, int)"/>
149/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.IndexOf(T, int)"/>
153/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.IndexOf(T, int, int)"/>
157/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.IndexOf(T, int, int, IEqualityComparer{T}?)"/>
164/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.InsertRange(int, IEnumerable{T})"/>
168/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.LastIndexOf(T)"/>
172/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.LastIndexOf(T, int)"/>
176/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.LastIndexOf(T, int, int)"/>
180/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.LastIndexOf(T, int, int, IEqualityComparer{T}?)"/>
187/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.RemoveAll(Predicate{T})"/>
194/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Reverse()"/>
198/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Reverse(int, int)"/>
202/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Sort()"/>
206/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Sort(IComparer{T}?)"/>
210/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Sort(Comparison{T})"/>
214/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Sort(int, int, IComparer{T}?)"/>
218/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.ToImmutable()"/>
222/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.TrueForAll(Predicate{T})"/>
Microsoft.CodeAnalysis.CodeStyle (90)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (47)
21/// best for <see cref="ImmutableList{T}"/>.</para>
30/// <description><see cref="ImmutableList{T}"/> Complexity</description>
75/// <inheritdoc cref="ImmutableList{T}.Empty"/>
87/// <inheritdoc cref="ImmutableList{T}.IsEmpty"/>
126/// <inheritdoc cref="ImmutableList{T}.ItemRef(int)"/>
140/// <inheritdoc cref="ImmutableList{T}.Add(T)"/>
160/// <inheritdoc cref="ImmutableList{T}.AddRange(IEnumerable{T})"/>
188/// <inheritdoc cref="ImmutableList{T}.BinarySearch(T)"/>
192/// <inheritdoc cref="ImmutableList{T}.BinarySearch(T, IComparer{T}?)"/>
196/// <inheritdoc cref="ImmutableList{T}.BinarySearch(int, int, T, IComparer{T}?)"/>
200/// <inheritdoc cref="ImmutableList{T}.Clear()"/>
207/// <inheritdoc cref="ImmutableList{T}.ConvertAll{TOutput}(Func{T, TOutput})"/>
211/// <inheritdoc cref="ImmutableList{T}.CopyTo(T[])"/>
218/// <inheritdoc cref="ImmutableList{T}.CopyTo(int, T[], int, int)"/>
222/// <inheritdoc cref="ImmutableList{T}.Exists(Predicate{T})"/>
226/// <inheritdoc cref="ImmutableList{T}.Find(Predicate{T})"/>
230/// <inheritdoc cref="ImmutableList{T}.FindAll(Predicate{T})"/>
234/// <inheritdoc cref="ImmutableList{T}.FindIndex(Predicate{T})"/>
238/// <inheritdoc cref="ImmutableList{T}.FindIndex(int, Predicate{T})"/>
242/// <inheritdoc cref="ImmutableList{T}.FindIndex(int, int, Predicate{T})"/>
246/// <inheritdoc cref="ImmutableList{T}.FindLast(Predicate{T})"/>
250/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(Predicate{T})"/>
254/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(int, Predicate{T})"/>
269/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(int, int, Predicate{T})"/>
284/// <inheritdoc cref="ImmutableList{T}.ForEach(Action{T})"/>
288/// <inheritdoc cref="ImmutableList{T}.GetEnumerator()"/>
292/// <inheritdoc cref="ImmutableList{T}.GetRange(int, int)"/>
309/// <inheritdoc cref="ImmutableList{T}.Insert(int, T)"/>
324/// <inheritdoc cref="ImmutableList{T}.InsertRange(int, IEnumerable{T})"/>
360/// <inheritdoc cref="ImmutableList{T}.Remove(T)"/>
372/// <inheritdoc cref="ImmutableList{T}.Remove(T, IEqualityComparer{T}?)"/>
384/// <inheritdoc cref="ImmutableList{T}.RemoveAll(Predicate{T})"/>
394/// <inheritdoc cref="ImmutableList{T}.RemoveAt(int)"/>
403/// <inheritdoc cref="ImmutableList{T}.RemoveRange(IEnumerable{T})"/>
427/// <inheritdoc cref="ImmutableList{T}.RemoveRange(IEnumerable{T}, IEqualityComparer{T}?)"/>
451/// <inheritdoc cref="ImmutableList{T}.RemoveRange(int, int)"/>
467/// <inheritdoc cref="ImmutableList{T}.Replace(T, T)"/>
481/// <inheritdoc cref="ImmutableList{T}.Replace(T, T, IEqualityComparer{T}?)"/>
495/// <inheritdoc cref="ImmutableList{T}.Reverse()"/>
507/// <inheritdoc cref="ImmutableList{T}.Reverse(int, int)"/>
515/// <inheritdoc cref="ImmutableList{T}.SetItem(int, T)"/>
524/// <inheritdoc cref="ImmutableList{T}.Sort()"/>
538/// <inheritdoc cref="ImmutableList{T}.Sort(IComparer{T}?)"/>
552/// <inheritdoc cref="ImmutableList{T}.Sort(Comparison{T})"/>
571/// <inheritdoc cref="ImmutableList{T}.Sort(int, int, IComparer{T}?)"/>
580/// <inheritdoc cref="ImmutableList{T}.ToBuilder()"/>
599/// <inheritdoc cref="ImmutableList{T}.TrueForAll(Predicate{T})"/>
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (38)
50/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.ItemRef(int)"/>
57/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.AddRange(IEnumerable{T})"/>
61/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.BinarySearch(T)"/>
65/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.BinarySearch(T, IComparer{T}?)"/>
69/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.BinarySearch(int, int, T, IComparer{T}?)"/>
79/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.ConvertAll{TOutput}(Func{T, TOutput})"/>
83/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.CopyTo(T[])"/>
90/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.CopyTo(int, T[], int, int)"/>
94/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Exists(Predicate{T})"/>
98/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Find(Predicate{T})"/>
102/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindAll(Predicate{T})"/>
106/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(Predicate{T})"/>
110/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(int, Predicate{T})"/>
114/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(int, int, Predicate{T})"/>
118/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLast(Predicate{T})"/>
122/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(Predicate{T})"/>
126/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(int, Predicate{T})"/>
130/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(int, int, Predicate{T})"/>
134/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.ForEach(Action{T})"/>
138/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.GetEnumerator()"/>
142/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.GetRange(int, int)"/>
149/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.IndexOf(T, int)"/>
153/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.IndexOf(T, int, int)"/>
157/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.IndexOf(T, int, int, IEqualityComparer{T}?)"/>
164/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.InsertRange(int, IEnumerable{T})"/>
168/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.LastIndexOf(T)"/>
172/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.LastIndexOf(T, int)"/>
176/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.LastIndexOf(T, int, int)"/>
180/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.LastIndexOf(T, int, int, IEqualityComparer{T}?)"/>
187/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.RemoveAll(Predicate{T})"/>
194/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Reverse()"/>
198/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Reverse(int, int)"/>
202/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Sort()"/>
206/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Sort(IComparer{T}?)"/>
210/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Sort(Comparison{T})"/>
214/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Sort(int, int, IComparer{T}?)"/>
218/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.ToImmutable()"/>
222/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.TrueForAll(Predicate{T})"/>
Microsoft.CodeAnalysis.CodeStyle.Fixes (2)
Microsoft.CodeAnalysis.Collections.Package (87)
Segmented\ImmutableSegmentedList`1.cs (47)
21/// best for <see cref="ImmutableList{T}"/>.</para>
30/// <description><see cref="ImmutableList{T}"/> Complexity</description>
75/// <inheritdoc cref="ImmutableList{T}.Empty"/>
87/// <inheritdoc cref="ImmutableList{T}.IsEmpty"/>
126/// <inheritdoc cref="ImmutableList{T}.ItemRef(int)"/>
140/// <inheritdoc cref="ImmutableList{T}.Add(T)"/>
160/// <inheritdoc cref="ImmutableList{T}.AddRange(IEnumerable{T})"/>
188/// <inheritdoc cref="ImmutableList{T}.BinarySearch(T)"/>
192/// <inheritdoc cref="ImmutableList{T}.BinarySearch(T, IComparer{T}?)"/>
196/// <inheritdoc cref="ImmutableList{T}.BinarySearch(int, int, T, IComparer{T}?)"/>
200/// <inheritdoc cref="ImmutableList{T}.Clear()"/>
207/// <inheritdoc cref="ImmutableList{T}.ConvertAll{TOutput}(Func{T, TOutput})"/>
211/// <inheritdoc cref="ImmutableList{T}.CopyTo(T[])"/>
218/// <inheritdoc cref="ImmutableList{T}.CopyTo(int, T[], int, int)"/>
222/// <inheritdoc cref="ImmutableList{T}.Exists(Predicate{T})"/>
226/// <inheritdoc cref="ImmutableList{T}.Find(Predicate{T})"/>
230/// <inheritdoc cref="ImmutableList{T}.FindAll(Predicate{T})"/>
234/// <inheritdoc cref="ImmutableList{T}.FindIndex(Predicate{T})"/>
238/// <inheritdoc cref="ImmutableList{T}.FindIndex(int, Predicate{T})"/>
242/// <inheritdoc cref="ImmutableList{T}.FindIndex(int, int, Predicate{T})"/>
246/// <inheritdoc cref="ImmutableList{T}.FindLast(Predicate{T})"/>
250/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(Predicate{T})"/>
254/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(int, Predicate{T})"/>
269/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(int, int, Predicate{T})"/>
284/// <inheritdoc cref="ImmutableList{T}.ForEach(Action{T})"/>
288/// <inheritdoc cref="ImmutableList{T}.GetEnumerator()"/>
292/// <inheritdoc cref="ImmutableList{T}.GetRange(int, int)"/>
309/// <inheritdoc cref="ImmutableList{T}.Insert(int, T)"/>
324/// <inheritdoc cref="ImmutableList{T}.InsertRange(int, IEnumerable{T})"/>
360/// <inheritdoc cref="ImmutableList{T}.Remove(T)"/>
372/// <inheritdoc cref="ImmutableList{T}.Remove(T, IEqualityComparer{T}?)"/>
384/// <inheritdoc cref="ImmutableList{T}.RemoveAll(Predicate{T})"/>
394/// <inheritdoc cref="ImmutableList{T}.RemoveAt(int)"/>
403/// <inheritdoc cref="ImmutableList{T}.RemoveRange(IEnumerable{T})"/>
427/// <inheritdoc cref="ImmutableList{T}.RemoveRange(IEnumerable{T}, IEqualityComparer{T}?)"/>
451/// <inheritdoc cref="ImmutableList{T}.RemoveRange(int, int)"/>
467/// <inheritdoc cref="ImmutableList{T}.Replace(T, T)"/>
481/// <inheritdoc cref="ImmutableList{T}.Replace(T, T, IEqualityComparer{T}?)"/>
495/// <inheritdoc cref="ImmutableList{T}.Reverse()"/>
507/// <inheritdoc cref="ImmutableList{T}.Reverse(int, int)"/>
515/// <inheritdoc cref="ImmutableList{T}.SetItem(int, T)"/>
524/// <inheritdoc cref="ImmutableList{T}.Sort()"/>
538/// <inheritdoc cref="ImmutableList{T}.Sort(IComparer{T}?)"/>
552/// <inheritdoc cref="ImmutableList{T}.Sort(Comparison{T})"/>
571/// <inheritdoc cref="ImmutableList{T}.Sort(int, int, IComparer{T}?)"/>
580/// <inheritdoc cref="ImmutableList{T}.ToBuilder()"/>
599/// <inheritdoc cref="ImmutableList{T}.TrueForAll(Predicate{T})"/>
Segmented\ImmutableSegmentedList`1+Builder.cs (38)
50/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.ItemRef(int)"/>
57/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.AddRange(IEnumerable{T})"/>
61/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.BinarySearch(T)"/>
65/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.BinarySearch(T, IComparer{T}?)"/>
69/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.BinarySearch(int, int, T, IComparer{T}?)"/>
79/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.ConvertAll{TOutput}(Func{T, TOutput})"/>
83/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.CopyTo(T[])"/>
90/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.CopyTo(int, T[], int, int)"/>
94/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Exists(Predicate{T})"/>
98/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Find(Predicate{T})"/>
102/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindAll(Predicate{T})"/>
106/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(Predicate{T})"/>
110/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(int, Predicate{T})"/>
114/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(int, int, Predicate{T})"/>
118/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLast(Predicate{T})"/>
122/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(Predicate{T})"/>
126/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(int, Predicate{T})"/>
130/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(int, int, Predicate{T})"/>
134/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.ForEach(Action{T})"/>
138/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.GetEnumerator()"/>
142/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.GetRange(int, int)"/>
149/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.IndexOf(T, int)"/>
153/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.IndexOf(T, int, int)"/>
157/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.IndexOf(T, int, int, IEqualityComparer{T}?)"/>
164/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.InsertRange(int, IEnumerable{T})"/>
168/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.LastIndexOf(T)"/>
172/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.LastIndexOf(T, int)"/>
176/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.LastIndexOf(T, int, int)"/>
180/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.LastIndexOf(T, int, int, IEqualityComparer{T}?)"/>
187/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.RemoveAll(Predicate{T})"/>
194/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Reverse()"/>
198/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Reverse(int, int)"/>
202/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Sort()"/>
206/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Sort(IComparer{T}?)"/>
210/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Sort(Comparison{T})"/>
214/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Sort(int, int, IComparer{T}?)"/>
218/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.ToImmutable()"/>
222/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.TrueForAll(Predicate{T})"/>
Microsoft.CodeAnalysis.CSharp.CodeStyle (2)
src\Analyzers\CSharp\Analyzers\UseCollectionExpression\CSharpUseCollectionExpressionForFluentDiagnosticAnalyzer.cs (1)
58nameof(ImmutableList<>),
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (19)
CodeGen\CodeGenCapturing.cs (19)
122return GenerateAll(sum, 0, ImmutableList<int>.Empty);
124IEnumerable<ImmutableList<int>> GenerateAll(
127ImmutableList<int> setsSoFar)
131var newSets = setsSoFar.Add(i);
138foreach (var captures in GenerateAll(remainingSum - i,
154ImmutableList<int>.Empty.Add(0),
155ImmutableList<int>.Empty.Add(1),
156ImmutableList<int>.Empty.Add(2),
157ImmutableList<int>.Empty.Add(3)
161ImmutableList<int>.Empty.Add(0).Add(0),
162ImmutableList<int>.Empty.Add(0).Add(1),
163ImmutableList<int>.Empty.Add(0).Add(2),
164ImmutableList<int>.Empty.Add(0).Add(3),
165ImmutableList<int>.Empty.Add(1).Add(0),
166ImmutableList<int>.Empty.Add(1).Add(1),
167ImmutableList<int>.Empty.Add(1).Add(2),
168ImmutableList<int>.Empty.Add(2).Add(0),
169ImmutableList<int>.Empty.Add(2).Add(1),
170ImmutableList<int>.Empty.Add(3).Add(0)
Microsoft.CodeAnalysis.CSharp.Features (3)
src\Analyzers\CSharp\Analyzers\UseCollectionExpression\CSharpUseCollectionExpressionForFluentDiagnosticAnalyzer.cs (1)
58nameof(ImmutableList<>),
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (1)
Microsoft.CodeAnalysis.Extensions.Package (87)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (47)
21/// best for <see cref="ImmutableList{T}"/>.</para>
30/// <description><see cref="ImmutableList{T}"/> Complexity</description>
75/// <inheritdoc cref="ImmutableList{T}.Empty"/>
87/// <inheritdoc cref="ImmutableList{T}.IsEmpty"/>
126/// <inheritdoc cref="ImmutableList{T}.ItemRef(int)"/>
140/// <inheritdoc cref="ImmutableList{T}.Add(T)"/>
160/// <inheritdoc cref="ImmutableList{T}.AddRange(IEnumerable{T})"/>
188/// <inheritdoc cref="ImmutableList{T}.BinarySearch(T)"/>
192/// <inheritdoc cref="ImmutableList{T}.BinarySearch(T, IComparer{T}?)"/>
196/// <inheritdoc cref="ImmutableList{T}.BinarySearch(int, int, T, IComparer{T}?)"/>
200/// <inheritdoc cref="ImmutableList{T}.Clear()"/>
207/// <inheritdoc cref="ImmutableList{T}.ConvertAll{TOutput}(Func{T, TOutput})"/>
211/// <inheritdoc cref="ImmutableList{T}.CopyTo(T[])"/>
218/// <inheritdoc cref="ImmutableList{T}.CopyTo(int, T[], int, int)"/>
222/// <inheritdoc cref="ImmutableList{T}.Exists(Predicate{T})"/>
226/// <inheritdoc cref="ImmutableList{T}.Find(Predicate{T})"/>
230/// <inheritdoc cref="ImmutableList{T}.FindAll(Predicate{T})"/>
234/// <inheritdoc cref="ImmutableList{T}.FindIndex(Predicate{T})"/>
238/// <inheritdoc cref="ImmutableList{T}.FindIndex(int, Predicate{T})"/>
242/// <inheritdoc cref="ImmutableList{T}.FindIndex(int, int, Predicate{T})"/>
246/// <inheritdoc cref="ImmutableList{T}.FindLast(Predicate{T})"/>
250/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(Predicate{T})"/>
254/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(int, Predicate{T})"/>
269/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(int, int, Predicate{T})"/>
284/// <inheritdoc cref="ImmutableList{T}.ForEach(Action{T})"/>
288/// <inheritdoc cref="ImmutableList{T}.GetEnumerator()"/>
292/// <inheritdoc cref="ImmutableList{T}.GetRange(int, int)"/>
309/// <inheritdoc cref="ImmutableList{T}.Insert(int, T)"/>
324/// <inheritdoc cref="ImmutableList{T}.InsertRange(int, IEnumerable{T})"/>
360/// <inheritdoc cref="ImmutableList{T}.Remove(T)"/>
372/// <inheritdoc cref="ImmutableList{T}.Remove(T, IEqualityComparer{T}?)"/>
384/// <inheritdoc cref="ImmutableList{T}.RemoveAll(Predicate{T})"/>
394/// <inheritdoc cref="ImmutableList{T}.RemoveAt(int)"/>
403/// <inheritdoc cref="ImmutableList{T}.RemoveRange(IEnumerable{T})"/>
427/// <inheritdoc cref="ImmutableList{T}.RemoveRange(IEnumerable{T}, IEqualityComparer{T}?)"/>
451/// <inheritdoc cref="ImmutableList{T}.RemoveRange(int, int)"/>
467/// <inheritdoc cref="ImmutableList{T}.Replace(T, T)"/>
481/// <inheritdoc cref="ImmutableList{T}.Replace(T, T, IEqualityComparer{T}?)"/>
495/// <inheritdoc cref="ImmutableList{T}.Reverse()"/>
507/// <inheritdoc cref="ImmutableList{T}.Reverse(int, int)"/>
515/// <inheritdoc cref="ImmutableList{T}.SetItem(int, T)"/>
524/// <inheritdoc cref="ImmutableList{T}.Sort()"/>
538/// <inheritdoc cref="ImmutableList{T}.Sort(IComparer{T}?)"/>
552/// <inheritdoc cref="ImmutableList{T}.Sort(Comparison{T})"/>
571/// <inheritdoc cref="ImmutableList{T}.Sort(int, int, IComparer{T}?)"/>
580/// <inheritdoc cref="ImmutableList{T}.ToBuilder()"/>
599/// <inheritdoc cref="ImmutableList{T}.TrueForAll(Predicate{T})"/>
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (38)
50/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.ItemRef(int)"/>
57/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.AddRange(IEnumerable{T})"/>
61/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.BinarySearch(T)"/>
65/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.BinarySearch(T, IComparer{T}?)"/>
69/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.BinarySearch(int, int, T, IComparer{T}?)"/>
79/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.ConvertAll{TOutput}(Func{T, TOutput})"/>
83/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.CopyTo(T[])"/>
90/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.CopyTo(int, T[], int, int)"/>
94/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Exists(Predicate{T})"/>
98/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Find(Predicate{T})"/>
102/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindAll(Predicate{T})"/>
106/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(Predicate{T})"/>
110/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(int, Predicate{T})"/>
114/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(int, int, Predicate{T})"/>
118/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLast(Predicate{T})"/>
122/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(Predicate{T})"/>
126/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(int, Predicate{T})"/>
130/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(int, int, Predicate{T})"/>
134/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.ForEach(Action{T})"/>
138/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.GetEnumerator()"/>
142/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.GetRange(int, int)"/>
149/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.IndexOf(T, int)"/>
153/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.IndexOf(T, int, int)"/>
157/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.IndexOf(T, int, int, IEqualityComparer{T}?)"/>
164/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.InsertRange(int, IEnumerable{T})"/>
168/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.LastIndexOf(T)"/>
172/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.LastIndexOf(T, int)"/>
176/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.LastIndexOf(T, int, int)"/>
180/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.LastIndexOf(T, int, int, IEqualityComparer{T}?)"/>
187/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.RemoveAll(Predicate{T})"/>
194/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Reverse()"/>
198/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Reverse(int, int)"/>
202/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Sort()"/>
206/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Sort(IComparer{T}?)"/>
210/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Sort(Comparison{T})"/>
214/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Sort(int, int, IComparer{T}?)"/>
218/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.ToImmutable()"/>
222/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.TrueForAll(Predicate{T})"/>
Microsoft.CodeAnalysis.ExternalAccess.Copilot (2)
Microsoft.CodeAnalysis.Features (10)
Microsoft.CodeAnalysis.Features.Test.Utilities (1)
Microsoft.CodeAnalysis.InteractiveHost (87)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (47)
21/// best for <see cref="ImmutableList{T}"/>.</para>
30/// <description><see cref="ImmutableList{T}"/> Complexity</description>
75/// <inheritdoc cref="ImmutableList{T}.Empty"/>
87/// <inheritdoc cref="ImmutableList{T}.IsEmpty"/>
126/// <inheritdoc cref="ImmutableList{T}.ItemRef(int)"/>
140/// <inheritdoc cref="ImmutableList{T}.Add(T)"/>
160/// <inheritdoc cref="ImmutableList{T}.AddRange(IEnumerable{T})"/>
188/// <inheritdoc cref="ImmutableList{T}.BinarySearch(T)"/>
192/// <inheritdoc cref="ImmutableList{T}.BinarySearch(T, IComparer{T}?)"/>
196/// <inheritdoc cref="ImmutableList{T}.BinarySearch(int, int, T, IComparer{T}?)"/>
200/// <inheritdoc cref="ImmutableList{T}.Clear()"/>
207/// <inheritdoc cref="ImmutableList{T}.ConvertAll{TOutput}(Func{T, TOutput})"/>
211/// <inheritdoc cref="ImmutableList{T}.CopyTo(T[])"/>
218/// <inheritdoc cref="ImmutableList{T}.CopyTo(int, T[], int, int)"/>
222/// <inheritdoc cref="ImmutableList{T}.Exists(Predicate{T})"/>
226/// <inheritdoc cref="ImmutableList{T}.Find(Predicate{T})"/>
230/// <inheritdoc cref="ImmutableList{T}.FindAll(Predicate{T})"/>
234/// <inheritdoc cref="ImmutableList{T}.FindIndex(Predicate{T})"/>
238/// <inheritdoc cref="ImmutableList{T}.FindIndex(int, Predicate{T})"/>
242/// <inheritdoc cref="ImmutableList{T}.FindIndex(int, int, Predicate{T})"/>
246/// <inheritdoc cref="ImmutableList{T}.FindLast(Predicate{T})"/>
250/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(Predicate{T})"/>
254/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(int, Predicate{T})"/>
269/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(int, int, Predicate{T})"/>
284/// <inheritdoc cref="ImmutableList{T}.ForEach(Action{T})"/>
288/// <inheritdoc cref="ImmutableList{T}.GetEnumerator()"/>
292/// <inheritdoc cref="ImmutableList{T}.GetRange(int, int)"/>
309/// <inheritdoc cref="ImmutableList{T}.Insert(int, T)"/>
324/// <inheritdoc cref="ImmutableList{T}.InsertRange(int, IEnumerable{T})"/>
360/// <inheritdoc cref="ImmutableList{T}.Remove(T)"/>
372/// <inheritdoc cref="ImmutableList{T}.Remove(T, IEqualityComparer{T}?)"/>
384/// <inheritdoc cref="ImmutableList{T}.RemoveAll(Predicate{T})"/>
394/// <inheritdoc cref="ImmutableList{T}.RemoveAt(int)"/>
403/// <inheritdoc cref="ImmutableList{T}.RemoveRange(IEnumerable{T})"/>
427/// <inheritdoc cref="ImmutableList{T}.RemoveRange(IEnumerable{T}, IEqualityComparer{T}?)"/>
451/// <inheritdoc cref="ImmutableList{T}.RemoveRange(int, int)"/>
467/// <inheritdoc cref="ImmutableList{T}.Replace(T, T)"/>
481/// <inheritdoc cref="ImmutableList{T}.Replace(T, T, IEqualityComparer{T}?)"/>
495/// <inheritdoc cref="ImmutableList{T}.Reverse()"/>
507/// <inheritdoc cref="ImmutableList{T}.Reverse(int, int)"/>
515/// <inheritdoc cref="ImmutableList{T}.SetItem(int, T)"/>
524/// <inheritdoc cref="ImmutableList{T}.Sort()"/>
538/// <inheritdoc cref="ImmutableList{T}.Sort(IComparer{T}?)"/>
552/// <inheritdoc cref="ImmutableList{T}.Sort(Comparison{T})"/>
571/// <inheritdoc cref="ImmutableList{T}.Sort(int, int, IComparer{T}?)"/>
580/// <inheritdoc cref="ImmutableList{T}.ToBuilder()"/>
599/// <inheritdoc cref="ImmutableList{T}.TrueForAll(Predicate{T})"/>
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (38)
50/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.ItemRef(int)"/>
57/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.AddRange(IEnumerable{T})"/>
61/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.BinarySearch(T)"/>
65/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.BinarySearch(T, IComparer{T}?)"/>
69/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.BinarySearch(int, int, T, IComparer{T}?)"/>
79/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.ConvertAll{TOutput}(Func{T, TOutput})"/>
83/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.CopyTo(T[])"/>
90/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.CopyTo(int, T[], int, int)"/>
94/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Exists(Predicate{T})"/>
98/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Find(Predicate{T})"/>
102/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindAll(Predicate{T})"/>
106/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(Predicate{T})"/>
110/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(int, Predicate{T})"/>
114/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(int, int, Predicate{T})"/>
118/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLast(Predicate{T})"/>
122/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(Predicate{T})"/>
126/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(int, Predicate{T})"/>
130/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(int, int, Predicate{T})"/>
134/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.ForEach(Action{T})"/>
138/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.GetEnumerator()"/>
142/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.GetRange(int, int)"/>
149/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.IndexOf(T, int)"/>
153/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.IndexOf(T, int, int)"/>
157/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.IndexOf(T, int, int, IEqualityComparer{T}?)"/>
164/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.InsertRange(int, IEnumerable{T})"/>
168/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.LastIndexOf(T)"/>
172/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.LastIndexOf(T, int)"/>
176/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.LastIndexOf(T, int, int)"/>
180/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.LastIndexOf(T, int, int, IEqualityComparer{T}?)"/>
187/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.RemoveAll(Predicate{T})"/>
194/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Reverse()"/>
198/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Reverse(int, int)"/>
202/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Sort()"/>
206/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Sort(IComparer{T}?)"/>
210/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Sort(Comparison{T})"/>
214/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Sort(int, int, IComparer{T}?)"/>
218/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.ToImmutable()"/>
222/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.TrueForAll(Predicate{T})"/>
Microsoft.CodeAnalysis.LanguageServer (1)
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (90)
Microsoft.CodeAnalysis.PublicApiAnalyzers (90)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (47)
21/// best for <see cref="ImmutableList{T}"/>.</para>
30/// <description><see cref="ImmutableList{T}"/> Complexity</description>
75/// <inheritdoc cref="ImmutableList{T}.Empty"/>
87/// <inheritdoc cref="ImmutableList{T}.IsEmpty"/>
126/// <inheritdoc cref="ImmutableList{T}.ItemRef(int)"/>
140/// <inheritdoc cref="ImmutableList{T}.Add(T)"/>
160/// <inheritdoc cref="ImmutableList{T}.AddRange(IEnumerable{T})"/>
188/// <inheritdoc cref="ImmutableList{T}.BinarySearch(T)"/>
192/// <inheritdoc cref="ImmutableList{T}.BinarySearch(T, IComparer{T}?)"/>
196/// <inheritdoc cref="ImmutableList{T}.BinarySearch(int, int, T, IComparer{T}?)"/>
200/// <inheritdoc cref="ImmutableList{T}.Clear()"/>
207/// <inheritdoc cref="ImmutableList{T}.ConvertAll{TOutput}(Func{T, TOutput})"/>
211/// <inheritdoc cref="ImmutableList{T}.CopyTo(T[])"/>
218/// <inheritdoc cref="ImmutableList{T}.CopyTo(int, T[], int, int)"/>
222/// <inheritdoc cref="ImmutableList{T}.Exists(Predicate{T})"/>
226/// <inheritdoc cref="ImmutableList{T}.Find(Predicate{T})"/>
230/// <inheritdoc cref="ImmutableList{T}.FindAll(Predicate{T})"/>
234/// <inheritdoc cref="ImmutableList{T}.FindIndex(Predicate{T})"/>
238/// <inheritdoc cref="ImmutableList{T}.FindIndex(int, Predicate{T})"/>
242/// <inheritdoc cref="ImmutableList{T}.FindIndex(int, int, Predicate{T})"/>
246/// <inheritdoc cref="ImmutableList{T}.FindLast(Predicate{T})"/>
250/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(Predicate{T})"/>
254/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(int, Predicate{T})"/>
269/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(int, int, Predicate{T})"/>
284/// <inheritdoc cref="ImmutableList{T}.ForEach(Action{T})"/>
288/// <inheritdoc cref="ImmutableList{T}.GetEnumerator()"/>
292/// <inheritdoc cref="ImmutableList{T}.GetRange(int, int)"/>
309/// <inheritdoc cref="ImmutableList{T}.Insert(int, T)"/>
324/// <inheritdoc cref="ImmutableList{T}.InsertRange(int, IEnumerable{T})"/>
360/// <inheritdoc cref="ImmutableList{T}.Remove(T)"/>
372/// <inheritdoc cref="ImmutableList{T}.Remove(T, IEqualityComparer{T}?)"/>
384/// <inheritdoc cref="ImmutableList{T}.RemoveAll(Predicate{T})"/>
394/// <inheritdoc cref="ImmutableList{T}.RemoveAt(int)"/>
403/// <inheritdoc cref="ImmutableList{T}.RemoveRange(IEnumerable{T})"/>
427/// <inheritdoc cref="ImmutableList{T}.RemoveRange(IEnumerable{T}, IEqualityComparer{T}?)"/>
451/// <inheritdoc cref="ImmutableList{T}.RemoveRange(int, int)"/>
467/// <inheritdoc cref="ImmutableList{T}.Replace(T, T)"/>
481/// <inheritdoc cref="ImmutableList{T}.Replace(T, T, IEqualityComparer{T}?)"/>
495/// <inheritdoc cref="ImmutableList{T}.Reverse()"/>
507/// <inheritdoc cref="ImmutableList{T}.Reverse(int, int)"/>
515/// <inheritdoc cref="ImmutableList{T}.SetItem(int, T)"/>
524/// <inheritdoc cref="ImmutableList{T}.Sort()"/>
538/// <inheritdoc cref="ImmutableList{T}.Sort(IComparer{T}?)"/>
552/// <inheritdoc cref="ImmutableList{T}.Sort(Comparison{T})"/>
571/// <inheritdoc cref="ImmutableList{T}.Sort(int, int, IComparer{T}?)"/>
580/// <inheritdoc cref="ImmutableList{T}.ToBuilder()"/>
599/// <inheritdoc cref="ImmutableList{T}.TrueForAll(Predicate{T})"/>
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (38)
50/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.ItemRef(int)"/>
57/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.AddRange(IEnumerable{T})"/>
61/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.BinarySearch(T)"/>
65/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.BinarySearch(T, IComparer{T}?)"/>
69/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.BinarySearch(int, int, T, IComparer{T}?)"/>
79/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.ConvertAll{TOutput}(Func{T, TOutput})"/>
83/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.CopyTo(T[])"/>
90/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.CopyTo(int, T[], int, int)"/>
94/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Exists(Predicate{T})"/>
98/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Find(Predicate{T})"/>
102/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindAll(Predicate{T})"/>
106/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(Predicate{T})"/>
110/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(int, Predicate{T})"/>
114/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(int, int, Predicate{T})"/>
118/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLast(Predicate{T})"/>
122/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(Predicate{T})"/>
126/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(int, Predicate{T})"/>
130/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(int, int, Predicate{T})"/>
134/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.ForEach(Action{T})"/>
138/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.GetEnumerator()"/>
142/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.GetRange(int, int)"/>
149/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.IndexOf(T, int)"/>
153/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.IndexOf(T, int, int)"/>
157/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.IndexOf(T, int, int, IEqualityComparer{T}?)"/>
164/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.InsertRange(int, IEnumerable{T})"/>
168/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.LastIndexOf(T)"/>
172/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.LastIndexOf(T, int)"/>
176/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.LastIndexOf(T, int, int)"/>
180/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.LastIndexOf(T, int, int, IEqualityComparer{T}?)"/>
187/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.RemoveAll(Predicate{T})"/>
194/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Reverse()"/>
198/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Reverse(int, int)"/>
202/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Sort()"/>
206/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Sort(IComparer{T}?)"/>
210/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Sort(Comparison{T})"/>
214/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Sort(int, int, IComparer{T}?)"/>
218/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.ToImmutable()"/>
222/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.TrueForAll(Predicate{T})"/>
Microsoft.CodeAnalysis.Remote.ServiceHub (1)
Microsoft.CodeAnalysis.Remote.Workspaces (1)
Microsoft.CodeAnalysis.ResxSourceGenerator (90)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (47)
21/// best for <see cref="ImmutableList{T}"/>.</para>
30/// <description><see cref="ImmutableList{T}"/> Complexity</description>
75/// <inheritdoc cref="ImmutableList{T}.Empty"/>
87/// <inheritdoc cref="ImmutableList{T}.IsEmpty"/>
126/// <inheritdoc cref="ImmutableList{T}.ItemRef(int)"/>
140/// <inheritdoc cref="ImmutableList{T}.Add(T)"/>
160/// <inheritdoc cref="ImmutableList{T}.AddRange(IEnumerable{T})"/>
188/// <inheritdoc cref="ImmutableList{T}.BinarySearch(T)"/>
192/// <inheritdoc cref="ImmutableList{T}.BinarySearch(T, IComparer{T}?)"/>
196/// <inheritdoc cref="ImmutableList{T}.BinarySearch(int, int, T, IComparer{T}?)"/>
200/// <inheritdoc cref="ImmutableList{T}.Clear()"/>
207/// <inheritdoc cref="ImmutableList{T}.ConvertAll{TOutput}(Func{T, TOutput})"/>
211/// <inheritdoc cref="ImmutableList{T}.CopyTo(T[])"/>
218/// <inheritdoc cref="ImmutableList{T}.CopyTo(int, T[], int, int)"/>
222/// <inheritdoc cref="ImmutableList{T}.Exists(Predicate{T})"/>
226/// <inheritdoc cref="ImmutableList{T}.Find(Predicate{T})"/>
230/// <inheritdoc cref="ImmutableList{T}.FindAll(Predicate{T})"/>
234/// <inheritdoc cref="ImmutableList{T}.FindIndex(Predicate{T})"/>
238/// <inheritdoc cref="ImmutableList{T}.FindIndex(int, Predicate{T})"/>
242/// <inheritdoc cref="ImmutableList{T}.FindIndex(int, int, Predicate{T})"/>
246/// <inheritdoc cref="ImmutableList{T}.FindLast(Predicate{T})"/>
250/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(Predicate{T})"/>
254/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(int, Predicate{T})"/>
269/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(int, int, Predicate{T})"/>
284/// <inheritdoc cref="ImmutableList{T}.ForEach(Action{T})"/>
288/// <inheritdoc cref="ImmutableList{T}.GetEnumerator()"/>
292/// <inheritdoc cref="ImmutableList{T}.GetRange(int, int)"/>
309/// <inheritdoc cref="ImmutableList{T}.Insert(int, T)"/>
324/// <inheritdoc cref="ImmutableList{T}.InsertRange(int, IEnumerable{T})"/>
360/// <inheritdoc cref="ImmutableList{T}.Remove(T)"/>
372/// <inheritdoc cref="ImmutableList{T}.Remove(T, IEqualityComparer{T}?)"/>
384/// <inheritdoc cref="ImmutableList{T}.RemoveAll(Predicate{T})"/>
394/// <inheritdoc cref="ImmutableList{T}.RemoveAt(int)"/>
403/// <inheritdoc cref="ImmutableList{T}.RemoveRange(IEnumerable{T})"/>
427/// <inheritdoc cref="ImmutableList{T}.RemoveRange(IEnumerable{T}, IEqualityComparer{T}?)"/>
451/// <inheritdoc cref="ImmutableList{T}.RemoveRange(int, int)"/>
467/// <inheritdoc cref="ImmutableList{T}.Replace(T, T)"/>
481/// <inheritdoc cref="ImmutableList{T}.Replace(T, T, IEqualityComparer{T}?)"/>
495/// <inheritdoc cref="ImmutableList{T}.Reverse()"/>
507/// <inheritdoc cref="ImmutableList{T}.Reverse(int, int)"/>
515/// <inheritdoc cref="ImmutableList{T}.SetItem(int, T)"/>
524/// <inheritdoc cref="ImmutableList{T}.Sort()"/>
538/// <inheritdoc cref="ImmutableList{T}.Sort(IComparer{T}?)"/>
552/// <inheritdoc cref="ImmutableList{T}.Sort(Comparison{T})"/>
571/// <inheritdoc cref="ImmutableList{T}.Sort(int, int, IComparer{T}?)"/>
580/// <inheritdoc cref="ImmutableList{T}.ToBuilder()"/>
599/// <inheritdoc cref="ImmutableList{T}.TrueForAll(Predicate{T})"/>
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (38)
50/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.ItemRef(int)"/>
57/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.AddRange(IEnumerable{T})"/>
61/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.BinarySearch(T)"/>
65/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.BinarySearch(T, IComparer{T}?)"/>
69/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.BinarySearch(int, int, T, IComparer{T}?)"/>
79/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.ConvertAll{TOutput}(Func{T, TOutput})"/>
83/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.CopyTo(T[])"/>
90/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.CopyTo(int, T[], int, int)"/>
94/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Exists(Predicate{T})"/>
98/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Find(Predicate{T})"/>
102/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindAll(Predicate{T})"/>
106/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(Predicate{T})"/>
110/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(int, Predicate{T})"/>
114/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(int, int, Predicate{T})"/>
118/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLast(Predicate{T})"/>
122/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(Predicate{T})"/>
126/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(int, Predicate{T})"/>
130/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(int, int, Predicate{T})"/>
134/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.ForEach(Action{T})"/>
138/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.GetEnumerator()"/>
142/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.GetRange(int, int)"/>
149/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.IndexOf(T, int)"/>
153/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.IndexOf(T, int, int)"/>
157/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.IndexOf(T, int, int, IEqualityComparer{T}?)"/>
164/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.InsertRange(int, IEnumerable{T})"/>
168/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.LastIndexOf(T)"/>
172/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.LastIndexOf(T, int)"/>
176/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.LastIndexOf(T, int, int)"/>
180/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.LastIndexOf(T, int, int, IEqualityComparer{T}?)"/>
187/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.RemoveAll(Predicate{T})"/>
194/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Reverse()"/>
198/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Reverse(int, int)"/>
202/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Sort()"/>
206/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Sort(IComparer{T}?)"/>
210/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Sort(Comparison{T})"/>
214/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Sort(int, int, IComparer{T}?)"/>
218/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.ToImmutable()"/>
222/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.TrueForAll(Predicate{T})"/>
Microsoft.CodeAnalysis.Threading.Package (87)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (47)
21/// best for <see cref="ImmutableList{T}"/>.</para>
30/// <description><see cref="ImmutableList{T}"/> Complexity</description>
75/// <inheritdoc cref="ImmutableList{T}.Empty"/>
87/// <inheritdoc cref="ImmutableList{T}.IsEmpty"/>
126/// <inheritdoc cref="ImmutableList{T}.ItemRef(int)"/>
140/// <inheritdoc cref="ImmutableList{T}.Add(T)"/>
160/// <inheritdoc cref="ImmutableList{T}.AddRange(IEnumerable{T})"/>
188/// <inheritdoc cref="ImmutableList{T}.BinarySearch(T)"/>
192/// <inheritdoc cref="ImmutableList{T}.BinarySearch(T, IComparer{T}?)"/>
196/// <inheritdoc cref="ImmutableList{T}.BinarySearch(int, int, T, IComparer{T}?)"/>
200/// <inheritdoc cref="ImmutableList{T}.Clear()"/>
207/// <inheritdoc cref="ImmutableList{T}.ConvertAll{TOutput}(Func{T, TOutput})"/>
211/// <inheritdoc cref="ImmutableList{T}.CopyTo(T[])"/>
218/// <inheritdoc cref="ImmutableList{T}.CopyTo(int, T[], int, int)"/>
222/// <inheritdoc cref="ImmutableList{T}.Exists(Predicate{T})"/>
226/// <inheritdoc cref="ImmutableList{T}.Find(Predicate{T})"/>
230/// <inheritdoc cref="ImmutableList{T}.FindAll(Predicate{T})"/>
234/// <inheritdoc cref="ImmutableList{T}.FindIndex(Predicate{T})"/>
238/// <inheritdoc cref="ImmutableList{T}.FindIndex(int, Predicate{T})"/>
242/// <inheritdoc cref="ImmutableList{T}.FindIndex(int, int, Predicate{T})"/>
246/// <inheritdoc cref="ImmutableList{T}.FindLast(Predicate{T})"/>
250/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(Predicate{T})"/>
254/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(int, Predicate{T})"/>
269/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(int, int, Predicate{T})"/>
284/// <inheritdoc cref="ImmutableList{T}.ForEach(Action{T})"/>
288/// <inheritdoc cref="ImmutableList{T}.GetEnumerator()"/>
292/// <inheritdoc cref="ImmutableList{T}.GetRange(int, int)"/>
309/// <inheritdoc cref="ImmutableList{T}.Insert(int, T)"/>
324/// <inheritdoc cref="ImmutableList{T}.InsertRange(int, IEnumerable{T})"/>
360/// <inheritdoc cref="ImmutableList{T}.Remove(T)"/>
372/// <inheritdoc cref="ImmutableList{T}.Remove(T, IEqualityComparer{T}?)"/>
384/// <inheritdoc cref="ImmutableList{T}.RemoveAll(Predicate{T})"/>
394/// <inheritdoc cref="ImmutableList{T}.RemoveAt(int)"/>
403/// <inheritdoc cref="ImmutableList{T}.RemoveRange(IEnumerable{T})"/>
427/// <inheritdoc cref="ImmutableList{T}.RemoveRange(IEnumerable{T}, IEqualityComparer{T}?)"/>
451/// <inheritdoc cref="ImmutableList{T}.RemoveRange(int, int)"/>
467/// <inheritdoc cref="ImmutableList{T}.Replace(T, T)"/>
481/// <inheritdoc cref="ImmutableList{T}.Replace(T, T, IEqualityComparer{T}?)"/>
495/// <inheritdoc cref="ImmutableList{T}.Reverse()"/>
507/// <inheritdoc cref="ImmutableList{T}.Reverse(int, int)"/>
515/// <inheritdoc cref="ImmutableList{T}.SetItem(int, T)"/>
524/// <inheritdoc cref="ImmutableList{T}.Sort()"/>
538/// <inheritdoc cref="ImmutableList{T}.Sort(IComparer{T}?)"/>
552/// <inheritdoc cref="ImmutableList{T}.Sort(Comparison{T})"/>
571/// <inheritdoc cref="ImmutableList{T}.Sort(int, int, IComparer{T}?)"/>
580/// <inheritdoc cref="ImmutableList{T}.ToBuilder()"/>
599/// <inheritdoc cref="ImmutableList{T}.TrueForAll(Predicate{T})"/>
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (38)
50/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.ItemRef(int)"/>
57/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.AddRange(IEnumerable{T})"/>
61/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.BinarySearch(T)"/>
65/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.BinarySearch(T, IComparer{T}?)"/>
69/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.BinarySearch(int, int, T, IComparer{T}?)"/>
79/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.ConvertAll{TOutput}(Func{T, TOutput})"/>
83/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.CopyTo(T[])"/>
90/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.CopyTo(int, T[], int, int)"/>
94/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Exists(Predicate{T})"/>
98/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Find(Predicate{T})"/>
102/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindAll(Predicate{T})"/>
106/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(Predicate{T})"/>
110/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(int, Predicate{T})"/>
114/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(int, int, Predicate{T})"/>
118/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLast(Predicate{T})"/>
122/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(Predicate{T})"/>
126/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(int, Predicate{T})"/>
130/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(int, int, Predicate{T})"/>
134/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.ForEach(Action{T})"/>
138/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.GetEnumerator()"/>
142/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.GetRange(int, int)"/>
149/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.IndexOf(T, int)"/>
153/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.IndexOf(T, int, int)"/>
157/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.IndexOf(T, int, int, IEqualityComparer{T}?)"/>
164/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.InsertRange(int, IEnumerable{T})"/>
168/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.LastIndexOf(T)"/>
172/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.LastIndexOf(T, int)"/>
176/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.LastIndexOf(T, int, int)"/>
180/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.LastIndexOf(T, int, int, IEqualityComparer{T}?)"/>
187/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.RemoveAll(Predicate{T})"/>
194/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Reverse()"/>
198/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Reverse(int, int)"/>
202/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Sort()"/>
206/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Sort(IComparer{T}?)"/>
210/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Sort(Comparison{T})"/>
214/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Sort(int, int, IComparer{T}?)"/>
218/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.ToImmutable()"/>
222/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.TrueForAll(Predicate{T})"/>
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (1)
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (8)
Microsoft.CodeAnalysis.VisualBasic.Features (3)
Microsoft.CodeAnalysis.Workspaces (105)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (47)
21/// best for <see cref="ImmutableList{T}"/>.</para>
30/// <description><see cref="ImmutableList{T}"/> Complexity</description>
75/// <inheritdoc cref="ImmutableList{T}.Empty"/>
87/// <inheritdoc cref="ImmutableList{T}.IsEmpty"/>
126/// <inheritdoc cref="ImmutableList{T}.ItemRef(int)"/>
140/// <inheritdoc cref="ImmutableList{T}.Add(T)"/>
160/// <inheritdoc cref="ImmutableList{T}.AddRange(IEnumerable{T})"/>
188/// <inheritdoc cref="ImmutableList{T}.BinarySearch(T)"/>
192/// <inheritdoc cref="ImmutableList{T}.BinarySearch(T, IComparer{T}?)"/>
196/// <inheritdoc cref="ImmutableList{T}.BinarySearch(int, int, T, IComparer{T}?)"/>
200/// <inheritdoc cref="ImmutableList{T}.Clear()"/>
207/// <inheritdoc cref="ImmutableList{T}.ConvertAll{TOutput}(Func{T, TOutput})"/>
211/// <inheritdoc cref="ImmutableList{T}.CopyTo(T[])"/>
218/// <inheritdoc cref="ImmutableList{T}.CopyTo(int, T[], int, int)"/>
222/// <inheritdoc cref="ImmutableList{T}.Exists(Predicate{T})"/>
226/// <inheritdoc cref="ImmutableList{T}.Find(Predicate{T})"/>
230/// <inheritdoc cref="ImmutableList{T}.FindAll(Predicate{T})"/>
234/// <inheritdoc cref="ImmutableList{T}.FindIndex(Predicate{T})"/>
238/// <inheritdoc cref="ImmutableList{T}.FindIndex(int, Predicate{T})"/>
242/// <inheritdoc cref="ImmutableList{T}.FindIndex(int, int, Predicate{T})"/>
246/// <inheritdoc cref="ImmutableList{T}.FindLast(Predicate{T})"/>
250/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(Predicate{T})"/>
254/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(int, Predicate{T})"/>
269/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(int, int, Predicate{T})"/>
284/// <inheritdoc cref="ImmutableList{T}.ForEach(Action{T})"/>
288/// <inheritdoc cref="ImmutableList{T}.GetEnumerator()"/>
292/// <inheritdoc cref="ImmutableList{T}.GetRange(int, int)"/>
309/// <inheritdoc cref="ImmutableList{T}.Insert(int, T)"/>
324/// <inheritdoc cref="ImmutableList{T}.InsertRange(int, IEnumerable{T})"/>
360/// <inheritdoc cref="ImmutableList{T}.Remove(T)"/>
372/// <inheritdoc cref="ImmutableList{T}.Remove(T, IEqualityComparer{T}?)"/>
384/// <inheritdoc cref="ImmutableList{T}.RemoveAll(Predicate{T})"/>
394/// <inheritdoc cref="ImmutableList{T}.RemoveAt(int)"/>
403/// <inheritdoc cref="ImmutableList{T}.RemoveRange(IEnumerable{T})"/>
427/// <inheritdoc cref="ImmutableList{T}.RemoveRange(IEnumerable{T}, IEqualityComparer{T}?)"/>
451/// <inheritdoc cref="ImmutableList{T}.RemoveRange(int, int)"/>
467/// <inheritdoc cref="ImmutableList{T}.Replace(T, T)"/>
481/// <inheritdoc cref="ImmutableList{T}.Replace(T, T, IEqualityComparer{T}?)"/>
495/// <inheritdoc cref="ImmutableList{T}.Reverse()"/>
507/// <inheritdoc cref="ImmutableList{T}.Reverse(int, int)"/>
515/// <inheritdoc cref="ImmutableList{T}.SetItem(int, T)"/>
524/// <inheritdoc cref="ImmutableList{T}.Sort()"/>
538/// <inheritdoc cref="ImmutableList{T}.Sort(IComparer{T}?)"/>
552/// <inheritdoc cref="ImmutableList{T}.Sort(Comparison{T})"/>
571/// <inheritdoc cref="ImmutableList{T}.Sort(int, int, IComparer{T}?)"/>
580/// <inheritdoc cref="ImmutableList{T}.ToBuilder()"/>
599/// <inheritdoc cref="ImmutableList{T}.TrueForAll(Predicate{T})"/>
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (38)
50/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.ItemRef(int)"/>
57/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.AddRange(IEnumerable{T})"/>
61/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.BinarySearch(T)"/>
65/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.BinarySearch(T, IComparer{T}?)"/>
69/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.BinarySearch(int, int, T, IComparer{T}?)"/>
79/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.ConvertAll{TOutput}(Func{T, TOutput})"/>
83/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.CopyTo(T[])"/>
90/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.CopyTo(int, T[], int, int)"/>
94/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Exists(Predicate{T})"/>
98/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Find(Predicate{T})"/>
102/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindAll(Predicate{T})"/>
106/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(Predicate{T})"/>
110/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(int, Predicate{T})"/>
114/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(int, int, Predicate{T})"/>
118/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLast(Predicate{T})"/>
122/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(Predicate{T})"/>
126/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(int, Predicate{T})"/>
130/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(int, int, Predicate{T})"/>
134/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.ForEach(Action{T})"/>
138/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.GetEnumerator()"/>
142/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.GetRange(int, int)"/>
149/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.IndexOf(T, int)"/>
153/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.IndexOf(T, int, int)"/>
157/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.IndexOf(T, int, int, IEqualityComparer{T}?)"/>
164/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.InsertRange(int, IEnumerable{T})"/>
168/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.LastIndexOf(T)"/>
172/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.LastIndexOf(T, int)"/>
176/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.LastIndexOf(T, int, int)"/>
180/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.LastIndexOf(T, int, int, IEqualityComparer{T}?)"/>
187/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.RemoveAll(Predicate{T})"/>
194/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Reverse()"/>
198/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Reverse(int, int)"/>
202/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Sort()"/>
206/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Sort(IComparer{T}?)"/>
210/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Sort(Comparison{T})"/>
214/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Sort(int, int, IComparer{T}?)"/>
218/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.ToImmutable()"/>
222/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.TrueForAll(Predicate{T})"/>
Microsoft.CodeAnalysis.Workspaces.MSBuild (2)
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (89)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (47)
21/// best for <see cref="ImmutableList{T}"/>.</para>
30/// <description><see cref="ImmutableList{T}"/> Complexity</description>
75/// <inheritdoc cref="ImmutableList{T}.Empty"/>
87/// <inheritdoc cref="ImmutableList{T}.IsEmpty"/>
126/// <inheritdoc cref="ImmutableList{T}.ItemRef(int)"/>
140/// <inheritdoc cref="ImmutableList{T}.Add(T)"/>
160/// <inheritdoc cref="ImmutableList{T}.AddRange(IEnumerable{T})"/>
188/// <inheritdoc cref="ImmutableList{T}.BinarySearch(T)"/>
192/// <inheritdoc cref="ImmutableList{T}.BinarySearch(T, IComparer{T}?)"/>
196/// <inheritdoc cref="ImmutableList{T}.BinarySearch(int, int, T, IComparer{T}?)"/>
200/// <inheritdoc cref="ImmutableList{T}.Clear()"/>
207/// <inheritdoc cref="ImmutableList{T}.ConvertAll{TOutput}(Func{T, TOutput})"/>
211/// <inheritdoc cref="ImmutableList{T}.CopyTo(T[])"/>
218/// <inheritdoc cref="ImmutableList{T}.CopyTo(int, T[], int, int)"/>
222/// <inheritdoc cref="ImmutableList{T}.Exists(Predicate{T})"/>
226/// <inheritdoc cref="ImmutableList{T}.Find(Predicate{T})"/>
230/// <inheritdoc cref="ImmutableList{T}.FindAll(Predicate{T})"/>
234/// <inheritdoc cref="ImmutableList{T}.FindIndex(Predicate{T})"/>
238/// <inheritdoc cref="ImmutableList{T}.FindIndex(int, Predicate{T})"/>
242/// <inheritdoc cref="ImmutableList{T}.FindIndex(int, int, Predicate{T})"/>
246/// <inheritdoc cref="ImmutableList{T}.FindLast(Predicate{T})"/>
250/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(Predicate{T})"/>
254/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(int, Predicate{T})"/>
269/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(int, int, Predicate{T})"/>
284/// <inheritdoc cref="ImmutableList{T}.ForEach(Action{T})"/>
288/// <inheritdoc cref="ImmutableList{T}.GetEnumerator()"/>
292/// <inheritdoc cref="ImmutableList{T}.GetRange(int, int)"/>
309/// <inheritdoc cref="ImmutableList{T}.Insert(int, T)"/>
324/// <inheritdoc cref="ImmutableList{T}.InsertRange(int, IEnumerable{T})"/>
360/// <inheritdoc cref="ImmutableList{T}.Remove(T)"/>
372/// <inheritdoc cref="ImmutableList{T}.Remove(T, IEqualityComparer{T}?)"/>
384/// <inheritdoc cref="ImmutableList{T}.RemoveAll(Predicate{T})"/>
394/// <inheritdoc cref="ImmutableList{T}.RemoveAt(int)"/>
403/// <inheritdoc cref="ImmutableList{T}.RemoveRange(IEnumerable{T})"/>
427/// <inheritdoc cref="ImmutableList{T}.RemoveRange(IEnumerable{T}, IEqualityComparer{T}?)"/>
451/// <inheritdoc cref="ImmutableList{T}.RemoveRange(int, int)"/>
467/// <inheritdoc cref="ImmutableList{T}.Replace(T, T)"/>
481/// <inheritdoc cref="ImmutableList{T}.Replace(T, T, IEqualityComparer{T}?)"/>
495/// <inheritdoc cref="ImmutableList{T}.Reverse()"/>
507/// <inheritdoc cref="ImmutableList{T}.Reverse(int, int)"/>
515/// <inheritdoc cref="ImmutableList{T}.SetItem(int, T)"/>
524/// <inheritdoc cref="ImmutableList{T}.Sort()"/>
538/// <inheritdoc cref="ImmutableList{T}.Sort(IComparer{T}?)"/>
552/// <inheritdoc cref="ImmutableList{T}.Sort(Comparison{T})"/>
571/// <inheritdoc cref="ImmutableList{T}.Sort(int, int, IComparer{T}?)"/>
580/// <inheritdoc cref="ImmutableList{T}.ToBuilder()"/>
599/// <inheritdoc cref="ImmutableList{T}.TrueForAll(Predicate{T})"/>
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (38)
50/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.ItemRef(int)"/>
57/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.AddRange(IEnumerable{T})"/>
61/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.BinarySearch(T)"/>
65/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.BinarySearch(T, IComparer{T}?)"/>
69/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.BinarySearch(int, int, T, IComparer{T}?)"/>
79/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.ConvertAll{TOutput}(Func{T, TOutput})"/>
83/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.CopyTo(T[])"/>
90/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.CopyTo(int, T[], int, int)"/>
94/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Exists(Predicate{T})"/>
98/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Find(Predicate{T})"/>
102/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindAll(Predicate{T})"/>
106/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(Predicate{T})"/>
110/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(int, Predicate{T})"/>
114/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(int, int, Predicate{T})"/>
118/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLast(Predicate{T})"/>
122/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(Predicate{T})"/>
126/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(int, Predicate{T})"/>
130/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(int, int, Predicate{T})"/>
134/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.ForEach(Action{T})"/>
138/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.GetEnumerator()"/>
142/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.GetRange(int, int)"/>
149/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.IndexOf(T, int)"/>
153/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.IndexOf(T, int, int)"/>
157/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.IndexOf(T, int, int, IEqualityComparer{T}?)"/>
164/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.InsertRange(int, IEnumerable{T})"/>
168/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.LastIndexOf(T)"/>
172/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.LastIndexOf(T, int)"/>
176/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.LastIndexOf(T, int, int)"/>
180/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.LastIndexOf(T, int, int, IEqualityComparer{T}?)"/>
187/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.RemoveAll(Predicate{T})"/>
194/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Reverse()"/>
198/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Reverse(int, int)"/>
202/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Sort()"/>
206/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Sort(IComparer{T}?)"/>
210/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Sort(Comparison{T})"/>
214/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Sort(int, int, IComparer{T}?)"/>
218/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.ToImmutable()"/>
222/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.TrueForAll(Predicate{T})"/>
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (3)
Microsoft.DotNet.Build.Tasks.Feed (29)
Microsoft.DotNet.Build.Tasks.Feed.Tests (3)
Microsoft.DotNet.Internal.DependencyInjection.Testing (2)
Microsoft.DotNet.SwaggerGenerator.CodeGenerator (1)
Microsoft.Extensions.AI.Abstractions.Tests (2)
Microsoft.VisualStudio.IntegrationTest.Setup (2)
Microsoft.VisualStudio.LanguageServices (4)
Microsoft.VisualStudio.LanguageServices.Test.Utilities2 (7)
Roslyn.Diagnostics.Analyzers (90)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (47)
21/// best for <see cref="ImmutableList{T}"/>.</para>
30/// <description><see cref="ImmutableList{T}"/> Complexity</description>
75/// <inheritdoc cref="ImmutableList{T}.Empty"/>
87/// <inheritdoc cref="ImmutableList{T}.IsEmpty"/>
126/// <inheritdoc cref="ImmutableList{T}.ItemRef(int)"/>
140/// <inheritdoc cref="ImmutableList{T}.Add(T)"/>
160/// <inheritdoc cref="ImmutableList{T}.AddRange(IEnumerable{T})"/>
188/// <inheritdoc cref="ImmutableList{T}.BinarySearch(T)"/>
192/// <inheritdoc cref="ImmutableList{T}.BinarySearch(T, IComparer{T}?)"/>
196/// <inheritdoc cref="ImmutableList{T}.BinarySearch(int, int, T, IComparer{T}?)"/>
200/// <inheritdoc cref="ImmutableList{T}.Clear()"/>
207/// <inheritdoc cref="ImmutableList{T}.ConvertAll{TOutput}(Func{T, TOutput})"/>
211/// <inheritdoc cref="ImmutableList{T}.CopyTo(T[])"/>
218/// <inheritdoc cref="ImmutableList{T}.CopyTo(int, T[], int, int)"/>
222/// <inheritdoc cref="ImmutableList{T}.Exists(Predicate{T})"/>
226/// <inheritdoc cref="ImmutableList{T}.Find(Predicate{T})"/>
230/// <inheritdoc cref="ImmutableList{T}.FindAll(Predicate{T})"/>
234/// <inheritdoc cref="ImmutableList{T}.FindIndex(Predicate{T})"/>
238/// <inheritdoc cref="ImmutableList{T}.FindIndex(int, Predicate{T})"/>
242/// <inheritdoc cref="ImmutableList{T}.FindIndex(int, int, Predicate{T})"/>
246/// <inheritdoc cref="ImmutableList{T}.FindLast(Predicate{T})"/>
250/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(Predicate{T})"/>
254/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(int, Predicate{T})"/>
269/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(int, int, Predicate{T})"/>
284/// <inheritdoc cref="ImmutableList{T}.ForEach(Action{T})"/>
288/// <inheritdoc cref="ImmutableList{T}.GetEnumerator()"/>
292/// <inheritdoc cref="ImmutableList{T}.GetRange(int, int)"/>
309/// <inheritdoc cref="ImmutableList{T}.Insert(int, T)"/>
324/// <inheritdoc cref="ImmutableList{T}.InsertRange(int, IEnumerable{T})"/>
360/// <inheritdoc cref="ImmutableList{T}.Remove(T)"/>
372/// <inheritdoc cref="ImmutableList{T}.Remove(T, IEqualityComparer{T}?)"/>
384/// <inheritdoc cref="ImmutableList{T}.RemoveAll(Predicate{T})"/>
394/// <inheritdoc cref="ImmutableList{T}.RemoveAt(int)"/>
403/// <inheritdoc cref="ImmutableList{T}.RemoveRange(IEnumerable{T})"/>
427/// <inheritdoc cref="ImmutableList{T}.RemoveRange(IEnumerable{T}, IEqualityComparer{T}?)"/>
451/// <inheritdoc cref="ImmutableList{T}.RemoveRange(int, int)"/>
467/// <inheritdoc cref="ImmutableList{T}.Replace(T, T)"/>
481/// <inheritdoc cref="ImmutableList{T}.Replace(T, T, IEqualityComparer{T}?)"/>
495/// <inheritdoc cref="ImmutableList{T}.Reverse()"/>
507/// <inheritdoc cref="ImmutableList{T}.Reverse(int, int)"/>
515/// <inheritdoc cref="ImmutableList{T}.SetItem(int, T)"/>
524/// <inheritdoc cref="ImmutableList{T}.Sort()"/>
538/// <inheritdoc cref="ImmutableList{T}.Sort(IComparer{T}?)"/>
552/// <inheritdoc cref="ImmutableList{T}.Sort(Comparison{T})"/>
571/// <inheritdoc cref="ImmutableList{T}.Sort(int, int, IComparer{T}?)"/>
580/// <inheritdoc cref="ImmutableList{T}.ToBuilder()"/>
599/// <inheritdoc cref="ImmutableList{T}.TrueForAll(Predicate{T})"/>
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (38)
50/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.ItemRef(int)"/>
57/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.AddRange(IEnumerable{T})"/>
61/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.BinarySearch(T)"/>
65/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.BinarySearch(T, IComparer{T}?)"/>
69/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.BinarySearch(int, int, T, IComparer{T}?)"/>
79/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.ConvertAll{TOutput}(Func{T, TOutput})"/>
83/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.CopyTo(T[])"/>
90/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.CopyTo(int, T[], int, int)"/>
94/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Exists(Predicate{T})"/>
98/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Find(Predicate{T})"/>
102/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindAll(Predicate{T})"/>
106/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(Predicate{T})"/>
110/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(int, Predicate{T})"/>
114/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(int, int, Predicate{T})"/>
118/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLast(Predicate{T})"/>
122/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(Predicate{T})"/>
126/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(int, Predicate{T})"/>
130/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(int, int, Predicate{T})"/>
134/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.ForEach(Action{T})"/>
138/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.GetEnumerator()"/>
142/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.GetRange(int, int)"/>
149/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.IndexOf(T, int)"/>
153/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.IndexOf(T, int, int)"/>
157/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.IndexOf(T, int, int, IEqualityComparer{T}?)"/>
164/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.InsertRange(int, IEnumerable{T})"/>
168/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.LastIndexOf(T)"/>
172/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.LastIndexOf(T, int)"/>
176/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.LastIndexOf(T, int, int)"/>
180/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.LastIndexOf(T, int, int, IEqualityComparer{T}?)"/>
187/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.RemoveAll(Predicate{T})"/>
194/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Reverse()"/>
198/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Reverse(int, int)"/>
202/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Sort()"/>
206/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Sort(IComparer{T}?)"/>
210/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Sort(Comparison{T})"/>
214/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Sort(int, int, IComparer{T}?)"/>
218/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.ToImmutable()"/>
222/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.TrueForAll(Predicate{T})"/>
Roslyn.Diagnostics.CSharp.Analyzers (1)
Shared.Tests (2)
System.Collections.Immutable (206)
System\Collections\Immutable\ImmutableList_1.cs (93)
19public sealed partial class ImmutableList<T> : IImmutableList<T>, IList<T>, IList, IStrongEnumerable<T, ImmutableList<T>.Enumerator>
24public static readonly ImmutableList<T> Empty = new ImmutableList<T>();
32/// Initializes a new instance of the <see cref="ImmutableList{T}"/> class.
37/// Initializes a new instance of the <see cref="ImmutableList{T}"/> class.
51public ImmutableList<T> Clear() => Empty;
54/// Searches the entire sorted <see cref="ImmutableList{T}"/> for an element
59/// The zero-based index of item in the sorted <see cref="ImmutableList{T}"/>,
62/// no larger element, the bitwise complement of <see cref="ImmutableList{T}.Count"/>.
72/// Searches the entire sorted <see cref="ImmutableList{T}"/> for an element
81/// The zero-based index of item in the sorted <see cref="ImmutableList{T}"/>,
84/// no larger element, the bitwise complement of <see cref="ImmutableList{T}.Count"/>.
94/// Searches a range of elements in the sorted <see cref="ImmutableList{T}"/>
106/// The zero-based index of item in the sorted <see cref="ImmutableList{T}"/>,
109/// no larger element, the bitwise complement of <see cref="ImmutableList{T}.Count"/>.
117/// <paramref name="index"/> and <paramref name="count"/> do not denote a valid range in the <see cref="ImmutableList{T}"/>.
207public ImmutableList<T> Add(T value)
209ImmutableList<T>.Node result = _root.Add(value);
216public ImmutableList<T> AddRange(IEnumerable<T> items)
226ImmutableList<T>.Node result = _root.AddRange(items);
234internal ImmutableList<T> AddRange(ReadOnlySpan<T> items)
259public ImmutableList<T> Insert(int index, T item)
268public ImmutableList<T> InsertRange(int index, IEnumerable<T> items)
273ImmutableList<T>.Node result = _root.InsertRange(index, items);
281public ImmutableList<T> Remove(T value) => this.Remove(value, EqualityComparer<T>.Default);
286public ImmutableList<T> Remove(T value, IEqualityComparer<T>? equalityComparer)
298public ImmutableList<T> RemoveRange(int index, int count)
303ImmutableList<T>.Node result = _root;
320public ImmutableList<T> RemoveRange(IEnumerable<T> items) => this.RemoveRange(items, EqualityComparer<T>.Default);
333public ImmutableList<T> RemoveRange(IEnumerable<T> items, IEqualityComparer<T>? equalityComparer)
345ImmutableList<T>.Node result = _root;
361public ImmutableList<T> RemoveAt(int index)
364ImmutableList<T>.Node result = _root.RemoveAt(index);
379public ImmutableList<T> RemoveAll(Predicate<T> match)
389public ImmutableList<T> SetItem(int index, T value) => this.Wrap(_root.ReplaceAt(index, value));
394public ImmutableList<T> Replace(T oldValue, T newValue) => this.Replace(oldValue, newValue, EqualityComparer<T>.Default);
399public ImmutableList<T> Replace(T oldValue, T newValue, IEqualityComparer<T>? equalityComparer)
411/// Reverses the order of the elements in the entire <see cref="ImmutableList{T}"/>.
414public ImmutableList<T> Reverse() => this.Wrap(_root.Reverse());
422public ImmutableList<T> Reverse(int index, int count) => this.Wrap(_root.Reverse(index, count));
425/// Sorts the elements in the entire <see cref="ImmutableList{T}"/> using
428public ImmutableList<T> Sort() => this.Wrap(_root.Sort());
431/// Sorts the elements in the entire <see cref="ImmutableList{T}"/> using
439public ImmutableList<T> Sort(Comparison<T> comparison)
446/// Sorts the elements in the entire <see cref="ImmutableList{T}"/> using
454public ImmutableList<T> Sort(IComparer<T>? comparer) => this.Wrap(_root.Sort(comparer));
457/// Sorts the elements in a range of elements in <see cref="ImmutableList{T}"/>
471public ImmutableList<T> Sort(int index, int count, IComparer<T>? comparer)
499/// Copies the entire <see cref="ImmutableList{T}"/> to a compatible one-dimensional
504/// copied from <see cref="ImmutableList{T}"/>. The <see cref="Array"/> must have
510/// Copies the entire <see cref="ImmutableList{T}"/> to a compatible one-dimensional
515/// copied from <see cref="ImmutableList{T}"/>. The <see cref="Array"/> must have
524/// Copies a range of elements from the <see cref="ImmutableList{T}"/> to
529/// The zero-based index in the source <see cref="ImmutableList{T}"/> at
534/// copied from <see cref="ImmutableList{T}"/>. The <see cref="Array"/> must have
542/// Creates a shallow copy of a range of elements in the source <see cref="ImmutableList{T}"/>.
545/// The zero-based <see cref="ImmutableList{T}"/> index at which the range
552/// A shallow copy of a range of elements in the source <see cref="ImmutableList{T}"/>.
554public ImmutableList<T> GetRange(int index, int count)
563/// Converts the elements in the current <see cref="ImmutableList{T}"/> to
574/// A <see cref="ImmutableList{T}"/> of the target type containing the converted
575/// elements from the current <see cref="ImmutableList{T}"/>.
577public ImmutableList<TOutput> ConvertAll<TOutput>(Func<T, TOutput> converter)
580return ImmutableList<TOutput>.WrapNode(_root.ConvertAll(converter));
584/// Determines whether the <see cref="ImmutableList{T}"/> contains elements
592/// true if the <see cref="ImmutableList{T}"/> contains one or more elements
600/// predicate, and returns the first occurrence within the entire <see cref="ImmutableList{T}"/>.
621/// A <see cref="ImmutableList{T}"/> containing all the elements that match
623/// empty <see cref="ImmutableList{T}"/>.
625public ImmutableList<T> FindAll(Predicate<T> match) => _root.FindAll(match);
630/// the entire <see cref="ImmutableList{T}"/>.
645/// the range of elements in the <see cref="ImmutableList{T}"/> that extends
659/// the range of elements in the <see cref="ImmutableList{T}"/> that starts
673/// predicate, and returns the last occurrence within the entire <see cref="ImmutableList{T}"/>.
688/// the entire <see cref="ImmutableList{T}"/>.
703/// the range of elements in the <see cref="ImmutableList{T}"/> that extends
718/// the range of elements in the <see cref="ImmutableList{T}"/> that contains
735/// first occurrence within the range of elements in the <see cref="ImmutableList{T}"/>
739/// The object to locate in the <see cref="ImmutableList{T}"/>. The value
754/// elements in the <see cref="ImmutableList{T}"/> that starts at <paramref name="index"/> and
761/// last occurrence within the range of elements in the <see cref="ImmutableList{T}"/>
766/// The object to locate in the <see cref="ImmutableList{T}"/>. The value
776/// in the <see cref="ImmutableList{T}"/> that contains <paramref name="count"/> number of elements
782/// Determines whether every element in the <see cref="ImmutableList{T}"/>
790/// true if every element in the <see cref="ImmutableList{T}"/> matches the
1098private static ImmutableList<T> WrapNode(Node root)
1101? ImmutableList<T>.Empty
1106/// Attempts to discover an <see cref="ImmutableList{T}"/> instance beneath some enumerable sequence
1110/// <param name="other">Receives the concrete <see cref="ImmutableList{T}"/> typed value if one can be found.</param>
1112private static bool TryCastToImmutableList(IEnumerable<T> sequence, [NotNullWhen(true)] out ImmutableList<T>? other)
1114other = sequence as ImmutableList<T>;
1149private ImmutableList<T> Wrap(Node root)
1166private static ImmutableList<T> CreateRange(IEnumerable<T> items)
1170if (TryCastToImmutableList(items, out ImmutableList<T>? other))
System.Text.Json.SourceGeneration (1)
System.Windows.Forms.UI.IntegrationTests (1)
Test.Utilities (89)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (47)
21/// best for <see cref="ImmutableList{T}"/>.</para>
30/// <description><see cref="ImmutableList{T}"/> Complexity</description>
75/// <inheritdoc cref="ImmutableList{T}.Empty"/>
87/// <inheritdoc cref="ImmutableList{T}.IsEmpty"/>
126/// <inheritdoc cref="ImmutableList{T}.ItemRef(int)"/>
140/// <inheritdoc cref="ImmutableList{T}.Add(T)"/>
160/// <inheritdoc cref="ImmutableList{T}.AddRange(IEnumerable{T})"/>
188/// <inheritdoc cref="ImmutableList{T}.BinarySearch(T)"/>
192/// <inheritdoc cref="ImmutableList{T}.BinarySearch(T, IComparer{T}?)"/>
196/// <inheritdoc cref="ImmutableList{T}.BinarySearch(int, int, T, IComparer{T}?)"/>
200/// <inheritdoc cref="ImmutableList{T}.Clear()"/>
207/// <inheritdoc cref="ImmutableList{T}.ConvertAll{TOutput}(Func{T, TOutput})"/>
211/// <inheritdoc cref="ImmutableList{T}.CopyTo(T[])"/>
218/// <inheritdoc cref="ImmutableList{T}.CopyTo(int, T[], int, int)"/>
222/// <inheritdoc cref="ImmutableList{T}.Exists(Predicate{T})"/>
226/// <inheritdoc cref="ImmutableList{T}.Find(Predicate{T})"/>
230/// <inheritdoc cref="ImmutableList{T}.FindAll(Predicate{T})"/>
234/// <inheritdoc cref="ImmutableList{T}.FindIndex(Predicate{T})"/>
238/// <inheritdoc cref="ImmutableList{T}.FindIndex(int, Predicate{T})"/>
242/// <inheritdoc cref="ImmutableList{T}.FindIndex(int, int, Predicate{T})"/>
246/// <inheritdoc cref="ImmutableList{T}.FindLast(Predicate{T})"/>
250/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(Predicate{T})"/>
254/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(int, Predicate{T})"/>
269/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(int, int, Predicate{T})"/>
284/// <inheritdoc cref="ImmutableList{T}.ForEach(Action{T})"/>
288/// <inheritdoc cref="ImmutableList{T}.GetEnumerator()"/>
292/// <inheritdoc cref="ImmutableList{T}.GetRange(int, int)"/>
309/// <inheritdoc cref="ImmutableList{T}.Insert(int, T)"/>
324/// <inheritdoc cref="ImmutableList{T}.InsertRange(int, IEnumerable{T})"/>
360/// <inheritdoc cref="ImmutableList{T}.Remove(T)"/>
372/// <inheritdoc cref="ImmutableList{T}.Remove(T, IEqualityComparer{T}?)"/>
384/// <inheritdoc cref="ImmutableList{T}.RemoveAll(Predicate{T})"/>
394/// <inheritdoc cref="ImmutableList{T}.RemoveAt(int)"/>
403/// <inheritdoc cref="ImmutableList{T}.RemoveRange(IEnumerable{T})"/>
427/// <inheritdoc cref="ImmutableList{T}.RemoveRange(IEnumerable{T}, IEqualityComparer{T}?)"/>
451/// <inheritdoc cref="ImmutableList{T}.RemoveRange(int, int)"/>
467/// <inheritdoc cref="ImmutableList{T}.Replace(T, T)"/>
481/// <inheritdoc cref="ImmutableList{T}.Replace(T, T, IEqualityComparer{T}?)"/>
495/// <inheritdoc cref="ImmutableList{T}.Reverse()"/>
507/// <inheritdoc cref="ImmutableList{T}.Reverse(int, int)"/>
515/// <inheritdoc cref="ImmutableList{T}.SetItem(int, T)"/>
524/// <inheritdoc cref="ImmutableList{T}.Sort()"/>
538/// <inheritdoc cref="ImmutableList{T}.Sort(IComparer{T}?)"/>
552/// <inheritdoc cref="ImmutableList{T}.Sort(Comparison{T})"/>
571/// <inheritdoc cref="ImmutableList{T}.Sort(int, int, IComparer{T}?)"/>
580/// <inheritdoc cref="ImmutableList{T}.ToBuilder()"/>
599/// <inheritdoc cref="ImmutableList{T}.TrueForAll(Predicate{T})"/>
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (38)
50/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.ItemRef(int)"/>
57/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.AddRange(IEnumerable{T})"/>
61/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.BinarySearch(T)"/>
65/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.BinarySearch(T, IComparer{T}?)"/>
69/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.BinarySearch(int, int, T, IComparer{T}?)"/>
79/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.ConvertAll{TOutput}(Func{T, TOutput})"/>
83/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.CopyTo(T[])"/>
90/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.CopyTo(int, T[], int, int)"/>
94/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Exists(Predicate{T})"/>
98/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Find(Predicate{T})"/>
102/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindAll(Predicate{T})"/>
106/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(Predicate{T})"/>
110/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(int, Predicate{T})"/>
114/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(int, int, Predicate{T})"/>
118/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLast(Predicate{T})"/>
122/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(Predicate{T})"/>
126/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(int, Predicate{T})"/>
130/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(int, int, Predicate{T})"/>
134/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.ForEach(Action{T})"/>
138/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.GetEnumerator()"/>
142/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.GetRange(int, int)"/>
149/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.IndexOf(T, int)"/>
153/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.IndexOf(T, int, int)"/>
157/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.IndexOf(T, int, int, IEqualityComparer{T}?)"/>
164/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.InsertRange(int, IEnumerable{T})"/>
168/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.LastIndexOf(T)"/>
172/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.LastIndexOf(T, int)"/>
176/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.LastIndexOf(T, int, int)"/>
180/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.LastIndexOf(T, int, int, IEqualityComparer{T}?)"/>
187/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.RemoveAll(Predicate{T})"/>
194/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Reverse()"/>
198/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Reverse(int, int)"/>
202/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Sort()"/>
206/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Sort(IComparer{T}?)"/>
210/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Sort(Comparison{T})"/>
214/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Sort(int, int, IComparer{T}?)"/>
218/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.ToImmutable()"/>
222/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.TrueForAll(Predicate{T})"/>
Text.Analyzers (90)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (47)
21/// best for <see cref="ImmutableList{T}"/>.</para>
30/// <description><see cref="ImmutableList{T}"/> Complexity</description>
75/// <inheritdoc cref="ImmutableList{T}.Empty"/>
87/// <inheritdoc cref="ImmutableList{T}.IsEmpty"/>
126/// <inheritdoc cref="ImmutableList{T}.ItemRef(int)"/>
140/// <inheritdoc cref="ImmutableList{T}.Add(T)"/>
160/// <inheritdoc cref="ImmutableList{T}.AddRange(IEnumerable{T})"/>
188/// <inheritdoc cref="ImmutableList{T}.BinarySearch(T)"/>
192/// <inheritdoc cref="ImmutableList{T}.BinarySearch(T, IComparer{T}?)"/>
196/// <inheritdoc cref="ImmutableList{T}.BinarySearch(int, int, T, IComparer{T}?)"/>
200/// <inheritdoc cref="ImmutableList{T}.Clear()"/>
207/// <inheritdoc cref="ImmutableList{T}.ConvertAll{TOutput}(Func{T, TOutput})"/>
211/// <inheritdoc cref="ImmutableList{T}.CopyTo(T[])"/>
218/// <inheritdoc cref="ImmutableList{T}.CopyTo(int, T[], int, int)"/>
222/// <inheritdoc cref="ImmutableList{T}.Exists(Predicate{T})"/>
226/// <inheritdoc cref="ImmutableList{T}.Find(Predicate{T})"/>
230/// <inheritdoc cref="ImmutableList{T}.FindAll(Predicate{T})"/>
234/// <inheritdoc cref="ImmutableList{T}.FindIndex(Predicate{T})"/>
238/// <inheritdoc cref="ImmutableList{T}.FindIndex(int, Predicate{T})"/>
242/// <inheritdoc cref="ImmutableList{T}.FindIndex(int, int, Predicate{T})"/>
246/// <inheritdoc cref="ImmutableList{T}.FindLast(Predicate{T})"/>
250/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(Predicate{T})"/>
254/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(int, Predicate{T})"/>
269/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(int, int, Predicate{T})"/>
284/// <inheritdoc cref="ImmutableList{T}.ForEach(Action{T})"/>
288/// <inheritdoc cref="ImmutableList{T}.GetEnumerator()"/>
292/// <inheritdoc cref="ImmutableList{T}.GetRange(int, int)"/>
309/// <inheritdoc cref="ImmutableList{T}.Insert(int, T)"/>
324/// <inheritdoc cref="ImmutableList{T}.InsertRange(int, IEnumerable{T})"/>
360/// <inheritdoc cref="ImmutableList{T}.Remove(T)"/>
372/// <inheritdoc cref="ImmutableList{T}.Remove(T, IEqualityComparer{T}?)"/>
384/// <inheritdoc cref="ImmutableList{T}.RemoveAll(Predicate{T})"/>
394/// <inheritdoc cref="ImmutableList{T}.RemoveAt(int)"/>
403/// <inheritdoc cref="ImmutableList{T}.RemoveRange(IEnumerable{T})"/>
427/// <inheritdoc cref="ImmutableList{T}.RemoveRange(IEnumerable{T}, IEqualityComparer{T}?)"/>
451/// <inheritdoc cref="ImmutableList{T}.RemoveRange(int, int)"/>
467/// <inheritdoc cref="ImmutableList{T}.Replace(T, T)"/>
481/// <inheritdoc cref="ImmutableList{T}.Replace(T, T, IEqualityComparer{T}?)"/>
495/// <inheritdoc cref="ImmutableList{T}.Reverse()"/>
507/// <inheritdoc cref="ImmutableList{T}.Reverse(int, int)"/>
515/// <inheritdoc cref="ImmutableList{T}.SetItem(int, T)"/>
524/// <inheritdoc cref="ImmutableList{T}.Sort()"/>
538/// <inheritdoc cref="ImmutableList{T}.Sort(IComparer{T}?)"/>
552/// <inheritdoc cref="ImmutableList{T}.Sort(Comparison{T})"/>
571/// <inheritdoc cref="ImmutableList{T}.Sort(int, int, IComparer{T}?)"/>
580/// <inheritdoc cref="ImmutableList{T}.ToBuilder()"/>
599/// <inheritdoc cref="ImmutableList{T}.TrueForAll(Predicate{T})"/>
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (38)
50/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.ItemRef(int)"/>
57/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.AddRange(IEnumerable{T})"/>
61/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.BinarySearch(T)"/>
65/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.BinarySearch(T, IComparer{T}?)"/>
69/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.BinarySearch(int, int, T, IComparer{T}?)"/>
79/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.ConvertAll{TOutput}(Func{T, TOutput})"/>
83/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.CopyTo(T[])"/>
90/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.CopyTo(int, T[], int, int)"/>
94/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Exists(Predicate{T})"/>
98/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Find(Predicate{T})"/>
102/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindAll(Predicate{T})"/>
106/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(Predicate{T})"/>
110/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(int, Predicate{T})"/>
114/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(int, int, Predicate{T})"/>
118/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLast(Predicate{T})"/>
122/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(Predicate{T})"/>
126/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(int, Predicate{T})"/>
130/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(int, int, Predicate{T})"/>
134/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.ForEach(Action{T})"/>
138/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.GetEnumerator()"/>
142/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.GetRange(int, int)"/>
149/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.IndexOf(T, int)"/>
153/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.IndexOf(T, int, int)"/>
157/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.IndexOf(T, int, int, IEqualityComparer{T}?)"/>
164/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.InsertRange(int, IEnumerable{T})"/>
168/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.LastIndexOf(T)"/>
172/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.LastIndexOf(T, int)"/>
176/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.LastIndexOf(T, int, int)"/>
180/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.LastIndexOf(T, int, int, IEqualityComparer{T}?)"/>
187/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.RemoveAll(Predicate{T})"/>
194/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Reverse()"/>
198/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Reverse(int, int)"/>
202/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Sort()"/>
206/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Sort(IComparer{T}?)"/>
210/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Sort(Comparison{T})"/>
214/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Sort(int, int, IComparer{T}?)"/>
218/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.ToImmutable()"/>
222/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.TrueForAll(Predicate{T})"/>