1 write to LastCommittedSolution
Microsoft.CodeAnalysis.Features (1)
EditAndContinue\DebuggingSession.cs (1)
123
LastCommittedSolution
= new CommittedSolution(this, solution, initialDocumentStates);
12 references to LastCommittedSolution
Microsoft.CodeAnalysis.Features (12)
EditAndContinue\DebuggingSession.cs (9)
475
var (oldDocument, oldDocumentState) = await
LastCommittedSolution
.GetDocumentAndStateAsync(document.Id, document, cancellationToken).ConfigureAwait(false);
484
var analysis = await EditSession.Analyses.GetDocumentAnalysisAsync(
LastCommittedSolution
, oldDocument, document, activeStatementSpanProvider, cancellationToken).ConfigureAwait(false);
593
LastCommittedSolution
.CommitSolution(pendingSolutionUpdate.Solution);
624
LastCommittedSolution
.CommitSolution(solution);
701
var oldProject =
LastCommittedSolution
.GetProject(projectId);
721
var (oldDocument, _) = await
LastCommittedSolution
.GetDocumentAndStateAsync(newDocument.Id, newDocument, cancellationToken).ConfigureAwait(false);
818
var oldProject =
LastCommittedSolution
.GetProject(newProject.Id);
851
var (oldUnmappedDocument, _) = await
LastCommittedSolution
.GetDocumentAndStateAsync(newUnmappedDocument.Id, newUnmappedDocument, cancellationToken).ConfigureAwait(false);
858
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
;