1992 references to Predicate
Aspire.Hosting.MySql.Tests (1)
MySqlFunctionalTests.cs (1)
24private static readonly Predicate<string> s_mySqlReadyText = log => log.Contains("ready for connections") && log.Contains("port: 3306");
Aspire.Hosting.Testing.Tests (4)
tests\Aspire.Hosting.Tests\Utils\LoggerNotificationExtensions.cs (4)
62public static Task WaitForTextAsync(this DistributedApplication app, Predicate<string> predicate, CancellationToken cancellationToken = default) 73public static Task WaitForTextAsync(this DistributedApplication app, Predicate<string> predicate, string? resourceName = null, CancellationToken cancellationToken = default) 122private static async Task WatchNotifications(DistributedApplication app, string? resourceName, Predicate<string> predicate, TaskCompletionSource tcs, CancellationTokenSource cancellationTokenSource) 160private static async Task WatchResourceLogs(TaskCompletionSource tcs, string resourceId, Predicate<string> predicate, ResourceLoggerService resourceLoggerService, CancellationTokenSource cancellationTokenSource)
Aspire.Hosting.Tests (4)
Utils\LoggerNotificationExtensions.cs (4)
62public static Task WaitForTextAsync(this DistributedApplication app, Predicate<string> predicate, CancellationToken cancellationToken = default) 73public static Task WaitForTextAsync(this DistributedApplication app, Predicate<string> predicate, string? resourceName = null, CancellationToken cancellationToken = default) 122private static async Task WatchNotifications(DistributedApplication app, string? resourceName, Predicate<string> predicate, TaskCompletionSource tcs, CancellationTokenSource cancellationTokenSource) 160private static async Task WatchResourceLogs(TaskCompletionSource tcs, string resourceId, Predicate<string> predicate, ResourceLoggerService resourceLoggerService, CancellationTokenSource cancellationTokenSource)
Aspire.Playground.Tests (4)
tests\Aspire.Hosting.Tests\Utils\LoggerNotificationExtensions.cs (4)
62public static Task WaitForTextAsync(this DistributedApplication app, Predicate<string> predicate, CancellationToken cancellationToken = default) 73public static Task WaitForTextAsync(this DistributedApplication app, Predicate<string> predicate, string? resourceName = null, CancellationToken cancellationToken = default) 122private static async Task WatchNotifications(DistributedApplication app, string? resourceName, Predicate<string> predicate, TaskCompletionSource tcs, CancellationTokenSource cancellationTokenSource) 160private static async Task WatchResourceLogs(TaskCompletionSource tcs, string resourceId, Predicate<string> predicate, ResourceLoggerService resourceLoggerService, CancellationTokenSource cancellationTokenSource)
GenerateDocumentationAndConfigFiles (79)
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (1)
825public static readonly Predicate<T> True = t => true;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (25)
222/// <inheritdoc cref="ImmutableList{T}.Exists(Predicate{T})"/> 223public bool Exists(Predicate<T> match) 226/// <inheritdoc cref="ImmutableList{T}.Find(Predicate{T})"/> 227public T? Find(Predicate<T> match) 230/// <inheritdoc cref="ImmutableList{T}.FindAll(Predicate{T})"/> 231public ImmutableSegmentedList<T> FindAll(Predicate<T> match) 234/// <inheritdoc cref="ImmutableList{T}.FindIndex(Predicate{T})"/> 235public int FindIndex(Predicate<T> match) 238/// <inheritdoc cref="ImmutableList{T}.FindIndex(int, Predicate{T})"/> 239public int FindIndex(int startIndex, Predicate<T> match) 242/// <inheritdoc cref="ImmutableList{T}.FindIndex(int, int, Predicate{T})"/> 243public int FindIndex(int startIndex, int count, Predicate<T> match) 246/// <inheritdoc cref="ImmutableList{T}.FindLast(Predicate{T})"/> 247public T? FindLast(Predicate<T> match) 250/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(Predicate{T})"/> 251public int FindLastIndex(Predicate<T> match) 254/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(int, Predicate{T})"/> 255public int FindLastIndex(int startIndex, Predicate<T> match) 269/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(int, int, Predicate{T})"/> 270public int FindLastIndex(int startIndex, int count, Predicate<T> match) 384/// <inheritdoc cref="ImmutableList{T}.RemoveAll(Predicate{T})"/> 385public ImmutableSegmentedList<T> RemoveAll(Predicate<T> match) 599/// <inheritdoc cref="ImmutableList{T}.TrueForAll(Predicate{T})"/> 600public bool TrueForAll(Predicate<T> match) 621IImmutableList<T> IImmutableList<T>.RemoveAll(Predicate<T> match)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (24)
94/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Exists(Predicate{T})"/> 95public bool Exists(Predicate<T> match) 98/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Find(Predicate{T})"/> 99public T? Find(Predicate<T> match) 102/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindAll(Predicate{T})"/> 103public ImmutableSegmentedList<T> FindAll(Predicate<T> match) 106/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(Predicate{T})"/> 107public int FindIndex(Predicate<T> match) 110/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(int, Predicate{T})"/> 111public int FindIndex(int startIndex, Predicate<T> match) 114/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(int, int, Predicate{T})"/> 115public int FindIndex(int startIndex, int count, Predicate<T> match) 118/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLast(Predicate{T})"/> 119public T? FindLast(Predicate<T> match) 122/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(Predicate{T})"/> 123public int FindLastIndex(Predicate<T> match) 126/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(int, Predicate{T})"/> 127public int FindLastIndex(int startIndex, Predicate<T> match) 130/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(int, int, Predicate{T})"/> 131public int FindLastIndex(int startIndex, int count, Predicate<T> match) 187/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.RemoveAll(Predicate{T})"/> 188public int RemoveAll(Predicate<T> match) 222/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.TrueForAll(Predicate{T})"/> 223public bool TrueForAll(Predicate<T> match)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (12)
137public readonly bool Exists(Predicate<T> match) 140public readonly T? Find(Predicate<T> match) 143public readonly ImmutableSegmentedList<T> FindAll(Predicate<T> match) 146public readonly int FindIndex(Predicate<T> match) 149public readonly int FindIndex(int startIndex, Predicate<T> match) 152public readonly int FindIndex(int startIndex, int count, Predicate<T> match) 155public readonly T? FindLast(Predicate<T> match) 158public readonly int FindLastIndex(Predicate<T> match) 161public readonly int FindLastIndex(int startIndex, Predicate<T> match) 173public readonly int FindLastIndex(int startIndex, int count, Predicate<T> match) 273public int RemoveAll(Predicate<T> match) 332public readonly bool TrueForAll(Predicate<T> match)
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
834public int RemoveWhere(Predicate<T> match)
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (12)
573public bool Exists(Predicate<T> match) 576public T? Find(Predicate<T> match) 593public SegmentedList<T> FindAll(Predicate<T> match) 611public int FindIndex(Predicate<T> match) 614public int FindIndex(int startIndex, Predicate<T> match) 617public int FindIndex(int startIndex, int count, Predicate<T> match) 643public T? FindLast(Predicate<T> match) 660public int FindLastIndex(Predicate<T> match) 663public int FindLastIndex(int startIndex, Predicate<T> match) 666public int FindLastIndex(int startIndex, int count, Predicate<T> match) 1086public int RemoveAll(Predicate<T> match) 1302public bool TrueForAll(Predicate<T> match)
src\Dependencies\PooledObjects\ArrayBuilder.cs (4)
214public int FindIndex(Predicate<T> match) 217public int FindIndex(int startIndex, Predicate<T> match) 220public int FindIndex(int startIndex, int count, Predicate<T> match) 274public void RemoveAll(Predicate<T> match)
illink (1)
InMemory.FunctionalTests (1)
BadHttpRequestTests.cs (1)
301private static readonly Predicate<string> IsEnabled = (provider) => provider switch
Metrics (79)
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (1)
825public static readonly Predicate<T> True = t => true;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (25)
222/// <inheritdoc cref="ImmutableList{T}.Exists(Predicate{T})"/> 223public bool Exists(Predicate<T> match) 226/// <inheritdoc cref="ImmutableList{T}.Find(Predicate{T})"/> 227public T? Find(Predicate<T> match) 230/// <inheritdoc cref="ImmutableList{T}.FindAll(Predicate{T})"/> 231public ImmutableSegmentedList<T> FindAll(Predicate<T> match) 234/// <inheritdoc cref="ImmutableList{T}.FindIndex(Predicate{T})"/> 235public int FindIndex(Predicate<T> match) 238/// <inheritdoc cref="ImmutableList{T}.FindIndex(int, Predicate{T})"/> 239public int FindIndex(int startIndex, Predicate<T> match) 242/// <inheritdoc cref="ImmutableList{T}.FindIndex(int, int, Predicate{T})"/> 243public int FindIndex(int startIndex, int count, Predicate<T> match) 246/// <inheritdoc cref="ImmutableList{T}.FindLast(Predicate{T})"/> 247public T? FindLast(Predicate<T> match) 250/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(Predicate{T})"/> 251public int FindLastIndex(Predicate<T> match) 254/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(int, Predicate{T})"/> 255public int FindLastIndex(int startIndex, Predicate<T> match) 269/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(int, int, Predicate{T})"/> 270public int FindLastIndex(int startIndex, int count, Predicate<T> match) 384/// <inheritdoc cref="ImmutableList{T}.RemoveAll(Predicate{T})"/> 385public ImmutableSegmentedList<T> RemoveAll(Predicate<T> match) 599/// <inheritdoc cref="ImmutableList{T}.TrueForAll(Predicate{T})"/> 600public bool TrueForAll(Predicate<T> match) 621IImmutableList<T> IImmutableList<T>.RemoveAll(Predicate<T> match)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (24)
94/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Exists(Predicate{T})"/> 95public bool Exists(Predicate<T> match) 98/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Find(Predicate{T})"/> 99public T? Find(Predicate<T> match) 102/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindAll(Predicate{T})"/> 103public ImmutableSegmentedList<T> FindAll(Predicate<T> match) 106/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(Predicate{T})"/> 107public int FindIndex(Predicate<T> match) 110/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(int, Predicate{T})"/> 111public int FindIndex(int startIndex, Predicate<T> match) 114/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(int, int, Predicate{T})"/> 115public int FindIndex(int startIndex, int count, Predicate<T> match) 118/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLast(Predicate{T})"/> 119public T? FindLast(Predicate<T> match) 122/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(Predicate{T})"/> 123public int FindLastIndex(Predicate<T> match) 126/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(int, Predicate{T})"/> 127public int FindLastIndex(int startIndex, Predicate<T> match) 130/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(int, int, Predicate{T})"/> 131public int FindLastIndex(int startIndex, int count, Predicate<T> match) 187/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.RemoveAll(Predicate{T})"/> 188public int RemoveAll(Predicate<T> match) 222/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.TrueForAll(Predicate{T})"/> 223public bool TrueForAll(Predicate<T> match)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (12)
137public readonly bool Exists(Predicate<T> match) 140public readonly T? Find(Predicate<T> match) 143public readonly ImmutableSegmentedList<T> FindAll(Predicate<T> match) 146public readonly int FindIndex(Predicate<T> match) 149public readonly int FindIndex(int startIndex, Predicate<T> match) 152public readonly int FindIndex(int startIndex, int count, Predicate<T> match) 155public readonly T? FindLast(Predicate<T> match) 158public readonly int FindLastIndex(Predicate<T> match) 161public readonly int FindLastIndex(int startIndex, Predicate<T> match) 173public readonly int FindLastIndex(int startIndex, int count, Predicate<T> match) 273public int RemoveAll(Predicate<T> match) 332public readonly bool TrueForAll(Predicate<T> match)
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
834public int RemoveWhere(Predicate<T> match)
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (12)
573public bool Exists(Predicate<T> match) 576public T? Find(Predicate<T> match) 593public SegmentedList<T> FindAll(Predicate<T> match) 611public int FindIndex(Predicate<T> match) 614public int FindIndex(int startIndex, Predicate<T> match) 617public int FindIndex(int startIndex, int count, Predicate<T> match) 643public T? FindLast(Predicate<T> match) 660public int FindLastIndex(Predicate<T> match) 663public int FindLastIndex(int startIndex, Predicate<T> match) 666public int FindLastIndex(int startIndex, int count, Predicate<T> match) 1086public int RemoveAll(Predicate<T> match) 1302public bool TrueForAll(Predicate<T> match)
src\Dependencies\PooledObjects\ArrayBuilder.cs (4)
214public int FindIndex(Predicate<T> match) 217public int FindIndex(int startIndex, Predicate<T> match) 220public int FindIndex(int startIndex, int count, Predicate<T> match) 274public void RemoveAll(Predicate<T> match)
Metrics.Legacy (79)
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (1)
825public static readonly Predicate<T> True = t => true;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (25)
222/// <inheritdoc cref="ImmutableList{T}.Exists(Predicate{T})"/> 223public bool Exists(Predicate<T> match) 226/// <inheritdoc cref="ImmutableList{T}.Find(Predicate{T})"/> 227public T? Find(Predicate<T> match) 230/// <inheritdoc cref="ImmutableList{T}.FindAll(Predicate{T})"/> 231public ImmutableSegmentedList<T> FindAll(Predicate<T> match) 234/// <inheritdoc cref="ImmutableList{T}.FindIndex(Predicate{T})"/> 235public int FindIndex(Predicate<T> match) 238/// <inheritdoc cref="ImmutableList{T}.FindIndex(int, Predicate{T})"/> 239public int FindIndex(int startIndex, Predicate<T> match) 242/// <inheritdoc cref="ImmutableList{T}.FindIndex(int, int, Predicate{T})"/> 243public int FindIndex(int startIndex, int count, Predicate<T> match) 246/// <inheritdoc cref="ImmutableList{T}.FindLast(Predicate{T})"/> 247public T? FindLast(Predicate<T> match) 250/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(Predicate{T})"/> 251public int FindLastIndex(Predicate<T> match) 254/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(int, Predicate{T})"/> 255public int FindLastIndex(int startIndex, Predicate<T> match) 269/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(int, int, Predicate{T})"/> 270public int FindLastIndex(int startIndex, int count, Predicate<T> match) 384/// <inheritdoc cref="ImmutableList{T}.RemoveAll(Predicate{T})"/> 385public ImmutableSegmentedList<T> RemoveAll(Predicate<T> match) 599/// <inheritdoc cref="ImmutableList{T}.TrueForAll(Predicate{T})"/> 600public bool TrueForAll(Predicate<T> match) 621IImmutableList<T> IImmutableList<T>.RemoveAll(Predicate<T> match)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (24)
94/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Exists(Predicate{T})"/> 95public bool Exists(Predicate<T> match) 98/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Find(Predicate{T})"/> 99public T? Find(Predicate<T> match) 102/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindAll(Predicate{T})"/> 103public ImmutableSegmentedList<T> FindAll(Predicate<T> match) 106/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(Predicate{T})"/> 107public int FindIndex(Predicate<T> match) 110/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(int, Predicate{T})"/> 111public int FindIndex(int startIndex, Predicate<T> match) 114/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(int, int, Predicate{T})"/> 115public int FindIndex(int startIndex, int count, Predicate<T> match) 118/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLast(Predicate{T})"/> 119public T? FindLast(Predicate<T> match) 122/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(Predicate{T})"/> 123public int FindLastIndex(Predicate<T> match) 126/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(int, Predicate{T})"/> 127public int FindLastIndex(int startIndex, Predicate<T> match) 130/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(int, int, Predicate{T})"/> 131public int FindLastIndex(int startIndex, int count, Predicate<T> match) 187/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.RemoveAll(Predicate{T})"/> 188public int RemoveAll(Predicate<T> match) 222/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.TrueForAll(Predicate{T})"/> 223public bool TrueForAll(Predicate<T> match)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (12)
137public readonly bool Exists(Predicate<T> match) 140public readonly T? Find(Predicate<T> match) 143public readonly ImmutableSegmentedList<T> FindAll(Predicate<T> match) 146public readonly int FindIndex(Predicate<T> match) 149public readonly int FindIndex(int startIndex, Predicate<T> match) 152public readonly int FindIndex(int startIndex, int count, Predicate<T> match) 155public readonly T? FindLast(Predicate<T> match) 158public readonly int FindLastIndex(Predicate<T> match) 161public readonly int FindLastIndex(int startIndex, Predicate<T> match) 173public readonly int FindLastIndex(int startIndex, int count, Predicate<T> match) 273public int RemoveAll(Predicate<T> match) 332public readonly bool TrueForAll(Predicate<T> match)
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
834public int RemoveWhere(Predicate<T> match)
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (12)
573public bool Exists(Predicate<T> match) 576public T? Find(Predicate<T> match) 593public SegmentedList<T> FindAll(Predicate<T> match) 611public int FindIndex(Predicate<T> match) 614public int FindIndex(int startIndex, Predicate<T> match) 617public int FindIndex(int startIndex, int count, Predicate<T> match) 643public T? FindLast(Predicate<T> match) 660public int FindLastIndex(Predicate<T> match) 663public int FindLastIndex(int startIndex, Predicate<T> match) 666public int FindLastIndex(int startIndex, int count, Predicate<T> match) 1086public int RemoveAll(Predicate<T> match) 1302public bool TrueForAll(Predicate<T> match)
src\Dependencies\PooledObjects\ArrayBuilder.cs (4)
214public int FindIndex(Predicate<T> match) 217public int FindIndex(int startIndex, Predicate<T> match) 220public int FindIndex(int startIndex, int count, Predicate<T> match) 274public void RemoveAll(Predicate<T> match)
Microsoft.CodeAnalysis (81)
Compilation\Compilation.cs (2)
2489Predicate<ISymbolInternal>? filterOpt, 2614Predicate<ISymbolInternal>? filterOpt,
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (1)
825public static readonly Predicate<T> True = t => true;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (25)
222/// <inheritdoc cref="ImmutableList{T}.Exists(Predicate{T})"/> 223public bool Exists(Predicate<T> match) 226/// <inheritdoc cref="ImmutableList{T}.Find(Predicate{T})"/> 227public T? Find(Predicate<T> match) 230/// <inheritdoc cref="ImmutableList{T}.FindAll(Predicate{T})"/> 231public ImmutableSegmentedList<T> FindAll(Predicate<T> match) 234/// <inheritdoc cref="ImmutableList{T}.FindIndex(Predicate{T})"/> 235public int FindIndex(Predicate<T> match) 238/// <inheritdoc cref="ImmutableList{T}.FindIndex(int, Predicate{T})"/> 239public int FindIndex(int startIndex, Predicate<T> match) 242/// <inheritdoc cref="ImmutableList{T}.FindIndex(int, int, Predicate{T})"/> 243public int FindIndex(int startIndex, int count, Predicate<T> match) 246/// <inheritdoc cref="ImmutableList{T}.FindLast(Predicate{T})"/> 247public T? FindLast(Predicate<T> match) 250/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(Predicate{T})"/> 251public int FindLastIndex(Predicate<T> match) 254/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(int, Predicate{T})"/> 255public int FindLastIndex(int startIndex, Predicate<T> match) 269/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(int, int, Predicate{T})"/> 270public int FindLastIndex(int startIndex, int count, Predicate<T> match) 384/// <inheritdoc cref="ImmutableList{T}.RemoveAll(Predicate{T})"/> 385public ImmutableSegmentedList<T> RemoveAll(Predicate<T> match) 599/// <inheritdoc cref="ImmutableList{T}.TrueForAll(Predicate{T})"/> 600public bool TrueForAll(Predicate<T> match) 621IImmutableList<T> IImmutableList<T>.RemoveAll(Predicate<T> match)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (24)
94/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Exists(Predicate{T})"/> 95public bool Exists(Predicate<T> match) 98/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Find(Predicate{T})"/> 99public T? Find(Predicate<T> match) 102/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindAll(Predicate{T})"/> 103public ImmutableSegmentedList<T> FindAll(Predicate<T> match) 106/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(Predicate{T})"/> 107public int FindIndex(Predicate<T> match) 110/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(int, Predicate{T})"/> 111public int FindIndex(int startIndex, Predicate<T> match) 114/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(int, int, Predicate{T})"/> 115public int FindIndex(int startIndex, int count, Predicate<T> match) 118/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLast(Predicate{T})"/> 119public T? FindLast(Predicate<T> match) 122/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(Predicate{T})"/> 123public int FindLastIndex(Predicate<T> match) 126/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(int, Predicate{T})"/> 127public int FindLastIndex(int startIndex, Predicate<T> match) 130/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(int, int, Predicate{T})"/> 131public int FindLastIndex(int startIndex, int count, Predicate<T> match) 187/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.RemoveAll(Predicate{T})"/> 188public int RemoveAll(Predicate<T> match) 222/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.TrueForAll(Predicate{T})"/> 223public bool TrueForAll(Predicate<T> match)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (12)
137public readonly bool Exists(Predicate<T> match) 140public readonly T? Find(Predicate<T> match) 143public readonly ImmutableSegmentedList<T> FindAll(Predicate<T> match) 146public readonly int FindIndex(Predicate<T> match) 149public readonly int FindIndex(int startIndex, Predicate<T> match) 152public readonly int FindIndex(int startIndex, int count, Predicate<T> match) 155public readonly T? FindLast(Predicate<T> match) 158public readonly int FindLastIndex(Predicate<T> match) 161public readonly int FindLastIndex(int startIndex, Predicate<T> match) 173public readonly int FindLastIndex(int startIndex, int count, Predicate<T> match) 273public int RemoveAll(Predicate<T> match) 332public readonly bool TrueForAll(Predicate<T> match)
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
834public int RemoveWhere(Predicate<T> match)
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (12)
573public bool Exists(Predicate<T> match) 576public T? Find(Predicate<T> match) 593public SegmentedList<T> FindAll(Predicate<T> match) 611public int FindIndex(Predicate<T> match) 614public int FindIndex(int startIndex, Predicate<T> match) 617public int FindIndex(int startIndex, int count, Predicate<T> match) 643public T? FindLast(Predicate<T> match) 660public int FindLastIndex(Predicate<T> match) 663public int FindLastIndex(int startIndex, Predicate<T> match) 666public int FindLastIndex(int startIndex, int count, Predicate<T> match) 1086public int RemoveAll(Predicate<T> match) 1302public bool TrueForAll(Predicate<T> match)
src\Dependencies\PooledObjects\ArrayBuilder.cs (4)
214public int FindIndex(Predicate<T> match) 217public int FindIndex(int startIndex, Predicate<T> match) 220public int FindIndex(int startIndex, int count, Predicate<T> match) 274public void RemoveAll(Predicate<T> match)
Microsoft.CodeAnalysis.Analyzers (79)
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (1)
825public static readonly Predicate<T> True = t => true;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (25)
222/// <inheritdoc cref="ImmutableList{T}.Exists(Predicate{T})"/> 223public bool Exists(Predicate<T> match) 226/// <inheritdoc cref="ImmutableList{T}.Find(Predicate{T})"/> 227public T? Find(Predicate<T> match) 230/// <inheritdoc cref="ImmutableList{T}.FindAll(Predicate{T})"/> 231public ImmutableSegmentedList<T> FindAll(Predicate<T> match) 234/// <inheritdoc cref="ImmutableList{T}.FindIndex(Predicate{T})"/> 235public int FindIndex(Predicate<T> match) 238/// <inheritdoc cref="ImmutableList{T}.FindIndex(int, Predicate{T})"/> 239public int FindIndex(int startIndex, Predicate<T> match) 242/// <inheritdoc cref="ImmutableList{T}.FindIndex(int, int, Predicate{T})"/> 243public int FindIndex(int startIndex, int count, Predicate<T> match) 246/// <inheritdoc cref="ImmutableList{T}.FindLast(Predicate{T})"/> 247public T? FindLast(Predicate<T> match) 250/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(Predicate{T})"/> 251public int FindLastIndex(Predicate<T> match) 254/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(int, Predicate{T})"/> 255public int FindLastIndex(int startIndex, Predicate<T> match) 269/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(int, int, Predicate{T})"/> 270public int FindLastIndex(int startIndex, int count, Predicate<T> match) 384/// <inheritdoc cref="ImmutableList{T}.RemoveAll(Predicate{T})"/> 385public ImmutableSegmentedList<T> RemoveAll(Predicate<T> match) 599/// <inheritdoc cref="ImmutableList{T}.TrueForAll(Predicate{T})"/> 600public bool TrueForAll(Predicate<T> match) 621IImmutableList<T> IImmutableList<T>.RemoveAll(Predicate<T> match)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (24)
94/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Exists(Predicate{T})"/> 95public bool Exists(Predicate<T> match) 98/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Find(Predicate{T})"/> 99public T? Find(Predicate<T> match) 102/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindAll(Predicate{T})"/> 103public ImmutableSegmentedList<T> FindAll(Predicate<T> match) 106/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(Predicate{T})"/> 107public int FindIndex(Predicate<T> match) 110/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(int, Predicate{T})"/> 111public int FindIndex(int startIndex, Predicate<T> match) 114/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(int, int, Predicate{T})"/> 115public int FindIndex(int startIndex, int count, Predicate<T> match) 118/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLast(Predicate{T})"/> 119public T? FindLast(Predicate<T> match) 122/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(Predicate{T})"/> 123public int FindLastIndex(Predicate<T> match) 126/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(int, Predicate{T})"/> 127public int FindLastIndex(int startIndex, Predicate<T> match) 130/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(int, int, Predicate{T})"/> 131public int FindLastIndex(int startIndex, int count, Predicate<T> match) 187/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.RemoveAll(Predicate{T})"/> 188public int RemoveAll(Predicate<T> match) 222/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.TrueForAll(Predicate{T})"/> 223public bool TrueForAll(Predicate<T> match)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (12)
137public readonly bool Exists(Predicate<T> match) 140public readonly T? Find(Predicate<T> match) 143public readonly ImmutableSegmentedList<T> FindAll(Predicate<T> match) 146public readonly int FindIndex(Predicate<T> match) 149public readonly int FindIndex(int startIndex, Predicate<T> match) 152public readonly int FindIndex(int startIndex, int count, Predicate<T> match) 155public readonly T? FindLast(Predicate<T> match) 158public readonly int FindLastIndex(Predicate<T> match) 161public readonly int FindLastIndex(int startIndex, Predicate<T> match) 173public readonly int FindLastIndex(int startIndex, int count, Predicate<T> match) 273public int RemoveAll(Predicate<T> match) 332public readonly bool TrueForAll(Predicate<T> match)
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
834public int RemoveWhere(Predicate<T> match)
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (12)
573public bool Exists(Predicate<T> match) 576public T? Find(Predicate<T> match) 593public SegmentedList<T> FindAll(Predicate<T> match) 611public int FindIndex(Predicate<T> match) 614public int FindIndex(int startIndex, Predicate<T> match) 617public int FindIndex(int startIndex, int count, Predicate<T> match) 643public T? FindLast(Predicate<T> match) 660public int FindLastIndex(Predicate<T> match) 663public int FindLastIndex(int startIndex, Predicate<T> match) 666public int FindLastIndex(int startIndex, int count, Predicate<T> match) 1086public int RemoveAll(Predicate<T> match) 1302public bool TrueForAll(Predicate<T> match)
src\Dependencies\PooledObjects\ArrayBuilder.cs (4)
214public int FindIndex(Predicate<T> match) 217public int FindIndex(int startIndex, Predicate<T> match) 220public int FindIndex(int startIndex, int count, Predicate<T> match) 274public void RemoveAll(Predicate<T> match)
Microsoft.CodeAnalysis.AnalyzerUtilities (79)
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (1)
825public static readonly Predicate<T> True = t => true;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (25)
222/// <inheritdoc cref="ImmutableList{T}.Exists(Predicate{T})"/> 223public bool Exists(Predicate<T> match) 226/// <inheritdoc cref="ImmutableList{T}.Find(Predicate{T})"/> 227public T? Find(Predicate<T> match) 230/// <inheritdoc cref="ImmutableList{T}.FindAll(Predicate{T})"/> 231public ImmutableSegmentedList<T> FindAll(Predicate<T> match) 234/// <inheritdoc cref="ImmutableList{T}.FindIndex(Predicate{T})"/> 235public int FindIndex(Predicate<T> match) 238/// <inheritdoc cref="ImmutableList{T}.FindIndex(int, Predicate{T})"/> 239public int FindIndex(int startIndex, Predicate<T> match) 242/// <inheritdoc cref="ImmutableList{T}.FindIndex(int, int, Predicate{T})"/> 243public int FindIndex(int startIndex, int count, Predicate<T> match) 246/// <inheritdoc cref="ImmutableList{T}.FindLast(Predicate{T})"/> 247public T? FindLast(Predicate<T> match) 250/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(Predicate{T})"/> 251public int FindLastIndex(Predicate<T> match) 254/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(int, Predicate{T})"/> 255public int FindLastIndex(int startIndex, Predicate<T> match) 269/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(int, int, Predicate{T})"/> 270public int FindLastIndex(int startIndex, int count, Predicate<T> match) 384/// <inheritdoc cref="ImmutableList{T}.RemoveAll(Predicate{T})"/> 385public ImmutableSegmentedList<T> RemoveAll(Predicate<T> match) 599/// <inheritdoc cref="ImmutableList{T}.TrueForAll(Predicate{T})"/> 600public bool TrueForAll(Predicate<T> match) 621IImmutableList<T> IImmutableList<T>.RemoveAll(Predicate<T> match)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (24)
94/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Exists(Predicate{T})"/> 95public bool Exists(Predicate<T> match) 98/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Find(Predicate{T})"/> 99public T? Find(Predicate<T> match) 102/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindAll(Predicate{T})"/> 103public ImmutableSegmentedList<T> FindAll(Predicate<T> match) 106/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(Predicate{T})"/> 107public int FindIndex(Predicate<T> match) 110/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(int, Predicate{T})"/> 111public int FindIndex(int startIndex, Predicate<T> match) 114/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(int, int, Predicate{T})"/> 115public int FindIndex(int startIndex, int count, Predicate<T> match) 118/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLast(Predicate{T})"/> 119public T? FindLast(Predicate<T> match) 122/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(Predicate{T})"/> 123public int FindLastIndex(Predicate<T> match) 126/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(int, Predicate{T})"/> 127public int FindLastIndex(int startIndex, Predicate<T> match) 130/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(int, int, Predicate{T})"/> 131public int FindLastIndex(int startIndex, int count, Predicate<T> match) 187/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.RemoveAll(Predicate{T})"/> 188public int RemoveAll(Predicate<T> match) 222/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.TrueForAll(Predicate{T})"/> 223public bool TrueForAll(Predicate<T> match)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (12)
137public readonly bool Exists(Predicate<T> match) 140public readonly T? Find(Predicate<T> match) 143public readonly ImmutableSegmentedList<T> FindAll(Predicate<T> match) 146public readonly int FindIndex(Predicate<T> match) 149public readonly int FindIndex(int startIndex, Predicate<T> match) 152public readonly int FindIndex(int startIndex, int count, Predicate<T> match) 155public readonly T? FindLast(Predicate<T> match) 158public readonly int FindLastIndex(Predicate<T> match) 161public readonly int FindLastIndex(int startIndex, Predicate<T> match) 173public readonly int FindLastIndex(int startIndex, int count, Predicate<T> match) 273public int RemoveAll(Predicate<T> match) 332public readonly bool TrueForAll(Predicate<T> match)
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
834public int RemoveWhere(Predicate<T> match)
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (12)
573public bool Exists(Predicate<T> match) 576public T? Find(Predicate<T> match) 593public SegmentedList<T> FindAll(Predicate<T> match) 611public int FindIndex(Predicate<T> match) 614public int FindIndex(int startIndex, Predicate<T> match) 617public int FindIndex(int startIndex, int count, Predicate<T> match) 643public T? FindLast(Predicate<T> match) 660public int FindLastIndex(Predicate<T> match) 663public int FindLastIndex(int startIndex, Predicate<T> match) 666public int FindLastIndex(int startIndex, int count, Predicate<T> match) 1086public int RemoveAll(Predicate<T> match) 1302public bool TrueForAll(Predicate<T> match)
src\Dependencies\PooledObjects\ArrayBuilder.cs (4)
214public int FindIndex(Predicate<T> match) 217public int FindIndex(int startIndex, Predicate<T> match) 220public int FindIndex(int startIndex, int count, Predicate<T> match) 274public void RemoveAll(Predicate<T> match)
Microsoft.CodeAnalysis.BannedApiAnalyzers (79)
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (1)
825public static readonly Predicate<T> True = t => true;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (25)
222/// <inheritdoc cref="ImmutableList{T}.Exists(Predicate{T})"/> 223public bool Exists(Predicate<T> match) 226/// <inheritdoc cref="ImmutableList{T}.Find(Predicate{T})"/> 227public T? Find(Predicate<T> match) 230/// <inheritdoc cref="ImmutableList{T}.FindAll(Predicate{T})"/> 231public ImmutableSegmentedList<T> FindAll(Predicate<T> match) 234/// <inheritdoc cref="ImmutableList{T}.FindIndex(Predicate{T})"/> 235public int FindIndex(Predicate<T> match) 238/// <inheritdoc cref="ImmutableList{T}.FindIndex(int, Predicate{T})"/> 239public int FindIndex(int startIndex, Predicate<T> match) 242/// <inheritdoc cref="ImmutableList{T}.FindIndex(int, int, Predicate{T})"/> 243public int FindIndex(int startIndex, int count, Predicate<T> match) 246/// <inheritdoc cref="ImmutableList{T}.FindLast(Predicate{T})"/> 247public T? FindLast(Predicate<T> match) 250/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(Predicate{T})"/> 251public int FindLastIndex(Predicate<T> match) 254/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(int, Predicate{T})"/> 255public int FindLastIndex(int startIndex, Predicate<T> match) 269/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(int, int, Predicate{T})"/> 270public int FindLastIndex(int startIndex, int count, Predicate<T> match) 384/// <inheritdoc cref="ImmutableList{T}.RemoveAll(Predicate{T})"/> 385public ImmutableSegmentedList<T> RemoveAll(Predicate<T> match) 599/// <inheritdoc cref="ImmutableList{T}.TrueForAll(Predicate{T})"/> 600public bool TrueForAll(Predicate<T> match) 621IImmutableList<T> IImmutableList<T>.RemoveAll(Predicate<T> match)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (24)
94/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Exists(Predicate{T})"/> 95public bool Exists(Predicate<T> match) 98/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Find(Predicate{T})"/> 99public T? Find(Predicate<T> match) 102/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindAll(Predicate{T})"/> 103public ImmutableSegmentedList<T> FindAll(Predicate<T> match) 106/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(Predicate{T})"/> 107public int FindIndex(Predicate<T> match) 110/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(int, Predicate{T})"/> 111public int FindIndex(int startIndex, Predicate<T> match) 114/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(int, int, Predicate{T})"/> 115public int FindIndex(int startIndex, int count, Predicate<T> match) 118/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLast(Predicate{T})"/> 119public T? FindLast(Predicate<T> match) 122/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(Predicate{T})"/> 123public int FindLastIndex(Predicate<T> match) 126/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(int, Predicate{T})"/> 127public int FindLastIndex(int startIndex, Predicate<T> match) 130/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(int, int, Predicate{T})"/> 131public int FindLastIndex(int startIndex, int count, Predicate<T> match) 187/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.RemoveAll(Predicate{T})"/> 188public int RemoveAll(Predicate<T> match) 222/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.TrueForAll(Predicate{T})"/> 223public bool TrueForAll(Predicate<T> match)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (12)
137public readonly bool Exists(Predicate<T> match) 140public readonly T? Find(Predicate<T> match) 143public readonly ImmutableSegmentedList<T> FindAll(Predicate<T> match) 146public readonly int FindIndex(Predicate<T> match) 149public readonly int FindIndex(int startIndex, Predicate<T> match) 152public readonly int FindIndex(int startIndex, int count, Predicate<T> match) 155public readonly T? FindLast(Predicate<T> match) 158public readonly int FindLastIndex(Predicate<T> match) 161public readonly int FindLastIndex(int startIndex, Predicate<T> match) 173public readonly int FindLastIndex(int startIndex, int count, Predicate<T> match) 273public int RemoveAll(Predicate<T> match) 332public readonly bool TrueForAll(Predicate<T> match)
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
834public int RemoveWhere(Predicate<T> match)
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (12)
573public bool Exists(Predicate<T> match) 576public T? Find(Predicate<T> match) 593public SegmentedList<T> FindAll(Predicate<T> match) 611public int FindIndex(Predicate<T> match) 614public int FindIndex(int startIndex, Predicate<T> match) 617public int FindIndex(int startIndex, int count, Predicate<T> match) 643public T? FindLast(Predicate<T> match) 660public int FindLastIndex(Predicate<T> match) 663public int FindLastIndex(int startIndex, Predicate<T> match) 666public int FindLastIndex(int startIndex, int count, Predicate<T> match) 1086public int RemoveAll(Predicate<T> match) 1302public bool TrueForAll(Predicate<T> match)
src\Dependencies\PooledObjects\ArrayBuilder.cs (4)
214public int FindIndex(Predicate<T> match) 217public int FindIndex(int startIndex, Predicate<T> match) 220public int FindIndex(int startIndex, int count, Predicate<T> match) 274public void RemoveAll(Predicate<T> match)
Microsoft.CodeAnalysis.CodeStyle (79)
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (1)
825public static readonly Predicate<T> True = t => true;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (25)
222/// <inheritdoc cref="ImmutableList{T}.Exists(Predicate{T})"/> 223public bool Exists(Predicate<T> match) 226/// <inheritdoc cref="ImmutableList{T}.Find(Predicate{T})"/> 227public T? Find(Predicate<T> match) 230/// <inheritdoc cref="ImmutableList{T}.FindAll(Predicate{T})"/> 231public ImmutableSegmentedList<T> FindAll(Predicate<T> match) 234/// <inheritdoc cref="ImmutableList{T}.FindIndex(Predicate{T})"/> 235public int FindIndex(Predicate<T> match) 238/// <inheritdoc cref="ImmutableList{T}.FindIndex(int, Predicate{T})"/> 239public int FindIndex(int startIndex, Predicate<T> match) 242/// <inheritdoc cref="ImmutableList{T}.FindIndex(int, int, Predicate{T})"/> 243public int FindIndex(int startIndex, int count, Predicate<T> match) 246/// <inheritdoc cref="ImmutableList{T}.FindLast(Predicate{T})"/> 247public T? FindLast(Predicate<T> match) 250/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(Predicate{T})"/> 251public int FindLastIndex(Predicate<T> match) 254/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(int, Predicate{T})"/> 255public int FindLastIndex(int startIndex, Predicate<T> match) 269/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(int, int, Predicate{T})"/> 270public int FindLastIndex(int startIndex, int count, Predicate<T> match) 384/// <inheritdoc cref="ImmutableList{T}.RemoveAll(Predicate{T})"/> 385public ImmutableSegmentedList<T> RemoveAll(Predicate<T> match) 599/// <inheritdoc cref="ImmutableList{T}.TrueForAll(Predicate{T})"/> 600public bool TrueForAll(Predicate<T> match) 621IImmutableList<T> IImmutableList<T>.RemoveAll(Predicate<T> match)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (24)
94/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Exists(Predicate{T})"/> 95public bool Exists(Predicate<T> match) 98/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Find(Predicate{T})"/> 99public T? Find(Predicate<T> match) 102/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindAll(Predicate{T})"/> 103public ImmutableSegmentedList<T> FindAll(Predicate<T> match) 106/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(Predicate{T})"/> 107public int FindIndex(Predicate<T> match) 110/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(int, Predicate{T})"/> 111public int FindIndex(int startIndex, Predicate<T> match) 114/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(int, int, Predicate{T})"/> 115public int FindIndex(int startIndex, int count, Predicate<T> match) 118/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLast(Predicate{T})"/> 119public T? FindLast(Predicate<T> match) 122/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(Predicate{T})"/> 123public int FindLastIndex(Predicate<T> match) 126/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(int, Predicate{T})"/> 127public int FindLastIndex(int startIndex, Predicate<T> match) 130/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(int, int, Predicate{T})"/> 131public int FindLastIndex(int startIndex, int count, Predicate<T> match) 187/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.RemoveAll(Predicate{T})"/> 188public int RemoveAll(Predicate<T> match) 222/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.TrueForAll(Predicate{T})"/> 223public bool TrueForAll(Predicate<T> match)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (12)
137public readonly bool Exists(Predicate<T> match) 140public readonly T? Find(Predicate<T> match) 143public readonly ImmutableSegmentedList<T> FindAll(Predicate<T> match) 146public readonly int FindIndex(Predicate<T> match) 149public readonly int FindIndex(int startIndex, Predicate<T> match) 152public readonly int FindIndex(int startIndex, int count, Predicate<T> match) 155public readonly T? FindLast(Predicate<T> match) 158public readonly int FindLastIndex(Predicate<T> match) 161public readonly int FindLastIndex(int startIndex, Predicate<T> match) 173public readonly int FindLastIndex(int startIndex, int count, Predicate<T> match) 273public int RemoveAll(Predicate<T> match) 332public readonly bool TrueForAll(Predicate<T> match)
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
834public int RemoveWhere(Predicate<T> match)
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (12)
573public bool Exists(Predicate<T> match) 576public T? Find(Predicate<T> match) 593public SegmentedList<T> FindAll(Predicate<T> match) 611public int FindIndex(Predicate<T> match) 614public int FindIndex(int startIndex, Predicate<T> match) 617public int FindIndex(int startIndex, int count, Predicate<T> match) 643public T? FindLast(Predicate<T> match) 660public int FindLastIndex(Predicate<T> match) 663public int FindLastIndex(int startIndex, Predicate<T> match) 666public int FindLastIndex(int startIndex, int count, Predicate<T> match) 1086public int RemoveAll(Predicate<T> match) 1302public bool TrueForAll(Predicate<T> match)
src\Dependencies\PooledObjects\ArrayBuilder.cs (4)
214public int FindIndex(Predicate<T> match) 217public int FindIndex(int startIndex, Predicate<T> match) 220public int FindIndex(int startIndex, int count, Predicate<T> match) 274public void RemoveAll(Predicate<T> match)
Microsoft.CodeAnalysis.Collections.Package (79)
Extensions\IEnumerableExtensions.cs (1)
825public static readonly Predicate<T> True = t => true;
Segmented\ImmutableSegmentedList`1.cs (25)
222/// <inheritdoc cref="ImmutableList{T}.Exists(Predicate{T})"/> 223public bool Exists(Predicate<T> match) 226/// <inheritdoc cref="ImmutableList{T}.Find(Predicate{T})"/> 227public T? Find(Predicate<T> match) 230/// <inheritdoc cref="ImmutableList{T}.FindAll(Predicate{T})"/> 231public ImmutableSegmentedList<T> FindAll(Predicate<T> match) 234/// <inheritdoc cref="ImmutableList{T}.FindIndex(Predicate{T})"/> 235public int FindIndex(Predicate<T> match) 238/// <inheritdoc cref="ImmutableList{T}.FindIndex(int, Predicate{T})"/> 239public int FindIndex(int startIndex, Predicate<T> match) 242/// <inheritdoc cref="ImmutableList{T}.FindIndex(int, int, Predicate{T})"/> 243public int FindIndex(int startIndex, int count, Predicate<T> match) 246/// <inheritdoc cref="ImmutableList{T}.FindLast(Predicate{T})"/> 247public T? FindLast(Predicate<T> match) 250/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(Predicate{T})"/> 251public int FindLastIndex(Predicate<T> match) 254/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(int, Predicate{T})"/> 255public int FindLastIndex(int startIndex, Predicate<T> match) 269/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(int, int, Predicate{T})"/> 270public int FindLastIndex(int startIndex, int count, Predicate<T> match) 384/// <inheritdoc cref="ImmutableList{T}.RemoveAll(Predicate{T})"/> 385public ImmutableSegmentedList<T> RemoveAll(Predicate<T> match) 599/// <inheritdoc cref="ImmutableList{T}.TrueForAll(Predicate{T})"/> 600public bool TrueForAll(Predicate<T> match) 621IImmutableList<T> IImmutableList<T>.RemoveAll(Predicate<T> match)
Segmented\ImmutableSegmentedList`1+Builder.cs (24)
94/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Exists(Predicate{T})"/> 95public bool Exists(Predicate<T> match) 98/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Find(Predicate{T})"/> 99public T? Find(Predicate<T> match) 102/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindAll(Predicate{T})"/> 103public ImmutableSegmentedList<T> FindAll(Predicate<T> match) 106/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(Predicate{T})"/> 107public int FindIndex(Predicate<T> match) 110/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(int, Predicate{T})"/> 111public int FindIndex(int startIndex, Predicate<T> match) 114/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(int, int, Predicate{T})"/> 115public int FindIndex(int startIndex, int count, Predicate<T> match) 118/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLast(Predicate{T})"/> 119public T? FindLast(Predicate<T> match) 122/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(Predicate{T})"/> 123public int FindLastIndex(Predicate<T> match) 126/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(int, Predicate{T})"/> 127public int FindLastIndex(int startIndex, Predicate<T> match) 130/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(int, int, Predicate{T})"/> 131public int FindLastIndex(int startIndex, int count, Predicate<T> match) 187/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.RemoveAll(Predicate{T})"/> 188public int RemoveAll(Predicate<T> match) 222/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.TrueForAll(Predicate{T})"/> 223public bool TrueForAll(Predicate<T> match)
Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (12)
137public readonly bool Exists(Predicate<T> match) 140public readonly T? Find(Predicate<T> match) 143public readonly ImmutableSegmentedList<T> FindAll(Predicate<T> match) 146public readonly int FindIndex(Predicate<T> match) 149public readonly int FindIndex(int startIndex, Predicate<T> match) 152public readonly int FindIndex(int startIndex, int count, Predicate<T> match) 155public readonly T? FindLast(Predicate<T> match) 158public readonly int FindLastIndex(Predicate<T> match) 161public readonly int FindLastIndex(int startIndex, Predicate<T> match) 173public readonly int FindLastIndex(int startIndex, int count, Predicate<T> match) 273public int RemoveAll(Predicate<T> match) 332public readonly bool TrueForAll(Predicate<T> match)
Segmented\SegmentedHashSet`1.cs (1)
834public int RemoveWhere(Predicate<T> match)
Segmented\SegmentedList`1.cs (12)
573public bool Exists(Predicate<T> match) 576public T? Find(Predicate<T> match) 593public SegmentedList<T> FindAll(Predicate<T> match) 611public int FindIndex(Predicate<T> match) 614public int FindIndex(int startIndex, Predicate<T> match) 617public int FindIndex(int startIndex, int count, Predicate<T> match) 643public T? FindLast(Predicate<T> match) 660public int FindLastIndex(Predicate<T> match) 663public int FindLastIndex(int startIndex, Predicate<T> match) 666public int FindLastIndex(int startIndex, int count, Predicate<T> match) 1086public int RemoveAll(Predicate<T> match) 1302public bool TrueForAll(Predicate<T> match)
src\Dependencies\PooledObjects\ArrayBuilder.cs (4)
214public int FindIndex(Predicate<T> match) 217public int FindIndex(int startIndex, Predicate<T> match) 220public int FindIndex(int startIndex, int count, Predicate<T> match) 274public void RemoveAll(Predicate<T> match)
Microsoft.CodeAnalysis.CSharp (37)
Binder\Semantics\OverloadResolution\MethodTypeInference.cs (3)
2884Predicate<TypeWithAnnotations> lowerPredicate; 3373Predicate<TypeWithAnnotations>? predicate, 3417Predicate<TypeWithAnnotations>? predicate,
Compilation\CSharpCompilation.cs (7)
2972internal ImmutableArray<Diagnostic> GetDiagnostics(CompilationStage stage, bool includeEarlierStages, Predicate<ISymbolInternal>? symbolFilter, CancellationToken cancellationToken) 2982internal void GetDiagnostics(CompilationStage stage, bool includeEarlierStages, DiagnosticBag diagnostics, Predicate<ISymbolInternal>? symbolFilter, CancellationToken cancellationToken) 2995private void GetDiagnosticsWithoutSeverityFiltering(CompilationStage stage, bool includeEarlierStages, BindingDiagnosticBag builder, Predicate<Symbol>? symbolFilter, CancellationToken cancellationToken) 3233filterOpt: filterTree is object ? (Predicate<Symbol>?)(s => IsDefinedOrImplementedInSourceTree(s, filterTree, filterSpan)) : (Predicate<Symbol>?)null, 3275private ReadOnlyBindingDiagnostic<AssemblySymbol> GetSourceDeclarationDiagnostics(SyntaxTree? syntaxTree = null, TextSpan? filterSpanWithinTree = null, Func<IEnumerable<Diagnostic>, SyntaxTree, TextSpan?, IEnumerable<Diagnostic>>? locationFilterOpt = null, Predicate<Symbol>? symbolFilter = null, CancellationToken cancellationToken = default) 3524Predicate<ISymbolInternal>? filterOpt,
Compiler\MethodCompiler.cs (4)
38private readonly Predicate<Symbol>? _filterOpt; // If not null, limit analysis to specific symbols 88BindingDiagnosticBag diagnostics, Predicate<Symbol>? filterOpt, SynthesizedEntryPointSymbol.AsyncForwardEntryPoint? entryPointOpt, CancellationToken cancellationToken) 116Predicate<Symbol>? filterOpt, 2506private static bool PassesFilter(Predicate<Symbol> filterOpt, Symbol symbol)
Declarations\DeclarationTable.cs (3)
201private static readonly Predicate<Declaration> s_isNamespacePredicate = d => d.Kind == DeclarationKind.Namespace; 202private static readonly Predicate<Declaration> s_isTypePredicate = d => d.Kind != DeclarationKind.Namespace; 214private static ISet<string> GetNames(Declaration declaration, Predicate<Declaration> predicate)
Symbols\MergedNamespaceSymbol.cs (1)
119internal override void ForceComplete(SourceLocation locationOpt, Predicate<Symbol> filter, CancellationToken cancellationToken)
Symbols\Source\SourceAssemblySymbol.cs (1)
906internal override void ForceComplete(SourceLocation? locationOpt, Predicate<Symbol>? filter, CancellationToken cancellationToken)
Symbols\Source\SourceComplexParameterSymbol.cs (1)
1538internal override void ForceComplete(SourceLocation locationOpt, Predicate<Symbol> filter, CancellationToken cancellationToken)
Symbols\Source\SourceConstructorSymbol.cs (1)
266internal sealed override void ForceComplete(SourceLocation? locationOpt, Predicate<Symbol>? filter, CancellationToken cancellationToken)
Symbols\Source\SourceEnumConstantSymbol.cs (1)
101internal sealed override void ForceComplete(SourceLocation? locationOpt, Predicate<Symbol>? filter, CancellationToken cancellationToken)
Symbols\Source\SourceEventSymbol.cs (1)
76internal override void ForceComplete(SourceLocation? locationOpt, Predicate<Symbol>? filter, CancellationToken cancellationToken)
Symbols\Source\SourceFieldLikeEventSymbol.cs (1)
212internal override void ForceComplete(SourceLocation? locationOpt, Predicate<Symbol>? filter, CancellationToken cancellationToken)
Symbols\Source\SourceMemberContainerSymbol.cs (1)
549internal override void ForceComplete(SourceLocation? locationOpt, Predicate<Symbol>? filter, CancellationToken cancellationToken)
Symbols\Source\SourceMemberFieldSymbol.cs (1)
281internal sealed override void ForceComplete(SourceLocation? locationOpt, Predicate<Symbol>? filter, CancellationToken cancellationToken)
Symbols\Source\SourceMemberMethodSymbol.cs (1)
889internal override void ForceComplete(SourceLocation? locationOpt, Predicate<Symbol>? filter, CancellationToken cancellationToken)
Symbols\Source\SourceModuleSymbol.cs (1)
226internal override void ForceComplete(SourceLocation? locationOpt, Predicate<Symbol>? filter, CancellationToken cancellationToken)
Symbols\Source\SourceNamespaceSymbol_Completion.cs (1)
13internal override void ForceComplete(SourceLocation? locationOpt, Predicate<Symbol>? filter, CancellationToken cancellationToken)
Symbols\Source\SourceOrdinaryMethodSymbol.cs (1)
440internal sealed override void ForceComplete(SourceLocation locationOpt, Predicate<Symbol> filter, CancellationToken cancellationToken)
Symbols\Source\SourceParameterSymbol.cs (1)
173internal override void ForceComplete(SourceLocation locationOpt, Predicate<Symbol> filter, CancellationToken cancellationToken)
Symbols\Source\SourcePropertySymbol.cs (1)
167internal override void ForceComplete(SourceLocation? locationOpt, Predicate<Symbol>? filter, CancellationToken cancellationToken)
Symbols\Source\SourcePropertySymbolBase.cs (1)
1771internal override void ForceComplete(SourceLocation? locationOpt, Predicate<Symbol>? filter, CancellationToken cancellationToken)
Symbols\Source\SourceTypeParameterSymbol.cs (1)
350internal override void ForceComplete(SourceLocation locationOpt, Predicate<Symbol> filter, CancellationToken cancellationToken)
Symbols\Symbol.cs (2)
51internal virtual void ForceComplete(SourceLocation? locationOpt, Predicate<Symbol>? filter, CancellationToken cancellationToken) 959internal static void ForceCompleteMemberConditionally(SourceLocation? locationOpt, Predicate<Symbol>? filter, Symbol member, CancellationToken cancellationToken)
Symbols\Tuples\TupleFieldSymbol.cs (1)
148internal override void ForceComplete(SourceLocation? locationOpt, Predicate<Symbol>? filter, CancellationToken cancellationToken)
Microsoft.CodeAnalysis.CSharp.Features (1)
BraceCompletion\CurlyBraceCompletionService.cs (1)
84private static readonly Predicate<SuppressOperation> s_predicate = o => o.Option.IsOn(SuppressOption.NoWrapping);
Microsoft.CodeAnalysis.Debugging.Package (4)
src\Dependencies\PooledObjects\ArrayBuilder.cs (4)
214public int FindIndex(Predicate<T> match) 217public int FindIndex(int startIndex, Predicate<T> match) 220public int FindIndex(int startIndex, int count, Predicate<T> match) 274public void RemoveAll(Predicate<T> match)
Microsoft.CodeAnalysis.EditorFeatures (3)
ExternalAccess\VSTypeScript\Api\VSTypeScriptExtensions.cs (1)
25public static SnapshotPoint? GetCaretPoint(this ITextView textView, Predicate<ITextSnapshot> match)
Shared\Extensions\IBufferGraphExtensions.cs (1)
22public static SnapshotSpan? MapUpOrDownToFirstMatch(this IBufferGraph bufferGraph, SnapshotSpan span, Predicate<ITextSnapshot> match)
Shared\Extensions\ITextViewExtensions.cs (1)
40public static SnapshotPoint? GetCaretPoint(this ITextView textView, Predicate<ITextSnapshot> match)
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider (4)
src\ExpressionEvaluator\Core\Source\ResultProvider\Expansion\MemberExpansion.cs (1)
33Predicate<MemberInfo> predicate,
src\ExpressionEvaluator\Core\Source\ResultProvider\Formatter.cs (2)
292protected string RemoveLeadingAndTrailingContent(string expression, int start, int length, Predicate<char> leading, Predicate<char> trailing)
src\ExpressionEvaluator\Core\Source\ResultProvider\Helpers\TypeHelpers.cs (1)
32Predicate<MemberInfo> predicate,
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider.Utilities (4)
src\ExpressionEvaluator\Core\Source\ResultProvider\Expansion\MemberExpansion.cs (1)
33Predicate<MemberInfo> predicate,
src\ExpressionEvaluator\Core\Source\ResultProvider\Formatter.cs (2)
292protected string RemoveLeadingAndTrailingContent(string expression, int start, int length, Predicate<char> leading, Predicate<char> trailing)
src\ExpressionEvaluator\Core\Source\ResultProvider\Helpers\TypeHelpers.cs (1)
32Predicate<MemberInfo> predicate,
Microsoft.CodeAnalysis.Extensions.Package (79)
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (1)
825public static readonly Predicate<T> True = t => true;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (25)
222/// <inheritdoc cref="ImmutableList{T}.Exists(Predicate{T})"/> 223public bool Exists(Predicate<T> match) 226/// <inheritdoc cref="ImmutableList{T}.Find(Predicate{T})"/> 227public T? Find(Predicate<T> match) 230/// <inheritdoc cref="ImmutableList{T}.FindAll(Predicate{T})"/> 231public ImmutableSegmentedList<T> FindAll(Predicate<T> match) 234/// <inheritdoc cref="ImmutableList{T}.FindIndex(Predicate{T})"/> 235public int FindIndex(Predicate<T> match) 238/// <inheritdoc cref="ImmutableList{T}.FindIndex(int, Predicate{T})"/> 239public int FindIndex(int startIndex, Predicate<T> match) 242/// <inheritdoc cref="ImmutableList{T}.FindIndex(int, int, Predicate{T})"/> 243public int FindIndex(int startIndex, int count, Predicate<T> match) 246/// <inheritdoc cref="ImmutableList{T}.FindLast(Predicate{T})"/> 247public T? FindLast(Predicate<T> match) 250/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(Predicate{T})"/> 251public int FindLastIndex(Predicate<T> match) 254/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(int, Predicate{T})"/> 255public int FindLastIndex(int startIndex, Predicate<T> match) 269/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(int, int, Predicate{T})"/> 270public int FindLastIndex(int startIndex, int count, Predicate<T> match) 384/// <inheritdoc cref="ImmutableList{T}.RemoveAll(Predicate{T})"/> 385public ImmutableSegmentedList<T> RemoveAll(Predicate<T> match) 599/// <inheritdoc cref="ImmutableList{T}.TrueForAll(Predicate{T})"/> 600public bool TrueForAll(Predicate<T> match) 621IImmutableList<T> IImmutableList<T>.RemoveAll(Predicate<T> match)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (24)
94/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Exists(Predicate{T})"/> 95public bool Exists(Predicate<T> match) 98/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Find(Predicate{T})"/> 99public T? Find(Predicate<T> match) 102/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindAll(Predicate{T})"/> 103public ImmutableSegmentedList<T> FindAll(Predicate<T> match) 106/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(Predicate{T})"/> 107public int FindIndex(Predicate<T> match) 110/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(int, Predicate{T})"/> 111public int FindIndex(int startIndex, Predicate<T> match) 114/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(int, int, Predicate{T})"/> 115public int FindIndex(int startIndex, int count, Predicate<T> match) 118/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLast(Predicate{T})"/> 119public T? FindLast(Predicate<T> match) 122/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(Predicate{T})"/> 123public int FindLastIndex(Predicate<T> match) 126/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(int, Predicate{T})"/> 127public int FindLastIndex(int startIndex, Predicate<T> match) 130/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(int, int, Predicate{T})"/> 131public int FindLastIndex(int startIndex, int count, Predicate<T> match) 187/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.RemoveAll(Predicate{T})"/> 188public int RemoveAll(Predicate<T> match) 222/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.TrueForAll(Predicate{T})"/> 223public bool TrueForAll(Predicate<T> match)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (12)
137public readonly bool Exists(Predicate<T> match) 140public readonly T? Find(Predicate<T> match) 143public readonly ImmutableSegmentedList<T> FindAll(Predicate<T> match) 146public readonly int FindIndex(Predicate<T> match) 149public readonly int FindIndex(int startIndex, Predicate<T> match) 152public readonly int FindIndex(int startIndex, int count, Predicate<T> match) 155public readonly T? FindLast(Predicate<T> match) 158public readonly int FindLastIndex(Predicate<T> match) 161public readonly int FindLastIndex(int startIndex, Predicate<T> match) 173public readonly int FindLastIndex(int startIndex, int count, Predicate<T> match) 273public int RemoveAll(Predicate<T> match) 332public readonly bool TrueForAll(Predicate<T> match)
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
834public int RemoveWhere(Predicate<T> match)
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (12)
573public bool Exists(Predicate<T> match) 576public T? Find(Predicate<T> match) 593public SegmentedList<T> FindAll(Predicate<T> match) 611public int FindIndex(Predicate<T> match) 614public int FindIndex(int startIndex, Predicate<T> match) 617public int FindIndex(int startIndex, int count, Predicate<T> match) 643public T? FindLast(Predicate<T> match) 660public int FindLastIndex(Predicate<T> match) 663public int FindLastIndex(int startIndex, Predicate<T> match) 666public int FindLastIndex(int startIndex, int count, Predicate<T> match) 1086public int RemoveAll(Predicate<T> match) 1302public bool TrueForAll(Predicate<T> match)
src\Dependencies\PooledObjects\ArrayBuilder.cs (4)
214public int FindIndex(Predicate<T> match) 217public int FindIndex(int startIndex, Predicate<T> match) 220public int FindIndex(int startIndex, int count, Predicate<T> match) 274public void RemoveAll(Predicate<T> match)
Microsoft.CodeAnalysis.InteractiveHost (79)
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (1)
825public static readonly Predicate<T> True = t => true;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (25)
222/// <inheritdoc cref="ImmutableList{T}.Exists(Predicate{T})"/> 223public bool Exists(Predicate<T> match) 226/// <inheritdoc cref="ImmutableList{T}.Find(Predicate{T})"/> 227public T? Find(Predicate<T> match) 230/// <inheritdoc cref="ImmutableList{T}.FindAll(Predicate{T})"/> 231public ImmutableSegmentedList<T> FindAll(Predicate<T> match) 234/// <inheritdoc cref="ImmutableList{T}.FindIndex(Predicate{T})"/> 235public int FindIndex(Predicate<T> match) 238/// <inheritdoc cref="ImmutableList{T}.FindIndex(int, Predicate{T})"/> 239public int FindIndex(int startIndex, Predicate<T> match) 242/// <inheritdoc cref="ImmutableList{T}.FindIndex(int, int, Predicate{T})"/> 243public int FindIndex(int startIndex, int count, Predicate<T> match) 246/// <inheritdoc cref="ImmutableList{T}.FindLast(Predicate{T})"/> 247public T? FindLast(Predicate<T> match) 250/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(Predicate{T})"/> 251public int FindLastIndex(Predicate<T> match) 254/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(int, Predicate{T})"/> 255public int FindLastIndex(int startIndex, Predicate<T> match) 269/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(int, int, Predicate{T})"/> 270public int FindLastIndex(int startIndex, int count, Predicate<T> match) 384/// <inheritdoc cref="ImmutableList{T}.RemoveAll(Predicate{T})"/> 385public ImmutableSegmentedList<T> RemoveAll(Predicate<T> match) 599/// <inheritdoc cref="ImmutableList{T}.TrueForAll(Predicate{T})"/> 600public bool TrueForAll(Predicate<T> match) 621IImmutableList<T> IImmutableList<T>.RemoveAll(Predicate<T> match)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (24)
94/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Exists(Predicate{T})"/> 95public bool Exists(Predicate<T> match) 98/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Find(Predicate{T})"/> 99public T? Find(Predicate<T> match) 102/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindAll(Predicate{T})"/> 103public ImmutableSegmentedList<T> FindAll(Predicate<T> match) 106/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(Predicate{T})"/> 107public int FindIndex(Predicate<T> match) 110/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(int, Predicate{T})"/> 111public int FindIndex(int startIndex, Predicate<T> match) 114/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(int, int, Predicate{T})"/> 115public int FindIndex(int startIndex, int count, Predicate<T> match) 118/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLast(Predicate{T})"/> 119public T? FindLast(Predicate<T> match) 122/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(Predicate{T})"/> 123public int FindLastIndex(Predicate<T> match) 126/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(int, Predicate{T})"/> 127public int FindLastIndex(int startIndex, Predicate<T> match) 130/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(int, int, Predicate{T})"/> 131public int FindLastIndex(int startIndex, int count, Predicate<T> match) 187/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.RemoveAll(Predicate{T})"/> 188public int RemoveAll(Predicate<T> match) 222/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.TrueForAll(Predicate{T})"/> 223public bool TrueForAll(Predicate<T> match)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (12)
137public readonly bool Exists(Predicate<T> match) 140public readonly T? Find(Predicate<T> match) 143public readonly ImmutableSegmentedList<T> FindAll(Predicate<T> match) 146public readonly int FindIndex(Predicate<T> match) 149public readonly int FindIndex(int startIndex, Predicate<T> match) 152public readonly int FindIndex(int startIndex, int count, Predicate<T> match) 155public readonly T? FindLast(Predicate<T> match) 158public readonly int FindLastIndex(Predicate<T> match) 161public readonly int FindLastIndex(int startIndex, Predicate<T> match) 173public readonly int FindLastIndex(int startIndex, int count, Predicate<T> match) 273public int RemoveAll(Predicate<T> match) 332public readonly bool TrueForAll(Predicate<T> match)
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
834public int RemoveWhere(Predicate<T> match)
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (12)
573public bool Exists(Predicate<T> match) 576public T? Find(Predicate<T> match) 593public SegmentedList<T> FindAll(Predicate<T> match) 611public int FindIndex(Predicate<T> match) 614public int FindIndex(int startIndex, Predicate<T> match) 617public int FindIndex(int startIndex, int count, Predicate<T> match) 643public T? FindLast(Predicate<T> match) 660public int FindLastIndex(Predicate<T> match) 663public int FindLastIndex(int startIndex, Predicate<T> match) 666public int FindLastIndex(int startIndex, int count, Predicate<T> match) 1086public int RemoveAll(Predicate<T> match) 1302public bool TrueForAll(Predicate<T> match)
src\Dependencies\PooledObjects\ArrayBuilder.cs (4)
214public int FindIndex(Predicate<T> match) 217public int FindIndex(int startIndex, Predicate<T> match) 220public int FindIndex(int startIndex, int count, Predicate<T> match) 274public void RemoveAll(Predicate<T> match)
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (79)
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (1)
825public static readonly Predicate<T> True = t => true;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (25)
222/// <inheritdoc cref="ImmutableList{T}.Exists(Predicate{T})"/> 223public bool Exists(Predicate<T> match) 226/// <inheritdoc cref="ImmutableList{T}.Find(Predicate{T})"/> 227public T? Find(Predicate<T> match) 230/// <inheritdoc cref="ImmutableList{T}.FindAll(Predicate{T})"/> 231public ImmutableSegmentedList<T> FindAll(Predicate<T> match) 234/// <inheritdoc cref="ImmutableList{T}.FindIndex(Predicate{T})"/> 235public int FindIndex(Predicate<T> match) 238/// <inheritdoc cref="ImmutableList{T}.FindIndex(int, Predicate{T})"/> 239public int FindIndex(int startIndex, Predicate<T> match) 242/// <inheritdoc cref="ImmutableList{T}.FindIndex(int, int, Predicate{T})"/> 243public int FindIndex(int startIndex, int count, Predicate<T> match) 246/// <inheritdoc cref="ImmutableList{T}.FindLast(Predicate{T})"/> 247public T? FindLast(Predicate<T> match) 250/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(Predicate{T})"/> 251public int FindLastIndex(Predicate<T> match) 254/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(int, Predicate{T})"/> 255public int FindLastIndex(int startIndex, Predicate<T> match) 269/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(int, int, Predicate{T})"/> 270public int FindLastIndex(int startIndex, int count, Predicate<T> match) 384/// <inheritdoc cref="ImmutableList{T}.RemoveAll(Predicate{T})"/> 385public ImmutableSegmentedList<T> RemoveAll(Predicate<T> match) 599/// <inheritdoc cref="ImmutableList{T}.TrueForAll(Predicate{T})"/> 600public bool TrueForAll(Predicate<T> match) 621IImmutableList<T> IImmutableList<T>.RemoveAll(Predicate<T> match)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (24)
94/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Exists(Predicate{T})"/> 95public bool Exists(Predicate<T> match) 98/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Find(Predicate{T})"/> 99public T? Find(Predicate<T> match) 102/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindAll(Predicate{T})"/> 103public ImmutableSegmentedList<T> FindAll(Predicate<T> match) 106/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(Predicate{T})"/> 107public int FindIndex(Predicate<T> match) 110/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(int, Predicate{T})"/> 111public int FindIndex(int startIndex, Predicate<T> match) 114/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(int, int, Predicate{T})"/> 115public int FindIndex(int startIndex, int count, Predicate<T> match) 118/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLast(Predicate{T})"/> 119public T? FindLast(Predicate<T> match) 122/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(Predicate{T})"/> 123public int FindLastIndex(Predicate<T> match) 126/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(int, Predicate{T})"/> 127public int FindLastIndex(int startIndex, Predicate<T> match) 130/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(int, int, Predicate{T})"/> 131public int FindLastIndex(int startIndex, int count, Predicate<T> match) 187/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.RemoveAll(Predicate{T})"/> 188public int RemoveAll(Predicate<T> match) 222/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.TrueForAll(Predicate{T})"/> 223public bool TrueForAll(Predicate<T> match)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (12)
137public readonly bool Exists(Predicate<T> match) 140public readonly T? Find(Predicate<T> match) 143public readonly ImmutableSegmentedList<T> FindAll(Predicate<T> match) 146public readonly int FindIndex(Predicate<T> match) 149public readonly int FindIndex(int startIndex, Predicate<T> match) 152public readonly int FindIndex(int startIndex, int count, Predicate<T> match) 155public readonly T? FindLast(Predicate<T> match) 158public readonly int FindLastIndex(Predicate<T> match) 161public readonly int FindLastIndex(int startIndex, Predicate<T> match) 173public readonly int FindLastIndex(int startIndex, int count, Predicate<T> match) 273public int RemoveAll(Predicate<T> match) 332public readonly bool TrueForAll(Predicate<T> match)
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
834public int RemoveWhere(Predicate<T> match)
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (12)
573public bool Exists(Predicate<T> match) 576public T? Find(Predicate<T> match) 593public SegmentedList<T> FindAll(Predicate<T> match) 611public int FindIndex(Predicate<T> match) 614public int FindIndex(int startIndex, Predicate<T> match) 617public int FindIndex(int startIndex, int count, Predicate<T> match) 643public T? FindLast(Predicate<T> match) 660public int FindLastIndex(Predicate<T> match) 663public int FindLastIndex(int startIndex, Predicate<T> match) 666public int FindLastIndex(int startIndex, int count, Predicate<T> match) 1086public int RemoveAll(Predicate<T> match) 1302public bool TrueForAll(Predicate<T> match)
src\Dependencies\PooledObjects\ArrayBuilder.cs (4)
214public int FindIndex(Predicate<T> match) 217public int FindIndex(int startIndex, Predicate<T> match) 220public int FindIndex(int startIndex, int count, Predicate<T> match) 274public void RemoveAll(Predicate<T> match)
Microsoft.CodeAnalysis.PooledObjects.Package (4)
ArrayBuilder.cs (4)
214public int FindIndex(Predicate<T> match) 217public int FindIndex(int startIndex, Predicate<T> match) 220public int FindIndex(int startIndex, int count, Predicate<T> match) 274public void RemoveAll(Predicate<T> match)
Microsoft.CodeAnalysis.PublicApiAnalyzers (79)
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (1)
825public static readonly Predicate<T> True = t => true;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (25)
222/// <inheritdoc cref="ImmutableList{T}.Exists(Predicate{T})"/> 223public bool Exists(Predicate<T> match) 226/// <inheritdoc cref="ImmutableList{T}.Find(Predicate{T})"/> 227public T? Find(Predicate<T> match) 230/// <inheritdoc cref="ImmutableList{T}.FindAll(Predicate{T})"/> 231public ImmutableSegmentedList<T> FindAll(Predicate<T> match) 234/// <inheritdoc cref="ImmutableList{T}.FindIndex(Predicate{T})"/> 235public int FindIndex(Predicate<T> match) 238/// <inheritdoc cref="ImmutableList{T}.FindIndex(int, Predicate{T})"/> 239public int FindIndex(int startIndex, Predicate<T> match) 242/// <inheritdoc cref="ImmutableList{T}.FindIndex(int, int, Predicate{T})"/> 243public int FindIndex(int startIndex, int count, Predicate<T> match) 246/// <inheritdoc cref="ImmutableList{T}.FindLast(Predicate{T})"/> 247public T? FindLast(Predicate<T> match) 250/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(Predicate{T})"/> 251public int FindLastIndex(Predicate<T> match) 254/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(int, Predicate{T})"/> 255public int FindLastIndex(int startIndex, Predicate<T> match) 269/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(int, int, Predicate{T})"/> 270public int FindLastIndex(int startIndex, int count, Predicate<T> match) 384/// <inheritdoc cref="ImmutableList{T}.RemoveAll(Predicate{T})"/> 385public ImmutableSegmentedList<T> RemoveAll(Predicate<T> match) 599/// <inheritdoc cref="ImmutableList{T}.TrueForAll(Predicate{T})"/> 600public bool TrueForAll(Predicate<T> match) 621IImmutableList<T> IImmutableList<T>.RemoveAll(Predicate<T> match)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (24)
94/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Exists(Predicate{T})"/> 95public bool Exists(Predicate<T> match) 98/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Find(Predicate{T})"/> 99public T? Find(Predicate<T> match) 102/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindAll(Predicate{T})"/> 103public ImmutableSegmentedList<T> FindAll(Predicate<T> match) 106/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(Predicate{T})"/> 107public int FindIndex(Predicate<T> match) 110/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(int, Predicate{T})"/> 111public int FindIndex(int startIndex, Predicate<T> match) 114/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(int, int, Predicate{T})"/> 115public int FindIndex(int startIndex, int count, Predicate<T> match) 118/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLast(Predicate{T})"/> 119public T? FindLast(Predicate<T> match) 122/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(Predicate{T})"/> 123public int FindLastIndex(Predicate<T> match) 126/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(int, Predicate{T})"/> 127public int FindLastIndex(int startIndex, Predicate<T> match) 130/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(int, int, Predicate{T})"/> 131public int FindLastIndex(int startIndex, int count, Predicate<T> match) 187/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.RemoveAll(Predicate{T})"/> 188public int RemoveAll(Predicate<T> match) 222/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.TrueForAll(Predicate{T})"/> 223public bool TrueForAll(Predicate<T> match)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (12)
137public readonly bool Exists(Predicate<T> match) 140public readonly T? Find(Predicate<T> match) 143public readonly ImmutableSegmentedList<T> FindAll(Predicate<T> match) 146public readonly int FindIndex(Predicate<T> match) 149public readonly int FindIndex(int startIndex, Predicate<T> match) 152public readonly int FindIndex(int startIndex, int count, Predicate<T> match) 155public readonly T? FindLast(Predicate<T> match) 158public readonly int FindLastIndex(Predicate<T> match) 161public readonly int FindLastIndex(int startIndex, Predicate<T> match) 173public readonly int FindLastIndex(int startIndex, int count, Predicate<T> match) 273public int RemoveAll(Predicate<T> match) 332public readonly bool TrueForAll(Predicate<T> match)
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
834public int RemoveWhere(Predicate<T> match)
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (12)
573public bool Exists(Predicate<T> match) 576public T? Find(Predicate<T> match) 593public SegmentedList<T> FindAll(Predicate<T> match) 611public int FindIndex(Predicate<T> match) 614public int FindIndex(int startIndex, Predicate<T> match) 617public int FindIndex(int startIndex, int count, Predicate<T> match) 643public T? FindLast(Predicate<T> match) 660public int FindLastIndex(Predicate<T> match) 663public int FindLastIndex(int startIndex, Predicate<T> match) 666public int FindLastIndex(int startIndex, int count, Predicate<T> match) 1086public int RemoveAll(Predicate<T> match) 1302public bool TrueForAll(Predicate<T> match)
src\Dependencies\PooledObjects\ArrayBuilder.cs (4)
214public int FindIndex(Predicate<T> match) 217public int FindIndex(int startIndex, Predicate<T> match) 220public int FindIndex(int startIndex, int count, Predicate<T> match) 274public void RemoveAll(Predicate<T> match)
Microsoft.CodeAnalysis.ResxSourceGenerator (79)
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (1)
825public static readonly Predicate<T> True = t => true;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (25)
222/// <inheritdoc cref="ImmutableList{T}.Exists(Predicate{T})"/> 223public bool Exists(Predicate<T> match) 226/// <inheritdoc cref="ImmutableList{T}.Find(Predicate{T})"/> 227public T? Find(Predicate<T> match) 230/// <inheritdoc cref="ImmutableList{T}.FindAll(Predicate{T})"/> 231public ImmutableSegmentedList<T> FindAll(Predicate<T> match) 234/// <inheritdoc cref="ImmutableList{T}.FindIndex(Predicate{T})"/> 235public int FindIndex(Predicate<T> match) 238/// <inheritdoc cref="ImmutableList{T}.FindIndex(int, Predicate{T})"/> 239public int FindIndex(int startIndex, Predicate<T> match) 242/// <inheritdoc cref="ImmutableList{T}.FindIndex(int, int, Predicate{T})"/> 243public int FindIndex(int startIndex, int count, Predicate<T> match) 246/// <inheritdoc cref="ImmutableList{T}.FindLast(Predicate{T})"/> 247public T? FindLast(Predicate<T> match) 250/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(Predicate{T})"/> 251public int FindLastIndex(Predicate<T> match) 254/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(int, Predicate{T})"/> 255public int FindLastIndex(int startIndex, Predicate<T> match) 269/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(int, int, Predicate{T})"/> 270public int FindLastIndex(int startIndex, int count, Predicate<T> match) 384/// <inheritdoc cref="ImmutableList{T}.RemoveAll(Predicate{T})"/> 385public ImmutableSegmentedList<T> RemoveAll(Predicate<T> match) 599/// <inheritdoc cref="ImmutableList{T}.TrueForAll(Predicate{T})"/> 600public bool TrueForAll(Predicate<T> match) 621IImmutableList<T> IImmutableList<T>.RemoveAll(Predicate<T> match)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (24)
94/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Exists(Predicate{T})"/> 95public bool Exists(Predicate<T> match) 98/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Find(Predicate{T})"/> 99public T? Find(Predicate<T> match) 102/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindAll(Predicate{T})"/> 103public ImmutableSegmentedList<T> FindAll(Predicate<T> match) 106/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(Predicate{T})"/> 107public int FindIndex(Predicate<T> match) 110/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(int, Predicate{T})"/> 111public int FindIndex(int startIndex, Predicate<T> match) 114/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(int, int, Predicate{T})"/> 115public int FindIndex(int startIndex, int count, Predicate<T> match) 118/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLast(Predicate{T})"/> 119public T? FindLast(Predicate<T> match) 122/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(Predicate{T})"/> 123public int FindLastIndex(Predicate<T> match) 126/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(int, Predicate{T})"/> 127public int FindLastIndex(int startIndex, Predicate<T> match) 130/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(int, int, Predicate{T})"/> 131public int FindLastIndex(int startIndex, int count, Predicate<T> match) 187/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.RemoveAll(Predicate{T})"/> 188public int RemoveAll(Predicate<T> match) 222/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.TrueForAll(Predicate{T})"/> 223public bool TrueForAll(Predicate<T> match)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (12)
137public readonly bool Exists(Predicate<T> match) 140public readonly T? Find(Predicate<T> match) 143public readonly ImmutableSegmentedList<T> FindAll(Predicate<T> match) 146public readonly int FindIndex(Predicate<T> match) 149public readonly int FindIndex(int startIndex, Predicate<T> match) 152public readonly int FindIndex(int startIndex, int count, Predicate<T> match) 155public readonly T? FindLast(Predicate<T> match) 158public readonly int FindLastIndex(Predicate<T> match) 161public readonly int FindLastIndex(int startIndex, Predicate<T> match) 173public readonly int FindLastIndex(int startIndex, int count, Predicate<T> match) 273public int RemoveAll(Predicate<T> match) 332public readonly bool TrueForAll(Predicate<T> match)
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
834public int RemoveWhere(Predicate<T> match)
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (12)
573public bool Exists(Predicate<T> match) 576public T? Find(Predicate<T> match) 593public SegmentedList<T> FindAll(Predicate<T> match) 611public int FindIndex(Predicate<T> match) 614public int FindIndex(int startIndex, Predicate<T> match) 617public int FindIndex(int startIndex, int count, Predicate<T> match) 643public T? FindLast(Predicate<T> match) 660public int FindLastIndex(Predicate<T> match) 663public int FindLastIndex(int startIndex, Predicate<T> match) 666public int FindLastIndex(int startIndex, int count, Predicate<T> match) 1086public int RemoveAll(Predicate<T> match) 1302public bool TrueForAll(Predicate<T> match)
src\Dependencies\PooledObjects\ArrayBuilder.cs (4)
214public int FindIndex(Predicate<T> match) 217public int FindIndex(int startIndex, Predicate<T> match) 220public int FindIndex(int startIndex, int count, Predicate<T> match) 274public void RemoveAll(Predicate<T> match)
Microsoft.CodeAnalysis.Test.Utilities (1)
Assert\AssertEx.cs (1)
1016public static void Contains<T>(IEnumerable<T> collection, Predicate<T> filter, Func<T, string>? itemInspector = null, string? itemSeparator = null)
Microsoft.CodeAnalysis.Threading.Package (79)
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (1)
825public static readonly Predicate<T> True = t => true;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (25)
222/// <inheritdoc cref="ImmutableList{T}.Exists(Predicate{T})"/> 223public bool Exists(Predicate<T> match) 226/// <inheritdoc cref="ImmutableList{T}.Find(Predicate{T})"/> 227public T? Find(Predicate<T> match) 230/// <inheritdoc cref="ImmutableList{T}.FindAll(Predicate{T})"/> 231public ImmutableSegmentedList<T> FindAll(Predicate<T> match) 234/// <inheritdoc cref="ImmutableList{T}.FindIndex(Predicate{T})"/> 235public int FindIndex(Predicate<T> match) 238/// <inheritdoc cref="ImmutableList{T}.FindIndex(int, Predicate{T})"/> 239public int FindIndex(int startIndex, Predicate<T> match) 242/// <inheritdoc cref="ImmutableList{T}.FindIndex(int, int, Predicate{T})"/> 243public int FindIndex(int startIndex, int count, Predicate<T> match) 246/// <inheritdoc cref="ImmutableList{T}.FindLast(Predicate{T})"/> 247public T? FindLast(Predicate<T> match) 250/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(Predicate{T})"/> 251public int FindLastIndex(Predicate<T> match) 254/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(int, Predicate{T})"/> 255public int FindLastIndex(int startIndex, Predicate<T> match) 269/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(int, int, Predicate{T})"/> 270public int FindLastIndex(int startIndex, int count, Predicate<T> match) 384/// <inheritdoc cref="ImmutableList{T}.RemoveAll(Predicate{T})"/> 385public ImmutableSegmentedList<T> RemoveAll(Predicate<T> match) 599/// <inheritdoc cref="ImmutableList{T}.TrueForAll(Predicate{T})"/> 600public bool TrueForAll(Predicate<T> match) 621IImmutableList<T> IImmutableList<T>.RemoveAll(Predicate<T> match)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (24)
94/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Exists(Predicate{T})"/> 95public bool Exists(Predicate<T> match) 98/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Find(Predicate{T})"/> 99public T? Find(Predicate<T> match) 102/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindAll(Predicate{T})"/> 103public ImmutableSegmentedList<T> FindAll(Predicate<T> match) 106/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(Predicate{T})"/> 107public int FindIndex(Predicate<T> match) 110/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(int, Predicate{T})"/> 111public int FindIndex(int startIndex, Predicate<T> match) 114/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(int, int, Predicate{T})"/> 115public int FindIndex(int startIndex, int count, Predicate<T> match) 118/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLast(Predicate{T})"/> 119public T? FindLast(Predicate<T> match) 122/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(Predicate{T})"/> 123public int FindLastIndex(Predicate<T> match) 126/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(int, Predicate{T})"/> 127public int FindLastIndex(int startIndex, Predicate<T> match) 130/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(int, int, Predicate{T})"/> 131public int FindLastIndex(int startIndex, int count, Predicate<T> match) 187/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.RemoveAll(Predicate{T})"/> 188public int RemoveAll(Predicate<T> match) 222/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.TrueForAll(Predicate{T})"/> 223public bool TrueForAll(Predicate<T> match)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (12)
137public readonly bool Exists(Predicate<T> match) 140public readonly T? Find(Predicate<T> match) 143public readonly ImmutableSegmentedList<T> FindAll(Predicate<T> match) 146public readonly int FindIndex(Predicate<T> match) 149public readonly int FindIndex(int startIndex, Predicate<T> match) 152public readonly int FindIndex(int startIndex, int count, Predicate<T> match) 155public readonly T? FindLast(Predicate<T> match) 158public readonly int FindLastIndex(Predicate<T> match) 161public readonly int FindLastIndex(int startIndex, Predicate<T> match) 173public readonly int FindLastIndex(int startIndex, int count, Predicate<T> match) 273public int RemoveAll(Predicate<T> match) 332public readonly bool TrueForAll(Predicate<T> match)
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
834public int RemoveWhere(Predicate<T> match)
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (12)
573public bool Exists(Predicate<T> match) 576public T? Find(Predicate<T> match) 593public SegmentedList<T> FindAll(Predicate<T> match) 611public int FindIndex(Predicate<T> match) 614public int FindIndex(int startIndex, Predicate<T> match) 617public int FindIndex(int startIndex, int count, Predicate<T> match) 643public T? FindLast(Predicate<T> match) 660public int FindLastIndex(Predicate<T> match) 663public int FindLastIndex(int startIndex, Predicate<T> match) 666public int FindLastIndex(int startIndex, int count, Predicate<T> match) 1086public int RemoveAll(Predicate<T> match) 1302public bool TrueForAll(Predicate<T> match)
src\Dependencies\PooledObjects\ArrayBuilder.cs (4)
214public int FindIndex(Predicate<T> match) 217public int FindIndex(int startIndex, Predicate<T> match) 220public int FindIndex(int startIndex, int count, Predicate<T> match) 274public void RemoveAll(Predicate<T> match)
Microsoft.CodeAnalysis.UnitTests (69)
Collections\ImmutableListTestBase.cs (15)
42private protected abstract bool ExistsImpl<T>(ImmutableSegmentedList<T> list, Predicate<T> match); 44private protected abstract T? FindImpl<T>(ImmutableSegmentedList<T> list, Predicate<T> match); 46private protected abstract ImmutableSegmentedList<T> FindAllImpl<T>(ImmutableSegmentedList<T> list, Predicate<T> match); 48private protected abstract int FindIndexImpl<T>(ImmutableSegmentedList<T> list, Predicate<T> match); 50private protected abstract int FindIndexImpl<T>(ImmutableSegmentedList<T> list, int startIndex, Predicate<T> match); 52private protected abstract int FindIndexImpl<T>(ImmutableSegmentedList<T> list, int startIndex, int count, Predicate<T> match); 54private protected abstract T? FindLastImpl<T>(ImmutableSegmentedList<T> list, Predicate<T> match); 56private protected abstract int FindLastIndexImpl<T>(ImmutableSegmentedList<T> list, Predicate<T> match); 58private protected abstract int FindLastIndexImpl<T>(ImmutableSegmentedList<T> list, int startIndex, Predicate<T> match); 60private protected abstract int FindLastIndexImpl<T>(ImmutableSegmentedList<T> list, int startIndex, int count, Predicate<T> match); 62private protected abstract bool TrueForAllImpl<T>(ImmutableSegmentedList<T> list, Predicate<T> test); 186Predicate<int> match = n => 240Predicate<int> match = n => 527private protected abstract void RemoveAllTestHelper<T>(ImmutableSegmentedList<T> list, Predicate<T> test); 569private void TrueForAllTestHelper<T>(ImmutableSegmentedList<T> list, Predicate<T> test)
Collections\ImmutableSegmentedListBuilderTest.cs (12)
431private protected override void RemoveAllTestHelper<T>(ImmutableSegmentedList<T> list, Predicate<T> test) 474private protected override bool ExistsImpl<T>(ImmutableSegmentedList<T> list, Predicate<T> match) 477private protected override T? FindImpl<T>(ImmutableSegmentedList<T> list, Predicate<T> match) 481private protected override ImmutableSegmentedList<T> FindAllImpl<T>(ImmutableSegmentedList<T> list, Predicate<T> match) 484private protected override int FindIndexImpl<T>(ImmutableSegmentedList<T> list, Predicate<T> match) 487private protected override int FindIndexImpl<T>(ImmutableSegmentedList<T> list, int startIndex, Predicate<T> match) 490private protected override int FindIndexImpl<T>(ImmutableSegmentedList<T> list, int startIndex, int count, Predicate<T> match) 493private protected override T? FindLastImpl<T>(ImmutableSegmentedList<T> list, Predicate<T> match) 497private protected override int FindLastIndexImpl<T>(ImmutableSegmentedList<T> list, Predicate<T> match) 500private protected override int FindLastIndexImpl<T>(ImmutableSegmentedList<T> list, int startIndex, Predicate<T> match) 503private protected override int FindLastIndexImpl<T>(ImmutableSegmentedList<T> list, int startIndex, int count, Predicate<T> match) 506private protected override bool TrueForAllImpl<T>(ImmutableSegmentedList<T> list, Predicate<T> test)
Collections\ImmutableSegmentedListTest.cs (12)
840private protected override void RemoveAllTestHelper<T>(ImmutableSegmentedList<T> list, Predicate<T> test) 899private protected override bool ExistsImpl<T>(ImmutableSegmentedList<T> list, Predicate<T> match) 902private protected override T? FindImpl<T>(ImmutableSegmentedList<T> list, Predicate<T> match) 906private protected override ImmutableSegmentedList<T> FindAllImpl<T>(ImmutableSegmentedList<T> list, Predicate<T> match) 909private protected override int FindIndexImpl<T>(ImmutableSegmentedList<T> list, Predicate<T> match) 912private protected override int FindIndexImpl<T>(ImmutableSegmentedList<T> list, int startIndex, Predicate<T> match) 915private protected override int FindIndexImpl<T>(ImmutableSegmentedList<T> list, int startIndex, int count, Predicate<T> match) 918private protected override T? FindLastImpl<T>(ImmutableSegmentedList<T> list, Predicate<T> match) 922private protected override int FindLastIndexImpl<T>(ImmutableSegmentedList<T> list, Predicate<T> match) 925private protected override int FindLastIndexImpl<T>(ImmutableSegmentedList<T> list, int startIndex, Predicate<T> match) 928private protected override int FindLastIndexImpl<T>(ImmutableSegmentedList<T> list, int startIndex, int count, Predicate<T> match) 931private protected override bool TrueForAllImpl<T>(ImmutableSegmentedList<T> list, Predicate<T> test)
Collections\List\SegmentedList.Generic.Tests.Find.cs (25)
23private readonly Predicate<T?> _equalsDefaultDelegate = (T? item) => { return default(T) == null ? item == null : default(T)!.Equals(item); }; 24private readonly Predicate<T?> _alwaysTrueDelegate = (T? item) => true; 25private readonly Predicate<T?> _alwaysFalseDelegate = (T? item) => false; 53Predicate<T> predicate = _alwaysTrueDelegate; 86Predicate<T> predicate = delegate (T item) { return true; }; 143Predicate<T> predicate = _alwaysTrueDelegate; 203Predicate<T> predicate = delegate (T item) { return true; }; 234Predicate<T?> EqualsDelegate = (T? item) => { return expectedItem == null ? item == null : expectedItem.Equals(item); }; 268Predicate<T?> EqualsDelegate = (T? item) => { return expectedItem == null ? item == null : expectedItem.Equals(item); }; 329Predicate<T?> EqualsDelegate = (T? item) => { return expectedItem == null ? item == null : expectedItem.Equals(item); }; 367Predicate<T?> EqualsDelegate = (T? item) => { return expectedItem == null ? item == null : expectedItem.Equals(item); }; 406Predicate<T> EqualsDefaultDelegate = (T item) => { return expectedItem == null ? item == null : expectedItem.Equals(item); }; 437Predicate<T> EqualsDelegate = (T item) => { return expectedItem == null ? item == null : expectedItem.Equals(item); }; 472Predicate<T> EqualsDelegate = delegate (T item) { return expectedItem == null ? item == null : expectedItem.Equals(item); }; 525Predicate<T> EqualsDelegate = delegate (T item) { return expectedItem == null ? item == null : expectedItem.Equals(item); }; 570Predicate<T> EqualsDelegate = delegate (T item) { return expectedItem == null ? item == null : expectedItem.Equals(item); }; 648Predicate<T> EqualsDelegate = delegate (T item) { return expectedItem == null ? item == null : expectedItem.Equals(item); }; 693Predicate<T> EqualsDelegate = delegate (T item) { return expectedItem == null ? item == null : expectedItem.Equals(item); }; 721Predicate<T> EqualsDelegate = delegate (T item) { return expectedItem == null ? item == null : expectedItem.Equals(item); }; 756Predicate<T> EqualsDelegate = (T item) => { return expectedItem == null ? item == null : expectedItem.Equals(item); }; 808Predicate<T> EqualsDelegate = (T item) => { return expectedItem == null ? item == null : expectedItem.Equals(item); }; 853Predicate<T> EqualsDelegate = (T item) => { return expectedItem == null ? item == null : expectedItem.Equals(item); }; 934Predicate<T> EqualsDelegate = (T item) => { return expectedItem == null ? item == null : expectedItem.Equals(item); }; 968Predicate<T> EqualsDelegate = (value) => expectedItem == null ? value == null : expectedItem.Equals(value); 994Predicate<T> EqualsDelegate = (value) => expectedItem == null ? value == null : expectedItem.Equals(value);
Collections\List\SegmentedList.Generic.Tests.Misc.cs (4)
354Predicate<T> predicate = (T item) => { return true; }; 367Predicate<T?> expectedItemDelegate = (T? item) => { return expectedItem == null ? item == null : expectedItem.Equals(item); }; 401Predicate<T> expectedItemDelegate = (T item) => { return expectedItem == null ? item == null : expectedItem.Equals(item); }; 674Predicate<T> expectedItemDelegate = delegate (T item) { return expectedItem == null ? item != null : !expectedItem.Equals(item); };
Collections\List\SegmentedList.Generic.Tests.Remove.cs (1)
54Predicate<T> EqualsDefaultElement = (value) => { return default(T) == null ? value == null : default(T)!.Equals(value); };
Microsoft.CodeAnalysis.VisualBasic (8)
Compilation\MethodCompiler.vb (8)
31Private ReadOnly _filterOpt As Predicate(Of Symbol) ' If not Nothing, limit analysis to specific symbols 90filter As Predicate(Of Symbol), 165Dim filter As Predicate(Of Symbol) = Nothing 218filter As Predicate(Of Symbol), 540Private Function CompileNamedTypeAsync(symbol As NamedTypeSymbol, filter As Predicate(Of Symbol)) As Task 553Private Sub CompileNamedType(containingType As NamedTypeSymbol, filter As Predicate(Of Symbol)) 1220filter As Predicate(Of Symbol), 2152Private Shared Function PassesFilter(filterOpt As Predicate(Of Symbol), symbol As Symbol) As Boolean
Microsoft.CodeAnalysis.Workspaces (80)
FindSymbols\SymbolTree\SymbolTreeInfo_Metadata.cs (1)
253private static readonly Predicate<string> s_isNotNullOrEmpty = s => !string.IsNullOrEmpty(s);
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (1)
825public static readonly Predicate<T> True = t => true;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (25)
222/// <inheritdoc cref="ImmutableList{T}.Exists(Predicate{T})"/> 223public bool Exists(Predicate<T> match) 226/// <inheritdoc cref="ImmutableList{T}.Find(Predicate{T})"/> 227public T? Find(Predicate<T> match) 230/// <inheritdoc cref="ImmutableList{T}.FindAll(Predicate{T})"/> 231public ImmutableSegmentedList<T> FindAll(Predicate<T> match) 234/// <inheritdoc cref="ImmutableList{T}.FindIndex(Predicate{T})"/> 235public int FindIndex(Predicate<T> match) 238/// <inheritdoc cref="ImmutableList{T}.FindIndex(int, Predicate{T})"/> 239public int FindIndex(int startIndex, Predicate<T> match) 242/// <inheritdoc cref="ImmutableList{T}.FindIndex(int, int, Predicate{T})"/> 243public int FindIndex(int startIndex, int count, Predicate<T> match) 246/// <inheritdoc cref="ImmutableList{T}.FindLast(Predicate{T})"/> 247public T? FindLast(Predicate<T> match) 250/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(Predicate{T})"/> 251public int FindLastIndex(Predicate<T> match) 254/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(int, Predicate{T})"/> 255public int FindLastIndex(int startIndex, Predicate<T> match) 269/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(int, int, Predicate{T})"/> 270public int FindLastIndex(int startIndex, int count, Predicate<T> match) 384/// <inheritdoc cref="ImmutableList{T}.RemoveAll(Predicate{T})"/> 385public ImmutableSegmentedList<T> RemoveAll(Predicate<T> match) 599/// <inheritdoc cref="ImmutableList{T}.TrueForAll(Predicate{T})"/> 600public bool TrueForAll(Predicate<T> match) 621IImmutableList<T> IImmutableList<T>.RemoveAll(Predicate<T> match)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (24)
94/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Exists(Predicate{T})"/> 95public bool Exists(Predicate<T> match) 98/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Find(Predicate{T})"/> 99public T? Find(Predicate<T> match) 102/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindAll(Predicate{T})"/> 103public ImmutableSegmentedList<T> FindAll(Predicate<T> match) 106/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(Predicate{T})"/> 107public int FindIndex(Predicate<T> match) 110/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(int, Predicate{T})"/> 111public int FindIndex(int startIndex, Predicate<T> match) 114/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(int, int, Predicate{T})"/> 115public int FindIndex(int startIndex, int count, Predicate<T> match) 118/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLast(Predicate{T})"/> 119public T? FindLast(Predicate<T> match) 122/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(Predicate{T})"/> 123public int FindLastIndex(Predicate<T> match) 126/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(int, Predicate{T})"/> 127public int FindLastIndex(int startIndex, Predicate<T> match) 130/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(int, int, Predicate{T})"/> 131public int FindLastIndex(int startIndex, int count, Predicate<T> match) 187/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.RemoveAll(Predicate{T})"/> 188public int RemoveAll(Predicate<T> match) 222/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.TrueForAll(Predicate{T})"/> 223public bool TrueForAll(Predicate<T> match)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (12)
137public readonly bool Exists(Predicate<T> match) 140public readonly T? Find(Predicate<T> match) 143public readonly ImmutableSegmentedList<T> FindAll(Predicate<T> match) 146public readonly int FindIndex(Predicate<T> match) 149public readonly int FindIndex(int startIndex, Predicate<T> match) 152public readonly int FindIndex(int startIndex, int count, Predicate<T> match) 155public readonly T? FindLast(Predicate<T> match) 158public readonly int FindLastIndex(Predicate<T> match) 161public readonly int FindLastIndex(int startIndex, Predicate<T> match) 173public readonly int FindLastIndex(int startIndex, int count, Predicate<T> match) 273public int RemoveAll(Predicate<T> match) 332public readonly bool TrueForAll(Predicate<T> match)
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
834public int RemoveWhere(Predicate<T> match)
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (12)
573public bool Exists(Predicate<T> match) 576public T? Find(Predicate<T> match) 593public SegmentedList<T> FindAll(Predicate<T> match) 611public int FindIndex(Predicate<T> match) 614public int FindIndex(int startIndex, Predicate<T> match) 617public int FindIndex(int startIndex, int count, Predicate<T> match) 643public T? FindLast(Predicate<T> match) 660public int FindLastIndex(Predicate<T> match) 663public int FindLastIndex(int startIndex, Predicate<T> match) 666public int FindLastIndex(int startIndex, int count, Predicate<T> match) 1086public int RemoveAll(Predicate<T> match) 1302public bool TrueForAll(Predicate<T> match)
src\Dependencies\PooledObjects\ArrayBuilder.cs (4)
214public int FindIndex(Predicate<T> match) 217public int FindIndex(int startIndex, Predicate<T> match) 220public int FindIndex(int startIndex, int count, Predicate<T> match) 274public void RemoveAll(Predicate<T> match)
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (79)
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (1)
825public static readonly Predicate<T> True = t => true;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (25)
222/// <inheritdoc cref="ImmutableList{T}.Exists(Predicate{T})"/> 223public bool Exists(Predicate<T> match) 226/// <inheritdoc cref="ImmutableList{T}.Find(Predicate{T})"/> 227public T? Find(Predicate<T> match) 230/// <inheritdoc cref="ImmutableList{T}.FindAll(Predicate{T})"/> 231public ImmutableSegmentedList<T> FindAll(Predicate<T> match) 234/// <inheritdoc cref="ImmutableList{T}.FindIndex(Predicate{T})"/> 235public int FindIndex(Predicate<T> match) 238/// <inheritdoc cref="ImmutableList{T}.FindIndex(int, Predicate{T})"/> 239public int FindIndex(int startIndex, Predicate<T> match) 242/// <inheritdoc cref="ImmutableList{T}.FindIndex(int, int, Predicate{T})"/> 243public int FindIndex(int startIndex, int count, Predicate<T> match) 246/// <inheritdoc cref="ImmutableList{T}.FindLast(Predicate{T})"/> 247public T? FindLast(Predicate<T> match) 250/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(Predicate{T})"/> 251public int FindLastIndex(Predicate<T> match) 254/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(int, Predicate{T})"/> 255public int FindLastIndex(int startIndex, Predicate<T> match) 269/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(int, int, Predicate{T})"/> 270public int FindLastIndex(int startIndex, int count, Predicate<T> match) 384/// <inheritdoc cref="ImmutableList{T}.RemoveAll(Predicate{T})"/> 385public ImmutableSegmentedList<T> RemoveAll(Predicate<T> match) 599/// <inheritdoc cref="ImmutableList{T}.TrueForAll(Predicate{T})"/> 600public bool TrueForAll(Predicate<T> match) 621IImmutableList<T> IImmutableList<T>.RemoveAll(Predicate<T> match)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (24)
94/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Exists(Predicate{T})"/> 95public bool Exists(Predicate<T> match) 98/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Find(Predicate{T})"/> 99public T? Find(Predicate<T> match) 102/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindAll(Predicate{T})"/> 103public ImmutableSegmentedList<T> FindAll(Predicate<T> match) 106/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(Predicate{T})"/> 107public int FindIndex(Predicate<T> match) 110/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(int, Predicate{T})"/> 111public int FindIndex(int startIndex, Predicate<T> match) 114/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(int, int, Predicate{T})"/> 115public int FindIndex(int startIndex, int count, Predicate<T> match) 118/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLast(Predicate{T})"/> 119public T? FindLast(Predicate<T> match) 122/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(Predicate{T})"/> 123public int FindLastIndex(Predicate<T> match) 126/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(int, Predicate{T})"/> 127public int FindLastIndex(int startIndex, Predicate<T> match) 130/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(int, int, Predicate{T})"/> 131public int FindLastIndex(int startIndex, int count, Predicate<T> match) 187/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.RemoveAll(Predicate{T})"/> 188public int RemoveAll(Predicate<T> match) 222/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.TrueForAll(Predicate{T})"/> 223public bool TrueForAll(Predicate<T> match)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (12)
137public readonly bool Exists(Predicate<T> match) 140public readonly T? Find(Predicate<T> match) 143public readonly ImmutableSegmentedList<T> FindAll(Predicate<T> match) 146public readonly int FindIndex(Predicate<T> match) 149public readonly int FindIndex(int startIndex, Predicate<T> match) 152public readonly int FindIndex(int startIndex, int count, Predicate<T> match) 155public readonly T? FindLast(Predicate<T> match) 158public readonly int FindLastIndex(Predicate<T> match) 161public readonly int FindLastIndex(int startIndex, Predicate<T> match) 173public readonly int FindLastIndex(int startIndex, int count, Predicate<T> match) 273public int RemoveAll(Predicate<T> match) 332public readonly bool TrueForAll(Predicate<T> match)
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
834public int RemoveWhere(Predicate<T> match)
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (12)
573public bool Exists(Predicate<T> match) 576public T? Find(Predicate<T> match) 593public SegmentedList<T> FindAll(Predicate<T> match) 611public int FindIndex(Predicate<T> match) 614public int FindIndex(int startIndex, Predicate<T> match) 617public int FindIndex(int startIndex, int count, Predicate<T> match) 643public T? FindLast(Predicate<T> match) 660public int FindLastIndex(Predicate<T> match) 663public int FindLastIndex(int startIndex, Predicate<T> match) 666public int FindLastIndex(int startIndex, int count, Predicate<T> match) 1086public int RemoveAll(Predicate<T> match) 1302public bool TrueForAll(Predicate<T> match)
src\Dependencies\PooledObjects\ArrayBuilder.cs (4)
214public int FindIndex(Predicate<T> match) 217public int FindIndex(int startIndex, Predicate<T> match) 220public int FindIndex(int startIndex, int count, Predicate<T> match) 274public void RemoveAll(Predicate<T> match)
Microsoft.DotNet.XUnitAssert.Tests (4)
AsyncCollectionAssertsTests.cs (2)
360 Assert.Throws<ArgumentNullException>("filter", () => Assert.Contains(new int[0].ToAsyncEnumerable(), (Predicate<int>)null!)); 545 Assert.Throws<ArgumentNullException>("filter", () => Assert.DoesNotContain(new int[0].ToAsyncEnumerable(), (Predicate<int>)null!));
CollectionAssertsTests.cs (2)
394 Assert.Throws<ArgumentNullException>("filter", () => Assert.Contains(new int[0], (Predicate<int>)null!)); 623 Assert.Throws<ArgumentNullException>("filter", () => Assert.DoesNotContain(new int[0], (Predicate<int>)null!));
Microsoft.Maui (4)
Core\Extensions\VisualTreeElementExtensions.cs (2)
309 static List<IVisualTreeElement> GetVisualTreeElementsInternal(IVisualTreeElement visualElement, Predicate<Rect> intersectElementBounds) 318 static void Impl(IVisualTreeElement visualElement, Predicate<Rect> intersectElementBounds, List<IVisualTreeElement> elements)
Extensions\EnumerableExtensions.cs (2)
152 var listPredicate = new Predicate<T>(predicate); 158 var arrayPredicate = new Predicate<T>(predicate);
Microsoft.ML.Tokenizers.Data.Tests (3)
src\Common\tests\RetryHelper.cs (3)
16private static readonly Predicate<Exception> _defaultRetryWhenFunc = p => true; 24public static void Execute(Action test, int maxAttempts = 5, Func<int, int>? backoffFunc = null, Predicate<Exception>? retryWhen = null, [CallerMemberName] string? testName = null) 74public static async Task ExecuteAsync(Func<Task> test, int maxAttempts = 5, Func<int, int>? backoffFunc = null, Predicate<Exception>? retryWhen = null, [CallerMemberName] string? testName = null)
Microsoft.ML.Tokenizers.Tests (3)
src\Common\tests\RetryHelper.cs (3)
16private static readonly Predicate<Exception> _defaultRetryWhenFunc = p => true; 24public static void Execute(Action test, int maxAttempts = 5, Func<int, int>? backoffFunc = null, Predicate<Exception>? retryWhen = null, [CallerMemberName] string? testName = null) 74public static async Task ExecuteAsync(Func<Task> test, int maxAttempts = 5, Func<int, int>? backoffFunc = null, Predicate<Exception>? retryWhen = null, [CallerMemberName] string? testName = null)
mscorlib (1)
src\libraries\shims\mscorlib\ref\mscorlib.cs (1)
388[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Predicate<>))]
netstandard (1)
netstandard.cs (1)
1352[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Predicate<>))]
PresentationFramework (20)
MS\Internal\Data\CollectionViewProxy.cs (1)
97public override Predicate<object> Filter
MS\Internal\Data\EnumerableCollectionView.cs (1)
107public override Predicate<object> Filter
MS\Internal\Data\IndexedEnumerable.cs (5)
49internal IndexedEnumerable(IEnumerable collection, Predicate<object> filterCallback) 356private Predicate<object> FilterCallback 701private Predicate<object> _filterCallback; 711public FilteredEnumerator(IndexedEnumerable indexedEnumerable, IEnumerable enumerable, Predicate<object> filterCallback) 765private Predicate<object> _filterCallback;
MS\Internal\Helper.cs (1)
1418Predicate<DependencyObject> predicate)
System\Windows\Controls\ItemCollection.cs (3)
628public override Predicate<object> Filter 2296private Predicate<object> MyFilter 2475public Predicate<object> _filter; // storage for Filter when _collectionView is not available
System\Windows\Data\CollectionView.cs (2)
209public virtual Predicate<object> Filter 2137private Predicate<object> _filter;
System\Windows\Data\CollectionViewSource.cs (4)
1003Predicate<object> filter; 1119private Predicate<object> FilterWrapper 1234public Predicate<object> FilterWrapper 1253private Predicate<object> _filterWrapper;
System\Windows\Data\ListCollectionView.cs (3)
426public override Predicate<object> Filter 2305protected Predicate<object> ActiveFilter 3315private Predicate<object> _activeFilter;
Roslyn.Diagnostics.Analyzers (79)
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (1)
825public static readonly Predicate<T> True = t => true;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (25)
222/// <inheritdoc cref="ImmutableList{T}.Exists(Predicate{T})"/> 223public bool Exists(Predicate<T> match) 226/// <inheritdoc cref="ImmutableList{T}.Find(Predicate{T})"/> 227public T? Find(Predicate<T> match) 230/// <inheritdoc cref="ImmutableList{T}.FindAll(Predicate{T})"/> 231public ImmutableSegmentedList<T> FindAll(Predicate<T> match) 234/// <inheritdoc cref="ImmutableList{T}.FindIndex(Predicate{T})"/> 235public int FindIndex(Predicate<T> match) 238/// <inheritdoc cref="ImmutableList{T}.FindIndex(int, Predicate{T})"/> 239public int FindIndex(int startIndex, Predicate<T> match) 242/// <inheritdoc cref="ImmutableList{T}.FindIndex(int, int, Predicate{T})"/> 243public int FindIndex(int startIndex, int count, Predicate<T> match) 246/// <inheritdoc cref="ImmutableList{T}.FindLast(Predicate{T})"/> 247public T? FindLast(Predicate<T> match) 250/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(Predicate{T})"/> 251public int FindLastIndex(Predicate<T> match) 254/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(int, Predicate{T})"/> 255public int FindLastIndex(int startIndex, Predicate<T> match) 269/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(int, int, Predicate{T})"/> 270public int FindLastIndex(int startIndex, int count, Predicate<T> match) 384/// <inheritdoc cref="ImmutableList{T}.RemoveAll(Predicate{T})"/> 385public ImmutableSegmentedList<T> RemoveAll(Predicate<T> match) 599/// <inheritdoc cref="ImmutableList{T}.TrueForAll(Predicate{T})"/> 600public bool TrueForAll(Predicate<T> match) 621IImmutableList<T> IImmutableList<T>.RemoveAll(Predicate<T> match)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (24)
94/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Exists(Predicate{T})"/> 95public bool Exists(Predicate<T> match) 98/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Find(Predicate{T})"/> 99public T? Find(Predicate<T> match) 102/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindAll(Predicate{T})"/> 103public ImmutableSegmentedList<T> FindAll(Predicate<T> match) 106/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(Predicate{T})"/> 107public int FindIndex(Predicate<T> match) 110/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(int, Predicate{T})"/> 111public int FindIndex(int startIndex, Predicate<T> match) 114/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(int, int, Predicate{T})"/> 115public int FindIndex(int startIndex, int count, Predicate<T> match) 118/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLast(Predicate{T})"/> 119public T? FindLast(Predicate<T> match) 122/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(Predicate{T})"/> 123public int FindLastIndex(Predicate<T> match) 126/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(int, Predicate{T})"/> 127public int FindLastIndex(int startIndex, Predicate<T> match) 130/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(int, int, Predicate{T})"/> 131public int FindLastIndex(int startIndex, int count, Predicate<T> match) 187/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.RemoveAll(Predicate{T})"/> 188public int RemoveAll(Predicate<T> match) 222/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.TrueForAll(Predicate{T})"/> 223public bool TrueForAll(Predicate<T> match)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (12)
137public readonly bool Exists(Predicate<T> match) 140public readonly T? Find(Predicate<T> match) 143public readonly ImmutableSegmentedList<T> FindAll(Predicate<T> match) 146public readonly int FindIndex(Predicate<T> match) 149public readonly int FindIndex(int startIndex, Predicate<T> match) 152public readonly int FindIndex(int startIndex, int count, Predicate<T> match) 155public readonly T? FindLast(Predicate<T> match) 158public readonly int FindLastIndex(Predicate<T> match) 161public readonly int FindLastIndex(int startIndex, Predicate<T> match) 173public readonly int FindLastIndex(int startIndex, int count, Predicate<T> match) 273public int RemoveAll(Predicate<T> match) 332public readonly bool TrueForAll(Predicate<T> match)
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
834public int RemoveWhere(Predicate<T> match)
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (12)
573public bool Exists(Predicate<T> match) 576public T? Find(Predicate<T> match) 593public SegmentedList<T> FindAll(Predicate<T> match) 611public int FindIndex(Predicate<T> match) 614public int FindIndex(int startIndex, Predicate<T> match) 617public int FindIndex(int startIndex, int count, Predicate<T> match) 643public T? FindLast(Predicate<T> match) 660public int FindLastIndex(Predicate<T> match) 663public int FindLastIndex(int startIndex, Predicate<T> match) 666public int FindLastIndex(int startIndex, int count, Predicate<T> match) 1086public int RemoveAll(Predicate<T> match) 1302public bool TrueForAll(Predicate<T> match)
src\Dependencies\PooledObjects\ArrayBuilder.cs (4)
214public int FindIndex(Predicate<T> match) 217public int FindIndex(int startIndex, Predicate<T> match) 220public int FindIndex(int startIndex, int count, Predicate<T> match) 274public void RemoveAll(Predicate<T> match)
System.Collections (1)
System\Collections\Generic\SortedSet.cs (1)
1428public int RemoveWhere(Predicate<T> match)
System.Collections.Immutable (68)
System\Collections\Immutable\IImmutableList.cs (2)
121/// The <see cref="Predicate{T}"/> delegate that defines the conditions of the elements 127IImmutableList<T> RemoveAll(Predicate<T> match);
System\Collections\Immutable\ImmutableArray_1.Builder.cs (2)
538/// The <see cref="Predicate{T}"/> delegate that defines the conditions of the elements 541public void RemoveAll(Predicate<T> match)
System\Collections\Immutable\ImmutableArray_1.cs (3)
742/// The <see cref="Predicate{T}"/> delegate that defines the conditions of the elements 748public ImmutableArray<T> RemoveAll(Predicate<T> match) 1131IImmutableList<T> IImmutableList<T>.RemoveAll(Predicate<T> match)
System\Collections\Immutable\ImmutableList_1.Builder.cs (12)
362public bool Exists(Predicate<T> match) => _root.Exists(match); 376public T? Find(Predicate<T> match) => _root.Find(match); 391public ImmutableList<T> FindAll(Predicate<T> match) => _root.FindAll(match); 406public int FindIndex(Predicate<T> match) => _root.FindIndex(match); 420public int FindIndex(int startIndex, Predicate<T> match) => _root.FindIndex(startIndex, match); 435public int FindIndex(int startIndex, int count, Predicate<T> match) => _root.FindIndex(startIndex, count, match); 449public T? FindLast(Predicate<T> match) => _root.FindLast(match); 464public int FindLastIndex(Predicate<T> match) => _root.FindLastIndex(match); 479public int FindLastIndex(int startIndex, Predicate<T> match) => _root.FindLastIndex(startIndex, match); 497public int FindLastIndex(int startIndex, int count, Predicate<T> match) => _root.FindLastIndex(startIndex, count, match); 677public bool TrueForAll(Predicate<T> match) => _root.TrueForAll(match); 729public int RemoveAll(Predicate<T> match)
System\Collections\Immutable\ImmutableList_1.cs (25)
373/// The <see cref="Predicate{T}"/> delegate that defines the conditions of the elements 379public ImmutableList<T> RemoveAll(Predicate<T> match) 588/// The <see cref="Predicate{T}"/> delegate that defines the conditions of the elements 596public bool Exists(Predicate<T> match) => _root.Exists(match); 603/// The <see cref="Predicate{T}"/> delegate that defines the conditions of the element 610public T? Find(Predicate<T> match) => _root.Find(match); 617/// The <see cref="Predicate{T}"/> delegate that defines the conditions of the elements 625public ImmutableList<T> FindAll(Predicate<T> match) => _root.FindAll(match); 633/// The <see cref="Predicate{T}"/> delegate that defines the conditions of the element 640public int FindIndex(Predicate<T> match) => _root.FindIndex(match); 649/// <param name="match">The <see cref="Predicate{T}"/> delegate that defines the conditions of the element to search for.</param> 654public int FindIndex(int startIndex, Predicate<T> match) => _root.FindIndex(startIndex, match); 664/// <param name="match">The <see cref="Predicate{T}"/> delegate that defines the conditions of the element to search for.</param> 669public int FindIndex(int startIndex, int count, Predicate<T> match) => _root.FindIndex(startIndex, count, match); 676/// The <see cref="Predicate{T}"/> delegate that defines the conditions of the element 683public T? FindLast(Predicate<T> match) => _root.FindLast(match); 691/// The <see cref="Predicate{T}"/> delegate that defines the conditions of the element 698public int FindLastIndex(Predicate<T> match) => _root.FindLastIndex(match); 707/// <param name="match">The <see cref="Predicate{T}"/> delegate that defines the conditions of the element 713public int FindLastIndex(int startIndex, Predicate<T> match) => _root.FindLastIndex(startIndex, match); 724/// The <see cref="Predicate{T}"/> delegate that defines the conditions of the element 731public int FindLastIndex(int startIndex, int count, Predicate<T> match) => _root.FindLastIndex(startIndex, count, match); 786/// The <see cref="Predicate{T}"/> delegate that defines the conditions to check against 794public bool TrueForAll(Predicate<T> match) => _root.TrueForAll(match); 847IImmutableList<T> IImmutableList<T>.RemoveAll(Predicate<T> match) => this.RemoveAll(match);
System\Collections\Immutable\ImmutableList_1.Node.cs (24)
454/// The <see cref="Predicate{T}"/> delegate that defines the conditions of the elements 460internal Node RemoveAll(Predicate<T> match) 952/// The <see cref="Predicate{T}"/> delegate that defines the conditions to check against 960internal bool TrueForAll(Predicate<T> match) 980/// The <see cref="Predicate{T}"/> delegate that defines the conditions of the elements 988internal bool Exists(Predicate<T> match) 1008/// The <see cref="Predicate{T}"/> delegate that defines the conditions of the element 1015internal T? Find(Predicate<T> match) 1035/// The <see cref="Predicate{T}"/> delegate that defines the conditions of the elements 1043internal ImmutableList<T> FindAll(Predicate<T> match) 1074/// The <see cref="Predicate{T}"/> delegate that defines the conditions of the element 1081internal int FindIndex(Predicate<T> match) 1095/// <param name="match">The <see cref="Predicate{T}"/> delegate that defines the conditions of the element to search for.</param> 1100internal int FindIndex(int startIndex, Predicate<T> match) 1116/// <param name="match">The <see cref="Predicate{T}"/> delegate that defines the conditions of the element to search for.</param> 1121internal int FindIndex(int startIndex, int count, Predicate<T> match) 1150/// The <see cref="Predicate{T}"/> delegate that defines the conditions of the element 1157internal T? FindLast(Predicate<T> match) 1181/// The <see cref="Predicate{T}"/> delegate that defines the conditions of the element 1188internal int FindLastIndex(Predicate<T> match) 1202/// <param name="match">The <see cref="Predicate{T}"/> delegate that defines the conditions of the element 1208internal int FindLastIndex(int startIndex, Predicate<T> match) 1226/// The <see cref="Predicate{T}"/> delegate that defines the conditions of the element 1233internal int FindLastIndex(int startIndex, int count, Predicate<T> match)
System.ComponentModel.Composition.Registration (24)
System\ComponentModel\Composition\Registration\PartBuilder.cs (21)
28private readonly List<Tuple<Predicate<PropertyInfo>, Action<PropertyInfo, ExportBuilder>, Type>> _propertyExports; 29private readonly List<Tuple<Predicate<PropertyInfo>, Action<PropertyInfo, ImportBuilder>, Type>> _propertyImports; 30private readonly List<Tuple<Predicate<Type>, Action<Type, ExportBuilder>>> _interfaceExports; 32internal Predicate<Type> SelectType { get; } 34internal PartBuilder(Predicate<Type> selectType) 40_propertyExports = new List<Tuple<Predicate<PropertyInfo>, Action<PropertyInfo, ExportBuilder>, Type>>(); 41_propertyImports = new List<Tuple<Predicate<PropertyInfo>, Action<PropertyInfo, ImportBuilder>, Type>>(); 42_interfaceExports = new List<Tuple<Predicate<Type>, Action<Type, ExportBuilder>>>(); 89public PartBuilder ExportInterfaces(Predicate<Type> interfaceFilter) 99public PartBuilder ExportInterfaces(Predicate<Type> interfaceFilter, 110public PartBuilder ExportProperties(Predicate<PropertyInfo> propertyFilter) 117public PartBuilder ExportProperties(Predicate<PropertyInfo> propertyFilter, 128public PartBuilder ExportProperties<T>(Predicate<PropertyInfo> propertyFilter) 135public PartBuilder ExportProperties<T>(Predicate<PropertyInfo> propertyFilter, 146public PartBuilder ImportProperties(Predicate<PropertyInfo> propertyFilter) 153public PartBuilder ImportProperties(Predicate<PropertyInfo> propertyFilter, 163public PartBuilder ImportProperties<T>(Predicate<PropertyInfo> propertyFilter) 170public PartBuilder ImportProperties<T>(Predicate<PropertyInfo> propertyFilter, 316foreach (Tuple<Predicate<Type>, Action<Type, ExportBuilder>> exportSpecification in _interfaceExports) 430foreach (Tuple<Predicate<PropertyInfo>, Action<PropertyInfo, ImportBuilder>, Type> importSpecification in _propertyImports) 470foreach (Tuple<Predicate<PropertyInfo>, Action<PropertyInfo, ExportBuilder>, Type> exportSpecification in _propertyExports)
System\ComponentModel\Composition\Registration\PartBuilderOfT.cs (1)
144internal PartBuilder(Predicate<Type> selectType) : base(selectType)
System\ComponentModel\Composition\Registration\RegistrationBuilder.cs (2)
69public PartBuilder<T> ForTypesMatching<T>(Predicate<Type> typeFilter) 79public PartBuilder ForTypesMatching(Predicate<Type> typeFilter)
System.Composition.Convention (34)
System\Composition\Convention\ConventionBuilder.cs (2)
90public PartConventionBuilder<T> ForTypesMatching<T>(Predicate<Type> typeFilter) 105public PartConventionBuilder ForTypesMatching(Predicate<Type> typeFilter)
System\Composition\Convention\PartConventionBuilder.cs (31)
33private readonly List<Tuple<Predicate<PropertyInfo>, Action<PropertyInfo, ExportConventionBuilder>, Type>> _propertyExports; 34private readonly List<Tuple<Predicate<PropertyInfo>, Action<PropertyInfo, ImportConventionBuilder>>> _propertyImports; 35private readonly List<Tuple<Predicate<Type>, Action<Type, ExportConventionBuilder>>> _interfaceExports; 36private readonly List<Predicate<MethodInfo>> _methodImportsSatisfiedNotifications; 38internal Predicate<Type> SelectType { get; } 40internal PartConventionBuilder(Predicate<Type> selectType) 44_propertyExports = new List<Tuple<Predicate<PropertyInfo>, Action<PropertyInfo, ExportConventionBuilder>, Type>>(); 45_propertyImports = new List<Tuple<Predicate<PropertyInfo>, Action<PropertyInfo, ImportConventionBuilder>>>(); 46_interfaceExports = new List<Tuple<Predicate<Type>, Action<Type, ExportConventionBuilder>>>(); 47_methodImportsSatisfiedNotifications = new List<Predicate<MethodInfo>>(); 136public PartConventionBuilder ExportInterfaces(Predicate<Type> interfaceFilter) 158public PartConventionBuilder ExportInterfaces(Predicate<Type> interfaceFilter, 167private PartConventionBuilder ExportInterfacesImpl(Predicate<Type> interfaceFilter, 179public PartConventionBuilder ExportProperties(Predicate<PropertyInfo> propertyFilter) 192public PartConventionBuilder ExportProperties(Predicate<PropertyInfo> propertyFilter, 201private PartConventionBuilder ExportPropertiesImpl(Predicate<PropertyInfo> propertyFilter, 214public PartConventionBuilder ExportProperties<T>(Predicate<PropertyInfo> propertyFilter) 228public PartConventionBuilder ExportProperties<T>(Predicate<PropertyInfo> propertyFilter, 237private PartConventionBuilder ExportPropertiesImpl<T>(Predicate<PropertyInfo> propertyFilter, 249public PartConventionBuilder ImportProperties(Predicate<PropertyInfo> propertyFilter) 262public PartConventionBuilder ImportProperties(Predicate<PropertyInfo> propertyFilter, 271private PartConventionBuilder ImportPropertiesImpl(Predicate<PropertyInfo> propertyFilter, 284public PartConventionBuilder ImportProperties<T>(Predicate<PropertyInfo> propertyFilter) 298public PartConventionBuilder ImportProperties<T>(Predicate<PropertyInfo> propertyFilter, 307private PartConventionBuilder ImportPropertiesImpl<T>(Predicate<PropertyInfo> propertyFilter, 310Predicate<PropertyInfo> typedFilter = pi => pi.PropertyType.Equals(typeof(T)) && (propertyFilter == null || propertyFilter(pi)); 319public PartConventionBuilder NotifyImportsSatisfied(Predicate<MethodInfo> methodFilter) 512foreach (Tuple<Predicate<Type>, Action<Type, ExportConventionBuilder>> exportSpecification in _interfaceExports) 624foreach (Predicate<MethodInfo> notification in _methodImportsSatisfiedNotifications) 676foreach (Tuple<Predicate<PropertyInfo>, Action<PropertyInfo, ImportConventionBuilder>> importSpecification in _propertyImports) 713foreach (Tuple<Predicate<PropertyInfo>, Action<PropertyInfo, ExportConventionBuilder>, Type> exportSpecification in _propertyExports)
System\Composition\Convention\PartConventionBuilderOfT.cs (1)
200internal PartConventionBuilder(Predicate<Type> selectType) : base(selectType)
System.Data.Common (6)
System\Data\DataView.cs (5)
39/// IFilter will allow LinqDataView to wrap <see cref='System.Predicate&lt;DataRow&gt;'/> instead of using a DataExpression 163internal DataView(DataTable table, System.Predicate<DataRow>? predicate, System.Comparison<DataRow>? comparison, DataViewRowState RowState) 337internal Predicate<DataRow>? RowPredicate 355internal readonly Predicate<DataRow> _predicateFilter; 358internal RowPredicateFilter(Predicate<DataRow> predicate)
System\Data\LinqDataView.cs (1)
57Predicate<DataRow>? predicate_system,
System.Diagnostics.DiagnosticSource (8)
System\Diagnostics\DiagnosticListener.cs (4)
64public virtual IDisposable Subscribe(IObserver<KeyValuePair<string, object?>> observer, Predicate<string>? isEnabled) 73Predicate<string> localIsEnabled = isEnabled; 278internal Predicate<string>? IsEnabled1Arg; 430Predicate<string>? isEnabled1Arg, Func<string, object?, object?, bool>? isEnabled3Arg,
System\Diagnostics\DsesFilterAndTransform.cs (1)
526Predicate<string>? eventNameFilterPredicate = null;
System\Diagnostics\Metrics\AggregationManager.cs (3)
22private readonly List<Predicate<Instrument>> _instrumentConfigFuncs = new(); 116private void Include(Predicate<Instrument> instrumentFilter) 344foreach (Predicate<Instrument> filter in _instrumentConfigFuncs)
System.Private.CoreLib (30)
src\libraries\Common\src\System\Collections\Concurrent\SingleProducerSingleConsumerQueue.cs (2)
220public bool TryDequeueIf(Predicate<T>? predicate, [MaybeNullWhen(false)] out T result) 251private bool TryDequeueIfSlow(Predicate<T>? predicate, Segment segment, T[] array, [MaybeNullWhen(false)] out T result)
src\libraries\System.Private.CoreLib\src\System\Array.cs (11)
1461public static bool Exists<T>(T[] array, Predicate<T> match) 1517public static T? Find<T>(T[] array, Predicate<T> match) 1539public static T[] FindAll<T>(T[] array, Predicate<T> match) 1562public static int FindIndex<T>(T[] array, Predicate<T> match) 1572public static int FindIndex<T>(T[] array, int startIndex, Predicate<T> match) 1582public static int FindIndex<T>(T[] array, int startIndex, int count, Predicate<T> match) 1613public static T? FindLast<T>(T[] array, Predicate<T> match) 1635public static int FindLastIndex<T>(T[] array, Predicate<T> match) 1645public static int FindLastIndex<T>(T[] array, int startIndex, Predicate<T> match) 1655public static int FindLastIndex<T>(T[] array, int startIndex, int count, Predicate<T> match) 2593public static bool TrueForAll<T>(T[] array, Predicate<T> match)
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\HashSet.cs (1)
1208public int RemoveWhere(Predicate<T> match)
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\List.cs (12)
505public bool Exists(Predicate<T> match) 508public T? Find(Predicate<T> match) 525public List<T> FindAll(Predicate<T> match) 543public int FindIndex(Predicate<T> match) 546public int FindIndex(int startIndex, Predicate<T> match) 549public int FindIndex(int startIndex, int count, Predicate<T> match) 574public T? FindLast(Predicate<T> match) 591public int FindLastIndex(Predicate<T> match) 594public int FindLastIndex(int startIndex, Predicate<T> match) 597public int FindLastIndex(int startIndex, int count, Predicate<T> match) 962public int RemoveAll(Predicate<T> match) 1168public bool TrueForAll(Predicate<T> match)
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Contracts\Contracts.cs (4)
516public static bool ForAll(int fromInclusive, int toExclusive, Predicate<int> predicate) 538public static bool ForAll<T>(IEnumerable<T> collection, Predicate<T> predicate) 563public static bool Exists(int fromInclusive, int toExclusive, Predicate<int> predicate) 584public static bool Exists<T>(IEnumerable<T> collection, Predicate<T> predicate)
System.Runtime (1)
artifacts\obj\System.Runtime\Debug\net10.0\System.Runtime.Forwards.cs (1)
415[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Predicate<>))]
System.Security.Claims (11)
System\Security\Claims\ClaimsIdentity.cs (4)
601public virtual IEnumerable<Claim> FindAll(Predicate<Claim> match) 606IEnumerable<Claim> Core(Predicate<Claim> match) 650public virtual Claim? FindFirst(Predicate<Claim> match) 695public virtual bool HasClaim(Predicate<Claim> match)
System\Security\Claims\ClaimsPrincipal.cs (7)
281public virtual IEnumerable<Claim> FindAll(Predicate<Claim> match) 286IEnumerable<Claim> Core(Predicate<Claim> match) 306/// <remarks>Each <see cref="ClaimsIdentity"/> is called. <seealso cref="ClaimsIdentity.FindAll(Predicate{Claim})"/>.</remarks> 335public virtual Claim? FindFirst(Predicate<Claim> match) 361/// <remarks>Each <see cref="ClaimsIdentity"/> is called. <seealso cref="ClaimsIdentity.FindFirst(Predicate{Claim})"/>.</remarks> 391public virtual bool HasClaim(Predicate<Claim> match) 415/// <remarks>Each <see cref="ClaimsIdentity"/> is called. <seealso cref="ClaimsIdentity.HasClaim(Predicate{Claim})"/>.</remarks>
System.Security.Cryptography (2)
System\Security\Cryptography\X509Certificates\CertificateExtensionsCommon.cs (2)
12Predicate<X509Certificate2>? matchesConstraints = null) 48Predicate<X509Certificate2>? matchesConstraints = null)
System.Threading.Channels (2)
src\libraries\Common\src\System\Collections\Concurrent\SingleProducerSingleConsumerQueue.cs (2)
220public bool TryDequeueIf(Predicate<T>? predicate, [MaybeNullWhen(false)] out T result) 251private bool TryDequeueIfSlow(Predicate<T>? predicate, Segment segment, T[] array, [MaybeNullWhen(false)] out T result)
System.Threading.Tasks.Dataflow (20)
Base\DataflowBlock.cs (5)
56Predicate<TOutput> predicate) 76Predicate<TOutput> predicate) 100private readonly Predicate<T> _userProvidedPredicate; 106internal FilteredLinkPropagator(ISourceBlock<T> source, ITargetBlock<T> target, Predicate<T> predicate) 1562public bool TryReceive(Predicate<TOutput>? filter, [MaybeNullWhen(false)] out TOutput item)
Base\IReceivableSourceBlock.cs (1)
25bool TryReceive(Predicate<TOutput>? filter, [MaybeNullWhen(false)] out TOutput item);
Blocks\BatchBlock.cs (1)
127public bool TryReceive(Predicate<T[]>? filter, [NotNullWhen(true)] out T[]? item)
Blocks\BatchedJoinBlock.cs (2)
132public bool TryReceive(Predicate<Tuple<IList<T1>, IList<T2>>>? filter, [NotNullWhen(true)] out Tuple<IList<T1>, IList<T2>>? item) 384public bool TryReceive(Predicate<Tuple<IList<T1>, IList<T2>, IList<T3>>>? filter, [NotNullWhen(true)] out Tuple<IList<T1>, IList<T2>, IList<T3>>? item)
Blocks\BroadcastBlock.cs (2)
151public bool TryReceive(Predicate<T>? filter, [MaybeNullWhen(false)] out T item) { return _source.TryReceive(filter, out item); } 561internal bool TryReceive(Predicate<TOutput>? filter, [MaybeNullWhen(false)] out TOutput item)
Blocks\BufferBlock.cs (1)
186public bool TryReceive(Predicate<T>? filter, [MaybeNullWhen(false)] out T item) { return _source.TryReceive(filter, out item); }
Blocks\JoinBlock.cs (2)
116public bool TryReceive(Predicate<Tuple<T1, T2>>? filter, [NotNullWhen(true)] out Tuple<T1, T2>? item) 335public bool TryReceive(Predicate<Tuple<T1, T2, T3>>? filter, [NotNullWhen(true)] out Tuple<T1, T2, T3>? item)
Blocks\TransformBlock.cs (1)
347public bool TryReceive(Predicate<TOutput>? filter, [MaybeNullWhen(false)] out TOutput item)
Blocks\TransformManyBlock.cs (1)
559public bool TryReceive(Predicate<TOutput>? filter, [MaybeNullWhen(false)] out TOutput item) { return _source.TryReceive(filter, out item); }
Blocks\WriteOnceBlock.cs (1)
256public bool TryReceive(Predicate<T>? filter, [MaybeNullWhen(false)] out T item)
Internal\SourceCore.cs (1)
275internal bool TryReceive(Predicate<TOutput>? filter, [MaybeNullWhen(false)] out TOutput item)
src\libraries\Common\src\System\Collections\Concurrent\SingleProducerSingleConsumerQueue.cs (2)
220public bool TryDequeueIf(Predicate<T>? predicate, [MaybeNullWhen(false)] out T result) 251private bool TryDequeueIfSlow(Predicate<T>? predicate, Segment segment, T[] array, [MaybeNullWhen(false)] out T result)
System.Windows.Controls.Ribbon (4)
Microsoft\Windows\Controls\Generated\TreeHelper.cs (3)
95Predicate<DependencyObject> predicate) 134Predicate<DependencyObject> predicate) 228Predicate<DependencyObject> predicate)
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (1)
1150Predicate<DependencyObject> cancelPredicate,
System.Windows.Forms.Tests (1)
System\Windows\Forms\NativeWindowTests.cs (1)
542public Predicate<int> MessageTypePredicate { get; set; }
Test.Utilities (79)
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (1)
825public static readonly Predicate<T> True = t => true;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (25)
222/// <inheritdoc cref="ImmutableList{T}.Exists(Predicate{T})"/> 223public bool Exists(Predicate<T> match) 226/// <inheritdoc cref="ImmutableList{T}.Find(Predicate{T})"/> 227public T? Find(Predicate<T> match) 230/// <inheritdoc cref="ImmutableList{T}.FindAll(Predicate{T})"/> 231public ImmutableSegmentedList<T> FindAll(Predicate<T> match) 234/// <inheritdoc cref="ImmutableList{T}.FindIndex(Predicate{T})"/> 235public int FindIndex(Predicate<T> match) 238/// <inheritdoc cref="ImmutableList{T}.FindIndex(int, Predicate{T})"/> 239public int FindIndex(int startIndex, Predicate<T> match) 242/// <inheritdoc cref="ImmutableList{T}.FindIndex(int, int, Predicate{T})"/> 243public int FindIndex(int startIndex, int count, Predicate<T> match) 246/// <inheritdoc cref="ImmutableList{T}.FindLast(Predicate{T})"/> 247public T? FindLast(Predicate<T> match) 250/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(Predicate{T})"/> 251public int FindLastIndex(Predicate<T> match) 254/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(int, Predicate{T})"/> 255public int FindLastIndex(int startIndex, Predicate<T> match) 269/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(int, int, Predicate{T})"/> 270public int FindLastIndex(int startIndex, int count, Predicate<T> match) 384/// <inheritdoc cref="ImmutableList{T}.RemoveAll(Predicate{T})"/> 385public ImmutableSegmentedList<T> RemoveAll(Predicate<T> match) 599/// <inheritdoc cref="ImmutableList{T}.TrueForAll(Predicate{T})"/> 600public bool TrueForAll(Predicate<T> match) 621IImmutableList<T> IImmutableList<T>.RemoveAll(Predicate<T> match)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (24)
94/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Exists(Predicate{T})"/> 95public bool Exists(Predicate<T> match) 98/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Find(Predicate{T})"/> 99public T? Find(Predicate<T> match) 102/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindAll(Predicate{T})"/> 103public ImmutableSegmentedList<T> FindAll(Predicate<T> match) 106/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(Predicate{T})"/> 107public int FindIndex(Predicate<T> match) 110/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(int, Predicate{T})"/> 111public int FindIndex(int startIndex, Predicate<T> match) 114/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(int, int, Predicate{T})"/> 115public int FindIndex(int startIndex, int count, Predicate<T> match) 118/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLast(Predicate{T})"/> 119public T? FindLast(Predicate<T> match) 122/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(Predicate{T})"/> 123public int FindLastIndex(Predicate<T> match) 126/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(int, Predicate{T})"/> 127public int FindLastIndex(int startIndex, Predicate<T> match) 130/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(int, int, Predicate{T})"/> 131public int FindLastIndex(int startIndex, int count, Predicate<T> match) 187/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.RemoveAll(Predicate{T})"/> 188public int RemoveAll(Predicate<T> match) 222/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.TrueForAll(Predicate{T})"/> 223public bool TrueForAll(Predicate<T> match)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (12)
137public readonly bool Exists(Predicate<T> match) 140public readonly T? Find(Predicate<T> match) 143public readonly ImmutableSegmentedList<T> FindAll(Predicate<T> match) 146public readonly int FindIndex(Predicate<T> match) 149public readonly int FindIndex(int startIndex, Predicate<T> match) 152public readonly int FindIndex(int startIndex, int count, Predicate<T> match) 155public readonly T? FindLast(Predicate<T> match) 158public readonly int FindLastIndex(Predicate<T> match) 161public readonly int FindLastIndex(int startIndex, Predicate<T> match) 173public readonly int FindLastIndex(int startIndex, int count, Predicate<T> match) 273public int RemoveAll(Predicate<T> match) 332public readonly bool TrueForAll(Predicate<T> match)
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
834public int RemoveWhere(Predicate<T> match)
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (12)
573public bool Exists(Predicate<T> match) 576public T? Find(Predicate<T> match) 593public SegmentedList<T> FindAll(Predicate<T> match) 611public int FindIndex(Predicate<T> match) 614public int FindIndex(int startIndex, Predicate<T> match) 617public int FindIndex(int startIndex, int count, Predicate<T> match) 643public T? FindLast(Predicate<T> match) 660public int FindLastIndex(Predicate<T> match) 663public int FindLastIndex(int startIndex, Predicate<T> match) 666public int FindLastIndex(int startIndex, int count, Predicate<T> match) 1086public int RemoveAll(Predicate<T> match) 1302public bool TrueForAll(Predicate<T> match)
src\Dependencies\PooledObjects\ArrayBuilder.cs (4)
214public int FindIndex(Predicate<T> match) 217public int FindIndex(int startIndex, Predicate<T> match) 220public int FindIndex(int startIndex, int count, Predicate<T> match) 274public void RemoveAll(Predicate<T> match)
Text.Analyzers (79)
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (1)
825public static readonly Predicate<T> True = t => true;
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (25)
222/// <inheritdoc cref="ImmutableList{T}.Exists(Predicate{T})"/> 223public bool Exists(Predicate<T> match) 226/// <inheritdoc cref="ImmutableList{T}.Find(Predicate{T})"/> 227public T? Find(Predicate<T> match) 230/// <inheritdoc cref="ImmutableList{T}.FindAll(Predicate{T})"/> 231public ImmutableSegmentedList<T> FindAll(Predicate<T> match) 234/// <inheritdoc cref="ImmutableList{T}.FindIndex(Predicate{T})"/> 235public int FindIndex(Predicate<T> match) 238/// <inheritdoc cref="ImmutableList{T}.FindIndex(int, Predicate{T})"/> 239public int FindIndex(int startIndex, Predicate<T> match) 242/// <inheritdoc cref="ImmutableList{T}.FindIndex(int, int, Predicate{T})"/> 243public int FindIndex(int startIndex, int count, Predicate<T> match) 246/// <inheritdoc cref="ImmutableList{T}.FindLast(Predicate{T})"/> 247public T? FindLast(Predicate<T> match) 250/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(Predicate{T})"/> 251public int FindLastIndex(Predicate<T> match) 254/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(int, Predicate{T})"/> 255public int FindLastIndex(int startIndex, Predicate<T> match) 269/// <inheritdoc cref="ImmutableList{T}.FindLastIndex(int, int, Predicate{T})"/> 270public int FindLastIndex(int startIndex, int count, Predicate<T> match) 384/// <inheritdoc cref="ImmutableList{T}.RemoveAll(Predicate{T})"/> 385public ImmutableSegmentedList<T> RemoveAll(Predicate<T> match) 599/// <inheritdoc cref="ImmutableList{T}.TrueForAll(Predicate{T})"/> 600public bool TrueForAll(Predicate<T> match) 621IImmutableList<T> IImmutableList<T>.RemoveAll(Predicate<T> match)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (24)
94/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Exists(Predicate{T})"/> 95public bool Exists(Predicate<T> match) 98/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.Find(Predicate{T})"/> 99public T? Find(Predicate<T> match) 102/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindAll(Predicate{T})"/> 103public ImmutableSegmentedList<T> FindAll(Predicate<T> match) 106/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(Predicate{T})"/> 107public int FindIndex(Predicate<T> match) 110/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(int, Predicate{T})"/> 111public int FindIndex(int startIndex, Predicate<T> match) 114/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindIndex(int, int, Predicate{T})"/> 115public int FindIndex(int startIndex, int count, Predicate<T> match) 118/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLast(Predicate{T})"/> 119public T? FindLast(Predicate<T> match) 122/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(Predicate{T})"/> 123public int FindLastIndex(Predicate<T> match) 126/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(int, Predicate{T})"/> 127public int FindLastIndex(int startIndex, Predicate<T> match) 130/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.FindLastIndex(int, int, Predicate{T})"/> 131public int FindLastIndex(int startIndex, int count, Predicate<T> match) 187/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.RemoveAll(Predicate{T})"/> 188public int RemoveAll(Predicate<T> match) 222/// <inheritdoc cref="System.Collections.Immutable.ImmutableList{T}.Builder.TrueForAll(Predicate{T})"/> 223public bool TrueForAll(Predicate<T> match)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (12)
137public readonly bool Exists(Predicate<T> match) 140public readonly T? Find(Predicate<T> match) 143public readonly ImmutableSegmentedList<T> FindAll(Predicate<T> match) 146public readonly int FindIndex(Predicate<T> match) 149public readonly int FindIndex(int startIndex, Predicate<T> match) 152public readonly int FindIndex(int startIndex, int count, Predicate<T> match) 155public readonly T? FindLast(Predicate<T> match) 158public readonly int FindLastIndex(Predicate<T> match) 161public readonly int FindLastIndex(int startIndex, Predicate<T> match) 173public readonly int FindLastIndex(int startIndex, int count, Predicate<T> match) 273public int RemoveAll(Predicate<T> match) 332public readonly bool TrueForAll(Predicate<T> match)
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
834public int RemoveWhere(Predicate<T> match)
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (12)
573public bool Exists(Predicate<T> match) 576public T? Find(Predicate<T> match) 593public SegmentedList<T> FindAll(Predicate<T> match) 611public int FindIndex(Predicate<T> match) 614public int FindIndex(int startIndex, Predicate<T> match) 617public int FindIndex(int startIndex, int count, Predicate<T> match) 643public T? FindLast(Predicate<T> match) 660public int FindLastIndex(Predicate<T> match) 663public int FindLastIndex(int startIndex, Predicate<T> match) 666public int FindLastIndex(int startIndex, int count, Predicate<T> match) 1086public int RemoveAll(Predicate<T> match) 1302public bool TrueForAll(Predicate<T> match)
src\Dependencies\PooledObjects\ArrayBuilder.cs (4)
214public int FindIndex(Predicate<T> match) 217public int FindIndex(int startIndex, Predicate<T> match) 220public int FindIndex(int startIndex, int count, Predicate<T> match) 274public void RemoveAll(Predicate<T> match)
WindowsBase.Tests (2)
System\ComponentModel\CurrentChangedEventManagerTests.cs (1)
578public Predicate<object> Filter
System\ComponentModel\CurrentChangingEventManagerTests.cs (1)
560public Predicate<object> Filter
xunit.assert (7)
AsyncCollectionAsserts.cs (3)
140 Predicate<T> filter) => 199 Predicate<T> filter) => 466 Predicate<T> predicate) =>
CollectionAsserts.cs (4)
294 Predicate<T> filter) 425 Predicate<T> filter) 685 Predicate<T> predicate) 696 Predicate<T>? predicate,
xunit.console (2)
CommandLine.cs (2)
16protected CommandLine(string[] args, Predicate<string> fileExists = null) 207protected XunitProject Parse(Predicate<string> fileExists)