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)
684Assert.False(list.TrueForAll(expectedItemDelegate)); //"Err_282308ahid Verify TrueForAll looks at every item FAILED\n" 688Assert.True(list.TrueForAll(delegate (T item) { return true; }), 692Assert.True((0 == items.Length) == list.TrueForAll(delegate (T item) { return false; }), 699Assert.True(list.TrueForAll(item => true)); 700Assert.Throws<ArgumentNullException>(() => list.TrueForAll(null!)); //"Err_858ahia Expected null match to throw ArgumentNullException" 1166bool result = list.TrueForAll(i =>