70 instantiations of SourceLineUpdate
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (65)
EditAndContinue\LineEditTests.cs (65)
41[new SourceLineUpdate(1, 2)]); 66[new SourceLineUpdate(3, 4)]); 112new SourceLineUpdate(4, 9), 113new SourceLineUpdate(7, 7), 114new SourceLineUpdate(9, 4) 169new SourceLineUpdate(4, 9), 241[new SourceLineUpdate(4, 6)]); 271[new SourceLineUpdate(4, 5)]); 301[new SourceLineUpdate(5, 6)]); 331[new SourceLineUpdate(6, 5)]); 362[new SourceLineUpdate(5, 4)]); 392[new SourceLineUpdate(6, 7)]); 428[new SourceLineUpdate(8, 9)]); 475new SourceLineUpdate(3, 4), 476new SourceLineUpdate(4, 4) 579[new SourceLineUpdate(6, 5)]); 718[new SourceLineUpdate(5, 6)]); 868new SourceLineUpdate(3, 7), 869new SourceLineUpdate(6, 6), 870new SourceLineUpdate(7, 3) 903new SourceLineUpdate(3, 4), 904new SourceLineUpdate(4, 4) 962[new SourceLineUpdate(5, 6)]); 990[new SourceLineUpdate(5, 6)]); 1018[new SourceLineUpdate(5, 6)]); 1049[new SourceLineUpdate(6, 8)]); 1069new SourceLineUpdate(1, 2) 1238[new SourceLineUpdate(4, 5)]); 1298new SourceLineUpdate[] { new(5, 6) }); 1362[new SourceLineUpdate(5, 6)]); 1391new SourceLineUpdate[] { new(5, 6) }); 1452[new SourceLineUpdate(5, 4)]); 1476[new SourceLineUpdate(3, 4)]); 1500[new SourceLineUpdate(3, 4)]); 1605[new SourceLineUpdate(3, 6)]); 1657[new SourceLineUpdate(3, 4)]); 1971edits.VerifyLineEdits([new SourceLineUpdate(3, 4)]); 1995[new SourceLineUpdate(3, 4)]); 2019[new SourceLineUpdate(3, 4)]); 2043[new SourceLineUpdate(3, 4)]); 2067[new SourceLineUpdate(3, 4)]); 2091[new SourceLineUpdate(3, 4)]); 2116lineEdits: [new SourceLineUpdate(3, 4)], 2143lineEdits: [new SourceLineUpdate(3, 5)], 2220edits.VerifyLineEdits([new SourceLineUpdate(3, 4)]); 2243edits.VerifyLineEdits([new SourceLineUpdate(3, 4)]); 2267[new SourceLineUpdate(3, 4)]); 2291[new SourceLineUpdate(3, 4)]); 2315[new SourceLineUpdate(3, 4)]); 2343[new SourceLineUpdate(3, 4)]); 2367[new SourceLineUpdate(4, 3)]); 2391[new SourceLineUpdate(4, 3)]); 2415[new SourceLineUpdate(4, 3)]); 2492[new SourceLineUpdate(3, 4)], 2518[new SourceLineUpdate(4, 3), new SourceLineUpdate(5, 3)]); 2561new SourceLineUpdate(3, 9), 2562new SourceLineUpdate(5, 5), 2563new SourceLineUpdate(9, 3) 2662new("a", [new SourceLineUpdate(2, 12), new SourceLineUpdate(6, 6), new SourceLineUpdate(9, 19)]) // D ctor 2735new("a", [new SourceLineUpdate(0, 1)]), 2736new("b", [new SourceLineUpdate(0, 1)]), 2781new("a", [new SourceLineUpdate(6, 4)]),
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (1)
EditAndContinue\EditAndContinueLanguageServiceTests.cs (1)
271sequencePoints: [new SequencePointUpdates("file.cs", [new SourceLineUpdate(1, 2)])],
Microsoft.CodeAnalysis.Features (2)
EditAndContinue\AbstractEditAndContinueAnalyzer.cs (2)
2364documentLineEdits.Add(new SourceLineUpdate(previousOldEndLine + 1, previousOldEndLine + 1)); 2374documentLineEdits.Add(new SourceLineUpdate(segment.oldStartLine, segment.oldStartLine + segment.delta));
Microsoft.CodeAnalysis.Features.UnitTests (2)
EditAndContinue\RemoteEditAndContinueServiceTests.cs (2)
196sequencePoints: [new SequencePointUpdates("file.cs", [new SourceLineUpdate(1, 2)])], 237AssertEx.Equal(new[] { new SourceLineUpdate(1, 2) }, lineEdit.LineUpdates);
15 references to SourceLineUpdate
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (3)
EditAndContinue\Helpers\EditAndContinueValidation.cs (1)
17SourceLineUpdate[] lineEdits,
EditAndContinue\LineEditTests.cs (2)
1298new SourceLineUpdate[] { new(5, 6) }); 1391new SourceLineUpdate[] { new(5, 6) });
Microsoft.CodeAnalysis.EditorFeatures (1)
EditAndContinue\Contracts\ContractWrappers.cs (1)
52public static SourceLineUpdate FromContract(this InternalContracts.SourceLineUpdate update)
Microsoft.CodeAnalysis.Features (10)
Contracts\EditAndContinue\SequencePointUpdates.cs (2)
21ImmutableArray<SourceLineUpdate> lineUpdates) 34public ImmutableArray<SourceLineUpdate> LineUpdates { get; } = lineUpdates;
EditAndContinue\AbstractEditAndContinueAnalyzer.cs (2)
2094/// The resulting line edits are grouped by mapped document path and sorted by <see cref="SourceLineUpdate.OldLine"/> in each group. 2331using var _1 = ArrayBuilder<SourceLineUpdate>.GetInstance(out var documentLineEdits);
EditAndContinue\DocumentAnalysisResults.cs (6)
75/// Grouped by file name and updates in each group are ordered by <see cref="SourceLineUpdate.OldLine"/>. 76/// Each entry in the group applies the delta of <see cref="SourceLineUpdate.NewLine"/> - <see cref="SourceLineUpdate.OldLine"/> 77/// to all lines in range [<see cref="SourceLineUpdate.OldLine"/>, next entry's <see cref="SourceLineUpdate.OldLine"/>). 156Debug.Assert(lineEditsOpt.All(documentLineEdits => documentLineEdits.LineUpdates.IsSorted(Comparer<SourceLineUpdate>.Create(
Microsoft.VisualStudio.LanguageServices.DevKit (1)
src\EditorFeatures\Core\EditAndContinue\Contracts\ContractWrappers.cs (1)
52public static SourceLineUpdate FromContract(this InternalContracts.SourceLineUpdate update)