The TryParse(string value, out IEnumerable<PhoneNumber> phoneNumbers) method incorrectly includes numbers for other countries if value includes a calling code.
PhoneNumber.TryParse("+16054567890", out IEnumerable<PhoneNumber> phoneNumbers)
phoneNumbers should be contain a single phone number:
The
TryParse(string value, out IEnumerable<PhoneNumber> phoneNumbers)
method incorrectly includes numbers for other countries ifvalue
includes a calling code.phoneNumbers should be contain a single phone number:
Instead it also includes: