mirror of https://github.com/icsharpcode/ILSpy.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
325 B
16 lines
325 B
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 }; |
|
}
|
|
|