Beispiel #1
0
    public unsafe override string ToString()
    {
        IFormatProvider provider = null;
        string          format   = "{{ product = {0}, name = {1} }}";

        object[] array = new object[2];
        int      num   = 0;
        T        t     = this.gparam_0;
        T *      ptr   = ref t;
        T        t2    = default(T);
        object   obj;

        if (t2 == null)
        {
            t2  = t;
            ptr = ref t2;
            if (t2 == null)
            {
                obj = null;
                goto IL_46;
            }
        }
        obj = ptr.ToString();
IL_46:
        array[num] = obj;
        int    num2 = 1;
        U      u    = this.gparam_1;
        U *    ptr2 = ref u;
        U      u2   = default(U);
        object obj2;

        if (u2 == null)
        {
            u2   = u;
            ptr2 = ref u2;
            if (u2 == null)
            {
                obj2 = null;
                goto IL_81;
            }
        }
        obj2 = ptr2.ToString();
IL_81:
        array[num2] = obj2;
        return(string.Format(provider, format, array));
    }
 public static unsafe ulong StdCall <T, U>(System.IntPtr pfn, T *arg1, U *arg2) where T : unmanaged where U : unmanaged
 {
     // This will be filled in by an IL transform
     return(0);
 }
Beispiel #3
0
 public static ulong StdCall <T, U, W, X, Y, Z>(IntPtr fn, T a1, U *a2, W *a3, X a4, Y a5, Z a6) where T : unmanaged where U : unmanaged where W : unmanaged where X : unmanaged where Y : unmanaged where Z : unmanaged => 0;
Beispiel #4
0
 public static unsafe void StdCall <T, U>(IntPtr pfn, T *arg1, U *arg2) where T : unmanaged where U : unmanaged
 {
     // This will be filled in by an IL transform
 }
Beispiel #5
0
 public static ulong StdCall <T, U, W, X, Y>(IntPtr fn, T a1, U *a2, W a3, X *a4, Y *a5) where T : unmanaged where U : unmanaged where W : unmanaged where X : unmanaged where Y : unmanaged => 0;
Beispiel #6
0
 //public static ulong StdCall<T, U, W, X>(IntPtr fn, T* a1, U* a2, W a3, X a4) where T : unmanaged where U : unmanaged where W : unmanaged where X : unmanaged => 0;
 //public static ulong StdCall<T, U, W, X>(IntPtr fn, T* a1, U* a2, W a3, X* a4) where T : unmanaged where U : unmanaged where W : unmanaged where X : unmanaged => 0;
 //public static ulong StdCall<T, U, W, X>(IntPtr fn, T* a1, U* a2, W* a3, X a4) where T : unmanaged where U : unmanaged where W : unmanaged where X : unmanaged => 0;
 public static ulong StdCall <T, U, W, X>(IntPtr fn, T *a1, U *a2, W *a3, X *a4) where T : unmanaged where U : unmanaged where W : unmanaged where X : unmanaged => 0;
Beispiel #7
0
 public static ulong StdCall <T, U, W>(IntPtr fn, T *a1, U *a2, W a3) where T : unmanaged where U : unmanaged where W : unmanaged => 0;
Beispiel #8
0
 public static ulong StdCall <T, U>(IntPtr fn, T a1, U *a2) where T : unmanaged where U : unmanaged => 0;
 public static unsafe ulong StdCall <T, U, W>(IntPtr pfn, T arg1, U *arg2, W *arg3) where T : unmanaged where U : unmanaged where W : unmanaged
 {
     // This will be filled in by an IL transform
     return(0);
 }