10 references to FindAll
Microsoft.CodeAnalysis (2)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
232
=> new ImmutableSegmentedList<T>(_list.
FindAll
(match));
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
144
=> new ImmutableSegmentedList<T>(ReadOnlyList.
FindAll
(match));
Microsoft.CodeAnalysis.UnitTests (8)
Collections\List\SegmentedList.Generic.Tests.Find.cs (8)
44
Assert.Throws<ArgumentNullException>(() => list.
FindAll
(null!)); //"Err_858ahia Expected null match to throw ArgumentNullException"
974
SegmentedList<T> results = list.
FindAll
(EqualsDelegate);
979
VerifyList(list.
FindAll
(_alwaysTrueDelegate), beforeList);
982
VerifyList(list.
FindAll
(_alwaysFalseDelegate), new SegmentedList<T>());
999
SegmentedList<T> results = list.
FindAll
(EqualsDelegate);
1004
VerifyList(list.
FindAll
(_alwaysTrueDelegate), beforeList);
1007
VerifyList(list.
FindAll
(_alwaysFalseDelegate), new SegmentedList<T>());
1016
SegmentedList<int> result = list.
FindAll
(i =>