Conversation
JoeRobich
approved these changes
Jan 12, 2026
JoeRobich
added a commit
that referenced
this pull request
Jan 12, 2026
This PR adds a project context feature which takes enables the client to use the new project context refresh support added to the LSP in dotnet/roslyn#81938. The current method of validating a project context is "up to date" is replaced with waiting to receive refresh notifications from the server. A Roslyn build with refresh support merged in #8877 Addresses #8849
davidwengier
added a commit
to dotnet/razor
that referenced
this pull request
Jan 12, 2026
Noticed this when testing our [latest VS Code insertion](dotnet/vscode-csharp#8877). I missed ignoring the case when parsing the enum, when adding this setting, and also missed that the tests we had were for the old language server so they didn't fail because I got that code right 🤦♂️
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Updates Razor to 10.0.0-preview.26059.2, which also needed a Roslyn update to 5.4.0-2.26060.1 for new API.
Full Razor changlog
View Complete Diff of Changes
Full Roslyn changelog (truncated, because pr-finder gave me everything back to the initial commit??)
View Complete Diff of Changes
SwitchBinder.KeyForConstant: nint/nuint values should not collide with values for constants of other types. (PR: #81794)usingscenarios. (PR: #81816)async." (PR: #81808)async. (PR: #81737)GetLocation()orGetDiagnostics()of freshly constructed syntax trivia (PR: #81444)BinderFlags.AttributeArgumentis in the local binder chain (PR: #81628)BoundCollectionExpressionSpreadElement.Conversion(PR: #81584)// lang=c#along with// lang=c#-test(PR: #81558)