Skip to content

[NETSDKE2E] The CodeLens disappear in razor/blazor project. #8482

@yinjiehe01

Description

@yinjiehe01

Environment data

VS Code version:1.102.3
C# Extension version:2.88.28 from main branch

C# logs

C# output window contents:

See this page for collecting more detailed logs

Steps to reproduce

1.Install VS Code and C#&C# Devkit extension.
2. Create a blazor project and open it with VS Code.
3. Type the following code in page

@functions {
 void Foo()
 {
 }
}

@Foo()
  1. Observe the CodeLens.

Expected behavior

The CodeLens appears.
Image

Actual behavior

The CodeLens disappear
Image

Additional context

Note repro on C# pre-release build 2.87.26

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions