示例#1
0
        private void Unmarshal(_Unmarshal_Helper u)
        {
            Selector = u.ReadUInt32();
            if ((Selector == 1))
            {
                Arm_1 = u.ReadEmpty();
                goto done;
            }
            if ((Selector == 2))
            {
                Arm_2 = u.ReadEmpty();
                goto done;
            }
            if ((Selector == 3))
            {
                Arm_3 = u.ReadGuid();
                goto done;
            }
            if ((Selector == 4))
            {
                Arm_4 = u.ReadGuid();
                goto done;
            }
            if ((Selector == 5))
            {
                Arm_5 = u.Read_3();
                goto done;
            }
            if ((Selector == 6))
            {
                Arm_6 = u.Read_3();
                goto done;
            }
            if ((Selector == 7))
            {
                Arm_7 = u.ReadEmpty();
                goto done;
            }
            if ((Selector == 8))
            {
                Arm_8 = u.ReadEmpty();
                goto done;
            }
            if ((Selector == 9))
            {
                Arm_9 = u.ReadGuid();
                goto done;
            }
            if ((Selector == 10))
            {
                Arm_10 = u.Read_7();
                goto done;
            }
            throw new System.ArgumentException("No matching union selector when marshaling Union_2");
done:
            return;
        }
示例#2
0
        private void Unmarshal(_Unmarshal_Helper u)
        {
            Selector = u.ReadEnum16();
            if ((Selector == 1))
            {
                Arm_1 = u.Read_2();
                goto done;
            }
            if ((Selector == 2))
            {
                Arm_2 = u.Read_3();
                goto done;
            }
            if ((Selector == 3))
            {
                Arm_3 = u.Read_4();
                goto done;
            }
            if ((Selector == 4))
            {
                Arm_4 = u.Read_2();
                goto done;
            }
            Arm_Default = u.ReadEmpty();
done:
            return;
        }
        private void Unmarshal(_Unmarshal_Helper u)
        {
            Selector = u.ReadUInt16();
            if ((Selector == 1))
            {
                Arm_1 = u.ReadInt32();
                goto done;
            }
            if ((Selector == 2))
            {
                Arm_2 = u.ReadDouble();
                goto done;
            }
            if ((Selector == 3))
            {
                Arm_3 = u.ReadDouble();
                goto done;
            }
            if ((Selector == 4))
            {
                Arm_4 = u.Read_3();
                goto done;
            }
            if ((Selector == 0))
            {
                Arm_0 = u.ReadEmpty();
                goto done;
            }
            throw new System.ArgumentException("No matching union selector when marshaling Union_7");
done:
            return;
        }
示例#4
0
        private void Unmarshal(_Unmarshal_Helper u)
        {
            Selector = u.ReadUInt32();
            if ((Selector == 1))
            {
                Arm_1 = u.ReadEmpty();
                goto done;
            }
            if ((Selector == 2))
            {
                Arm_2 = u.ReadEmbeddedPointer <Struct_4>(new System.Func <Struct_4>(u.Read_4), false);
                goto done;
            }
            if ((Selector == 3))
            {
                Arm_3 = u.ReadEmbeddedPointer <Struct_5>(new System.Func <Struct_5>(u.Read_5), false);
                goto done;
            }
            if ((Selector == 4))
            {
                Arm_4 = u.ReadEmbeddedPointer <Struct_6>(new System.Func <Struct_6>(u.Read_6), false);
                goto done;
            }
            throw new System.ArgumentException("No matching union selector when marshaling Union_3");
done:
            return;
        }
示例#5
0
        private void Unmarshal(_Unmarshal_Helper u)
        {
            Selector = u.ReadUInt32();
            if ((Selector == 1))
            {
                Arm_1 = u.Read_6();
                goto done;
            }
            Arm_Default = u.ReadEmpty();
done:
            return;
        }
示例#6
0
        private void Unmarshal(_Unmarshal_Helper u)
        {
            Selector = u.ReadInt32();
            if ((Selector == 0))
            {
                Arm_0 = u.ReadInt32();
                goto done;
            }
            if ((Selector == 1))
            {
                Arm_1 = u.ReadSByte();
                goto done;
            }
            if ((Selector == 2))
            {
                Arm_2 = u.ReadInt32();
                goto done;
            }
            if ((Selector == 4))
            {
                Arm_4 = u.ReadEmbeddedPointer <string>(new System.Func <string>(u.ReadConformantVaryingString), false);
                goto done;
            }
            if ((Selector == 3))
            {
                Arm_3 = u.Read_3();
                goto done;
            }
            if ((Selector == 5))
            {
                Arm_5 = u.Read_4();
                goto done;
            }
            if ((Selector == 6))
            {
                Arm_6 = u.Read_5();
                goto done;
            }
            if ((Selector == 7))
            {
                Arm_7 = u.Read_6();
                goto done;
            }
            Arm_Default = u.ReadEmpty();
done:
            return;
        }
示例#7
0
        private void Unmarshal(_Unmarshal_Helper u)
        {
            Selector = u.ReadEnum16();
            if ((Selector == 2))
            {
                Arm_2 = u.ReadByte();
                goto done;
            }
            if ((Selector == 1))
            {
                Arm_1 = u.Read_15();
                goto done;
            }
            Arm_Default = u.ReadEmpty();
done:
            return;
        }
        private void Unmarshal(_Unmarshal_Helper u)
        {
            Selector = u.ReadEnum16();
            if ((Selector == 2))
            {
                Arm_2 = u.ReadInt32();
                goto done;
            }
            if ((Selector == 1))
            {
                Arm_1 = u.ReadEmbeddedPointer <string>(new System.Func <string>(u.ReadConformantVaryingString), false);
                goto done;
            }
            Arm_Default = u.ReadEmpty();
done:
            return;
        }
        private void Unmarshal(_Unmarshal_Helper u)
        {
            Selector = u.ReadUInt32();
            if ((Selector == 100))
            {
                Arm_100 = u.ReadEmbeddedPointer <Struct_10>(new System.Func <Struct_10>(u.Read_10), false);
                goto done;
            }
            if ((Selector == 101))
            {
                Arm_101 = u.ReadEmbeddedPointer <Struct_12>(new System.Func <Struct_12>(u.Read_12), false);
                goto done;
            }
            Arm_Default = u.ReadEmpty();
done:
            return;
        }
        private void Unmarshal(_Unmarshal_Helper u)
        {
            Selector = u.ReadEnum16();
            if ((Selector == 3))
            {
                Arm_3 = u.ReadInt32();
                goto done;
            }
            if ((Selector == 5))
            {
                Arm_5 = u.ReadInt32();
                goto done;
            }
            if ((Selector == 4))
            {
                Arm_4 = u.ReadInt32();
                goto done;
            }
            Arm_Default = u.ReadEmpty();
done:
            return;
        }