dotnet / razor

Compiler and tooling experience for Razor ASP.NET Core apps in Visual Studio, Visual Studio for Mac, and VS Code.
https://asp.net
MIT License
493 stars 191 forks source link

`with` expressions don't seem to work in OOP #10843

Open davidwengier opened 3 weeks ago

davidwengier commented 3 weeks ago

Tracks TODO in code: https://github.com/davidwengier/razor/blob/CohostGoToImplementation/src/Razor/src/Microsoft.CodeAnalysis.Remote.Razor/RazorDocumentServiceBase.cs#L44

The TODO tracks a line of code that used to be this: https://github.com/dotnet/razor/blob/main/src/Razor/src/Microsoft.CodeAnalysis.Remote.Razor/GoToDefinition/RemoteGoToDefinitionService.cs#L72

This fails with an exception about not being able to find set_LanguageKind.