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
(
6 references to BeginAsyncOperation
Microsoft.CodeAnalysis.Workspaces (6)
Remote\IRemoteKeepAliveService.cs (1)
47
var token = listener.
BeginAsyncOperation
(nameof(RemoteKeepAliveSession));
Shared\Utilities\AsyncBatchingWorkQueue`2.cs (1)
195
using var _ = _asyncListener.
BeginAsyncOperation
(nameof(AddWork));
Workspace\Workspace_Editor.cs (4)
458
var token = _asyncOperationListener.
BeginAsyncOperation
(nameof(OnSourceGeneratedDocumentOpened));
460
token = _asyncOperationListener.
BeginAsyncOperation
(TextDocumentOpenedEventName);
478
var token = _asyncOperationListener.
BeginAsyncOperation
(nameof(OnSourceGeneratedDocumentClosed));
480
token = _asyncOperationListener.
BeginAsyncOperation
(TextDocumentClosedEventName);