Add IPEndPoint tests and fix some bugs (dotnet/corefx#39726)
authorHugh Bellamy <hughbellars@gmail.com>
Wed, 14 Aug 2019 20:43:19 +0000 (20:43 +0000)
committerDavid Shulman <david.shulman@microsoft.com>
Wed, 14 Aug 2019 20:43:19 +0000 (13:43 -0700)
commit315db87355d9dd20a631bc8706781f5b4987f44a
treee8c3a707a2762346560e87bbc3ba01e6cfce2cbc
parent38d0aa0cacafafb03fc8b2d37fa64e45c52ee46a
Add IPEndPoint tests and fix some bugs (dotnet/corefx#39726)

* Cleanup IPEndPoint

* Add missing validation to IPEndPoint

Commit migrated from https://github.com/dotnet/corefx/commit/7224d186f90e28f0c04eefb875260c03d6acec07
src/libraries/System.Net.Primitives/src/System/Net/IPEndPoint.cs
src/libraries/System.Net.Primitives/tests/FunctionalTests/IPEndPointTest.cs