1 write to LastCommittedSolution
Microsoft.CodeAnalysis.Features (1)
EditAndContinue\DebuggingSession.cs (1)
150
LastCommittedSolution
= new CommittedSolution(this, solution, initialDocumentStates);
13 references to LastCommittedSolution
Microsoft.CodeAnalysis.Features (13)
EditAndContinue\DebuggingSession.cs (10)
475
var (oldDocument, oldDocumentState) = await
LastCommittedSolution
.GetDocumentAndStateAsync(document, cancellationToken).ConfigureAwait(false);
484
var analysis = await EditSession.Analyses.GetDocumentAnalysisAsync(
LastCommittedSolution
, document.Project.Solution, oldDocument, document, activeStatementSpanProvider, cancellationToken).ConfigureAwait(false);
551
LastCommittedSolution
.CommitChanges(solution, projectsToStale: solutionUpdate.ProjectsToStale, projectsToUnstale: []);
608
LastCommittedSolution
.CommitChanges(pendingSolutionUpdate.Solution, projectsToStale: pendingSolutionUpdate.ProjectsToStale, projectsToUnstale: []);
639
LastCommittedSolution
.CommitChanges(solution, projectsToStale: [], projectsToUnstale: rebuiltProjects);
727
var oldProject =
LastCommittedSolution
.GetProject(projectId);
747
var (oldDocument, _) = await
LastCommittedSolution
.GetDocumentAndStateAsync(newDocument, cancellationToken).ConfigureAwait(false);
846
var oldProject =
LastCommittedSolution
.GetProject(newProject.Id);
879
var (oldUnmappedDocument, _) = await
LastCommittedSolution
.GetDocumentAndStateAsync(newUnmappedDocument, cancellationToken).ConfigureAwait(false);
886
var analysis = await EditSession.Analyses.GetDocumentAnalysisAsync(
LastCommittedSolution
, newUnmappedDocument.Project.Solution, oldUnmappedDocument, newUnmappedDocument, activeStatementSpanProvider, cancellationToken).ConfigureAwait(false);
EditAndContinue\EditSession.cs (3)
572
var (oldDocument, oldDocumentState) = await DebuggingSession.
LastCommittedSolution
.GetDocumentAndStateAsync(newDocument, cancellationToken, reloadOutOfSyncDocument: true).ConfigureAwait(false);
610
: await Analyses.GetDocumentAnalysesAsync(DebuggingSession.
LastCommittedSolution
, newSolution, documents, newDocumentActiveStatementSpanProvider, cancellationToken).ConfigureAwait(false);
887
var oldSolution = DebuggingSession.
LastCommittedSolution
;