21 references to Span
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1)
EditAndContinue\CSharpEditAndContinueAnalyzerTests.cs (1)
338var newStatementSpan = result.ActiveStatements[0].Span;
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (2)
EditAndContinue\ActiveStatementsDescription.cs (1)
176sourceSpan: 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}")); 286Assert.Equal(unmappedActiveStatements[0].Statement.Span, activeStatement.FileSpan.Span); 325Assert.Equal(unmappedActiveStatements[0].Statement.Span.AddLineDelta(+1), newActiveStatements[0].FileSpan.Span); 326Assert.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)
219startPositionComparer: (x, y) => x.Span.Start.CompareTo(y)); 224var unmappedLineSpan = ReverseMapLinePositionSpan(unmappedSection, mappedSection.Span, activeStatement.Span); 239AddStatement(activeStatement.Span, activeStatement);
EditAndContinue\DebuggingSession.cs (6)
724activeStatementsInChangedDocuments.MultiAdd(oldDocumentActiveStatements[i].Statement, (analysis.DocumentId, analysis.ActiveStatements[i].Span)); 752span = activeStatement.Span; 836adjustedMappedSpans[i] = new ActiveStatementSpan(activeStatement.Ordinal, activeStatement.Span, activeStatement.Flags, unmappedDocumentId); 874return baseActiveStatement.Span; 895return baseActiveStatement.Span; 905return analysis.ActiveStatements.GetStatement(baseActiveStatement.Ordinal).Span;
EditAndContinue\EditSession.cs (1)
1170activeStatementsInUpdatedMethodsBuilder.Add(new ManagedActiveStatementUpdate(methodId, instructionId.ILOffset, newActiveStatement.Span.ToSourceSpan()));
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures.UnitTests (1)
EditAndContinue\VisualBasicEditAndContinueAnalyzerTests.vb (1)
507Dim newStatementSpan = result.ActiveStatements(0).Span