Skip to content

Merge main to features/sonic#84349

Open
davidwengier wants to merge 314 commits into
dotnet:features/sonicfrom
davidwengier:MergeMain
Open

Merge main to features/sonic#84349
davidwengier wants to merge 314 commits into
dotnet:features/sonicfrom
davidwengier:MergeMain

Conversation

@davidwengier

@davidwengier davidwengier commented Jun 30, 2026

Copy link
Copy Markdown
Member
Microsoft Reviewers: Open in CodeFlow
jjonescz and others added 30 commits June 11, 2026 15:25
…r warning

- New MakeMethodAsynchronousCodeFixBenchmarks.cs in IdeCoreBenchmarks comparing
  FAR-based vs signature-based event-handler detection with CommonName and
  UniqueName parameterized scenarios
- Add GetMakeAsyncTaskFunctionForEventHandlerResource() abstract method to
  AbstractMakeMethodAsynchronousCodeFixProvider; RegisterTaskFix uses the warning
  title when the method looks like an event handler
- Add Make_method_async_for_event_handler resource string to CSharp resx + all 13 XLF files
- Override new method in CSharpMakeMethodAsynchronousCodeFixProvider
- Add Make_Async_Function_for_event_handler resource string to VB resx + all 13 XLF files
- Override new method in VisualBasicMakeMethodAsynchronousCodeFixProvider

Co-authored-by: mwiemer-microsoft <80539004+mwiemer-microsoft@users.noreply.github.com>
Co-authored-by: Cyrus Najmabadi <Cyrus Najmabadi>
Co-authored-by: Julien Couvreur <12466233+jcouv@users.noreply.github.com>
…oreBenchmarks Program.cs

Co-authored-by: mwiemer-microsoft <80539004+mwiemer-microsoft@users.noreply.github.com>
Co-authored-by: mwiemer-microsoft <80539004+mwiemer-microsoft@users.noreply.github.com>
…h warning; remove benchmark file

Co-authored-by: mwiemer-microsoft <80539004+mwiemer-microsoft@users.noreply.github.com>
Co-authored-by: mwiemer-microsoft <80539004+mwiemer-microsoft@users.noreply.github.com>
Co-authored-by: mwiemer-microsoft <80539004+mwiemer-microsoft@users.noreply.github.com>
…gnore

Co-authored-by: mwiemer-microsoft <80539004+mwiemer-microsoft@users.noreply.github.com>
Co-authored-by: Cyrus Najmabadi <Cyrus Najmabadi>
Co-authored-by: Julien Couvreur <12466233+jcouv@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: mwiemer-microsoft <80539004+mwiemer-microsoft@users.noreply.github.com>
...to GetAsyncEventHandlersRequireAsyncVoidWarningResource
Co-authored-by: mwiemer-microsoft <80539004+mwiemer-microsoft@users.noreply.github.com>
Co-authored-by: mwiemer-microsoft <80539004+mwiemer-microsoft@users.noreply.github.com>
Co-authored-by: mwiemer-microsoft <80539004+mwiemer-microsoft@users.noreply.github.com>
Co-authored-by: mwiemer-microsoft <80539004+mwiemer-microsoft@users.noreply.github.com>
…t-handlers' into copilot/fix-async-quick-fix-event-handlers

Co-authored-by: mwiemer-microsoft <80539004+mwiemer-microsoft@users.noreply.github.com>
tmat and others added 6 commits June 30, 2026 11:16
…net#84337)

Found in the logs of
https://devdiv.visualstudio.com/DevDiv/_workitems/edit/3023073, we check
the buffer type before assigning `_textBuffer`, but later assume it's
not null _before_ that same check.
###### Microsoft Reviewers: [Open in
CodeFlow](https://microsoft.github.io/open-pr/?codeflow=https://github.com/dotnet/roslyn/pull/84337)
Fixes dotnet#84104 
Fixes dotnet/vscode-csharp#9327

I've been trying to repro this for a while, running my local VS with
extra logging etc. and haven't been able to hit it. I've decided
therefore to give up, and just not bother the user if we get a bad
request from the editor, and simply return no color info. Presumably the
editor will follow up with another request, that is hopefully correct
this time.

If semantic tokens is broken as a result, then I'm sure we'll find out
about it, and will probably get more traction from the editor team with
that sort of bug anyway.
###### Microsoft Reviewers: [Open in
CodeFlow](https://microsoft.github.io/open-pr/?codeflow=https://github.com/dotnet/roslyn/pull/84334)
# Conflicts:
#	src/Razor/src/Razor/src/Microsoft.CodeAnalysis.Razor.CohostingShared/Diagnostics/CohostDocumentPullDiagnosticsEndpointBase.cs
#	src/Razor/src/Razor/src/Microsoft.CodeAnalysis.Razor.CohostingShared/Diagnostics/CohostDocumentPullDiagnosticsHelpers.cs
#	src/Razor/src/Razor/src/Microsoft.CodeAnalysis.Remote.Razor/SemanticTokens/RazorSemanticTokensInfoService.cs
#	src/Razor/src/Razor/src/Microsoft.VisualStudio.LanguageServices.Razor/OrganizeUsingsCommand.cs
Copilot AI review requested due to automatic review settings June 30, 2026 22:49
@davidwengier davidwengier requested review from a team as code owners June 30, 2026 22:49

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review this pull request because it exceeds the maximum number of files (300). Try reducing the number of changed files and requesting a review from Copilot again.

@dotnet-policy-service dotnet-policy-service Bot added VSCode Area-Razor Needs API Review Needs to be reviewed by the API review council labels Jun 30, 2026
@dotnet-policy-service

Copy link
Copy Markdown
Contributor

This PR modifies public API files. Please follow the instructions at https://github.com/dotnet/roslyn/blob/main/docs/contributing/API%20Review%20Process.md for ensuring all public APIs are reviewed before merging.

akhera99 and others added 3 commits June 30, 2026 23:20
…otnet#84346)

Register CS1574 in the C# fully-qualify provider and search inside
documentation-comment trivia so the fix is offered for unresolved type
references in XML doc `<see cref="..."/>` attributes.
###### Microsoft Reviewers: [Open in
CodeFlow](https://microsoft.github.io/open-pr/?codeflow=https://github.com/dotnet/roslyn/pull/84346)
Copilot AI review requested due to automatic review settings July 1, 2026 03:28

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review this pull request because it exceeds the maximum number of files (300). Try reducing the number of changed files and requesting a review from Copilot again.

jjonescz and others added 5 commits July 1, 2026 16:31
…t#84308)

This PR explores moving our AI-agent documentation to the structure from
https://github.com/abpiskunov/dev-skills, with the goal of improving
context loading — agents read an `INDEX`-driven map and load only the
memory/instruction files relevant to the area they're working in, rather
than pulling one large monolithic instructions file into context.

We expect this documentation to change rapidly over time as we continue
to work with Copilot in the product, so it should be treated as a
living, evolving baseline rather than a finished spec.

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area-Razor Needs API Review Needs to be reviewed by the API review council VSCode