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