7 references to WithFileSpan
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (5)
EditAndContinue\EditSessionActiveStatementsTests.cs (5)
258
statements[3].
WithFileSpan
(statements[3].FileSpan.AddLineDelta(+1)),
259
statements[2].
WithFileSpan
(statements[2].FileSpan.AddLineDelta(+2)),
375
baseActiveStatements[1].
WithFileSpan
(baseActiveStatements[1].FileSpan.AddLineDelta(+1))),
565
baseActiveStatements[1].
WithFileSpan
(baseActiveStatements[1].FileSpan.AddLineDelta(-1)),
567
baseActiveStatements[3].
WithFileSpan
(baseActiveStatements[3].FileSpan.AddLineDelta(+2))),
Microsoft.CodeAnalysis.Features (2)
EditAndContinue\AbstractEditAndContinueAnalyzer.cs (1)
1309
return oldStatement.Statement.
WithFileSpan
(mappedLineSpan);
EditAndContinue\ActiveStatement.cs (1)
54
=>
WithFileSpan
(FileSpan.WithSpan(span));