1 instantiation of AsynchronousOperationListener
Microsoft.CodeAnalysis.Workspaces (1)
Shared\TestHooks\AsynchronousOperationListenerProvider.cs (1)
77_createCallback = name => new AsynchronousOperationListener(name, DiagnosticTokensEnabled);
10 references to AsynchronousOperationListener
Microsoft.CodeAnalysis.Workspaces (10)
Shared\TestHooks\AsynchronousOperationListener+AsyncToken.cs (2)
16public AsyncToken(AsynchronousOperationListener listener) 23public AsynchronousOperationListener Listener { get; }
Shared\TestHooks\AsynchronousOperationListener+DiagnosticAsyncToken.cs (1)
17AsynchronousOperationListener listener,
Shared\TestHooks\AsynchronousOperationListenerProvider.cs (5)
43private readonly ConcurrentDictionary<string, AsynchronousOperationListener> _singletonListeners; 44private readonly Func<string, AsynchronousOperationListener> _createCallback; 47/// indicate whether <see cref="AsynchronousOperationListener.TrackActiveTokens"/> is enabled or not 76_singletonListeners = new ConcurrentDictionary<string, AsynchronousOperationListener>(concurrencyLevel: 2, capacity: 20); 197public List<AsynchronousOperationListener.DiagnosticAsyncToken> GetTokens()
Shared\TestHooks\IAsynchronousOperationWaiter.cs (1)
13ImmutableArray<AsynchronousOperationListener.DiagnosticAsyncToken> ActiveDiagnosticTokens { get; }
Shared\TestHooks\TaskExtensions.cs (1)
18if (asyncToken is AsynchronousOperationListener.DiagnosticAsyncToken diagnosticToken)