2 instantiations of SemanticTokenTypes
Microsoft.CodeAnalysis.Razor.Workspaces (1)
SemanticTokens\AbstractRazorSemanticTokensLegendService.cs (1)
35return new SemanticTokenTypes(builder.ToArray());
Microsoft.CodeAnalysis.Remote.Razor (1)
SemanticTokens\RemoteSemanticTokensLegendService.cs (1)
26_tokenTypes = new SemanticTokenTypes(options.TokenTypes);
23 references to SemanticTokenTypes
Microsoft.CodeAnalysis.Razor.Workspaces (20)
SemanticTokens\AbstractRazorSemanticTokensLegendService.cs (4)
19private readonly Lazy<SemanticTokenTypes> _typesLazy = new(() => ConstructTokenTypes(clientCapabilitiesService.ClientCapabilities.SupportsVisualStudioExtensions)); 21public SemanticTokenTypes TokenTypes => _typesLazy.Value; 24private static SemanticTokenTypes ConstructTokenTypes(bool supportsVsExtensions) 30foreach (var razorTokenType in GetStaticFieldValues(typeof(SemanticTokenTypes)))
SemanticTokens\ISemanticTokensLegendService.cs (1)
9SemanticTokenTypes TokenTypes { get; }
SemanticTokens\SemanticTokensVisitor.cs (15)
75var tokenTypes = _semanticTokensLegend.TokenTypes; 89var tokenTypes = _semanticTokensLegend.TokenTypes; 118var tokenTypes = _semanticTokensLegend.TokenTypes; 146var tokenTypes = _semanticTokensLegend.TokenTypes; 179var tokenTypes = _semanticTokensLegend.TokenTypes; 208var tokenTypes = _semanticTokensLegend.TokenTypes; 231var tokenTypes = _semanticTokensLegend.TokenTypes; 252var tokenTypes = _semanticTokensLegend.TokenTypes; 290var tokenTypes = _semanticTokensLegend.TokenTypes; 321var tokenTypes = _semanticTokensLegend.TokenTypes; 361var tokenTypes = _semanticTokensLegend.TokenTypes; 400var tokenTypes = _semanticTokensLegend.TokenTypes; 428var tokenTypes = _semanticTokensLegend.TokenTypes; 475var tokenTypes = _semanticTokensLegend.TokenTypes; 483var tokenTypes = _semanticTokensLegend.TokenTypes;
Microsoft.CodeAnalysis.Remote.Razor (3)
SemanticTokens\RemoteSemanticTokensLegendService.cs (3)
8using SemanticTokenTypes = Microsoft.CodeAnalysis.Razor.SemanticTokens.SemanticTokenTypes; 18private SemanticTokenTypes _tokenTypes = null!; 22public SemanticTokenTypes TokenTypes => _tokenTypes;