New PhysicalAddress.TryParse methods taking span and string (#1057)
authorAlexander Nikolaev <55398552+alnikola@users.noreply.github.com>
Tue, 7 Jan 2020 13:39:46 +0000 (14:39 +0100)
committerGitHub <noreply@github.com>
Tue, 7 Jan 2020 13:39:46 +0000 (14:39 +0100)
commit66cb5f9a1bdbb0fd0b357a0dbc862daa0b45e85a
tree576a83a91e0745a8d4bf793398cda7892d4676ea
parent4cf6ef92c6629e514c4308848926d258c0ee9d12
New PhysicalAddress.TryParse methods taking span and string (#1057)

This PR introduces two new PhysicalAddress.TryParse methods taking span and string as well as adds a PhysicalAddress.Parse overload taking span.
Fixes dotnet/corefx#29780
src/libraries/System.Net.NetworkInformation/ref/System.Net.NetworkInformation.cs
src/libraries/System.Net.NetworkInformation/src/System/Net/NetworkInformation/PhysicalAddress.cs
src/libraries/System.Net.NetworkInformation/tests/FunctionalTests/PhysicalAddressTest.cs