FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ClientClassGenerator.cs (10)
115Fx.Assert(s_clientCtorParamNames.Length == s_clientCtorParamTypes.Length, s_debugCheckTable_errorString);
117for (int i = 0; i < s_clientCtorParamTypes.Length; i++)
119DebugCheckTable_ValidateCtor(s_clientBaseType.GetConstructor(s_ctorBindingFlags, null, s_clientCtorParamTypes[i], null), s_clientCtorParamNames[i]);
121Type[] duplexCtorTypes1 = DebugCheckTable_InsertAtStart(s_clientCtorParamTypes[i], s_objectType);
122Type[] duplexCtorTypes2 = DebugCheckTable_InsertAtStart(s_clientCtorParamTypes[i], s_instanceContextType);
131Fx.Assert(s_clientBaseType.GetConstructors(s_ctorBindingFlags).Length == s_clientCtorParamTypes.Length * 2, s_debugCheckTable_errorString);
134Fx.Assert(s_duplexClientBaseType.GetConstructors(s_ctorBindingFlags).Length == s_clientCtorParamTypes.Length * 2, s_debugCheckTable_errorString);
174if (!(s_clientCtorParamNames.Length == s_clientCtorParamTypes.Length))
182if (!(s_clientCtorParamNames[i].Length == s_clientCtorParamTypes[i].Length))
197ctor.Parameters.Add(new CodeParameterDeclarationExpression(s_clientCtorParamTypes[i][j], s_clientCtorParamNames[i][j]));