22 references to Keyword
Microsoft.CodeAnalysis.CSharp.Workspaces (18)
Classification\ClassificationHelpers.cs (5)
39
return ClassificationTypeNames.
Keyword
;
265
return ClassificationTypeNames.
Keyword
;
282
return ClassificationTypeNames.
Keyword
;
537
var wasKeyword = classificationType == ClassificationTypeNames.
Keyword
;
573
isKeyword ? ClassificationTypeNames.
Keyword
: ClassificationTypeNames.Identifier, span);
Classification\SyntaxClassification\DiscardSyntaxClassifier.cs (2)
30
result.Add(new ClassifiedSpan(syntax.Span, ClassificationTypeNames.
Keyword
));
41
result.Add(new ClassifiedSpan(syntax.Span, ClassificationTypeNames.
Keyword
));
Classification\SyntaxClassification\NameSyntaxClassifier.cs (8)
78
if (classifiedSpan.ClassificationType != ClassificationTypeNames.
Keyword
)
153
classifiedSpan = new ClassifiedSpan(name.Span, ClassificationTypeNames.
Keyword
);
160
classifiedSpan = new ClassifiedSpan(name.Span, ClassificationTypeNames.
Keyword
);
168
classifiedSpan = new ClassifiedSpan(name.Span, ClassificationTypeNames.
Keyword
);
175
classifiedSpan = new ClassifiedSpan(name.Span, ClassificationTypeNames.
Keyword
);
297
result.Add(new ClassifiedSpan(token.Span, ClassificationTypeNames.
Keyword
));
312
result.Add(new ClassifiedSpan(name.Identifier.Span, ClassificationTypeNames.
Keyword
));
328
result.Add(new(name.Span, ClassificationTypeNames.
Keyword
));
Classification\Worker_DocumentationComments.cs (1)
320
AddClassification(token, isControlKeyword ? ClassificationTypeNames.ControlKeyword : ClassificationTypeNames.
Keyword
);
Classification\Worker_Preprocesser.cs (1)
126
AddClassification(literal.Token, ClassificationTypeNames.
Keyword
);
Classification\Worker.cs (1)
134
AddClassification(TextSpan.FromBounds(token.Span.End - "u8".Length, token.Span.End), ClassificationTypeNames.
Keyword
);
Microsoft.CodeAnalysis.Features (1)
Common\TaggedText.cs (1)
155
TextTags.Keyword => ClassificationTypeNames.
Keyword
,
Microsoft.CodeAnalysis.Workspaces (3)
Classification\ClassificationExtensions.cs (1)
19
TypeKind.Dynamic => ClassificationTypeNames.
Keyword
,
Classification\ClassificationTypeNames.cs (1)
21
Keyword
,
Classification\Classifier.cs (1)
157
ClassificationTypeNames.
Keyword
=> SymbolDisplayPartKind.Keyword,