Skip to content

Conversation

@AlekseyTs
Copy link
Contributor

Trivial merges only.

Copilot AI and others added 30 commits December 15, 2025 11:00
…otnet#81606)

Error CS9293 was too generic when extension parameters were referenced
from static members, giving "Cannot use extension parameter in this
context" without explaining the static/instance mismatch.

**Before**: "Cannot use extension parameter 'object o' in this context."
**After**: "Static members cannot refer to extension parameter 'o'. Use
an instance member instead."

---------

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: Fred Silberberg <[email protected]>
[main] Update dependencies from dotnet/arcade
Closes dotnet#67153.

The assert was uncommented already in the original fix
(dotnet#67157),
but then it got commented again via automatic code flow
(dotnet#67507).
Migrates https://github.com/microsoft/vs-extension-testing into Roslyn.
Reduces infrastructure pain for a repo we own that is majorly used just
by Roslyn / Razor.

This does not enable CI to run integration tests on dev18, will tackle
that in a followup. However I did verify that at least some of the tests
pass on dev18 with this locally.

Support for testing VS versions below dev18 has also been removed. Older
versions of the packages can be used if testing old VS versions is
required.

Should be reviewed starting at 6220e53
Everything else is the history from vs-extension-testing.
Part of dotnet/razor#8541

Needed so we can rename the .razor file when the user renames the
component type name from a C# file.
Make and use a builder for DeclarationTable edits to reduce allocations
from creating intermediary DeclarationTable and repeated modifications
to an underlying ImmutableDictionary.

Insertion PR:
https://devdiv.visualstudio.com/DevDiv/_git/VS/pullrequest/695154

PIT results: 
<img width="1426" height="180" alt="image"
src="https://github.com/user-attachments/assets/1e1618f4-e014-4cc9-b38a-5e025b64d75f"
/>

Allocations in VS under SyntaxAndDeclarationManager.CreateState from
ScrollingAndTyping test, Typing scenario:

*** Before ***
<img width="1279" height="465" alt="image"
src="https://github.com/user-attachments/assets/f69039fd-725a-4334-bd77-0192103f4e19"
/>

*** After ***
<img width="1292" height="482" alt="image"
src="https://github.com/user-attachments/assets/1d877d76-b6c1-4d57-95a1-a70999e9cd43"
/>
davidwengier and others added 19 commits January 7, 2026 08:46
Fixes microsoft/vscode-dotnettools#2629

I could not get a test working for this, I don't fully understand all of
the machinery here. The Razor file was always coming back as a misc file
even after being added to a real project?
- Implicit capabilities are already added by watch:
dotnet/sdk#52069
- dotnet#36061 no longer repros - the
diagnostics are deduplicated if necessary. Avoid reporting hidden and
info diagnostics to reduce log noise.
A couple were missing part of the URL. In addition, draft-v9 will soon
be the default branch, and a couple clauses moved.
@AlekseyTs AlekseyTs requested review from a team as code owners January 7, 2026 23:23
@AlekseyTs
Copy link
Contributor Author

@dotnet/roslyn-compiler Need a sign-off on a merge PR

@AlekseyTs AlekseyTs enabled auto-merge January 8, 2026 00:13
@AlekseyTs AlekseyTs merged commit fd81166 into dotnet:features/Unions Jan 8, 2026
28 of 29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.