1 write to LastCommittedSolution
Microsoft.CodeAnalysis.Features (1)
EditAndContinue\DebuggingSession.cs (1)
149
LastCommittedSolution
= new CommittedSolution(this, solution);
12 references to LastCommittedSolution
Microsoft.CodeAnalysis.Features (12)
EditAndContinue\DebuggingSession.cs (9)
488
var (oldDocument, oldDocumentState) = await
LastCommittedSolution
.GetDocumentAndStateAsync(document, cancellationToken).ConfigureAwait(false);
497
var analysis = await EditSession.Analyses.GetDocumentAnalysisAsync(
LastCommittedSolution
, document.Project.Solution, oldDocument, document, activeStatementSpanProvider, cancellationToken).ConfigureAwait(false);
576
LastCommittedSolution
.CommitChanges(solution, solutionUpdate.StaleProjects);
635
LastCommittedSolution
.CommitChanges(solution, staleProjects: pendingSolutionUpdate.StaleProjects.RemoveRange(projectsToRebuildTransitive));
749
var oldProject =
LastCommittedSolution
.GetProject(projectId);
770
var (oldDocument, _) = await
LastCommittedSolution
.GetDocumentAndStateAsync(newDocument, cancellationToken).ConfigureAwait(false);
871
var oldProject =
LastCommittedSolution
.GetProject(newProject.Id);
904
var (oldUnmappedDocument, _) = await
LastCommittedSolution
.GetDocumentAndStateAsync(newUnmappedDocument, cancellationToken).ConfigureAwait(false);
911
var analysis = await EditSession.Analyses.GetDocumentAnalysisAsync(
LastCommittedSolution
, newUnmappedDocument.Project.Solution, oldUnmappedDocument, newUnmappedDocument, activeStatementSpanProvider, cancellationToken).ConfigureAwait(false);
EditAndContinue\EditSession.cs (3)
664
var (oldDocument, oldDocumentState) = await DebuggingSession.
LastCommittedSolution
.GetDocumentAndStateAsync(newDocument, cancellationToken, reloadOutOfSyncDocument: true).ConfigureAwait(false);
730
var analyses = await Analyses.GetDocumentAnalysesAsync(DebuggingSession.
LastCommittedSolution
, newSolution, documents, newDocumentActiveStatementSpanProvider, cancellationToken).ConfigureAwait(false);
1172
var oldSolution = DebuggingSession.
LastCommittedSolution
;