8 references to TrueForAll
Microsoft.CodeAnalysis (2)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
601
=> _list.
TrueForAll
(match);
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
333
=> ReadOnlyList.
TrueForAll
(match);
Microsoft.CodeAnalysis.UnitTests (6)
Collections\List\SegmentedList.Generic.Tests.Misc.cs (6)
684
Assert.False(list.
TrueForAll
(expectedItemDelegate)); //"Err_282308ahid Verify TrueForAll looks at every item FAILED\n"
688
Assert.True(list.
TrueForAll
(delegate (T item) { return true; }),
692
Assert.True((0 == items.Length) == list.
TrueForAll
(delegate (T item) { return false; }),
699
Assert.True(list.
TrueForAll
(item => true));
700
Assert.Throws<ArgumentNullException>(() => list.
TrueForAll
(null!)); //"Err_858ahia Expected null match to throw ArgumentNullException"
1166
bool result = list.
TrueForAll
(i =>