1992 references to Predicate
Aspire.Hosting.MySql.Tests (1)
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\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)
illink (1)
InMemory.FunctionalTests (1)
Metrics (79)
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)
Metrics.Legacy (79)
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)
Microsoft.CodeAnalysis (81)
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)
Microsoft.CodeAnalysis.Analyzers (79)
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)
Microsoft.CodeAnalysis.AnalyzerUtilities (79)
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)
Microsoft.CodeAnalysis.BannedApiAnalyzers (79)
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)
Microsoft.CodeAnalysis.CodeStyle (79)
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)
Microsoft.CodeAnalysis.Collections.Package (79)
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)
Microsoft.CodeAnalysis.CSharp (37)
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,
Microsoft.CodeAnalysis.CSharp.Features (1)
Microsoft.CodeAnalysis.Debugging.Package (4)
Microsoft.CodeAnalysis.EditorFeatures (3)
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider (4)
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider.Utilities (4)
Microsoft.CodeAnalysis.Extensions.Package (79)
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)
Microsoft.CodeAnalysis.InteractiveHost (79)
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)
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (79)
Microsoft.CodeAnalysis.PooledObjects.Package (4)
Microsoft.CodeAnalysis.PublicApiAnalyzers (79)
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)
Microsoft.CodeAnalysis.ResxSourceGenerator (79)
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)
Microsoft.CodeAnalysis.Test.Utilities (1)
Microsoft.CodeAnalysis.Threading.Package (79)
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)
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)
Microsoft.CodeAnalysis.VisualBasic (8)
Microsoft.CodeAnalysis.Workspaces (80)
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)
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (79)
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)
Microsoft.DotNet.XUnitAssert.Tests (4)
Microsoft.Maui (4)
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)
netstandard (1)
PresentationFramework (20)
Roslyn.Diagnostics.Analyzers (79)
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)
System.Collections (1)
System.Collections.Immutable (68)
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.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.Composition.Convention (34)
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.Data.Common (6)
System.Diagnostics.DiagnosticSource (8)
System.Private.CoreLib (30)
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)
System.Runtime (1)
System.Security.Claims (11)
System.Security.Cryptography (2)
System.Threading.Channels (2)
System.Threading.Tasks.Dataflow (20)
System.Windows.Controls.Ribbon (4)
System.Windows.Forms.Tests (1)
Test.Utilities (79)
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)
Text.Analyzers (79)
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)
WindowsBase.Tests (2)
xunit.assert (7)
xunit.console (2)