1 write to LastCommittedSolution
Microsoft.CodeAnalysis.Features (1)
EditAndContinue\DebuggingSession.cs (1)
123
LastCommittedSolution
= new CommittedSolution(this, solution, initialDocumentStates);
11 references to LastCommittedSolution
Microsoft.CodeAnalysis.Features (11)
EditAndContinue\DebuggingSession.cs (8)
480
var (oldDocument, oldDocumentState) = await
LastCommittedSolution
.GetDocumentAndStateAsync(document.Id, document, cancellationToken).ConfigureAwait(false);
489
var analysis = await EditSession.Analyses.GetDocumentAnalysisAsync(
LastCommittedSolution
, oldDocument, document, activeStatementSpanProvider, cancellationToken).ConfigureAwait(false);
587
LastCommittedSolution
.CommitSolution(pendingSolutionUpdate.Solution);
662
var oldProject =
LastCommittedSolution
.GetProject(projectId);
682
var (oldDocument, _) = await
LastCommittedSolution
.GetDocumentAndStateAsync(newDocument.Id, newDocument, cancellationToken).ConfigureAwait(false);
779
var oldProject =
LastCommittedSolution
.GetProject(newProject.Id);
812
var (oldUnmappedDocument, _) = await
LastCommittedSolution
.GetDocumentAndStateAsync(newUnmappedDocument.Id, newUnmappedDocument, cancellationToken).ConfigureAwait(false);
819
var analysis = await EditSession.Analyses.GetDocumentAnalysisAsync(
LastCommittedSolution
, oldUnmappedDocument, newUnmappedDocument, activeStatementSpanProvider, cancellationToken).ConfigureAwait(false);
EditAndContinue\EditSession.cs (3)
536
var (oldDocument, oldDocumentState) = await DebuggingSession.
LastCommittedSolution
.GetDocumentAndStateAsync(newDocument.Id, newDocument, cancellationToken, reloadOutOfSyncDocument: true).ConfigureAwait(false);
562
var analyses = await Analyses.GetDocumentAnalysesAsync(DebuggingSession.
LastCommittedSolution
, documents, newDocumentActiveStatementSpanProvider, cancellationToken).ConfigureAwait(false);
815
var oldSolution = DebuggingSession.
LastCommittedSolution
;