Overview
NullableExtensions is still doing some rather sus stuff with Unsafe.As<>(). I think that can be migrated to use Nullable.GetValueRefOrDefaultRef() now. dotnet/runtime#64677
API breakdown
In NullableExtensions, remove RawNullableData<T> and rewrite the extensions to use Nullable.GetValueRefOrDefaultRef()
Usage example
...
Breaking change?
No
Alternatives
...
Additional context
No response
Help us help you
No, just wanted to propose this
Overview
NullableExtensionsis still doing some rather sus stuff withUnsafe.As<>(). I think that can be migrated to useNullable.GetValueRefOrDefaultRef()now. dotnet/runtime#64677API breakdown
In
NullableExtensions, removeRawNullableData<T>and rewrite the extensions to useNullable.GetValueRefOrDefaultRef()Usage example
...
Breaking change?
No
Alternatives
...
Additional context
No response
Help us help you
No, just wanted to propose this