示例#1
0
        public unsafe void InitBlockAllOnes16()
        {
            Struct16 dstLcl;

            for (int i = 0; i < OperationsPerInvoke; i++)
            {
                Unsafe.InitBlock(&dstLcl, 255, 16);
            }

            fld16 = dstLcl;
        }
示例#2
0
        public unsafe void CopyBlock16()
        {
            Struct16 srcLcl;
            Struct16 dstLcl;

            srcLcl = fld16;

            for (int i = 0; i < OperationsPerInvoke; i++)
            {
                Unsafe.CopyBlock(&dstLcl, &srcLcl, 16);
            }

            fld16 = dstLcl;
        }
示例#3
0
 public static SizeF smethod_0(Struct16 A_0)
 {
     return(new SizeF((float)A_0.int_0, (float)A_0.int_1));
 }
示例#4
0
 static int pass_struct16(object o0, object o2, object o3, object o6, object o7, Struct16 o8)
 {
     return(pass_struct16(o0, o2, null, o3, null, o6, o7, o8));
 }
示例#5
0
 static int pass_struct16(object o0, object o2, object o3, object o4, object o5, object o6, object o7, Struct16 o8)
 {
     // This disables LLVM
     try {
     } catch {
     }
     return(o8.a);
 }
示例#6
0
 internal static extern bool SetWindowOrgEx(IntPtr A_0, int A_1, int A_2, ref Struct16 A_3);
示例#7
0
 internal static extern bool SetViewportExtEx(IntPtr A_0, int A_1, int A_2, ref Struct16 A_3);
示例#8
0
 internal static extern bool GetTextExtentPoint32(IntPtr A_0, string A_1, int A_2, out Struct16 A_3);
示例#9
0
 public static extern IntPtr GetWindowRect(IntPtr intptr_0, ref Struct16 struct16_0);