5 instantiations of ImmutableList
System.Collections.Immutable (5)
954 references to ImmutableList
Aspire.Dashboard (2)
Aspire.Dashboard.Tests (1)
Aspire.Hosting.Dapr (1)
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.Build (50)
Graph\ProjectGraph.cs (16)
491internal string ToDot(IReadOnlyDictionary<ProjectGraphNode, ImmutableList<string>> targetsPerNode = null)
499IReadOnlyDictionary<ProjectGraphNode, ImmutableList<string>> targetsPerNode = null)
609public IReadOnlyDictionary<ProjectGraphNode, ImmutableList<string>> GetTargetLists(ICollection<string> entryProjectTargets)
614var targetLists = ProjectNodes.ToDictionary(node => node, node => ImmutableList<string>.Empty);
624var entryTargets = ImmutableList.CreateRange(entryPointNode.ProjectInstance.DefaultTargets);
639var entryTargets = ImmutableList.CreateRange(entryPointNode.ProjectInstance.DefaultTargets);
712var requestedTargets = buildRequest.RequestedTargets;
728var applicableTargets = targetsToPropagate.GetApplicableTargetsForReference(referenceNode);
735var expandedTargets = ExpandDefaultTargets(
752var entriesToUpdate = new List<KeyValuePair<ProjectGraphNode, ImmutableList<string>>>();
755var targetList = pair.Value;
774entriesToUpdate.Add(new KeyValuePair<ProjectGraphNode, ImmutableList<string>>(pair.Key, targetList));
800private static ImmutableList<string> ExpandDefaultTargets(ImmutableList<string> targets, List<string> defaultTargets, ProjectItemInstance graphEdge)
866public ProjectGraphBuildRequest(ProjectGraphNode node, ImmutableList<string> targets)
874public ImmutableList<string> RequestedTargets { get; }
Microsoft.Build.Engine.UnitTests (25)
Graph\ProjectGraph_Tests.cs (24)
927IReadOnlyDictionary<ProjectGraphNode, ImmutableList<string>> targetLists = projectGraph.GetTargetLists(new[] { "A" });
955IReadOnlyDictionary<ProjectGraphNode, ImmutableList<string>> targetLists = projectGraph.GetTargetLists(new[] { "A" });
986IReadOnlyDictionary<ProjectGraphNode, ImmutableList<string>> targetLists = projectGraph.GetTargetLists(new[] { "A" });
1008IReadOnlyDictionary<ProjectGraphNode, ImmutableList<string>> targetLists = projectGraph.GetTargetLists(null);
1026IReadOnlyDictionary<ProjectGraphNode, ImmutableList<string>> targetLists = projectGraph.GetTargetLists(new[] { "Foo" });
1049IReadOnlyDictionary<ProjectGraphNode, ImmutableList<string>> targetLists = projectGraph.GetTargetLists(null);
1072IReadOnlyDictionary<ProjectGraphNode, ImmutableList<string>> targetLists = projectGraph.GetTargetLists(new[] { "A" });
1115IReadOnlyDictionary<ProjectGraphNode, ImmutableList<string>> targetLists = projectGraph.GetTargetLists(new List<string> { "A" });
1156IReadOnlyDictionary<ProjectGraphNode, ImmutableList<string>> targetLists = projectGraph.GetTargetLists(new List<string> { "A" });
1190IReadOnlyDictionary<ProjectGraphNode, ImmutableList<string>> targetLists = projectGraph.GetTargetLists(new List<string> { "A" });
1261IReadOnlyDictionary<ProjectGraphNode, ImmutableList<string>> targetLists = graph.GetTargetLists(new[] { "A" });
1362IReadOnlyDictionary<ProjectGraphNode, ImmutableList<string>> targetLists = projectGraph.GetTargetLists(new List<string> { "A" });
1375void AssertMultitargetingNode(int projectNumber, ProjectGraph projectGraph, IReadOnlyDictionary<ProjectGraphNode, ImmutableList<string>> targetLists, string[] outerBuildTargets, string[] nonOuterBuildTargets)
1397IReadOnlyDictionary<ProjectGraphNode, ImmutableList<string>> targetLists = projectGraph.GetTargetLists(null);
1420IReadOnlyDictionary<ProjectGraphNode, ImmutableList<string>> targetLists = projectGraph.GetTargetLists(null);
1450IReadOnlyDictionary<ProjectGraphNode, ImmutableList<string>> targetLists = projectGraph.GetTargetLists(null);
1507IReadOnlyDictionary<ProjectGraphNode, ImmutableList<string>> targetLists = projectGraph.GetTargetLists(entryProjectTargets: null);
1552IReadOnlyDictionary<ProjectGraphNode, ImmutableList<string>> targetLists = graph.GetTargetLists(entryProjectTargets: new[] { "Build" });
1602IReadOnlyDictionary<ProjectGraphNode, ImmutableList<string>> targetLists = graph.GetTargetLists(entryProjectTargets: new[] { "Build" });
1633IReadOnlyDictionary<ProjectGraphNode, ImmutableList<string>> targetLists = graph.GetTargetLists(null);
2696IReadOnlyDictionary<ProjectGraphNode, ImmutableList<string>> targetLists = graph.GetTargetLists(Array.Empty<string>());
2738IReadOnlyDictionary<ProjectGraphNode, ImmutableList<string>> targetLists = graph.GetTargetLists(Array.Empty<string>());
2797IReadOnlyDictionary<ProjectGraphNode, ImmutableList<string>> targetLists = graph.GetTargetLists(Array.Empty<string>());
2877IReadOnlyDictionary<ProjectGraphNode, ImmutableList<string>> targetLists = projectGraph.GetTargetLists(entryTargets);
Microsoft.Build.Framework (87)
ImmutableSegmentedList`1.cs (47)
19/// best for <see cref="ImmutableList{T}"/>.</para>
28/// <description><see cref="ImmutableList{T}"/> Complexity</description>
73/// <inheritdoc cref="ImmutableList{T}.Empty"/>
85/// <inheritdoc cref="ImmutableList{T}.IsEmpty"/>
124/// <inheritdoc cref="ImmutableList{T}.ItemRef(int)"/>
138/// <inheritdoc cref="ImmutableList{T}.Add(T)"/>
158/// <inheritdoc cref="ImmutableList{T}.AddRange(IEnumerable{T})"/>
186/// <inheritdoc cref="ImmutableList{T}.BinarySearch(T)"/>
190/// <inheritdoc cref="ImmutableList{T}.BinarySearch(T, IComparer{T}?)"/>
194/// <inheritdoc cref="ImmutableList{T}.BinarySearch(int, int, T, IComparer{T}?)"/>
198/// <inheritdoc cref="ImmutableList{T}.Clear()"/>
205/// <inheritdoc cref="ImmutableList{T}.ConvertAll{TOutput}(Func{T, TOutput})"/>
209/// <inheritdoc cref="ImmutableList{T}.CopyTo(T[])"/>
216/// <inheritdoc cref="ImmutableList{T}.CopyTo(int, T[], int, int)"/>
220/// <inheritdoc cref="ImmutableList{T}.Exists(Predicate{T})"/>
224/// <inheritdoc cref="ImmutableList{T}.Find(Predicate{T})"/>
228/// <inheritdoc cref="ImmutableList{T}.FindAll(Predicate{T})"/>
232/// <inheritdoc cref="ImmutableList{T}.FindIndex(Predicate{T})"/>
236/// <inheritdoc cref="ImmutableList{T}.FindIndex(int, Predicate{T})"/>
240/// <inheritdoc cref="ImmutableList{T}.FindIndex(int, int, Predicate{T})"/>
244/// <inheritdoc cref="ImmutableList{T}.FindLast(Predicate{T})"/>
248/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(Predicate{T})"/>
252/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(int, Predicate{T})"/>
267/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(int, int, Predicate{T})"/>
282/// <inheritdoc cref="ImmutableList{T}.ForEach(Action{T})"/>
286/// <inheritdoc cref="ImmutableList{T}.GetEnumerator()"/>
290/// <inheritdoc cref="ImmutableList{T}.GetRange(int, int)"/>
307/// <inheritdoc cref="ImmutableList{T}.Insert(int, T)"/>
322/// <inheritdoc cref="ImmutableList{T}.InsertRange(int, IEnumerable{T})"/>
358/// <inheritdoc cref="ImmutableList{T}.Remove(T)"/>
370/// <inheritdoc cref="ImmutableList{T}.Remove(T, IEqualityComparer{T}?)"/>
382/// <inheritdoc cref="ImmutableList{T}.RemoveAll(Predicate{T})"/>
392/// <inheritdoc cref="ImmutableList{T}.RemoveAt(int)"/>
401/// <inheritdoc cref="ImmutableList{T}.RemoveRange(IEnumerable{T})"/>
425/// <inheritdoc cref="ImmutableList{T}.RemoveRange(IEnumerable{T}, IEqualityComparer{T}?)"/>
449/// <inheritdoc cref="ImmutableList{T}.RemoveRange(int, int)"/>
465/// <inheritdoc cref="ImmutableList{T}.Replace(T, T)"/>
479/// <inheritdoc cref="ImmutableList{T}.Replace(T, T, IEqualityComparer{T}?)"/>
493/// <inheritdoc cref="ImmutableList{T}.Reverse()"/>
505/// <inheritdoc cref="ImmutableList{T}.Reverse(int, int)"/>
513/// <inheritdoc cref="ImmutableList{T}.SetItem(int, T)"/>
522/// <inheritdoc cref="ImmutableList{T}.Sort()"/>
536/// <inheritdoc cref="ImmutableList{T}.Sort(IComparer{T}?)"/>
550/// <inheritdoc cref="ImmutableList{T}.Sort(Comparison{T})"/>
569/// <inheritdoc cref="ImmutableList{T}.Sort(int, int, IComparer{T}?)"/>
578/// <inheritdoc cref="ImmutableList{T}.ToBuilder()"/>
597/// <inheritdoc cref="ImmutableList{T}.TrueForAll(Predicate{T})"/>
ImmutableSegmentedList`1+Builder.cs (38)
48/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.ItemRef(int)"/>
55/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.AddRange(IEnumerable{T})"/>
59/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.BinarySearch(T)"/>
63/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.BinarySearch(T, IComparer{T}?)"/>
67/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.BinarySearch(int, int, T, IComparer{T}?)"/>
77/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.ConvertAll{TOutput}(Func{T, TOutput})"/>
81/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.CopyTo(T[])"/>
88/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.CopyTo(int, T[], int, int)"/>
92/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Exists(Predicate{T})"/>
96/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Find(Predicate{T})"/>
100/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindAll(Predicate{T})"/>
104/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(Predicate{T})"/>
108/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(int, Predicate{T})"/>
112/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(int, int, Predicate{T})"/>
116/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLast(Predicate{T})"/>
120/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(Predicate{T})"/>
124/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(int, Predicate{T})"/>
128/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(int, int, Predicate{T})"/>
132/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.ForEach(Action{T})"/>
136/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.GetEnumerator()"/>
140/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.GetRange(int, int)"/>
147/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.IndexOf(T, int)"/>
151/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.IndexOf(T, int, int)"/>
155/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.IndexOf(T, int, int, IEqualityComparer{T}?)"/>
162/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.InsertRange(int, IEnumerable{T})"/>
166/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.LastIndexOf(T)"/>
170/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.LastIndexOf(T, int)"/>
174/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.LastIndexOf(T, int, int)"/>
178/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.LastIndexOf(T, int, int, IEqualityComparer{T}?)"/>
185/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.RemoveAll(Predicate{T})"/>
192/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Reverse()"/>
196/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Reverse(int, int)"/>
200/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Sort()"/>
204/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Sort(IComparer{T}?)"/>
208/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Sort(Comparison{T})"/>
212/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Sort(int, int, IComparer{T}?)"/>
216/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.ToImmutable()"/>
220/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.TrueForAll(Predicate{T})"/>
Microsoft.CodeAnalysis (89)
src\Dependencies\Collections\ImmutableSegmentedList`1.cs (47)
19/// best for <see cref="ImmutableList{T}"/>.</para>
28/// <description><see cref="ImmutableList{T}"/> Complexity</description>
73/// <inheritdoc cref="ImmutableList{T}.Empty"/>
85/// <inheritdoc cref="ImmutableList{T}.IsEmpty"/>
124/// <inheritdoc cref="ImmutableList{T}.ItemRef(int)"/>
138/// <inheritdoc cref="ImmutableList{T}.Add(T)"/>
158/// <inheritdoc cref="ImmutableList{T}.AddRange(IEnumerable{T})"/>
186/// <inheritdoc cref="ImmutableList{T}.BinarySearch(T)"/>
190/// <inheritdoc cref="ImmutableList{T}.BinarySearch(T, IComparer{T}?)"/>
194/// <inheritdoc cref="ImmutableList{T}.BinarySearch(int, int, T, IComparer{T}?)"/>
198/// <inheritdoc cref="ImmutableList{T}.Clear()"/>
205/// <inheritdoc cref="ImmutableList{T}.ConvertAll{TOutput}(Func{T, TOutput})"/>
209/// <inheritdoc cref="ImmutableList{T}.CopyTo(T[])"/>
216/// <inheritdoc cref="ImmutableList{T}.CopyTo(int, T[], int, int)"/>
220/// <inheritdoc cref="ImmutableList{T}.Exists(Predicate{T})"/>
224/// <inheritdoc cref="ImmutableList{T}.Find(Predicate{T})"/>
228/// <inheritdoc cref="ImmutableList{T}.FindAll(Predicate{T})"/>
232/// <inheritdoc cref="ImmutableList{T}.FindIndex(Predicate{T})"/>
236/// <inheritdoc cref="ImmutableList{T}.FindIndex(int, Predicate{T})"/>
240/// <inheritdoc cref="ImmutableList{T}.FindIndex(int, int, Predicate{T})"/>
244/// <inheritdoc cref="ImmutableList{T}.FindLast(Predicate{T})"/>
248/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(Predicate{T})"/>
252/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(int, Predicate{T})"/>
267/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(int, int, Predicate{T})"/>
282/// <inheritdoc cref="ImmutableList{T}.ForEach(Action{T})"/>
286/// <inheritdoc cref="ImmutableList{T}.GetEnumerator()"/>
290/// <inheritdoc cref="ImmutableList{T}.GetRange(int, int)"/>
307/// <inheritdoc cref="ImmutableList{T}.Insert(int, T)"/>
322/// <inheritdoc cref="ImmutableList{T}.InsertRange(int, IEnumerable{T})"/>
358/// <inheritdoc cref="ImmutableList{T}.Remove(T)"/>
370/// <inheritdoc cref="ImmutableList{T}.Remove(T, IEqualityComparer{T}?)"/>
382/// <inheritdoc cref="ImmutableList{T}.RemoveAll(Predicate{T})"/>
392/// <inheritdoc cref="ImmutableList{T}.RemoveAt(int)"/>
401/// <inheritdoc cref="ImmutableList{T}.RemoveRange(IEnumerable{T})"/>
425/// <inheritdoc cref="ImmutableList{T}.RemoveRange(IEnumerable{T}, IEqualityComparer{T}?)"/>
449/// <inheritdoc cref="ImmutableList{T}.RemoveRange(int, int)"/>
465/// <inheritdoc cref="ImmutableList{T}.Replace(T, T)"/>
479/// <inheritdoc cref="ImmutableList{T}.Replace(T, T, IEqualityComparer{T}?)"/>
493/// <inheritdoc cref="ImmutableList{T}.Reverse()"/>
505/// <inheritdoc cref="ImmutableList{T}.Reverse(int, int)"/>
513/// <inheritdoc cref="ImmutableList{T}.SetItem(int, T)"/>
522/// <inheritdoc cref="ImmutableList{T}.Sort()"/>
536/// <inheritdoc cref="ImmutableList{T}.Sort(IComparer{T}?)"/>
550/// <inheritdoc cref="ImmutableList{T}.Sort(Comparison{T})"/>
569/// <inheritdoc cref="ImmutableList{T}.Sort(int, int, IComparer{T}?)"/>
578/// <inheritdoc cref="ImmutableList{T}.ToBuilder()"/>
597/// <inheritdoc cref="ImmutableList{T}.TrueForAll(Predicate{T})"/>
src\Dependencies\Collections\ImmutableSegmentedList`1+Builder.cs (38)
48/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.ItemRef(int)"/>
55/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.AddRange(IEnumerable{T})"/>
59/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.BinarySearch(T)"/>
63/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.BinarySearch(T, IComparer{T}?)"/>
67/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.BinarySearch(int, int, T, IComparer{T}?)"/>
77/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.ConvertAll{TOutput}(Func{T, TOutput})"/>
81/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.CopyTo(T[])"/>
88/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.CopyTo(int, T[], int, int)"/>
92/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Exists(Predicate{T})"/>
96/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Find(Predicate{T})"/>
100/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindAll(Predicate{T})"/>
104/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(Predicate{T})"/>
108/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(int, Predicate{T})"/>
112/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(int, int, Predicate{T})"/>
116/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLast(Predicate{T})"/>
120/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(Predicate{T})"/>
124/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(int, Predicate{T})"/>
128/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(int, int, Predicate{T})"/>
132/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.ForEach(Action{T})"/>
136/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.GetEnumerator()"/>
140/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.GetRange(int, int)"/>
147/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.IndexOf(T, int)"/>
151/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.IndexOf(T, int, int)"/>
155/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.IndexOf(T, int, int, IEqualityComparer{T}?)"/>
162/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.InsertRange(int, IEnumerable{T})"/>
166/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.LastIndexOf(T)"/>
170/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.LastIndexOf(T, int)"/>
174/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.LastIndexOf(T, int, int)"/>
178/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.LastIndexOf(T, int, int, IEqualityComparer{T}?)"/>
185/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.RemoveAll(Predicate{T})"/>
192/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Reverse()"/>
196/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Reverse(int, int)"/>
200/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Sort()"/>
204/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Sort(IComparer{T}?)"/>
208/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Sort(Comparison{T})"/>
212/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Sort(int, int, IComparer{T}?)"/>
216/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.ToImmutable()"/>
220/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.TrueForAll(Predicate{T})"/>
Microsoft.CodeAnalysis.CodeStyle (90)
src\Dependencies\Collections\ImmutableSegmentedList`1.cs (47)
19/// best for <see cref="ImmutableList{T}"/>.</para>
28/// <description><see cref="ImmutableList{T}"/> Complexity</description>
73/// <inheritdoc cref="ImmutableList{T}.Empty"/>
85/// <inheritdoc cref="ImmutableList{T}.IsEmpty"/>
124/// <inheritdoc cref="ImmutableList{T}.ItemRef(int)"/>
138/// <inheritdoc cref="ImmutableList{T}.Add(T)"/>
158/// <inheritdoc cref="ImmutableList{T}.AddRange(IEnumerable{T})"/>
186/// <inheritdoc cref="ImmutableList{T}.BinarySearch(T)"/>
190/// <inheritdoc cref="ImmutableList{T}.BinarySearch(T, IComparer{T}?)"/>
194/// <inheritdoc cref="ImmutableList{T}.BinarySearch(int, int, T, IComparer{T}?)"/>
198/// <inheritdoc cref="ImmutableList{T}.Clear()"/>
205/// <inheritdoc cref="ImmutableList{T}.ConvertAll{TOutput}(Func{T, TOutput})"/>
209/// <inheritdoc cref="ImmutableList{T}.CopyTo(T[])"/>
216/// <inheritdoc cref="ImmutableList{T}.CopyTo(int, T[], int, int)"/>
220/// <inheritdoc cref="ImmutableList{T}.Exists(Predicate{T})"/>
224/// <inheritdoc cref="ImmutableList{T}.Find(Predicate{T})"/>
228/// <inheritdoc cref="ImmutableList{T}.FindAll(Predicate{T})"/>
232/// <inheritdoc cref="ImmutableList{T}.FindIndex(Predicate{T})"/>
236/// <inheritdoc cref="ImmutableList{T}.FindIndex(int, Predicate{T})"/>
240/// <inheritdoc cref="ImmutableList{T}.FindIndex(int, int, Predicate{T})"/>
244/// <inheritdoc cref="ImmutableList{T}.FindLast(Predicate{T})"/>
248/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(Predicate{T})"/>
252/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(int, Predicate{T})"/>
267/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(int, int, Predicate{T})"/>
282/// <inheritdoc cref="ImmutableList{T}.ForEach(Action{T})"/>
286/// <inheritdoc cref="ImmutableList{T}.GetEnumerator()"/>
290/// <inheritdoc cref="ImmutableList{T}.GetRange(int, int)"/>
307/// <inheritdoc cref="ImmutableList{T}.Insert(int, T)"/>
322/// <inheritdoc cref="ImmutableList{T}.InsertRange(int, IEnumerable{T})"/>
358/// <inheritdoc cref="ImmutableList{T}.Remove(T)"/>
370/// <inheritdoc cref="ImmutableList{T}.Remove(T, IEqualityComparer{T}?)"/>
382/// <inheritdoc cref="ImmutableList{T}.RemoveAll(Predicate{T})"/>
392/// <inheritdoc cref="ImmutableList{T}.RemoveAt(int)"/>
401/// <inheritdoc cref="ImmutableList{T}.RemoveRange(IEnumerable{T})"/>
425/// <inheritdoc cref="ImmutableList{T}.RemoveRange(IEnumerable{T}, IEqualityComparer{T}?)"/>
449/// <inheritdoc cref="ImmutableList{T}.RemoveRange(int, int)"/>
465/// <inheritdoc cref="ImmutableList{T}.Replace(T, T)"/>
479/// <inheritdoc cref="ImmutableList{T}.Replace(T, T, IEqualityComparer{T}?)"/>
493/// <inheritdoc cref="ImmutableList{T}.Reverse()"/>
505/// <inheritdoc cref="ImmutableList{T}.Reverse(int, int)"/>
513/// <inheritdoc cref="ImmutableList{T}.SetItem(int, T)"/>
522/// <inheritdoc cref="ImmutableList{T}.Sort()"/>
536/// <inheritdoc cref="ImmutableList{T}.Sort(IComparer{T}?)"/>
550/// <inheritdoc cref="ImmutableList{T}.Sort(Comparison{T})"/>
569/// <inheritdoc cref="ImmutableList{T}.Sort(int, int, IComparer{T}?)"/>
578/// <inheritdoc cref="ImmutableList{T}.ToBuilder()"/>
597/// <inheritdoc cref="ImmutableList{T}.TrueForAll(Predicate{T})"/>
src\Dependencies\Collections\ImmutableSegmentedList`1+Builder.cs (38)
48/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.ItemRef(int)"/>
55/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.AddRange(IEnumerable{T})"/>
59/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.BinarySearch(T)"/>
63/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.BinarySearch(T, IComparer{T}?)"/>
67/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.BinarySearch(int, int, T, IComparer{T}?)"/>
77/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.ConvertAll{TOutput}(Func{T, TOutput})"/>
81/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.CopyTo(T[])"/>
88/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.CopyTo(int, T[], int, int)"/>
92/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Exists(Predicate{T})"/>
96/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Find(Predicate{T})"/>
100/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindAll(Predicate{T})"/>
104/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(Predicate{T})"/>
108/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(int, Predicate{T})"/>
112/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(int, int, Predicate{T})"/>
116/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLast(Predicate{T})"/>
120/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(Predicate{T})"/>
124/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(int, Predicate{T})"/>
128/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(int, int, Predicate{T})"/>
132/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.ForEach(Action{T})"/>
136/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.GetEnumerator()"/>
140/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.GetRange(int, int)"/>
147/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.IndexOf(T, int)"/>
151/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.IndexOf(T, int, int)"/>
155/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.IndexOf(T, int, int, IEqualityComparer{T}?)"/>
162/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.InsertRange(int, IEnumerable{T})"/>
166/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.LastIndexOf(T)"/>
170/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.LastIndexOf(T, int)"/>
174/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.LastIndexOf(T, int, int)"/>
178/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.LastIndexOf(T, int, int, IEqualityComparer{T}?)"/>
185/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.RemoveAll(Predicate{T})"/>
192/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Reverse()"/>
196/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Reverse(int, int)"/>
200/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Sort()"/>
204/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Sort(IComparer{T}?)"/>
208/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Sort(Comparison{T})"/>
212/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Sort(int, int, IComparer{T}?)"/>
216/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.ToImmutable()"/>
220/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.TrueForAll(Predicate{T})"/>
Microsoft.CodeAnalysis.CodeStyle.Fixes (2)
Microsoft.CodeAnalysis.Collections.Package (87)
ImmutableSegmentedList`1.cs (47)
19/// best for <see cref="ImmutableList{T}"/>.</para>
28/// <description><see cref="ImmutableList{T}"/> Complexity</description>
73/// <inheritdoc cref="ImmutableList{T}.Empty"/>
85/// <inheritdoc cref="ImmutableList{T}.IsEmpty"/>
124/// <inheritdoc cref="ImmutableList{T}.ItemRef(int)"/>
138/// <inheritdoc cref="ImmutableList{T}.Add(T)"/>
158/// <inheritdoc cref="ImmutableList{T}.AddRange(IEnumerable{T})"/>
186/// <inheritdoc cref="ImmutableList{T}.BinarySearch(T)"/>
190/// <inheritdoc cref="ImmutableList{T}.BinarySearch(T, IComparer{T}?)"/>
194/// <inheritdoc cref="ImmutableList{T}.BinarySearch(int, int, T, IComparer{T}?)"/>
198/// <inheritdoc cref="ImmutableList{T}.Clear()"/>
205/// <inheritdoc cref="ImmutableList{T}.ConvertAll{TOutput}(Func{T, TOutput})"/>
209/// <inheritdoc cref="ImmutableList{T}.CopyTo(T[])"/>
216/// <inheritdoc cref="ImmutableList{T}.CopyTo(int, T[], int, int)"/>
220/// <inheritdoc cref="ImmutableList{T}.Exists(Predicate{T})"/>
224/// <inheritdoc cref="ImmutableList{T}.Find(Predicate{T})"/>
228/// <inheritdoc cref="ImmutableList{T}.FindAll(Predicate{T})"/>
232/// <inheritdoc cref="ImmutableList{T}.FindIndex(Predicate{T})"/>
236/// <inheritdoc cref="ImmutableList{T}.FindIndex(int, Predicate{T})"/>
240/// <inheritdoc cref="ImmutableList{T}.FindIndex(int, int, Predicate{T})"/>
244/// <inheritdoc cref="ImmutableList{T}.FindLast(Predicate{T})"/>
248/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(Predicate{T})"/>
252/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(int, Predicate{T})"/>
267/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(int, int, Predicate{T})"/>
282/// <inheritdoc cref="ImmutableList{T}.ForEach(Action{T})"/>
286/// <inheritdoc cref="ImmutableList{T}.GetEnumerator()"/>
290/// <inheritdoc cref="ImmutableList{T}.GetRange(int, int)"/>
307/// <inheritdoc cref="ImmutableList{T}.Insert(int, T)"/>
322/// <inheritdoc cref="ImmutableList{T}.InsertRange(int, IEnumerable{T})"/>
358/// <inheritdoc cref="ImmutableList{T}.Remove(T)"/>
370/// <inheritdoc cref="ImmutableList{T}.Remove(T, IEqualityComparer{T}?)"/>
382/// <inheritdoc cref="ImmutableList{T}.RemoveAll(Predicate{T})"/>
392/// <inheritdoc cref="ImmutableList{T}.RemoveAt(int)"/>
401/// <inheritdoc cref="ImmutableList{T}.RemoveRange(IEnumerable{T})"/>
425/// <inheritdoc cref="ImmutableList{T}.RemoveRange(IEnumerable{T}, IEqualityComparer{T}?)"/>
449/// <inheritdoc cref="ImmutableList{T}.RemoveRange(int, int)"/>
465/// <inheritdoc cref="ImmutableList{T}.Replace(T, T)"/>
479/// <inheritdoc cref="ImmutableList{T}.Replace(T, T, IEqualityComparer{T}?)"/>
493/// <inheritdoc cref="ImmutableList{T}.Reverse()"/>
505/// <inheritdoc cref="ImmutableList{T}.Reverse(int, int)"/>
513/// <inheritdoc cref="ImmutableList{T}.SetItem(int, T)"/>
522/// <inheritdoc cref="ImmutableList{T}.Sort()"/>
536/// <inheritdoc cref="ImmutableList{T}.Sort(IComparer{T}?)"/>
550/// <inheritdoc cref="ImmutableList{T}.Sort(Comparison{T})"/>
569/// <inheritdoc cref="ImmutableList{T}.Sort(int, int, IComparer{T}?)"/>
578/// <inheritdoc cref="ImmutableList{T}.ToBuilder()"/>
597/// <inheritdoc cref="ImmutableList{T}.TrueForAll(Predicate{T})"/>
ImmutableSegmentedList`1+Builder.cs (38)
48/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.ItemRef(int)"/>
55/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.AddRange(IEnumerable{T})"/>
59/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.BinarySearch(T)"/>
63/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.BinarySearch(T, IComparer{T}?)"/>
67/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.BinarySearch(int, int, T, IComparer{T}?)"/>
77/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.ConvertAll{TOutput}(Func{T, TOutput})"/>
81/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.CopyTo(T[])"/>
88/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.CopyTo(int, T[], int, int)"/>
92/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Exists(Predicate{T})"/>
96/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Find(Predicate{T})"/>
100/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindAll(Predicate{T})"/>
104/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(Predicate{T})"/>
108/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(int, Predicate{T})"/>
112/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(int, int, Predicate{T})"/>
116/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLast(Predicate{T})"/>
120/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(Predicate{T})"/>
124/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(int, Predicate{T})"/>
128/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(int, int, Predicate{T})"/>
132/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.ForEach(Action{T})"/>
136/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.GetEnumerator()"/>
140/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.GetRange(int, int)"/>
147/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.IndexOf(T, int)"/>
151/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.IndexOf(T, int, int)"/>
155/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.IndexOf(T, int, int, IEqualityComparer{T}?)"/>
162/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.InsertRange(int, IEnumerable{T})"/>
166/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.LastIndexOf(T)"/>
170/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.LastIndexOf(T, int)"/>
174/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.LastIndexOf(T, int, int)"/>
178/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.LastIndexOf(T, int, int, IEqualityComparer{T}?)"/>
185/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.RemoveAll(Predicate{T})"/>
192/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Reverse()"/>
196/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Reverse(int, int)"/>
200/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Sort()"/>
204/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Sort(IComparer{T}?)"/>
208/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Sort(Comparison{T})"/>
212/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Sort(int, int, IComparer{T}?)"/>
216/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.ToImmutable()"/>
220/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.TrueForAll(Predicate{T})"/>
Microsoft.CodeAnalysis.CSharp.CodeStyle (2)
src\Analyzers\CSharp\Analyzers\UseCollectionExpression\CSharpUseCollectionExpressionForFluentDiagnosticAnalyzer.cs (1)
59nameof(ImmutableList<int>),
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)
59nameof(ImmutableList<int>),
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (2)
Microsoft.CodeAnalysis.Features (2)
Microsoft.CodeAnalysis.Features.Test.Utilities (1)
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (1)
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (8)
Microsoft.CodeAnalysis.VisualBasic.Features (3)
Microsoft.CodeAnalysis.Workspaces (104)
src\Dependencies\Collections\ImmutableSegmentedList`1.cs (47)
19/// best for <see cref="ImmutableList{T}"/>.</para>
28/// <description><see cref="ImmutableList{T}"/> Complexity</description>
73/// <inheritdoc cref="ImmutableList{T}.Empty"/>
85/// <inheritdoc cref="ImmutableList{T}.IsEmpty"/>
124/// <inheritdoc cref="ImmutableList{T}.ItemRef(int)"/>
138/// <inheritdoc cref="ImmutableList{T}.Add(T)"/>
158/// <inheritdoc cref="ImmutableList{T}.AddRange(IEnumerable{T})"/>
186/// <inheritdoc cref="ImmutableList{T}.BinarySearch(T)"/>
190/// <inheritdoc cref="ImmutableList{T}.BinarySearch(T, IComparer{T}?)"/>
194/// <inheritdoc cref="ImmutableList{T}.BinarySearch(int, int, T, IComparer{T}?)"/>
198/// <inheritdoc cref="ImmutableList{T}.Clear()"/>
205/// <inheritdoc cref="ImmutableList{T}.ConvertAll{TOutput}(Func{T, TOutput})"/>
209/// <inheritdoc cref="ImmutableList{T}.CopyTo(T[])"/>
216/// <inheritdoc cref="ImmutableList{T}.CopyTo(int, T[], int, int)"/>
220/// <inheritdoc cref="ImmutableList{T}.Exists(Predicate{T})"/>
224/// <inheritdoc cref="ImmutableList{T}.Find(Predicate{T})"/>
228/// <inheritdoc cref="ImmutableList{T}.FindAll(Predicate{T})"/>
232/// <inheritdoc cref="ImmutableList{T}.FindIndex(Predicate{T})"/>
236/// <inheritdoc cref="ImmutableList{T}.FindIndex(int, Predicate{T})"/>
240/// <inheritdoc cref="ImmutableList{T}.FindIndex(int, int, Predicate{T})"/>
244/// <inheritdoc cref="ImmutableList{T}.FindLast(Predicate{T})"/>
248/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(Predicate{T})"/>
252/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(int, Predicate{T})"/>
267/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(int, int, Predicate{T})"/>
282/// <inheritdoc cref="ImmutableList{T}.ForEach(Action{T})"/>
286/// <inheritdoc cref="ImmutableList{T}.GetEnumerator()"/>
290/// <inheritdoc cref="ImmutableList{T}.GetRange(int, int)"/>
307/// <inheritdoc cref="ImmutableList{T}.Insert(int, T)"/>
322/// <inheritdoc cref="ImmutableList{T}.InsertRange(int, IEnumerable{T})"/>
358/// <inheritdoc cref="ImmutableList{T}.Remove(T)"/>
370/// <inheritdoc cref="ImmutableList{T}.Remove(T, IEqualityComparer{T}?)"/>
382/// <inheritdoc cref="ImmutableList{T}.RemoveAll(Predicate{T})"/>
392/// <inheritdoc cref="ImmutableList{T}.RemoveAt(int)"/>
401/// <inheritdoc cref="ImmutableList{T}.RemoveRange(IEnumerable{T})"/>
425/// <inheritdoc cref="ImmutableList{T}.RemoveRange(IEnumerable{T}, IEqualityComparer{T}?)"/>
449/// <inheritdoc cref="ImmutableList{T}.RemoveRange(int, int)"/>
465/// <inheritdoc cref="ImmutableList{T}.Replace(T, T)"/>
479/// <inheritdoc cref="ImmutableList{T}.Replace(T, T, IEqualityComparer{T}?)"/>
493/// <inheritdoc cref="ImmutableList{T}.Reverse()"/>
505/// <inheritdoc cref="ImmutableList{T}.Reverse(int, int)"/>
513/// <inheritdoc cref="ImmutableList{T}.SetItem(int, T)"/>
522/// <inheritdoc cref="ImmutableList{T}.Sort()"/>
536/// <inheritdoc cref="ImmutableList{T}.Sort(IComparer{T}?)"/>
550/// <inheritdoc cref="ImmutableList{T}.Sort(Comparison{T})"/>
569/// <inheritdoc cref="ImmutableList{T}.Sort(int, int, IComparer{T}?)"/>
578/// <inheritdoc cref="ImmutableList{T}.ToBuilder()"/>
597/// <inheritdoc cref="ImmutableList{T}.TrueForAll(Predicate{T})"/>
src\Dependencies\Collections\ImmutableSegmentedList`1+Builder.cs (38)
48/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.ItemRef(int)"/>
55/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.AddRange(IEnumerable{T})"/>
59/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.BinarySearch(T)"/>
63/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.BinarySearch(T, IComparer{T}?)"/>
67/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.BinarySearch(int, int, T, IComparer{T}?)"/>
77/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.ConvertAll{TOutput}(Func{T, TOutput})"/>
81/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.CopyTo(T[])"/>
88/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.CopyTo(int, T[], int, int)"/>
92/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Exists(Predicate{T})"/>
96/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Find(Predicate{T})"/>
100/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindAll(Predicate{T})"/>
104/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(Predicate{T})"/>
108/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(int, Predicate{T})"/>
112/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(int, int, Predicate{T})"/>
116/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLast(Predicate{T})"/>
120/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(Predicate{T})"/>
124/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(int, Predicate{T})"/>
128/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(int, int, Predicate{T})"/>
132/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.ForEach(Action{T})"/>
136/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.GetEnumerator()"/>
140/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.GetRange(int, int)"/>
147/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.IndexOf(T, int)"/>
151/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.IndexOf(T, int, int)"/>
155/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.IndexOf(T, int, int, IEqualityComparer{T}?)"/>
162/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.InsertRange(int, IEnumerable{T})"/>
166/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.LastIndexOf(T)"/>
170/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.LastIndexOf(T, int)"/>
174/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.LastIndexOf(T, int, int)"/>
178/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.LastIndexOf(T, int, int, IEqualityComparer{T}?)"/>
185/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.RemoveAll(Predicate{T})"/>
192/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Reverse()"/>
196/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Reverse(int, int)"/>
200/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Sort()"/>
204/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Sort(IComparer{T}?)"/>
208/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Sort(Comparison{T})"/>
212/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Sort(int, int, IComparer{T}?)"/>
216/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.ToImmutable()"/>
220/// <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\ImmutableSegmentedList`1.cs (47)
19/// best for <see cref="ImmutableList{T}"/>.</para>
28/// <description><see cref="ImmutableList{T}"/> Complexity</description>
73/// <inheritdoc cref="ImmutableList{T}.Empty"/>
85/// <inheritdoc cref="ImmutableList{T}.IsEmpty"/>
124/// <inheritdoc cref="ImmutableList{T}.ItemRef(int)"/>
138/// <inheritdoc cref="ImmutableList{T}.Add(T)"/>
158/// <inheritdoc cref="ImmutableList{T}.AddRange(IEnumerable{T})"/>
186/// <inheritdoc cref="ImmutableList{T}.BinarySearch(T)"/>
190/// <inheritdoc cref="ImmutableList{T}.BinarySearch(T, IComparer{T}?)"/>
194/// <inheritdoc cref="ImmutableList{T}.BinarySearch(int, int, T, IComparer{T}?)"/>
198/// <inheritdoc cref="ImmutableList{T}.Clear()"/>
205/// <inheritdoc cref="ImmutableList{T}.ConvertAll{TOutput}(Func{T, TOutput})"/>
209/// <inheritdoc cref="ImmutableList{T}.CopyTo(T[])"/>
216/// <inheritdoc cref="ImmutableList{T}.CopyTo(int, T[], int, int)"/>
220/// <inheritdoc cref="ImmutableList{T}.Exists(Predicate{T})"/>
224/// <inheritdoc cref="ImmutableList{T}.Find(Predicate{T})"/>
228/// <inheritdoc cref="ImmutableList{T}.FindAll(Predicate{T})"/>
232/// <inheritdoc cref="ImmutableList{T}.FindIndex(Predicate{T})"/>
236/// <inheritdoc cref="ImmutableList{T}.FindIndex(int, Predicate{T})"/>
240/// <inheritdoc cref="ImmutableList{T}.FindIndex(int, int, Predicate{T})"/>
244/// <inheritdoc cref="ImmutableList{T}.FindLast(Predicate{T})"/>
248/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(Predicate{T})"/>
252/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(int, Predicate{T})"/>
267/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(int, int, Predicate{T})"/>
282/// <inheritdoc cref="ImmutableList{T}.ForEach(Action{T})"/>
286/// <inheritdoc cref="ImmutableList{T}.GetEnumerator()"/>
290/// <inheritdoc cref="ImmutableList{T}.GetRange(int, int)"/>
307/// <inheritdoc cref="ImmutableList{T}.Insert(int, T)"/>
322/// <inheritdoc cref="ImmutableList{T}.InsertRange(int, IEnumerable{T})"/>
358/// <inheritdoc cref="ImmutableList{T}.Remove(T)"/>
370/// <inheritdoc cref="ImmutableList{T}.Remove(T, IEqualityComparer{T}?)"/>
382/// <inheritdoc cref="ImmutableList{T}.RemoveAll(Predicate{T})"/>
392/// <inheritdoc cref="ImmutableList{T}.RemoveAt(int)"/>
401/// <inheritdoc cref="ImmutableList{T}.RemoveRange(IEnumerable{T})"/>
425/// <inheritdoc cref="ImmutableList{T}.RemoveRange(IEnumerable{T}, IEqualityComparer{T}?)"/>
449/// <inheritdoc cref="ImmutableList{T}.RemoveRange(int, int)"/>
465/// <inheritdoc cref="ImmutableList{T}.Replace(T, T)"/>
479/// <inheritdoc cref="ImmutableList{T}.Replace(T, T, IEqualityComparer{T}?)"/>
493/// <inheritdoc cref="ImmutableList{T}.Reverse()"/>
505/// <inheritdoc cref="ImmutableList{T}.Reverse(int, int)"/>
513/// <inheritdoc cref="ImmutableList{T}.SetItem(int, T)"/>
522/// <inheritdoc cref="ImmutableList{T}.Sort()"/>
536/// <inheritdoc cref="ImmutableList{T}.Sort(IComparer{T}?)"/>
550/// <inheritdoc cref="ImmutableList{T}.Sort(Comparison{T})"/>
569/// <inheritdoc cref="ImmutableList{T}.Sort(int, int, IComparer{T}?)"/>
578/// <inheritdoc cref="ImmutableList{T}.ToBuilder()"/>
597/// <inheritdoc cref="ImmutableList{T}.TrueForAll(Predicate{T})"/>
src\Dependencies\Collections\ImmutableSegmentedList`1+Builder.cs (38)
48/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.ItemRef(int)"/>
55/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.AddRange(IEnumerable{T})"/>
59/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.BinarySearch(T)"/>
63/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.BinarySearch(T, IComparer{T}?)"/>
67/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.BinarySearch(int, int, T, IComparer{T}?)"/>
77/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.ConvertAll{TOutput}(Func{T, TOutput})"/>
81/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.CopyTo(T[])"/>
88/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.CopyTo(int, T[], int, int)"/>
92/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Exists(Predicate{T})"/>
96/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Find(Predicate{T})"/>
100/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindAll(Predicate{T})"/>
104/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(Predicate{T})"/>
108/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(int, Predicate{T})"/>
112/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(int, int, Predicate{T})"/>
116/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLast(Predicate{T})"/>
120/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(Predicate{T})"/>
124/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(int, Predicate{T})"/>
128/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(int, int, Predicate{T})"/>
132/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.ForEach(Action{T})"/>
136/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.GetEnumerator()"/>
140/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.GetRange(int, int)"/>
147/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.IndexOf(T, int)"/>
151/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.IndexOf(T, int, int)"/>
155/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.IndexOf(T, int, int, IEqualityComparer{T}?)"/>
162/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.InsertRange(int, IEnumerable{T})"/>
166/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.LastIndexOf(T)"/>
170/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.LastIndexOf(T, int)"/>
174/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.LastIndexOf(T, int, int)"/>
178/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.LastIndexOf(T, int, int, IEqualityComparer{T}?)"/>
185/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.RemoveAll(Predicate{T})"/>
192/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Reverse()"/>
196/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Reverse(int, int)"/>
200/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Sort()"/>
204/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Sort(IComparer{T}?)"/>
208/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Sort(Comparison{T})"/>
212/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Sort(int, int, IComparer{T}?)"/>
216/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.ToImmutable()"/>
220/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.TrueForAll(Predicate{T})"/>
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (3)
Microsoft.DotNet.Build.Tasks.Feed (10)
Microsoft.DotNet.Build.Tasks.Feed.Tests (1)
Microsoft.DotNet.Internal.DependencyInjection.Testing (2)
Microsoft.DotNet.SwaggerGenerator.CodeGenerator (1)
Microsoft.VisualStudio.IntegrationTest.Setup (1)
Microsoft.VisualStudio.LanguageServices (6)
Microsoft.VisualStudio.LanguageServices.Test.Utilities2 (7)
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)