31 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)
37return ClassificationTypeNames.Keyword; 269return ClassificationTypeNames.Keyword; 520var wasKeyword = classificationType == ClassificationTypeNames.Keyword; 556isKeyword ? ClassificationTypeNames.Keyword : ClassificationTypeNames.Identifier, span);
Classification\SyntaxClassification\DiscardSyntaxClassifier.cs (3)
30result.Add(new ClassifiedSpan(syntax.Span, ClassificationTypeNames.Keyword)); 41result.Add(new ClassifiedSpan(parameter.Identifier.Span, ClassificationTypeNames.Keyword)); 51result.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.cs (1)
136AddClassification(TextSpan.FromBounds(token.Span.End - "u8".Length, token.Span.End), ClassificationTypeNames.Keyword);
Classification\Worker_DocumentationComments.cs (1)
313AddClassification(token, isControlKeyword ? ClassificationTypeNames.ControlKeyword : ClassificationTypeNames.Keyword);
Classification\Worker_Preprocesser.cs (1)
125AddClassification(literal.Token, ClassificationTypeNames.Keyword);
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (1)
Classification\FormattedClassifications.cs (1)
115=> New(text, ClassificationTypeNames.Keyword);
Microsoft.CodeAnalysis.Features (1)
Common\TaggedText.cs (1)
152TextTags.Keyword => ClassificationTypeNames.Keyword,
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Handler\SemanticTokens\SemanticTokensSchema.cs (1)
27[ClassificationTypeNames.Keyword] = SemanticTokenTypes.Keyword,
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (5)
SemanticTokens\SemanticTokensRangeTests.cs (5)
13912, 0, 3, tokenTypeToIndex[ClassificationTypeNames.Keyword], 0, // 'var' 14417, 3, 3, tokenTypeToIndex[ClassificationTypeNames.Keyword], 0, // 'var' 3161, 8, 3, tokenTypeToIndex[ClassificationTypeNames.Keyword], 0, // 'var' 4061, 2, 3, tokenTypeToIndex[ClassificationTypeNames.Keyword], 0, // 'var' 5181, 2, 3, tokenTypeToIndex[ClassificationTypeNames.Keyword], 0, // 'var'
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,
Microsoft.VisualStudio.LanguageServices (1)
HACK_ThemeColorFixer.cs (1)
118UpdateForegroundColor(ClassificationTypeNames.Keyword, sourceFormatMap, targetFormatMap);