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