2 instantiations of DiffLine
Microsoft.DotNet.AsmDiff (2)
DiffEngine.cs (2)
192
var line = new
DiffLine
(kind, currentLineTokens);
221
result = new
DiffLine
(fixedLineKind, diffLine.Tokens);
14 references to DiffLine
Microsoft.DotNet.AsmDiff (14)
DiffDocument.cs (3)
14
public ReadOnlyCollection<
DiffLine
> Lines { get; private set; }
17
public DiffDocument(AssemblySet left, AssemblySet right, IEnumerable<
DiffLine
> lines, IEnumerable<DiffApiDefinition> apiDefinitions)
21
Lines = new ReadOnlyCollection<
DiffLine
>(lines.ToArray());
DiffEngine.cs (11)
148
IEnumerable<
DiffLine
> lines = GetLines(tokens, cancellationToken);
176
private static IEnumerable<
DiffLine
> GetLines(IEnumerable<DiffToken> tokens, CancellationToken cancellationToken)
178
var lines = new List<
DiffLine
>();
192
var
line = new DiffLine(kind, currentLineTokens);
202
private static IEnumerable<
DiffLine
> FixupCloseBraces(IEnumerable<
DiffLine
> lines, CancellationToken cancellationToken)
204
var startLineStack = new Stack<
DiffLine
>();
206
foreach (
var
diffLine in lines)
211
DiffLine
result = diffLine;
218
DiffLine
startLine = startLineStack.Pop();
228
private static int GetBraceDelta(
DiffLine
diffLine)