2 writes to EditSession
Microsoft.CodeAnalysis.Features (2)
EditAndContinue\DebuggingSession.cs (2)
151EditSession = new EditSession( 250EditSession = new EditSession(
18 references to EditSession
Microsoft.CodeAnalysis.Features (18)
EditAndContinue\DebuggingSession.cs (18)
222var editSessionTelemetryData = EditSession.Telemetry.GetDataAndClear(); 252EditSession.DebuggerService, 253nonRemappableRegions ?? EditSession.NonRemappableRegions, 254EditSession.Telemetry, 255(inBreakState == null) ? EditSession.BaseActiveStatements : null, 256inBreakState ?? EditSession.InBreakState); 497var analysis = await EditSession.Analyses.GetDocumentAnalysisAsync(LastCommittedSolution, document.Project.Solution, oldDocument, document, activeStatementSpanProvider, cancellationToken).ConfigureAwait(false); 506_ = Task.Run(() => EditSession.DebuggerService.PrepareModuleForUpdateAsync(mvid, cancellationToken), cancellationToken); 515EditSession.Telemetry.LogRudeEditDiagnostics(analysis.RudeEdits, project.State.Attributes.TelemetryId); 522EditSession.Log.Write($"Exception while analyzing document '{document.FilePath}': {e}"); 540var solutionUpdate = await EditSession.EmitSolutionUpdateAsync(solution, activeStatementSpanProvider, updateId, runningProjects, cancellationToken).ConfigureAwait(false); 706if (_isDisposed || !EditSession.InBreakState) 711var baseActiveStatements = await EditSession.BaseActiveStatements.GetValueAsync(cancellationToken).ConfigureAwait(false); 785EditSession.BaseActiveStatements, 787EditSession.Capabilities, 862if (_isDisposed || !EditSession.InBreakState || !mappedDocument.State.SupportsEditAndContinue() || !mappedDocument.Project.SupportsEditAndContinue()) 879var baseActiveStatements = await EditSession.BaseActiveStatements.GetValueAsync(cancellationToken).ConfigureAwait(false); 911var analysis = await EditSession.Analyses.GetDocumentAnalysisAsync(LastCommittedSolution, newUnmappedDocument.Project.Solution, oldUnmappedDocument, newUnmappedDocument, activeStatementSpanProvider, cancellationToken).ConfigureAwait(false);