1 write to TokenTypeMap
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Handler\SemanticTokens\SemanticTokensSchema.cs (1)
108TokenTypeMap = tokenTypeMap;
5 references to TokenTypeMap
Microsoft.CodeAnalysis.LanguageServer.Protocol (3)
Handler\SemanticTokens\SemanticTokensHelpers.cs (1)
240var tokenTypeMap = SemanticTokensSchema.GetSchema(supportsVisualStudioExtensions).TokenTypeMap;
Handler\SemanticTokens\SemanticTokensSchema.cs (2)
102/// Equivalent to see <see cref="SemanticTokenTypes.AllTypes"/> combined with the remaining custom token names from <see cref="TokenTypeMap"/> 111var customTokenTypes = TokenTypeMap.Values
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (2)
SemanticTokens\SemanticTokensRangeTests.cs (2)
601Assert.True(schema.TokenTypeMap.ContainsKey(expectedClassificationName), $"Missing token type for {expectedClassificationName}."); 603var tokenName = schema.TokenTypeMap[expectedClassificationName];