runtime
runtime copied to clipboard
IPAddress.ScopeId/Address exception messages should mention IPv4/IPv6
is it feasible to improve the exception message or stack trace then?
This actual message was not very informative:
System.Net.Sockets.SocketException (95): Operation not supported at System.Net.IPAddress.ThrowSocketOperationNotSupported() at System.Net.IPAddress.get_ScopeId()In fact, for some time I thought this error was related to a concurrent execution bug.
Originally posted by @64J0 in #118725
Tagging subscribers to this area: @dotnet/ncl See info in area-owners.md if you want to be subscribed.
I’d like to take this. I’ll send a PR today.
Thank you for the interest here. I believe @ArminShoeibi mentioned they were going to look at it in a linked issue as well.
no worries. thanks 👍