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