Skip to content

Merge main into live#53001

Merged
BillWagner merged 8 commits intolivefrom
main
Apr 14, 2026
Merged

Merge main into live#53001
BillWagner merged 8 commits intolivefrom
main

Conversation

@dotnet-policy-service
Copy link
Copy Markdown
Contributor

@dotnet-policy-service dotnet-policy-service bot commented Apr 14, 2026

Please don't squash-merge this PR.


Internal previews

Toggle expand/collapse
📄 File 🔗 Preview link
docs/core/compatibility/library-change-rules.md Change rules for compatibility
docs/core/porting/github-copilot-app-modernization/faq.yml GitHub Copilot modernization FAQ
docs/core/porting/github-copilot-app-modernization/how-to-custom-upgrade-instructions.md Apply custom upgrade instructions for .NET upgrades
docs/core/porting/github-copilot-app-modernization/how-to-upgrade-with-github-copilot.md Upgrade a .NET app with GitHub Copilot modernization
docs/core/porting/github-copilot-app-modernization/index.yml docs/core/porting/github-copilot-app-modernization/index
docs/core/porting/github-copilot-app-modernization/install.md Install GitHub Copilot modernization
docs/core/porting/github-copilot-app-modernization/overview.md What is GitHub Copilot modernization?
docs/core/porting/github-copilot-app-modernization/toc.yml docs/core/porting/github-copilot-app-modernization/toc
docs/core/whats-new/dotnet-11/libraries.md What's new in .NET libraries for .NET 11
docs/core/whats-new/dotnet-11/overview.md What's new in .NET 11
docs/core/whats-new/dotnet-11/runtime.md What's new in .NET 11 runtime
docs/core/whats-new/dotnet-11/sdk.md What's new in the SDK and tooling for .NET 11
docs/csharp/language-reference/builtin-types/enum.md Enumeration types (C# reference)
docs/csharp/language-reference/builtin-types/record.md docs/csharp/language-reference/builtin-types/record
docs/csharp/language-reference/compiler-messages/lambda-expression-errors.md Errors and warnings when using lambda expressions and anonymous functions
docs/csharp/language-reference/compiler-messages/record-declaration-errors.md Resolve errors and warnings related to record declarations
docs/csharp/language-reference/operators/arithmetic-operators.md Arithmetic operators (C# reference)
docs/csharp/language-reference/operators/bitwise-and-shift-operators.md Bitwise and shift operators (C# reference)
docs/csharp/language-reference/operators/boolean-logical-operators.md docs/csharp/language-reference/operators/boolean-logical-operators
docs/csharp/language-reference/operators/equality-operators.md Equality operators - test if two objects are equal or not
docs/csharp/language-reference/operators/lambda-expressions.md "Lambda expressions - Lambda expressions and anonymous functions"
docs/csharp/language-reference/operators/patterns.md Pattern matching - the is and switch expressions, and operators and, or, and not in patterns
docs/csharp/language-reference/operators/with-expression.md docs/csharp/language-reference/operators/with-expression
docs/csharp/specification/overview.md C# standard specification
docs/csharp/specification/toc.yml docs/csharp/specification/toc
docs/csharp/whats-new/csharp-version-history.md The history of C#
docs/framework/release-notes/release-notes.md .NET Framework release information
docs/framework/toc.yml docs/framework/toc
docs/fundamentals/code-analysis/style-rules/ide0070.md Use 'System.HashCode.Combine' (IDE0070)
docs/navigate/advanced-programming/toc.yml docs/navigate/advanced-programming/toc

Note

This table shows preview links for the 30 files with the most changes. For preview links for other files in this PR, select OpenPublishing.Build Details within checks.

Copilot AI and others added 4 commits April 13, 2026 11:38
* Publish the C# 9 alpha branch

Start the process of publishing the early alpha drafts in favor of the current committee working draft.

* fix branch name.

* Fix build warnings

New version means lots of new clauses.

* Add items to TOC

Add clause number to the TOC.

* Fix spec links

* Replace links

Replace all links to the C# 9 feature specs with the corresponding location in the C# 9 alpha draft of the C# standard.
* Async troubleshooting and pitfalls

 Create `common-async-bugs.md` — from "Psychic Debugging of Async Methods." Covers the 4 most common bugs: method runs synchronously despite `async`, can't await `void`, deadlocks with `SynchronizationContext`, `Task<Task>` unwrapping. Also incorporate mentions of UI deadlocks (from "Await and UI and deadlocks") and static constructor deadlocks as warning notes.
1. Create `async-lambda-pitfalls.md` — from "Potential pitfalls to avoid when passing around async lambdas." Covers: async lambdas assigned to `Action` delegates (becomes async void), `Parallel.ForEach` with async lambdas, `Task.Factory.StartNew` returning `Task<Task>`.
1. Decompose relevant Async/Await FAQ content into both articles (FAQ answers about async void, `Task.Wait` vs `await`, the `async` keyword not forcing asynchrony).
1. Add both to TOC. Consider grouping under a new "Best practices and troubleshooting" sub-section.

* Proofread and update

Do a full edit pass and update.

* Apply suggestions from code review

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Update docs/standard/asynchronous-programming-patterns/async-lambda-pitfalls.md

Co-authored-by: Genevieve Warren <24882762+gewarren@users.noreply.github.com>

* format table.

---------

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Genevieve Warren <24882762+gewarren@users.noreply.github.com>
@github-advanced-security
Copy link
Copy Markdown

You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool.

What Enabling Code Scanning Means:

  • The 'Security' tab will display more code scanning analysis results (e.g., for the default branch).
  • Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results.
  • You will be able to see the analysis results for the pull request's branch on this overview once the scans have completed and the checks have passed.

For more information about GitHub Code Scanning, check out the documentation.

@dotnetrepoman dotnetrepoman bot added this to the April 2026 milestone Apr 14, 2026
TaraOverfield and others added 4 commits April 14, 2026 11:08
* 4B .NET Framework release notes

DO NOT MERGE until 4/14 at 10am Redmond time.

* Change release date to April 14, 2026

Updated the release date for the .NET Framework release notes.

* Fix markdown formatting in April cumulative update notes

Updated markdown formatting for release notes to use asterisks instead of underscores for emphasis.
* Update GitHub Copilot modernization docs with latest features

- Update overview.md with 8 scenarios, VB support, new project types,
  four-phase workflow, upgrade strategies, flow modes, state management
- Update install.md with correct VS Code extension name, VB support
- Update faq.yml with new scenarios, version matrix, new Q&As
- Update how-to-upgrade with upgrade options phase, flow modes
- Create concepts.md covering scenarios, skills, tasks, workflow,
  state management, flow modes, and resumability
- Create scenarios-and-skills.md with full reference of 8 scenarios
  and 30+ built-in migration skills organized by domain
- Create best-practices.md with preparation, collaboration, pitfalls,
  recovery, security, and performance guidance
- Create troubleshooting.md covering workflow, build, Git, performance,
  and customization issues
- Update toc.yml and index.yml with new articles

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Add customization and working-with-agent articles

- Create customization.md covering custom skills, custom scenarios,
  scenario artifact editing, chat customization, source control/branching,
  and skill loading priority with real-world examples
- Create working-with-agent.md covering collaboration patterns, teaching
  preferences/corrections, flow modes, mid-session corrections, multi-session
  workflows, reviewing work, and quick reference phrase table
- Update toc.yml and index.yml with both new articles
- Update output.md with fact-check entries for both articles

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Fix scenarios-and-skills.md per review feedback

- Shorten title for SEO compliance
- Add periods to all scenario table 'What it does' rows
- Fix 'end to end' to 'end-to-end'
- Replace em-dashes with colons in section headings
- Add CoreWCF GitHub link

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Change from four-phase to three-phase workflow

Remove assessment as a numbered phase. Assessment is now described
as a preliminary step the agent performs before the three phases
(upgrade options, planning, execution) begin.

Updated across all 6 affected files: overview.md, concepts.md,
how-to-upgrade-with-github-copilot.md, best-practices.md,
troubleshooting.md, and working-with-agent.md.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Add intro text between consecutive H2/H3 headings

Add brief introductory paragraphs between H2 and H3 headings in
best-practices.md (5 instances) and troubleshooting.md (4 instances)
to comply with docs style requirement that consecutive headings
must have content between them.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Apply best-practices.md review feedback

- Add guidance to initialize a local Git repo for non-Git projects,
  with benefits list and example commands
- Add note about editing plan.md directly with CAUTION about
  contradictory instructions
- Add 'or stop the session manually' to agent-stuck-in-loop section

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Edit pass

* Remove file

* Apply suggestions from code review

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Some feedback

* Editing

* Another editing pass

* Review comments

* Feedback

* Fix VSCode's bad GitHub integration...

* Change type to reference

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Initial plan

* Update What's new articles for .NET 11 Preview 3

- Updated all 4 What's new articles for .NET 11 to Preview 3
- Updated ms.date to 04/14/2026 in all files
- runtime.md: simplified Runtime Async opt-in (no EnablePreviewFeatures needed), added NativeAOT/R2R support, added JIT switch folding and uint-float cast improvements, added WebAssembly section
- libraries.md: added System.Text.Json naming/ignore enhancements, Zstandard in System.IO.Compression, ZIP CRC32 validation, SafeFileHandle pipe support, RandomAccess pipe support, Regex AnyNewLine option
- sdk.md: added solution filter CLI support, file-based app #:include, dotnet run -e, dotnet watch improvements, other CLI improvements
- overview.md: updated summaries to reflect Preview 3 features, added union types to C# 15 list
- Updated Libraries.cs snippet with new code samples for Preview 3 features
- Updated Runtime.cs snippet to remove EnablePreviewFeatures comment

Agent-Logs-Url: https://github.com/dotnet/docs/sessions/b44af3f0-172c-4e4f-bb38-d79eed5ce99c

Co-authored-by: BillWagner <493969+BillWagner@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Fix snippet parameter name

It should be `asyncRead` and `asyncWrite`, not `asyncReads` and `asyncWrites`.

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: BillWagner <493969+BillWagner@users.noreply.github.com>
Co-authored-by: Bill Wagner <wiwagn@microsoft.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@BillWagner BillWagner merged commit 7362bbd into live Apr 14, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants