Skip to content

Conversation

@dotnet-policy-service
Copy link
Contributor

@dotnet-policy-service dotnet-policy-service bot commented Jan 28, 2026

Please don't squash-merge this PR.


Internal previews

Toggle expand/collapse
📄 File 🔗 Preview link
.github/ISSUE_TEMPLATE/04-csharp-new-fundamentals-reference.yml "[C# 15-Fundamentals and reference]: New Feature - "
.github/ISSUE_TEMPLATE/05-csharp-new-errors-warnings.yml .github/ISSUE_TEMPLATE/05-csharp-new-errors-warnings
.github/ISSUE_TEMPLATE/06-csharp-new-tutorials.yml "[C# 15-Tutorials]: New Feature - "
.github/workflows/check-for-build-warnings.yml .github/workflows/check-for-build-warnings
.github/workflows/cleanrepo-orphaned-articles.yml .github/workflows/cleanrepo-orphaned-articles
.github/workflows/cleanrepo-orphaned-images.yml .github/workflows/cleanrepo-orphaned-images
.github/workflows/cleanrepo-orphaned-includes.yml .github/workflows/cleanrepo-orphaned-includes
.github/workflows/cleanrepo-orphaned-snippets.yml .github/workflows/cleanrepo-orphaned-snippets
.github/workflows/cleanrepo-redirect-hops.yml .github/workflows/cleanrepo-redirect-hops
.github/workflows/cleanrepo-relative-links.yml .github/workflows/cleanrepo-relative-links
.github/workflows/cleanrepo-replace-redirects.yml .github/workflows/cleanrepo-replace-redirects
.github/workflows/dependabot-bot.yml The name used in the GitHub UI for the workflow
.github/workflows/dependency-review.yml surfacing known-vulnerable versions of the packages declared or updated in the PR.
.github/workflows/do-not-merge-label-check.yml succeed, allowing the pull request to be merged.
.github/workflows/docs-verifier.yml .github/workflows/docs-verifier
.github/workflows/live-protection.yml .github/workflows/live-protection
.github/workflows/markdownlint.yml .github/workflows/markdownlint
.github/workflows/scorecards.yml This workflow uses actions that are not certified by GitHub. They are provided
.github/workflows/snippets5000.yml events on the main branch only.
docs/ai/overview.md Develop .NET apps with AI features
docs/core/compatibility/extensions/10.0/getkeyedservice-anykey.md Fix issues in GetKeyedService() and GetKeyedServices() with AnyKey
docs/core/extensions/dependency-injection/overview.md Dependency injection
docs/csharp/language-reference/compiler-messages/feature-version-errors.md Resolve warnings related to language features and versions
docs/csharp/language-reference/compiler-messages/overloaded-operator-errors.md docs/csharp/language-reference/compiler-messages/overloaded-operator-errors
docs/csharp/language-reference/compiler-messages/source-generator-errors.md Errors and warnings associated with source generators and interceptors
docs/csharp/language-reference/compiler-messages/unsafe-code-errors.md Resolve errors and warnings related to using unsafe code
docs/csharp/language-reference/toc.yml docs/csharp/language-reference/toc
docs/csharp/misc/sorry-we-don-t-have-specifics-on-this-csharp-error.md Coming in C# 15
docs/csharp/programming-guide/classes-and-structs/how-to-implement-and-call-a-custom-extension-method.md "How to implement and call a custom extension method"
docs/visual-basic/programming-guide/concepts/async/index.md Asynchronous programming with Async and Await (Visual Basic)

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.

@github-advanced-security
Copy link

This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation.

