1 write to LastCommittedSolution
Microsoft.CodeAnalysis.Features (1)
EditAndContinue\DebuggingSession.cs (1)
121
LastCommittedSolution
= new CommittedSolution(this, solution, initialDocumentStates);
26 references to LastCommittedSolution
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (8)
EditAndContinue\EditAndContinueWorkspaceServiceTests.cs (8)
253
session.
LastCommittedSolution
.Test_SetDocumentState(document.Id, state);
588
var matchingDocuments = debuggingSession.
LastCommittedSolution
.Test_GetDocumentStates();
1367
var (document, state) = await debuggingSession.
LastCommittedSolution
.GetDocumentAndStateAsync(documentId, currentDocument: null, CancellationToken.None);
2554
var (doc, state) = await debuggingSession.
LastCommittedSolution
.GetDocumentAndStateAsync(documentId, currentDocument, CancellationToken.None);
3933
debuggingSession.
LastCommittedSolution
.Test_SetDocumentState(document.Id, CommittedSolution.DocumentState.MatchesBuildOutput);
4576
var matchingDocuments = session.
LastCommittedSolution
.Test_GetDocumentStates();
4643
var matchingDocuments = session.
LastCommittedSolution
.Test_GetDocumentStates();
4728
var (document, state) = await debuggingSession.
LastCommittedSolution
.GetDocumentAndStateAsync(documentId, currentDocument: null, CancellationToken.None);
Microsoft.CodeAnalysis.Features (18)
EditAndContinue\DebuggingSession.cs (15)
482
var (oldDocument, oldDocumentState) = await
LastCommittedSolution
.GetDocumentAndStateAsync(document.Id, document, cancellationToken).ConfigureAwait(false);
491
var analysis = await EditSession.Analyses.GetDocumentAnalysisAsync(
LastCommittedSolution
, oldDocument, document, activeStatementSpanProvider, cancellationToken).ConfigureAwait(false);
609
LastCommittedSolution
.CommitSolution(pendingUpdate.Solution);
670
var oldProject =
LastCommittedSolution
.GetProject(projectId);
690
var (oldDocument, _) = await
LastCommittedSolution
.GetDocumentAndStateAsync(newDocument.Id, newDocument, cancellationToken).ConfigureAwait(false);
786
var oldProject =
LastCommittedSolution
.GetProject(newProject.Id);
819
var (oldUnmappedDocument, _) = await
LastCommittedSolution
.GetDocumentAndStateAsync(newUnmappedDocument.Id, newUnmappedDocument, cancellationToken).ConfigureAwait(false);
826
var analysis = await EditSession.Analyses.GetDocumentAnalysisAsync(
LastCommittedSolution
, oldUnmappedDocument, newUnmappedDocument, activeStatementSpanProvider, cancellationToken).ConfigureAwait(false);
884
var (oldDocument, _) = await
LastCommittedSolution
.GetDocumentAndStateAsync(newDocument.Id, newDocument, cancellationToken).ConfigureAwait(false);
891
var analysis = await EditSession.Analyses.GetDocumentAnalysisAsync(
LastCommittedSolution
, oldDocument, newDocument, activeStatementSpanProvider, cancellationToken).ConfigureAwait(false);
953
var (oldDocument, _) = await
LastCommittedSolution
.GetDocumentAndStateAsync(newDocument.Id, newDocument, cancellationToken).ConfigureAwait(false);
982
var oldProject =
LastCommittedSolution
.GetProject(projectId);
1003
activeStatementsMap,
LastCommittedSolution
, oldProject, newProject, baseActiveStatement, cancellationToken).ConfigureAwait(false);
1015
var oldProject =
LastCommittedSolution
.GetProject(projectId);
1022
activeStatementsMap,
LastCommittedSolution
, oldProject, newProject, baseActiveStatement, linkedTokenSource.Token).ConfigureAwait(false)
EditAndContinue\EditSession.cs (3)
515
var (oldDocument, oldDocumentState) = await DebuggingSession.
LastCommittedSolution
.GetDocumentAndStateAsync(newDocument.Id, newDocument, cancellationToken, reloadOutOfSyncDocument: true).ConfigureAwait(false);
541
var analyses = await Analyses.GetDocumentAnalysesAsync(DebuggingSession.
LastCommittedSolution
, documents, newDocumentActiveStatementSpanProvider, cancellationToken).ConfigureAwait(false);
811
var oldSolution = DebuggingSession.
LastCommittedSolution
;