7 references to GetDocumentAndStateAsync
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (1)
EditAndContinue\EditAndContinueLanguageServiceTests.cs (1)
395
var (document, state) = await debuggingSession.LastCommittedSolution.
GetDocumentAndStateAsync
(document1, CancellationToken.None);
Microsoft.CodeAnalysis.Features (4)
EditAndContinue\DebuggingSession.cs (3)
473
var (oldDocument, oldDocumentState) = await LastCommittedSolution.
GetDocumentAndStateAsync
(document, cancellationToken).ConfigureAwait(false);
788
var (oldDocument, _) = await LastCommittedSolution.
GetDocumentAndStateAsync
(newDocument, cancellationToken).ConfigureAwait(false);
920
var (oldUnmappedDocument, _) = await LastCommittedSolution.
GetDocumentAndStateAsync
(newUnmappedDocument, cancellationToken).ConfigureAwait(false);
EditAndContinue\EditSession.cs (1)
560
var (oldDocument, oldDocumentState) = await DebuggingSession.LastCommittedSolution.
GetDocumentAndStateAsync
(newDocument, cancellationToken, reloadOutOfSyncDocument: true).ConfigureAwait(false);
Microsoft.CodeAnalysis.Features.UnitTests (2)
EditAndContinue\EditAndContinueWorkspaceServiceTests.cs (2)
1017
var (document, state) = await debuggingSession.LastCommittedSolution.
GetDocumentAndStateAsync
(solution.GetRequiredDocument(documentId), CancellationToken.None);
2432
var (doc, state) = await debuggingSession.LastCommittedSolution.
GetDocumentAndStateAsync
(currentDocument, CancellationToken.None);