Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 15, 2025

Updated Castle.Core from 5.1.1 to 5.2.1.

Release notes

Sourced from Castle.Core's releases.

5.2.1

(Note: Version 5.2.0 was skipped due to issues with the automated CI release process. This release was delayed until March 9th 2025.)

Enhancements

  • Two new generic method overloads proxyGenerator.CreateClassProxy<TClass>([options], constructorArguments, interceptors) (@​backstromjoel, #​636)
  • Allow specifying which attributes should always be copied to proxy class by adding attribute type to AttributesToAlwaysReplicate. Previously only non-inherited, with Inherited=false, attributes were copied. (@​shoaibshakeel381, #​633)
  • Support for C# 8+ default interface methods in interface and class proxies without target (@​stakx, #​661)
  • DynamicProxy's public API has been augmented with nullable reference type annotations (@​stakx, #​668)

Bugfixes

  • ArgumentException: "Could not find method overriding method" with overridden class method having generic by-ref parameter (@​stakx, #​657)
  • ArgumentException: "Cannot create an instance of TEnum because Type.ContainsGenericParameters is true" caused by Enum constraint on method out parameter (@​stakx, #​658)

Commits viewable in compare view.

Dependabot compatibility score

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 this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added .NET Pull requests that update .net code dependencies Pull requests that update a dependency file labels Nov 15, 2025
---
updated-dependencies:
- dependency-name: Castle.Core
  dependency-version: 5.2.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the .NET Pull requests that update .net code label Nov 15, 2025
@Romfos
Copy link
Contributor

Romfos commented Nov 15, 2025

@dependabot ignore this dependency

@dependabot dependabot bot closed this Nov 15, 2025
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Nov 15, 2025

OK, I won't notify you about Castle.Core again, unless you re-open this PR.

@dependabot dependabot bot deleted the dependabot/nuget/src/NSubstitute/Castle.Core-5.2.1 branch November 15, 2025 07:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file .NET Pull requests that update .net code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants