Skip to content
This repository was archived by the owner on Nov 1, 2020. It is now read-only.
This repository was archived by the owner on Nov 1, 2020. It is now read-only.

Wrong Marshal.SizeOf on CoreRT #8274

@ThomasFOG

Description

@ThomasFOG

Hello there,

I stumbled upon a discrepancy between regular .Net runtimes and CoreRT when it comes to Marshel.SizeOf().

Sorry if I don't have a more precise isolated case than this, but here is a practical example from trying to get one of our project to run properly on CoreRT.

This type: https://github.com/rlabrecque/Steamworks.NET/blob/ee014372d1c1077c6fbbc2d7cb88e38fe4a56453/Plugins/Steamworks.NET/autogen/SteamCallbacks.cs#L1768

is expected to have a Marshel.SizeOf() of 616, but CoreRT returns 612.

Not very workable of an example, I concede, but I hope it helps nonetheless.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions