2 implementations of BeginAsyncOperation
Microsoft.CodeAnalysis.Workspaces (2)
Shared\TestHooks\AsynchronousOperationListener.cs (1)
92
public IAsyncToken
BeginAsyncOperation
(string name, object? tag = null, [CallerFilePath] string filePath = "", [CallerLineNumber] int lineNumber = 0)
Shared\TestHooks\AsynchronousOperationListenerProvider+NullOperationListener.cs (1)
17
public IAsyncToken
BeginAsyncOperation
(
7 references to BeginAsyncOperation
Microsoft.CodeAnalysis.Workspaces (7)
Remote\IRemoteKeepAliveService.cs (1)
47
var token = listener.
BeginAsyncOperation
(nameof(RemoteKeepAliveSession));
Shared\Utilities\AsyncBatchingWorkQueue`2.cs (1)
195
using var _ = _asyncListener.
BeginAsyncOperation
(nameof(AddWork));
Utilities\TaskQueue.cs (1)
35
=> Listener.
BeginAsyncOperation
(taskName);
Workspace\Workspace_Editor.cs (4)
458
var token = _taskQueue.Listener.
BeginAsyncOperation
(nameof(OnSourceGeneratedDocumentOpened));
460
token = _taskQueue.Listener.
BeginAsyncOperation
(TextDocumentOpenedEventName);
478
var token = _taskQueue.Listener.
BeginAsyncOperation
(nameof(OnSourceGeneratedDocumentClosed));
480
token = _taskQueue.Listener.
BeginAsyncOperation
(TextDocumentClosedEventName);