18 references to ToSourceSpan
Microsoft.CodeAnalysis.EditorFeatures (1)
EditAndContinue\EditAndContinueLanguageService.cs (1)
357
return span?.
ToSourceSpan
().FromContract();
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (1)
EditAndContinue\ActiveStatementsDescription.cs (1)
176
sourceSpan: statement.Span.
ToSourceSpan
(),
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (11)
EditAndContinue\EditAndContinueWorkspaceServiceTests.cs (9)
845
activeLineSpan.
ToSourceSpan
(),
1465
activeLineSpan1.
ToSourceSpan
(),
2104
activeLineSpanA1.
ToSourceSpan
(),
2109
activeLineSpanB1.
ToSourceSpan
(),
2605
activeLineSpan1.
ToSourceSpan
(),
3575
activeLineSpan11.
ToSourceSpan
(),
3580
activeLineSpan12.
ToSourceSpan
(),
3664
activeLineSpan11.
ToSourceSpan
(),
3669
activeLineSpan12.
ToSourceSpan
(),
EditAndContinue\RemoteEditAndContinueServiceTests.cs (2)
119
span1.
ToSourceSpan
(),
214
ActiveStatements: ImmutableArray.Create(new ManagedActiveStatementUpdate(instructionId1.Method.Method, instructionId1.ILOffset, span1.
ToSourceSpan
())),
Microsoft.CodeAnalysis.Features (5)
EditAndContinue\EditSession.cs (2)
1170
activeStatementsInUpdatedMethodsBuilder.Add(new ManagedActiveStatementUpdate(methodId, instructionId.ILOffset, newActiveStatement.Span.
ToSourceSpan
()));
1302
r.Region.NewSpan.Span.
ToSourceSpan
()));
EditAndContinue\EmitSolutionUpdateResults.cs (3)
161
fileSpan.Span.
ToSourceSpan
()));
179
fileSpan.Span.
ToSourceSpan
()));
207
fileSpan.Span.
ToSourceSpan
()));