Skip to content

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 13, 2024

Bumps the dotnet group in /docs/devops/snippets/create-dotnet-github-action/DotNet.GitHubAction with 2 updates: Microsoft.Extensions.DependencyInjection.Abstractions and Microsoft.Extensions.Hosting.

Updates Microsoft.Extensions.DependencyInjection.Abstractions from 8.0.2 to 9.0.0

Release notes

Sourced from Microsoft.Extensions.DependencyInjection.Abstractions's releases.

.NET 9.0.0

Release

What's Changed

... (truncated)

Commits

Updates Microsoft.Extensions.DependencyInjection.Abstractions from 8.0.2 to 9.0.0

Release notes

Sourced from Microsoft.Extensions.DependencyInjection.Abstractions's releases.

.NET 9.0.0

Release

What's Changed

... (truncated)

Commits

Updates Microsoft.Extensions.Hosting from 8.0.1 to 9.0.0

Release notes

Sourced from Microsoft.Extensions.Hosting's releases.

.NET 9.0.0

Release

What's Changed

... (truncated)

Commits

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps the dotnet group in /docs/devops/snippets/create-dotnet-github-action/DotNet.GitHubAction with 2 updates: [Microsoft.Extensions.DependencyInjection.Abstractions](https://github.com/dotnet/runtime) and [Microsoft.Extensions.Hosting](https://github.com/dotnet/runtime).


Updates `Microsoft.Extensions.DependencyInjection.Abstractions` from 8.0.2 to 9.0.0
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](dotnet/runtime@v8.0.2...v9.0.0)

Updates `Microsoft.Extensions.DependencyInjection.Abstractions` from 8.0.2 to 9.0.0
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](dotnet/runtime@v8.0.2...v9.0.0)

Updates `Microsoft.Extensions.Hosting` from 8.0.1 to 9.0.0
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](dotnet/runtime@v8.0.1...v9.0.0)

---
updated-dependencies:
- dependency-name: Microsoft.Extensions.DependencyInjection.Abstractions
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: dotnet
- dependency-name: Microsoft.Extensions.DependencyInjection.Abstractions
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: dotnet
- dependency-name: Microsoft.Extensions.Hosting
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: dotnet
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot requested a review from a team as a code owner November 13, 2024 12:39
@dependabot dependabot bot added .NET dependencies Pull requests that update a dependency file labels Nov 13, 2024
@dotnet-policy-service dotnet-policy-service bot added community-contribution Indicates PR is created by someone from the .NET community. :octocat: auto-merge labels Nov 13, 2024
@dotnet-policy-service dotnet-policy-service bot enabled auto-merge (squash) November 13, 2024 12:39
Copy link
Contributor

@dotnet-policy-service dotnet-policy-service bot left a comment

Choose a reason for hiding this comment

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

Approved; this PR will merge when all status checks pass.

@dotnet-policy-service dotnet-policy-service bot merged commit 9a84de6 into main Nov 13, 2024
13 checks passed
@dotnet-policy-service dotnet-policy-service bot deleted the dependabot/nuget/docs/devops/snippets/create-dotnet-github-action/DotNet.GitHubAction/dotnet-46464977d9 branch November 13, 2024 12:41
Copilot AI added a commit that referenced this pull request Oct 1, 2025
The previous statement incorrectly claimed that generic interfaces can only inherit from non-generic interfaces if they are covariant. This is false - any generic interface can inherit from a non-generic interface regardless of variance.

The corrected text now:
1. States correctly that generic interfaces CAN inherit from non-generic interfaces (no conditions)
2. Explains that when this happens, the type parameter replaces 'object' in overridden members
3. Uses IEnumerable<T> as an example where T replaces object in output positions
4. Clarifies that because T is used only in output positions, the interface CAN be marked as covariant
5. Notes that if T were used in input positions, it couldn't be covariant

This addresses the issue raised in #43518 and incorporates Bill Wagner's clarification.

Co-authored-by: BillWagner <493969+BillWagner@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community-contribution Indicates PR is created by someone from the .NET community. dependencies Pull requests that update a dependency file :octocat: auto-merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants