Files
SabreTools.IO/SabreTools.IO.Extensions.Test/TestStructSequential.cs
Matt Nadareski d614379cf5 Libraries
This change looks dramatic, but it's just separating out the already-split namespaces into separate top-level folders. In theory, every single one could be built into their own Nuget package. `SabreTools.IO.Meta` builds the normal Nuget package that is used by all other projects and includes all namespaces. `SabreTools.IO` builds to `SabreTools.IO.Common` to avoid overwriting issues on publish.
2026-03-21 13:55:42 -04:00

20 lines
394 B
C#

using System.Runtime.InteropServices;
namespace SabreTools.IO.Extensions.Test
{
[StructLayout(LayoutKind.Sequential)]
internal struct TestStructSequential
{
public TestEnum FirstValue;
public int SecondValue;
public ushort ThirdValue;
public short FourthValue;
[MarshalAs(UnmanagedType.LPStr)]
public string? FifthValue;
}
}