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