Remove allocation from MsQuicAddressHelpers.IPEndPointToINet (#54095)
authorAustin Wise <AustinWise@gmail.com>
Mon, 14 Jun 2021 08:10:24 +0000 (01:10 -0700)
committerGitHub <noreply@github.com>
Mon, 14 Jun 2021 08:10:24 +0000 (10:10 +0200)
commitaf5c238556e204583b129cc8f5c7338f84dc2c40
tree968a3d61f1f983f984c9610c98c55f6cde73dc28
parent5bf0a3f4b30814c65faa380bff83fdc105ef9323
Remove allocation from MsQuicAddressHelpers.IPEndPointToINet (#54095)

Assuming that GetAddressBytes() does not have side effects, this call
should not be needed.

Clean up from dotnet/runtime#53461
src/libraries/System.Net.Quic/src/System/Net/Quic/Implementations/MsQuic/Internal/MsQuicAddressHelpers.cs