17 references to DiffTokenKind
Microsoft.DotNet.AsmDiff (17)
DiffEngine.cs (5)
185if (diffToken.Kind != DiffTokenKind.LineBreak) 231foreach (var symbol in diffLine.Tokens.Where(t => t.Kind == DiffTokenKind.Symbol)) 249IEnumerable<DiffToken> relevantTokens = currentLineTokens.Where(t => t.Kind != DiffTokenKind.Indent && 250t.Kind != DiffTokenKind.Whitespace && 251t.Kind != DiffTokenKind.LineBreak);
DiffRecorder.cs (10)
37WriteToken(DiffTokenKind.Indent, new string(' ', IndentLevel * 4)); 41private void WriteToken(DiffTokenKind kind, string text) 45var tokenIsLineBreak = kind == DiffTokenKind.LineBreak; 92WriteToken(DiffTokenKind.Text, str); 104WriteToken(DiffTokenKind.Whitespace, str); 110WriteToken(DiffTokenKind.Symbol, symbol); 116WriteToken(DiffTokenKind.Identifier, id); 122WriteToken(DiffTokenKind.Keyword, keyword); 128WriteToken(DiffTokenKind.TypeName, typeName); 133WriteToken(DiffTokenKind.LineBreak, Environment.NewLine);
DiffToken.cs (2)
9public DiffTokenKind Kind { get; set; } 12public DiffToken(DiffStyle style, DiffTokenKind kind, string text)