19 references to ConstantName
Microsoft.AspNetCore.App.Analyzers.Test (1)
RouteEmbeddedLanguage\Infrastructure\FormattedClassifications.cs (1)
68=> New(text, ClassificationTypeNames.ConstantName);
Microsoft.CodeAnalysis.CSharp.Workspaces (4)
Classification\ClassificationHelpers.cs (2)
239FieldDeclarationSyntax fieldDeclaration => fieldDeclaration.Modifiers.Any(SyntaxKind.ConstKeyword) ? ClassificationTypeNames.ConstantName : ClassificationTypeNames.FieldName, 240LocalDeclarationStatementSyntax localDeclarationStatement => localDeclarationStatement.IsConst ? ClassificationTypeNames.ConstantName : ClassificationTypeNames.LocalName,
Classification\SyntaxClassification\NameSyntaxClassifier.cs (2)
238return fieldSymbol.ContainingType.IsEnumType() ? ClassificationTypeNames.EnumMemberName : ClassificationTypeNames.ConstantName; 247? ClassificationTypeNames.ConstantName
Microsoft.CodeAnalysis.EditorFeatures (1)
Classification\ClassificationTypeDefinitions.cs (1)
132[Name(ClassificationTypeNames.ConstantName)]
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (1)
Classification\FormattedClassifications.cs (1)
67=> New(text, ClassificationTypeNames.ConstantName);
Microsoft.CodeAnalysis.EditorFeatures.Wpf (2)
Classification\ClassificationTypeFormatDefinitions.cs (2)
420[ClassificationType(ClassificationTypeNames = ClassificationTypeNames.ConstantName)] 421[Name(ClassificationTypeNames.ConstantName)]
Microsoft.CodeAnalysis.Features (2)
Common\TaggedText.cs (1)
167TextTags.Constant => ClassificationTypeNames.ConstantName,
SpellCheck\AbstractSpellCheckSpanService.cs (1)
227case ClassificationTypeNames.ConstantName:
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Handler\SemanticTokens\CustomLspSemanticTokenNames.cs (1)
100[ClassificationTypeNames.ConstantName] = ConstantName,
Microsoft.CodeAnalysis.VisualBasic.Workspaces (4)
Classification\ClassificationHelpers.vb (2)
294classification = If(localDeclaration.Modifiers.Any(SyntaxKind.ConstKeyword), ClassificationTypeNames.ConstantName, ClassificationTypeNames.LocalName) 300classification = If(localDeclaration.Modifiers.Any(SyntaxKind.ConstKeyword), ClassificationTypeNames.ConstantName, ClassificationTypeNames.FieldName)
Classification\SyntaxClassification\NameSyntaxClassifier.vb (2)
198Return If(fieldSymbol.ContainingType.IsEnumType(), ClassificationTypeNames.EnumMemberName, ClassificationTypeNames.ConstantName) 206ClassificationTypeNames.ConstantName,
Microsoft.CodeAnalysis.Workspaces (2)
Classification\ClassificationTypeNames.cs (1)
48ConstantName,
Classification\Classifier.cs (1)
174ClassificationTypeNames.ConstantName => SymbolDisplayPartKind.ConstantName,
Microsoft.VisualStudio.LanguageServices (1)
HACK_ThemeColorFixer.cs (1)
175UpdateForegroundColor(ClassificationTypeNames.ConstantName, sourceFormatMap, targetFormatMap);