@dotnetrepoman dotnetrepoman bot added this to the January 2026 milestone Jan 28, 2026
dependabot bot and others added 19 commits January 28, 2026 12:27
Bumps [step-security/harden-runner](https://github.com/step-security/harden-runner) from 2.14.0 to 2.14.1.
- [Release notes](https://github.com/step-security/harden-runner/releases)
- [Commits](step-security/harden-runner@20cf305...e3f713f)

---
updated-dependencies:
- dependency-name: step-security/harden-runner
  dependency-version: 2.14.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps System.Threading.RateLimiting from 10.0.1 to 10.0.2

---
updated-dependencies:
- dependency-name: System.Threading.RateLimiting
  dependency-version: 10.0.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dotnet
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps OpenTelemetry.Exporter.OpenTelemetryProtocol from 1.14.0 to 1.15.0

---
updated-dependencies:
- dependency-name: OpenTelemetry.Exporter.OpenTelemetryProtocol
  dependency-version: 1.15.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dotnet
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps Microsoft.Extensions.AI from 10.1.1 to 10.2.0
Bumps Microsoft.Extensions.Configuration from 10.0.1 to 10.0.2
Bumps Microsoft.Extensions.Configuration.UserSecrets from 10.0.1 to 10.0.2

---
updated-dependencies:
- dependency-name: Microsoft.Extensions.AI
  dependency-version: 10.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dotnet
- dependency-name: Microsoft.Extensions.Configuration
  dependency-version: 10.0.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dotnet
- dependency-name: Microsoft.Extensions.Configuration.UserSecrets
  dependency-version: 10.0.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dotnet
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps Microsoft.Extensions.AI from 10.1.1 to 10.2.0
Bumps OllamaSharp from 5.4.12 to 5.4.13

---
updated-dependencies:
- dependency-name: Microsoft.Extensions.AI
  dependency-version: 10.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dotnet
- dependency-name: OllamaSharp
  dependency-version: 5.4.13
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dotnet
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps OllamaSharp from 5.4.12 to 5.4.13
Bumps OpenTelemetry.Exporter.Console from 1.14.0 to 1.15.0

---
updated-dependencies:
- dependency-name: OllamaSharp
  dependency-version: 5.4.13
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dotnet
- dependency-name: OpenTelemetry.Exporter.Console
  dependency-version: 1.15.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dotnet
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps Microsoft.Extensions.Http from 10.0.0 to 10.0.2
Bumps Microsoft.Extensions.Logging.Abstractions from 10.0.0 to 10.0.2

---
updated-dependencies:
- dependency-name: Microsoft.Extensions.Http
  dependency-version: 10.0.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dotnet
- dependency-name: Microsoft.Extensions.Logging.Abstractions
  dependency-version: 10.0.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dotnet
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps Microsoft.Extensions.Caching.Memory from 10.0.1 to 10.0.2
Bumps OllamaSharp from 5.4.12 to 5.4.13

---
updated-dependencies:
- dependency-name: Microsoft.Extensions.Caching.Memory
  dependency-version: 10.0.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dotnet
- dependency-name: OllamaSharp
  dependency-version: 5.4.13
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dotnet
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps Microsoft.Extensions.Hosting from 10.0.1 to 10.0.2
Bumps OllamaSharp from 5.4.12 to 5.4.13

---
updated-dependencies:
- dependency-name: Microsoft.Extensions.Hosting
  dependency-version: 10.0.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dotnet
- dependency-name: OllamaSharp
  dependency-version: 5.4.13
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dotnet
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps Microsoft.Extensions.Configuration from 10.0.1 to 10.0.2
Bumps Microsoft.Extensions.Configuration.UserSecrets from 10.0.1 to 10.0.2

---
updated-dependencies:
- dependency-name: Microsoft.Extensions.Configuration
  dependency-version: 10.0.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dotnet
- dependency-name: Microsoft.Extensions.Configuration.UserSecrets
  dependency-version: 10.0.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dotnet
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps Microsoft.Extensions.Logging.Abstractions from 10.0.0 to 10.0.2
Bumps Microsoft.Extensions.Logging.Console from 10.0.0 to 10.0.2

---
updated-dependencies:
- dependency-name: Microsoft.Extensions.Logging.Abstractions
  dependency-version: 10.0.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dotnet
- dependency-name: Microsoft.Extensions.Logging.Abstractions
  dependency-version: 10.0.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dotnet
- dependency-name: Microsoft.Extensions.Logging.Abstractions
  dependency-version: 10.0.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dotnet
- dependency-name: Microsoft.Extensions.Logging.Console
  dependency-version: 10.0.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dotnet
- dependency-name: Microsoft.Extensions.Logging.Console
  dependency-version: 10.0.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dotnet
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [actions/checkout](https://github.com/actions/checkout) from 6.0.1 to 6.0.2.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@8e8c483...de0fac2)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: 6.0.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 8.0.0 to 8.1.0.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases)
- [Commits](peter-evans/create-pull-request@98357b1...c0f553f)

---
updated-dependencies:
- dependency-name: peter-evans/create-pull-request
  dependency-version: 8.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 4.31.10 to 4.32.0.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](github/codeql-action@cdefb33...b20883b)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: 4.32.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Fixes #50695

For readers that want to build the app themselves, add notes about the necessary helper classes.

While here, do a freshness pass and update the sample version.
* Update C# feature templates

.NET - The Nigel Tufnel edition is coming.

* Apply suggestions from code review

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

* respond to feedback

---------

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

* Add CS9027

* Add CS9041

* Add source generator 11 errors

Also, add new C# 15 errors to catch-all file

* Edit to provide recommendations.

Focus on fixing the error, not describing it.

* Apply suggestions from code review

Co-authored-by: Meaghan Osagie (Lewis) <moneikmarie@gmail.com>

---------

Co-authored-by: Meaghan Osagie (Lewis) <moneikmarie@gmail.com>
…51327)

* Initial plan

* Add C# 14 and .NET 10 version requirements to extension method article

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

* Improve clarity by splitting extension method approaches into sub-bullets

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

* Restructure article to show both C# 14 and classic extension method syntax

- Added separate sections for C# 14 extension blocks and classic syntax
- Created new code example showing classic extension method approach
- Updated introduction to explain both syntaxes are available
- Moved general information to end of article
- Addresses issue #50803

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

* Fix grammar: hyphenate non-generic and pluralize methods

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

* Update docs/csharp/programming-guide/classes-and-structs/snippets/how-to-implement-and-call-a-custom-extension-method-classic/how-to-implement-and-call-a-custom-extension-method-classic.csproj

---------

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>
@gewarren gewarren merged commit c70a2cf into live Jan 28, 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