3 types derived from ForEachAsyncState
Microsoft.CodeAnalysis.Workspaces (3)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\RoslynParallel.NetFramework.cs (3)
582private sealed class SyncForEachAsyncState<TSource> : ForEachAsyncState<TSource>, IDisposable 608private sealed class AsyncForEachAsyncState<TSource> : ForEachAsyncState<TSource>, IAsyncDisposable 634private sealed class ForEachState<T> : ForEachAsyncState<T>, IDisposable
1 reference to ForEachAsyncState
Microsoft.CodeAnalysis.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\RoslynParallel.NetFramework.cs (1)
440_registration = cancellationToken.Register(static o => ((ForEachAsyncState<TSource>)o!).Cancellation.Cancel(), this);