10 references to SemanticTokensSchema
Microsoft.CodeAnalysis.LanguageServer.Protocol (9)
DefaultCapabilitiesProvider.cs (2)
102TokenTypes = [.. SemanticTokensSchema.GetSchema(clientCapabilities.HasVisualStudioLspCapability()).AllTokenTypes], 103TokenModifiers = SemanticTokensSchema.TokenModifiers
Handler\SemanticTokens\SemanticTokensHelpers.cs (2)
88var tokenTypesToIndex = SemanticTokensSchema.GetSchema(supportsVisualStudioExtensions).TokenTypeToIndex; 246var tokenTypeMap = SemanticTokensSchema.GetSchema(supportsVisualStudioExtensions).TokenTypeMap;
Handler\SemanticTokens\SemanticTokensSchema.cs (5)
61private static readonly SemanticTokensSchema s_vsTokenSchema = new(ClassificationTypeNames.AllTypeNames 72private static readonly SemanticTokensSchema s_pureLspTokenSchema = new(ClassificationTypeNames.AllTypeNames 118public static SemanticTokensSchema GetSchema(bool clientSupportsVisualStudioExtensions) 123public static SemanticTokensSchema LegacyTokenSchemaForRazor 126public static SemanticTokensSchema LegacyTokensSchemaForLSIF
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (1)
SemanticTokens\SemanticTokensRangeTests.cs (1)
584var schema = SemanticTokensSchema.GetSchema(capabilities.HasVisualStudioLspCapability());