Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[API Proposal]: Add support for ValueTypes when using UnsafeAccessorTypeAttribute #121655

@almightyju

Description

@almightyju

Background and motivation

I'm trying to access an internal property of a library I'm using and wanted to use the UnsafeAccessor attributes for simplicity but it doesn't work when the property is a struct.

API Proposal

Add support for ValueTypes. Minimal repo is at https://github.com/almightyju/dotnet-unsafeaccessortype

API Usage

Usage would be exactly the same as current

Alternative Designs

No response

Risks

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions