15 references to SourceFileSpan
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1)
EditAndContinue\CSharpEditAndContinueAnalyzerTests.cs (1)
326new SourceFileSpan(newDocument.FilePath, oldStatementSpan),
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (1)
EditAndContinue\ActiveStatementsDescription.cs (1)
69newMappedSpans[oldStatement.Statement.Ordinal] = new SourceFileSpan(oldStatement.Statement.FilePath, default);
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (7)
EditAndContinue\ActiveStatementsMapTests.cs (1)
236=> new("a.cs", new(new(startLine, startColumn), new(endLine, endColumn)));
EditAndContinue\EditSessionActiveStatementsTests.cs (6)
495var spanPreRemap2 = new SourceFileSpan(filePath, activeStatementsPreRemap[2].SourceSpan.ToLinePositionSpan()); 496var erPreRemap20 = new SourceFileSpan(filePath, sourceTextV1.Lines.GetLinePositionSpan(exceptionSpans[2][0])); 497var erPreRemap21 = new SourceFileSpan(filePath, sourceTextV1.Lines.GetLinePositionSpan(exceptionSpans[2][1])); 498var spanPreRemap3 = new SourceFileSpan(filePath, activeStatementsPreRemap[3].SourceSpan.ToLinePositionSpan()); 499var erPreRemap30 = new SourceFileSpan(filePath, sourceTextV1.Lines.GetLinePositionSpan(exceptionSpans[3][0])); 500var erPreRemap31 = new SourceFileSpan(filePath, sourceTextV1.Lines.GetLinePositionSpan(exceptionSpans[3][1]));
Microsoft.CodeAnalysis.Features (5)
EditAndContinue\ActiveStatementsMap.cs (1)
85documentInfos.Add((debugInfo, new SourceFileSpan(documentName, baseSpan), ordinal++));
EditAndContinue\Extensions.cs (1)
19=> new(span.Path, span.Span.AddLineDelta(lineDelta));
EditAndContinue\SourceFileSpan.cs (3)
47=> new(Path, span); 50=> new(path, Span); 83=> new(span.Path, span.Span);
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures.UnitTests (1)
EditAndContinue\VisualBasicEditAndContinueAnalyzerTests.vb (1)
496New SourceFileSpan(newDocument.FilePath, oldStatementSpan),