Skip to content

Commit 2eb03dc

Browse files
committed
Fix semantic tokens
1 parent afe36d9 commit 2eb03dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Razor/src/Microsoft.CodeAnalysis.Razor.Workspaces/SemanticTokens/SemanticTokensVisitor.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,7 @@ public override void VisitMarkupMinimizedTagHelperDirectiveAttribute(MarkupMinim
447447

448448
public override void VisitCSharpTransition(CSharpTransitionSyntax node)
449449
{
450-
if (node.Parent is not RazorDirectiveSyntax)
450+
if (node.Parent is not BaseRazorDirectiveSyntax)
451451
{
452452
using (ColorCSharpBackground())
453453
{

0 commit comments

Comments
 (0)