private void Unmarshal(_Unmarshal_Helper u)
 {
     Member0   = u.Read_8();
     Member200 = u.ReadEmbeddedPointer <Struct_2>(new System.Func <Struct_2>(u.Read_2), false);
 }
Esempio n. 2
0
 private void Unmarshal(_Unmarshal_Helper u)
 {
     Member0 = u.ReadInt32();
     Member4 = u.Read_8();
 }
 private void Unmarshal(_Unmarshal_Helper u)
 {
     Member0 = u.ReadDouble();
     Member8 = u.Read_8();
 }
 private void Unmarshal(_Unmarshal_Helper u)
 {
     Member0  = u.ReadEmbeddedPointer <string>(new System.Func <string>(u.ReadConformantVaryingString), false);
     Member8  = u.ReadInt32();
     Member10 = u.Read_8();
 }
        private void Unmarshal(_Unmarshal_Helper u)
        {
            Selector = u.ReadEnum16();
            if ((Selector == 0))
            {
                Arm_0 = u.ReadSByte();
                goto done;
            }
            if ((Selector == 1))
            {
                Arm_1 = u.ReadInt16();
                goto done;
            }
            if ((Selector == 2))
            {
                Arm_2 = u.ReadInt16();
                goto done;
            }
            if ((Selector == 3))
            {
                Arm_3 = u.ReadInt32();
                goto done;
            }
            if ((Selector == 4))
            {
                Arm_4 = u.ReadInt32();
                goto done;
            }
            if ((Selector == 5))
            {
                Arm_5 = u.ReadDouble();
                goto done;
            }
            if ((Selector == 6))
            {
                Arm_6 = u.ReadGuid();
                goto done;
            }
            if ((Selector == 7))
            {
                Arm_7 = u.ReadEmbeddedPointer <string>(new System.Func <string>(u.ReadConformantVaryingString), false);
                goto done;
            }
            if ((Selector == 8))
            {
                Arm_8 = u.Read_8();
                goto done;
            }
            if ((Selector == 10))
            {
                Arm_10 = u.Read_8();
                goto done;
            }
            if ((Selector == 11))
            {
                Arm_11 = u.ReadEmbeddedPointer <Struct_10>(new System.Func <Struct_10>(u.Read_9), false);
                goto done;
            }
            throw new System.ArgumentException("No matching union selector when marshaling Union_8");
done:
            return;
        }
 private void Unmarshal(_Unmarshal_Helper u)
 {
     Member0 = u.ReadEnum16();
     Member8 = u.Read_8();
 }
Esempio n. 7
0
 private void Unmarshal(_Unmarshal_Helper u)
 {
     Member0  = u.ReadGuid();
     Member10 = u.Read_8();
 }