10 references to Exists
Microsoft.CodeAnalysis (2)
ImmutableSegmentedList`1.cs (1)
222=> _list.Exists(match);
ImmutableSegmentedList`1+ValueBuilder.cs (1)
136=> ReadOnlyList.Exists(match);
Microsoft.CodeAnalysis.UnitTests (8)
Collections\List\SegmentedList.Generic.Tests.Misc.cs (8)
332Assert.Throws<ArgumentNullException>(() => list.Exists(null!)); //"Err_858ahia Expected null match to throw ArgumentNullException" 350Assert.True(list.Exists(expectedItemDelegate), 355Assert.True((0 < items.Length) == list.Exists((T? item) => { return true; }), 359Assert.True(!list.Exists((T? item) => { return false; }), 364Assert.True(list.Exists((T? item) => { return item == null ? default(T) == null : item.Equals(default(T)); }), 385Assert.True(list.Exists(expectedItemDelegate), 393Assert.True(list.Exists(expectedItemDelegate), 397Assert.True(list.Exists((T item) => { return item != null && (item.Equals(items[0]) || item.Equals(items[1])); }),