-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Alternative fix for RuntimeHelpers.GetSubArray AOT compatibility warning #95296
Conversation
Tagging subscribers to this area: @dotnet/area-system-runtime-compilerservices Issue DetailsC# LDM would like to keep the original "virtual" RuntimeHelpers.GetSubArray behavior. Fixes dotnet/roslyn#69053
|
Added When you commit this breaking change:
Tagging @dotnet/compat for awareness of the breaking change. |
@jcouv Here is revert of dotnet/roslyn#69053 (comment) . I think we will need to file a breaking notice for this change. This can both:
I will need your help with providing the justification. |
src/libraries/System.Private.CoreLib/src/System/Runtime/CompilerServices/RuntimeHelpers.cs
Show resolved
Hide resolved
...em.Runtime/tests/System.Runtime.Tests/System/Runtime/CompilerServices/RuntimeHelpersTests.cs
Show resolved
Hide resolved
This was introduced in .NET 7, right? Should we consider backporting it to .NET 8 asap, such that effectively it would only impact folks that were on .NET 7 or early .NET 8 adopters? |
Right.
It is a corner case and fixing it is a potential breaking change. We have lived with the current behavior for 1.5 years. I do not think that backporting this change meets the servicing bar. |
C# LDM would like to keep the original "virtual" RuntimeHelpers.GetSubArray behavior.
Fixes dotnet/roslyn#69053