static internal ArgumentException ParametersIsNotParent(Type parameterType, ICollection collection) { return Argument(Res.GetString(Res.ADP_CollectionIsNotParent, parameterType.Name, collection.GetType().Name)); } static internal ArgumentException ParametersIsParent(Type parameterType, ICollection collection)