28 references to SegmentedList
Microsoft.CodeAnalysis (4)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (2)
76
public static readonly ImmutableSegmentedList<T> Empty = new(new
SegmentedList
<T>());
147
var list = new
SegmentedList
<T> { value };
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
112
_mutableList = new
SegmentedList
<T>();
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
600
var list = new
SegmentedList
<T>();
Microsoft.CodeAnalysis.UnitTests (24)
Collections\List\SegmentedList.Generic.cs (2)
62
protected override IEnumerable<ModifyEnumerable> GetModifyEnumerables(ModifyOperation operations) => new
SegmentedList
<ModifyEnumerable>();
87
protected override IEnumerable<ModifyEnumerable> GetModifyEnumerables(ModifyOperation operations) => new
SegmentedList
<ModifyEnumerable>();
Collections\List\SegmentedList.Generic.Tests.AsNonGenericIList.cs (1)
38
return new
SegmentedList
<string>();
Collections\List\SegmentedList.Generic.Tests.Constructor.cs (1)
27
SegmentedList<T> list = new
SegmentedList
<T>();
Collections\List\SegmentedList.Generic.Tests.cs (1)
45
return new
SegmentedList
<T>();
Collections\List\SegmentedList.Generic.Tests.Find.cs (6)
299
SegmentedList<int> expectedList = new
SegmentedList
<int>() { 1, 2, 3, 2, 3, 4, 3, 4, 4 };
301
SegmentedList<int> list = new
SegmentedList
<int>() { 1, 2, 3 };
982
VerifyList(list.FindAll(_alwaysFalseDelegate), new
SegmentedList
<T>());
1007
VerifyList(list.FindAll(_alwaysFalseDelegate), new
SegmentedList
<T>());
1013
SegmentedList<int> list = new
SegmentedList
<int>() { 1, 2, 3 };
1014
SegmentedList<int> expectedList = new
SegmentedList
<int>() { 1, 2, 3, 2, 3, 4, 3, 4, 4 };
Collections\List\SegmentedList.Generic.Tests.ForEach.cs (1)
27
SegmentedList<T> visitedItems = new
SegmentedList
<T>();
Collections\List\SegmentedList.Generic.Tests.Misc.cs (11)
353
SegmentedList<T> list = new
SegmentedList
<T>();
366
SegmentedList<T?> list = new
SegmentedList
<T?>();
400
SegmentedList<T> list = new
SegmentedList
<T>();
583
SegmentedList<T> list = new
SegmentedList
<T>();
596
SegmentedList<T> list = new
SegmentedList
<T>();
603
SegmentedList<T> list = new
SegmentedList
<T>();
630
SegmentedList<T> list = new
SegmentedList
<T>();
638
SegmentedList<T> list = new
SegmentedList
<T>();
673
SegmentedList<T> list = new
SegmentedList
<T>();
1163
SegmentedList<int> list = new
SegmentedList
<int>() { 1, 2, 3 };
1164
SegmentedList<int> expectedList = new
SegmentedList
<int> { 1, 2, 3, 2, 3, 4, 3, 4, 4 };
Collections\List\SegmentedList.Generic.Tests.Remove.cs (1)
63
Assert.Throws<ArgumentNullException>("match", () => new
SegmentedList
<T>().RemoveAll(null!));