13 references to Statement
Microsoft.CodeAnalysis.Features (13)
EditAndContinue\AbstractEditAndContinueAnalyzer.cs (9)
1003
if (TryGetTrackedStatement(newActiveStatementSpans, oldActiveStatements[i].
Statement
.Id, newText, newBody, out var trackedStatement, out var trackedStatementPart))
1033
var ancestors = GetExceptionHandlingAncestors(newStatement, newBody.EncompassingAncestor, oldActiveStatements[i].
Statement
.IsNonLeaf);
1053
newActiveStatements[i] = oldActiveStatements[i].
Statement
.WithSpan(default);
1214
if (TryGetTrackedStatement(newActiveStatementSpans, oldActiveStatements[activeStatementIndex].
Statement
.Id, newText, newMemberBody, out var newStatementSyntax, out var _))
1318
var isNonLeaf = oldActiveStatements[activeStatementIndex].
Statement
.IsNonLeaf;
1319
var isPartiallyExecuted = (oldActiveStatements[activeStatementIndex].
Statement
.Flags & ActiveStatementFlags.PartiallyExecuted) != 0;
1464
newActiveStatements[i] = oldActiveStatements[i].
Statement
;
1514
if (mappedLineSpan.HasMappedPath && mappedLineSpan.Path != oldStatement.
Statement
.FileSpan.Path)
1525
return oldStatement.
Statement
.WithFileSpan(mappedLineSpan);
EditAndContinue\DebuggingSession.cs (1)
796
activeStatementsInChangedDocuments.MultiAdd(oldDocumentActiveStatements[i].
Statement
, (analysis.DocumentId, analysis.ActiveStatements[i].Span));
EditAndContinue\EditAndContinueDocumentAnalysesCache.cs (2)
148
var mappedFilePath = oldActiveStatement.
Statement
.FileSpan.Path;
162
var newMappedDocumentActiveSpan = newMappedDocumentSpans.Single(static (s, id) => s.Id == id, oldActiveStatement.
Statement
.Id);
EditAndContinue\UnmappedActiveStatement.cs (1)
30
statement =
Statement
;