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)
16
public AsyncToken(
AsynchronousOperationListener
listener)
23
public
AsynchronousOperationListener
Listener { get; }
Shared\TestHooks\AsynchronousOperationListener+DiagnosticAsyncToken.cs (1)
17
AsynchronousOperationListener
listener,
Shared\TestHooks\AsynchronousOperationListenerProvider.cs (5)
43
private readonly ConcurrentDictionary<string,
AsynchronousOperationListener
> _singletonListeners;
44
private 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);
197
public List<
AsynchronousOperationListener
.DiagnosticAsyncToken> GetTokens()
Shared\TestHooks\IAsynchronousOperationWaiter.cs (1)
13
ImmutableArray<
AsynchronousOperationListener
.DiagnosticAsyncToken> ActiveDiagnosticTokens { get; }
Shared\TestHooks\TaskExtensions.cs (1)
18
if (asyncToken is
AsynchronousOperationListener
.DiagnosticAsyncToken diagnosticToken)