## 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](https://github.com/dotnet/vscode-csharp/blob/main/SUPPORT.md#collecting-general-logs) 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() ``` 4. Observe the CodeLens. ## Expected behavior The CodeLens appears. <img width="667" height="401" alt="Image" src="https://github.com/user-attachments/assets/81b88a5f-a6b5-4551-9212-05fc858e9b26" /> ## Actual behavior The CodeLens disappear <img width="662" height="332" alt="Image" src="https://github.com/user-attachments/assets/c1a72c91-8138-45a6-9213-c3683d0ede93" /> ## Additional context Note repro on C# pre-release build 2.87.26