26 references to Keyword
Microsoft.AspNetCore.App.Analyzers.Test (1)
RouteEmbeddedLanguage\Infrastructure\FormattedClassifications.cs (1)
112
=> New(text, ClassificationTypeNames.
Keyword
);
Microsoft.CodeAnalysis.CSharp.Workspaces (18)
Classification\ClassificationHelpers.cs (4)
39
return ClassificationTypeNames.
Keyword
;
271
return ClassificationTypeNames.
Keyword
;
526
var wasKeyword = classificationType == ClassificationTypeNames.
Keyword
;
562
isKeyword ? ClassificationTypeNames.
Keyword
: ClassificationTypeNames.Identifier, span);
Classification\SyntaxClassification\DiscardSyntaxClassifier.cs (3)
30
result.Add(new ClassifiedSpan(syntax.Span, ClassificationTypeNames.
Keyword
));
41
result.Add(new ClassifiedSpan(parameter.Identifier.Span, ClassificationTypeNames.
Keyword
));
51
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.cs (1)
134
AddClassification(TextSpan.FromBounds(token.Span.End - "u8".Length, token.Span.End), 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
);
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (1)
Classification\FormattedClassifications.cs (1)
127
=> New(text, ClassificationTypeNames.
Keyword
);
Microsoft.CodeAnalysis.Features (1)
Common\TaggedText.cs (1)
155
TextTags.Keyword => ClassificationTypeNames.
Keyword
,
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Handler\SemanticTokens\SemanticTokensSchema.cs (1)
27
[ClassificationTypeNames.
Keyword
] = SemanticTokenTypes.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,
Microsoft.VisualStudio.LanguageServices (1)
HACK_ThemeColorFixer.cs (1)
118
UpdateForegroundColor(ClassificationTypeNames.
Keyword
, sourceFormatMap, targetFormatMap);