-
Notifications
You must be signed in to change notification settings - Fork 5.1k
[API Proposal]: Implement IParsable<TSelf> et cetera on IPEndPoint #118095
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
base: main
Are you sure you want to change the base?
Conversation
Tagging subscribers to this area: @dotnet/ncl |
Hey @pedrobsaila, we are past feature complete for 10.0. So this PR cannot be merged until we branch out and main becomes .NET 11. Please do continue work on the PR, I'll find someone to be responsible for the review. Just letting you know about the state of things right now. |
src/libraries/System.Net.Primitives/src/System/Net/IPEndPoint.cs
Outdated
Show resolved
Hide resolved
src/libraries/System.Net.Primitives/tests/FunctionalTests/IPEndPointTest.cs
Outdated
Show resolved
Hide resolved
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.
Thank you for being patient. This looks good, ready to merge. I left only a small comment about test, nothing serious.
Thank you!
src/libraries/System.Net.Primitives/tests/FunctionalTests/IPEndPointParsing.cs
Outdated
Show resolved
Hide resolved
} | ||
|
||
result = null; | ||
return false; | ||
} | ||
|
||
public static bool TryParse(ReadOnlySpan<char> s, [NotNullWhen(true)] out IPEndPoint? result) => InternalTryParse(s, out result); |
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 include ///
comments on all the new APIs (they seed the api docs)
Fixes #114405