7 references to GetDocumentAndStateAsync
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (1)
EditAndContinue\EditAndContinueLanguageServiceTests.cs (1)
403
var (document, state) = await debuggingSession.LastCommittedSolution.
GetDocumentAndStateAsync
(document1, CancellationToken.None);
Microsoft.CodeAnalysis.Features (4)
EditAndContinue\DebuggingSession.cs (3)
486
var (oldDocument, oldDocumentState) = await LastCommittedSolution.
GetDocumentAndStateAsync
(document, cancellationToken).ConfigureAwait(false);
758
var (oldDocument, _) = await LastCommittedSolution.
GetDocumentAndStateAsync
(newDocument, cancellationToken).ConfigureAwait(false);
892
var (oldUnmappedDocument, _) = await LastCommittedSolution.
GetDocumentAndStateAsync
(newUnmappedDocument, cancellationToken).ConfigureAwait(false);
EditAndContinue\EditSession.cs (1)
621
var (oldDocument, oldDocumentState) = await DebuggingSession.LastCommittedSolution.
GetDocumentAndStateAsync
(newDocument, cancellationToken, reloadOutOfSyncDocument: true).ConfigureAwait(false);
Microsoft.CodeAnalysis.Features.UnitTests (2)
EditAndContinue\EditAndContinueWorkspaceServiceTests.cs (2)
1545
var (document, state) = await debuggingSession.LastCommittedSolution.
GetDocumentAndStateAsync
(solution.GetRequiredDocument(documentId), CancellationToken.None);
3077
var (doc, state) = await debuggingSession.LastCommittedSolution.
GetDocumentAndStateAsync
(currentDocument, CancellationToken.None);