Skip to content

Commit 1398959

Browse files
committed
Update changelog
1 parent 34fc04e commit 1398959

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,12 @@
55
Enhancements:
66
- Now target frameworks are: .NET 8, .NET Framework 4.6.2, .NET Standard 2.0
77
- Tests platforms now are: .NET Framework 4.6.2, .NET 8, .NET 9
8+
- Minimally improved support for methods having `ref struct` parameter and return types, such as `Span<T>`: Intercepting such methods caused the runtime to throw `InvalidProgramException` and `NullReferenceException` due to forbidden conversions of `ref struct` values when transferring them into & out of `IInvocation` instances. To prevent these exceptions from being thrown, such values now get replaced with `null` in `IInvocation`, and with `default` values in return values and `out` arguments. When proceeding to a target, the target methods likewise receive such nullified values. (@stakx, #665)
89
- Dependencies were updated
910

11+
Bugfixes:
12+
- `InvalidProgramException` when proxying `MemoryStream` with .NET 7 (@stakx, #651)
13+
1014
Deprecations:
1115
- .NET Core 2.1, .NET Core 3.1, .NET 6, and mono tests
1216
- .NET Standard 2.1 tfm

0 commit comments

Comments
 (0)