1 write to LastCommittedSolution
Microsoft.CodeAnalysis.Features (1)
EditAndContinue\DebuggingSession.cs (1)
150
LastCommittedSolution
= new CommittedSolution(this, solution);
12 references to LastCommittedSolution
Microsoft.CodeAnalysis.Features (12)
EditAndContinue\DebuggingSession.cs (9)
486
var (oldDocument, oldDocumentState) = await
LastCommittedSolution
.GetDocumentAndStateAsync(document, cancellationToken).ConfigureAwait(false);
495
var analysis = await EditSession.Analyses.GetDocumentAnalysisAsync(
LastCommittedSolution
, document.Project.Solution, oldDocument, document, activeStatementSpanProvider, cancellationToken).ConfigureAwait(false);
570
LastCommittedSolution
.CommitChanges(solution, solutionUpdate.StaleProjects);
622
LastCommittedSolution
.CommitChanges(solution, staleProjects: pendingSolutionUpdate.StaleProjects.RemoveRange(projectsToRebuildTransitive));
737
var oldProject =
LastCommittedSolution
.GetProject(projectId);
758
var (oldDocument, _) = await
LastCommittedSolution
.GetDocumentAndStateAsync(newDocument, cancellationToken).ConfigureAwait(false);
859
var oldProject =
LastCommittedSolution
.GetProject(newProject.Id);
892
var (oldUnmappedDocument, _) = await
LastCommittedSolution
.GetDocumentAndStateAsync(newUnmappedDocument, cancellationToken).ConfigureAwait(false);
899
var analysis = await EditSession.Analyses.GetDocumentAnalysisAsync(
LastCommittedSolution
, newUnmappedDocument.Project.Solution, oldUnmappedDocument, newUnmappedDocument, activeStatementSpanProvider, cancellationToken).ConfigureAwait(false);
EditAndContinue\EditSession.cs (3)
626
var (oldDocument, oldDocumentState) = await DebuggingSession.
LastCommittedSolution
.GetDocumentAndStateAsync(newDocument, cancellationToken, reloadOutOfSyncDocument: true).ConfigureAwait(false);
692
var analyses = await Analyses.GetDocumentAnalysesAsync(DebuggingSession.
LastCommittedSolution
, newSolution, documents, newDocumentActiveStatementSpanProvider, cancellationToken).ConfigureAwait(false);
1134
var oldSolution = DebuggingSession.
LastCommittedSolution
;