94b2861243
Former-commit-id: 5f9c6ae75f295e057a7d2971f3a6df4656fa8850
17 lines
325 B
C#
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 };
|
|
}
|