Skip to content

[API Compat] add rule to make sure struct fields follow LayoutKind #26460

@smasher164

Description

@smasher164

See dotnet/arcade#9892

Structs that follow LayoutKind.Sequential should be flagged if they reorder public fields.
LayoutKind.Explicit will also need to be considered here.

@ericstj @tannergooding

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-ApiCompathelp wantedIssues that we would accept external contributions on. Also known as up-for-grabs.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions