diff --git a/src/LanguageServer/Protocol/Handler/SemanticTokens/SemanticTokensSchema.cs b/src/LanguageServer/Protocol/Handler/SemanticTokens/SemanticTokensSchema.cs index 0841718712bab..afb4a27b58244 100644 --- a/src/LanguageServer/Protocol/Handler/SemanticTokens/SemanticTokensSchema.cs +++ b/src/LanguageServer/Protocol/Handler/SemanticTokens/SemanticTokensSchema.cs @@ -78,7 +78,7 @@ internal readonly struct SemanticTokensSchema /// /// Mapping from additive classification type names to LSP token modifiers. /// - public static ImmutableDictionary AdditiveClassificationTypeToTokenModifier => new Dictionary() + public static readonly ImmutableDictionary AdditiveClassificationTypeToTokenModifier = new Dictionary() { [ClassificationTypeNames.StaticSymbol] = SemanticTokens.TokenModifiers.Static, [ClassificationTypeNames.ReassignedVariable] = SemanticTokens.TokenModifiers.ReassignedVariable,