public static TestType2 CreateTestType2(int keyProp, string valueProp, global::Event.String.Int.ComplexType complexValueProp)
        {
            TestType2 testType2 = new TestType2();

            testType2.KeyProp   = keyProp;
            testType2.ValueProp = valueProp;
            if ((complexValueProp == null))
            {
                throw new global::System.ArgumentNullException("complexValueProp");
            }
            testType2.ComplexValueProp = complexValueProp;
            return(testType2);
        }
 partial void OnComplexValuePropChanging(global::Event.String.Int.ComplexType value);