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
, 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);
845
var oldProject =
LastCommittedSolution
.GetProject(newProject.Id);
878
var (oldUnmappedDocument, _) = await
LastCommittedSolution
.GetDocumentAndStateAsync(newUnmappedDocument, cancellationToken).ConfigureAwait(false);
885
var analysis = await EditSession.Analyses.GetDocumentAnalysisAsync(
LastCommittedSolution
, oldUnmappedDocument, newUnmappedDocument, activeStatementSpanProvider, cancellationToken).ConfigureAwait(false);
EditAndContinue\EditSession.cs (3)
546
var (oldDocument, oldDocumentState) = await DebuggingSession.
LastCommittedSolution
.GetDocumentAndStateAsync(newDocument, cancellationToken, reloadOutOfSyncDocument: true).ConfigureAwait(false);
579
: await Analyses.GetDocumentAnalysesAsync(DebuggingSession.
LastCommittedSolution
, documents, newDocumentActiveStatementSpanProvider, cancellationToken).ConfigureAwait(false);
856
var oldSolution = DebuggingSession.
LastCommittedSolution
;