21 references to Span
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1)
EditAndContinue\CSharpEditAndContinueAnalyzerTests.cs (1)
338
var newStatementSpan = result.ActiveStatements[0].
Span
;
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (2)
EditAndContinue\ActiveStatementsDescription.cs (1)
176
sourceSpan: statement.
Span
.ToSourceSpan(),
EditAndContinue\ActiveStatementTestHelpers.cs (1)
102
=> InspectActiveStatementAndInstruction(statement) + $" '{GetFirstLineText(statement.
Span
, text)}'";
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (6)
EditAndContinue\ActiveStatementsMapTests.cs (6)
128
}, oldSpans.Select(s => $"{s.UnmappedSpan} -> {s.Statement.
Span
} #{s.Statement.Ordinal}"));
230
}, map.DocumentPathMap["a.cs"].OrderBy(s => s.
Span
.Start.Line).Select(s => $"{s.
Span
}"));
286
Assert.Equal(unmappedActiveStatements[0].Statement.
Span
, activeStatement.FileSpan.Span);
325
Assert.Equal(unmappedActiveStatements[0].Statement.
Span
.AddLineDelta(+1), newActiveStatements[0].FileSpan.Span);
326
Assert.Equal(unmappedActiveStatements[1].Statement.
Span
.AddLineDelta(+1), newActiveStatements[1].FileSpan.Span);
Microsoft.CodeAnalysis.Features (11)
EditAndContinue\ActiveStatement.cs (1)
93
=> $"{Ordinal}: {
Span
}";
EditAndContinue\ActiveStatementsMap.cs (3)
219
startPositionComparer: (x, y) => x.
Span
.Start.CompareTo(y));
224
var unmappedLineSpan = ReverseMapLinePositionSpan(unmappedSection, mappedSection.Span, activeStatement.
Span
);
239
AddStatement(activeStatement.
Span
, activeStatement);
EditAndContinue\DebuggingSession.cs (6)
724
activeStatementsInChangedDocuments.MultiAdd(oldDocumentActiveStatements[i].Statement, (analysis.DocumentId, analysis.ActiveStatements[i].
Span
));
752
span = activeStatement.
Span
;
836
adjustedMappedSpans[i] = new ActiveStatementSpan(activeStatement.Ordinal, activeStatement.
Span
, activeStatement.Flags, unmappedDocumentId);
874
return baseActiveStatement.
Span
;
895
return baseActiveStatement.
Span
;
905
return analysis.ActiveStatements.GetStatement(baseActiveStatement.Ordinal).
Span
;
EditAndContinue\EditSession.cs (1)
1170
activeStatementsInUpdatedMethodsBuilder.Add(new ManagedActiveStatementUpdate(methodId, instructionId.ILOffset, newActiveStatement.
Span
.ToSourceSpan()));
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures.UnitTests (1)
EditAndContinue\VisualBasicEditAndContinueAnalyzerTests.vb (1)
507
Dim newStatementSpan = result.ActiveStatements(0).
Span