2 writes to EditSession
Microsoft.CodeAnalysis.Features (2)
EditAndContinue\DebuggingSession.cs (2)
123
EditSession
= new EditSession(
218
EditSession
= new EditSession(
35 references to EditSession
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (13)
EditAndContinue\EditAndContinueWorkspaceServiceTests.cs (12)
858
var activeStatementMap = await debuggingSession.
EditSession
.BaseActiveStatements.GetValueAsync(CancellationToken.None);
2385
Assert.Empty(debuggingSession.
EditSession
.NonRemappableRegions);
2754
Assert.Empty(debuggingSession.
EditSession
.NonRemappableRegions);
2887
Assert.Empty(debuggingSession.
EditSession
.NonRemappableRegions);
3395
Assert.Empty(debuggingSession.
EditSession
.NonRemappableRegions);
3444
Assert.Empty(debuggingSession.
EditSession
.NonRemappableRegions);
3804
var baseActiveStatementsMap = await debuggingSession.
EditSession
.BaseActiveStatements.GetValueAsync(CancellationToken.None).ConfigureAwait(false);
3907
var baseActiveStatementMap = await debuggingSession.
EditSession
.BaseActiveStatements.GetValueAsync(CancellationToken.None).ConfigureAwait(false);
4184
}, InspectNonRemappableRegions(debuggingSession.
EditSession
.NonRemappableRegions));
4205
}, InspectNonRemappableRegions(debuggingSession.
EditSession
.NonRemappableRegions));
4240
}, InspectNonRemappableRegions(debuggingSession.
EditSession
.NonRemappableRegions));
4366
}, InspectNonRemappableRegions(debuggingSession.
EditSession
.NonRemappableRegions));
EditAndContinue\EditSessionActiveStatementsTests.cs (1)
65
return debuggingSession.
EditSession
;
Microsoft.CodeAnalysis.Features (22)
EditAndContinue\DebuggingSession.cs (22)
192
documentsToReanalyze =
EditSession
.GetDocumentsWithReportedDiagnostics();
194
var editSessionTelemetryData =
EditSession
.Telemetry.GetDataAndClear();
220
nonRemappableRegions ??
EditSession
.NonRemappableRegions,
221
EditSession
.Telemetry,
222
(inBreakState == null) ?
EditSession
.BaseActiveStatements : null,
223
inBreakState ??
EditSession
.InBreakState);
491
var analysis = await
EditSession
.Analyses.GetDocumentAnalysisAsync(LastCommittedSolution, oldDocument, document, activeStatementSpanProvider, cancellationToken).ConfigureAwait(false);
509
EditSession
.Telemetry.LogRudeEditDiagnostics(analysis.RudeEditErrors);
512
EditSession
.TrackDocumentWithReportedDiagnostics(document.Id);
532
var solutionUpdate = await
EditSession
.EmitSolutionUpdateAsync(solution, activeStatementSpanProvider, updateId, cancellationToken).ConfigureAwait(false);
627
if (_isDisposed || !
EditSession
.InBreakState)
632
var baseActiveStatements = await
EditSession
.BaseActiveStatements.GetValueAsync(cancellationToken).ConfigureAwait(false);
701
EditSession
.BaseActiveStatements,
704
EditSession
.Capabilities,
777
if (_isDisposed || !
EditSession
.InBreakState || !mappedDocument.State.SupportsEditAndContinue() || !mappedDocument.Project.SupportsEditAndContinue())
794
var baseActiveStatements = await
EditSession
.BaseActiveStatements.GetValueAsync(cancellationToken).ConfigureAwait(false);
826
var analysis = await
EditSession
.Analyses.GetDocumentAnalysisAsync(LastCommittedSolution, oldUnmappedDocument, newUnmappedDocument, activeStatementSpanProvider, cancellationToken).ConfigureAwait(false);
859
if (!
EditSession
.InBreakState)
864
var baseActiveStatements = await
EditSession
.BaseActiveStatements.GetValueAsync(cancellationToken).ConfigureAwait(false);
891
var analysis = await
EditSession
.Analyses.GetDocumentAnalysisAsync(LastCommittedSolution, oldDocument, newDocument, activeStatementSpanProvider, cancellationToken).ConfigureAwait(false);
930
if (!
EditSession
.InBreakState)
939
var baseActiveStatements = await
EditSession
.BaseActiveStatements.GetValueAsync(cancellationToken).ConfigureAwait(false);