7 references to TrueForAll
Microsoft.CodeAnalysis (2)
ImmutableSegmentedList`1.cs (1)
599
=> _list.
TrueForAll
(match);
ImmutableSegmentedList`1+ValueBuilder.cs (1)
331
=> ReadOnlyList.
TrueForAll
(match);
Microsoft.CodeAnalysis.UnitTests (5)
Collections\List\SegmentedList.Generic.Tests.Misc.cs (5)
656
Assert.False(list.
TrueForAll
(expectedItemDelegate)); //"Err_282308ahid Verify TrueForAll looks at every item FAILED\n"
660
Assert.True(list.
TrueForAll
(delegate (T item) { return true; }),
664
Assert.True((0 == items.Length) == list.
TrueForAll
(delegate (T item) { return false; }),
671
Assert.True(list.
TrueForAll
(item => true));
672
Assert.Throws<ArgumentNullException>(() => list.
TrueForAll
(null!)); //"Err_858ahia Expected null match to throw ArgumentNullException"