3 types derived from ForEachAsyncState
Microsoft.CodeAnalysis.CodeStyle (3)
src\Dependencies\Threading\ParallelExtensions.NetFramework.cs (3)
579private sealed class SyncForEachAsyncState<TSource> : ForEachAsyncState<TSource>, IDisposable 605private sealed class AsyncForEachAsyncState<TSource> : ForEachAsyncState<TSource>, IAsyncDisposable 631private sealed class ForEachState<T> : ForEachAsyncState<T>, IDisposable
1 reference to ForEachAsyncState
Microsoft.CodeAnalysis.CodeStyle (1)
src\Dependencies\Threading\ParallelExtensions.NetFramework.cs (1)
437_registration = cancellationToken.Register(static o => ((ForEachAsyncState<TSource>)o!).Cancellation.Cancel(), this);