Xamarin Public Jenkins (auto-signing) 94b2861243 Imported Upstream version 4.8.0.309
Former-commit-id: 5f9c6ae75f295e057a7d2971f3a6df4656fa8850
2016-11-10 13:04:39 +00:00

17 lines
325 B
C#

using System;
using System.Runtime.InteropServices;
[StructLayout (LayoutKind.Explicit, Size = 16)]
public struct Foo {
[FieldOffset (0)] public ushort Bar;
[FieldOffset (2)] public ushort Baz;
[FieldOffset (4)] public uint Gazonk;
}
class Babar {
}
class Locke {
public int [] integers = new int [] { 1, 2, 3, 4 };
}