mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-18 17:02:10 -10:00
11 lines
256 B
C#
11 lines
256 B
C#
// cs0637.cs: The FieldOffset attribute is not allowed on static or const fields
|
|
// Line: 10
|
|
|
|
using System;
|
|
using System.Runtime.InteropServices;
|
|
|
|
[StructLayout(LayoutKind.Explicit)]
|
|
struct GValue {
|
|
[FieldOffset (4)]
|
|
public static int value = 3;
|
|
} |