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