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)
44Assert.Throws<ArgumentNullException>(() => list.FindAll(null!)); //"Err_858ahia Expected null match to throw ArgumentNullException" 974SegmentedList<T> results = list.FindAll(EqualsDelegate); 979VerifyList(list.FindAll(_alwaysTrueDelegate), beforeList); 982VerifyList(list.FindAll(_alwaysFalseDelegate), new SegmentedList<T>()); 999SegmentedList<T> results = list.FindAll(EqualsDelegate); 1004VerifyList(list.FindAll(_alwaysTrueDelegate), beforeList); 1007VerifyList(list.FindAll(_alwaysFalseDelegate), new SegmentedList<T>()); 1016SegmentedList<int> result = list.FindAll(i =>