Skip to content

Merge main into live #47085

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 19 commits into from
Jul 3, 2025
Merged

Merge main into live #47085

merged 19 commits into from
Jul 3, 2025

Conversation

dotnet-policy-service[bot]
Copy link
Contributor

@dotnet-policy-service dotnet-policy-service bot commented Jul 3, 2025

Please don't squash-merge this PR.


Internal previews

Toggle expand/collapse
📄 File 🔗 Preview link
docs/csharp/advanced-topics/interop/how-to-use-named-and-optional-arguments-in-office-programming.md docs/csharp/advanced-topics/interop/how-to-use-named-and-optional-arguments-in-office-programming
docs/csharp/language-reference/keywords/protected.md docs/csharp/language-reference/keywords/protected
docs/csharp/language-reference/operators/lambda-expressions.md docs/csharp/language-reference/operators/lambda-expressions
docs/csharp/language-reference/xmldoc/recommended-tags.md docs/csharp/language-reference/xmldoc/recommended-tags
docs/csharp/programming-guide/classes-and-structs/how-to-initialize-objects-by-using-an-object-initializer.md docs/csharp/programming-guide/classes-and-structs/how-to-initialize-objects-by-using-an-object-initializer
docs/csharp/programming-guide/classes-and-structs/object-and-collection-initializers.md docs/csharp/programming-guide/classes-and-structs/object-and-collection-initializers
docs/csharp/programming-guide/concepts/covariance-contravariance/using-variance-in-delegates.md docs/csharp/programming-guide/concepts/covariance-contravariance/using-variance-in-delegates
docs/csharp/programming-guide/delegates/using-delegates.md docs/csharp/programming-guide/delegates/using-delegates
docs/csharp/programming-guide/statements-expressions-operators/expression-bodied-members.md docs/csharp/programming-guide/statements-expressions-operators/expression-bodied-members
docs/csharp/tutorials/working-with-linq.md docs/csharp/tutorials/working-with-linq
docs/standard/linq/preserve-white-space-serializing.md docs/standard/linq/preserve-white-space-serializing

dependabot bot and others added 19 commits July 2, 2025 12:14
Bumps OllamaSharp from 5.2.2 to 5.2.3

---
updated-dependencies:
- dependency-name: OllamaSharp
  dependency-version: 5.2.3
  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.2.2 to 5.2.3

---
updated-dependencies:
- dependency-name: OllamaSharp
  dependency-version: 5.2.3
  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 Azure.Identity from 1.14.0 to 1.14.1

---
updated-dependencies:
- dependency-name: Azure.Identity
  dependency-version: 1.14.1
  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 Azure.Identity from 1.14.0 to 1.14.1

---
updated-dependencies:
- dependency-name: Azure.Identity
  dependency-version: 1.14.1
  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.2.2 to 5.2.3

---
updated-dependencies:
- dependency-name: OllamaSharp
  dependency-version: 5.2.3
  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 Azure.Identity from 1.14.0 to 1.14.1

---
updated-dependencies:
- dependency-name: Azure.Identity
  dependency-version: 1.14.1
  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.1.19 to 5.2.3

---
updated-dependencies:
- dependency-name: OllamaSharp
  dependency-version: 5.2.3
  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>
)

* Initial plan

* Add XML roundtripping section with carriage return entity documentation

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

* Move code samples to snippet files and fix raw string literal format

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

* Fix code samples to compile in documentation environment and update target framework to net9.0

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

* Restructure code samples to use single Program class with Example methods and fix target framework

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

* Add snippet tags to filter displayed code sections

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

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: BillWagner <493969+BillWagner@users.noreply.github.com>
* Initial plan

* Add expression-bodied members examples with parameters

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

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: BillWagner <493969+BillWagner@users.noreply.github.com>
…r in expression trees (#47037)

* Initial plan

* Update lambda expression documentation to clarify method call behavior in expression trees

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

* Update docs/csharp/language-reference/operators/lambda-expressions.md

---------

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>
…ts (#47038)

* Initial plan

* Fix incorrect information about protected access modifier

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

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: BillWagner <493969+BillWagner@users.noreply.github.com>
…ation (#47053)

* Initial plan

* Add documentation for missing HTML formatting tags in XML documentation

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

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: BillWagner <493969+BillWagner@users.noreply.github.com>
* Initial plan

* Enhance XML documentation for href attribute and br tag usage

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

* Update URLs to use learn.microsoft.com domain

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

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: BillWagner <493969+BillWagner@users.noreply.github.com>
…47051)

* Initial plan

* Add using statement guidance for extension methods in LINQ tutorial

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

* Fix file name formatting to use italics for Program.cs

Co-authored-by: IEvangelist <7679720+IEvangelist@users.noreply.github.com>

---------

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: IEvangelist <7679720+IEvangelist@users.noreply.github.com>
…#47036)

* Initial plan

* Add documentation for object initializer syntax without 'new' keyword

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

* Replace inline code example with snippet reference for object initializer without 'new' keyword

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

* Update object initializer examples to use target-typed new expressions

Co-authored-by: IEvangelist <7679720+IEvangelist@users.noreply.github.com>

---------

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: IEvangelist <7679720+IEvangelist@users.noreply.github.com>
…A) (#47050)

* Initial plan

* Fix COM threading issue in Office interop example

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

* Update error location in snippets.5000.json from line 8 to line 5

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

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: BillWagner <493969+BillWagner@users.noreply.github.com>
The code changed the delegate type from `Del` to `Callback`. Reflect that change.

Fixes #47045
…entation (#47052)

* Initial plan

* Add complete contravariance example with better explanation

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

* Address code review feedback: Use primary constructors, update code block syntax, remove unnecessary console output

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

* Update target framework to .NET 9.0 as requested

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

* Address review feedback: Add proper punctuation to list items and clarify custom types

Co-authored-by: IEvangelist <7679720+IEvangelist@users.noreply.github.com>

---------

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: IEvangelist <7679720+IEvangelist@users.noreply.github.com>
@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 July 2025 milestone Jul 3, 2025
@dotnet-policy-service dotnet-policy-service bot enabled auto-merge July 3, 2025 08:14
@dotnet-policy-service dotnet-policy-service bot merged commit cb743c9 into live Jul 3, 2025
32 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.

3 participants