⚠️ This release has not yet been published to NuGet due to an expired API token, which needs to be updated first.
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)