-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Improve exception messages in IPAddress class for (ReadOnlyIPAddress, AddressFamily IPv4/IPv6) #118917
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Tagging subscribers to this area: @dotnet/ncl |
src/libraries/System.Net.Primitives/src/System/Net/IPAddress.cs
Outdated
Show resolved
Hide resolved
…ed error with improved message clarity
914c278 to
cf42818
Compare
Co-authored-by: Miha Zupan <mihazupan.zupan1@gmail.com>
MihaZupan
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please also add a test for the read-only case.
Otherwise this LGTM, thank you!
Co-authored-by: Miha Zupan <mihazupan.zupan1@gmail.com>
Sure, I'll add the test for the read-only case too. |
dbcd329 to
b5098be
Compare
MihaZupan
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks
Fixes: #118727
Hey there, I will make the PR ready in 1 day. its WIP for now.
Cc: @MihaZupan