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