Merge main to features/sonic#84349
Open
davidwengier wants to merge 314 commits into
Open
Conversation
…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>
…github.com/dotnet/roslyn into copilot/fix-async-quick-fix-event-handlers
…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>
###### Microsoft Reviewers: [Open in CodeFlow](https://microsoft.github.io/open-pr/?codeflow=https://github.com/dotnet/roslyn/pull/84262)
…a multiplication by a factor 2 (dotnet#84340) From the "IEnumerable" chapter : https://github.com/dotnet/roslyn/blob/main/docs/features/incremental-generators.md#pipeline-based-execution
…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
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. |
…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)
) Entirely copied from the EnC behaviour ###### Microsoft Reviewers: [Open in CodeFlow](https://microsoft.github.io/open-pr/?codeflow=https://github.com/dotnet/roslyn/pull/84303)
davidwengier
commented
Jul 1, 2026
…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>
333fred
approved these changes
Jul 1, 2026
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.
Microsoft Reviewers: Open in CodeFlow