2 using System
.Runtime
.InteropServices
;
20 static int Bug34598 ()
22 if (Test
.Zero
.ToString () != "0")
24 if (Test
.One
.ToString () != "1")
26 if (Test
.Two
.ToString () != "2")
29 if (Test2
.Zero
.ToString () != "0")
31 if (Test2
.One
.ToString () != "1")
33 if (Test2
.Two
.ToString () != "2")
40 Console
.WriteLine (Foo
.foo
);
44 [StructLayout(LayoutKind
.Explicit
)]
47 public static float Zero
= 0.0f
;
49 public static float One
= 1.0f
;
51 public static float Two
= 2.0f
;
56 public static float Zero
= 0.0f
;
58 public static float One
= 1.0f
;
60 public static float Two
= 2.0f
;