Skip to content

Make RawArrayData a struct - #134391

Open
MichalPetryka wants to merge 1 commit into
dotnet:mainfrom
MichalPetryka:rawarraydata-ub
Open

MichalPetryka wants to merge 1 commit into
dotnet:mainfrom
MichalPetryka:rawarraydata-ub

Conversation

@MichalPetryka

Copy link
Copy Markdown
Contributor

This avoids UB Unsafe.As.

cc @jkotas you suggested this back in #110902 (comment)

@dotnet-policy-service dotnet-policy-service Bot added the community-contribution Indicates that the PR has been added by a community member label Sep 22, 2026
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 3 pipeline(s).
13 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.

@dotnet-policy-service

Copy link
Copy Markdown
Contributor

Tagging subscribers to this area: @agocke, @dotnet/ilc-contrib
See info in area-owners.md if you want to be subscribed.

@MichalPetryka

Copy link
Copy Markdown
Contributor Author

@MihuBot

@jkotas

jkotas commented Sep 22, 2026

Copy link
Copy Markdown
Member

This seems to have a problem with the extra null checks like the other PR (#134388)

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-NativeAOT-coreclr community-contribution Indicates that the PR has been added by a community member

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants