35 instantiations of SequenceEdit
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (16)
EditAndContinue\SyntaxComparerTests.cs (16)
31new SequenceEdit(2, -1), 32new SequenceEdit(-1, 1), 33new SequenceEdit(1, 0), 34new SequenceEdit(0, -1), 47new SequenceEdit(2, -1), 48new SequenceEdit(-1, 1), 49new SequenceEdit(1, 0), 50new SequenceEdit(0, -1), 63new SequenceEdit(2, 2), 64new SequenceEdit(1, -1), 65new SequenceEdit(0, 1), 66new SequenceEdit(-1, 0), 79new SequenceEdit(2, 2), 80new SequenceEdit(1, -1), 81new SequenceEdit(0, 1), 82new SequenceEdit(-1, 0),
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures.UnitTests (16)
EditAndContinue\SyntaxComparerTests.vb (16)
25New SequenceEdit(2, -1), 26New SequenceEdit(-1, 1), 27New SequenceEdit(1, 0), 28New SequenceEdit(0, -1) 40New SequenceEdit(2, -1), 41New SequenceEdit(-1, 1), 42New SequenceEdit(1, 0), 43New SequenceEdit(0, -1) 55New SequenceEdit(2, 2), 56New SequenceEdit(1, -1), 57New SequenceEdit(0, 1), 58New SequenceEdit(-1, 0) 70New SequenceEdit(2, 2), 71New SequenceEdit(1, -1), 72New SequenceEdit(0, 1), 73New SequenceEdit(-1, 0)
Microsoft.CodeAnalysis.Workspaces (3)
Differencing\LongestCommonSubsequence.cs (3)
327yield return new SequenceEdit(xEnd, yEnd); 336yield return new SequenceEdit(-1, --yMid); 341yield return new SequenceEdit(--xMid, -1);
24 references to SequenceEdit
Microsoft.CodeAnalysis.CSharp.Features (5)
EditAndContinue\CSharpEditAndContinueAnalyzer.cs (1)
832protected override IEnumerable<SequenceEdit> GetSyntaxSequenceEdits(ImmutableArray<SyntaxNode> oldNodes, ImmutableArray<SyntaxNode> newNodes)
EditAndContinue\SyntaxComparer.cs (4)
1637public static IEnumerable<SequenceEdit> GetSequenceEdits(IEnumerable<SyntaxNode>? oldNodes, IEnumerable<SyntaxNode>? newNodes) 1643public static IEnumerable<SequenceEdit> GetSequenceEdits(ImmutableArray<SyntaxNode> oldNodes, ImmutableArray<SyntaxNode> newNodes) 1649public static IEnumerable<SequenceEdit> GetSequenceEdits(IEnumerable<SyntaxToken>? oldTokens, IEnumerable<SyntaxToken>? newTokens) 1655public static IEnumerable<SequenceEdit> GetSequenceEdits(ImmutableArray<SyntaxToken> oldTokens, ImmutableArray<SyntaxToken> newTokens)
Microsoft.CodeAnalysis.Features (1)
EditAndContinue\AbstractEditAndContinueAnalyzer.cs (1)
211protected abstract IEnumerable<SequenceEdit> GetSyntaxSequenceEdits(ImmutableArray<SyntaxNode> oldNodes, ImmutableArray<SyntaxNode> newNodes);
Microsoft.CodeAnalysis.VisualBasic.Features (5)
EditAndContinue\SyntaxComparer.vb (4)
1438Public Shared Function GetSequenceEdits(oldNodes As IEnumerable(Of SyntaxNode), newNodes As IEnumerable(Of SyntaxNode)) As IEnumerable(Of SequenceEdit) 1445Public Shared Function GetSequenceEdits(oldNodes As ImmutableArray(Of SyntaxNode), newNodes As ImmutableArray(Of SyntaxNode)) As IEnumerable(Of SequenceEdit) 1452Public Shared Function GetSequenceEdits(oldTokens As IEnumerable(Of SyntaxToken), newTokens As IEnumerable(Of SyntaxToken)) As IEnumerable(Of SequenceEdit) 1459Public Shared Function GetSequenceEdits(oldTokens As ImmutableArray(Of SyntaxToken), newTokens As ImmutableArray(Of SyntaxToken)) As IEnumerable(Of SequenceEdit)
EditAndContinue\VisualBasicEditAndContinueAnalyzer.vb (1)
856Protected Overrides Function GetSyntaxSequenceEdits(oldNodes As ImmutableArray(Of SyntaxNode), newNodes As ImmutableArray(Of SyntaxNode)) As IEnumerable(Of SequenceEdit)
Microsoft.CodeAnalysis.Workspaces (10)
Differencing\LongestCommonImmutableArraySubsequence.cs (1)
22public IEnumerable<SequenceEdit> GetEdits(ImmutableArray<TElement> oldSequence, ImmutableArray<TElement> newSequence)
Differencing\LongestCommonSubsequence.cs (1)
287protected IEnumerable<SequenceEdit> GetEdits(TSequence oldSequence, int oldLength, TSequence newSequence, int newLength)
Differencing\LongestCommonSubstring.cs (1)
28public static IEnumerable<SequenceEdit> GetEdits(string oldValue, string newValue)
Differencing\Match.LongestCommonSubsequence.cs (1)
41foreach (var edit in GetEdits(oldNodes, oldNodes.Count, newNodes, newNodes.Count))
Differencing\SequenceEdit.cs (6)
17internal readonly struct SequenceEdit : IEquatable<SequenceEdit> 63public bool Equals(SequenceEdit other) 70=> obj is SequenceEdit && Equals((SequenceEdit)obj); 98private readonly SequenceEdit _sequenceEdit; 100public TestAccessor(SequenceEdit sequenceEdit)
Microsoft.CodeAnalysis.Workspaces.UnitTests (3)
Differencing\LongestCommonSubsequenceTests.cs (3)
26public IEnumerable<SequenceEdit> GetEdits(string oldSequence, string newSequence) 45private static void VerifyEdits(string oldStr, string newStr, IEnumerable<SequenceEdit> edits) 50foreach (var edit in edits)