-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
[SocketException]: New Constructor with string? for SocketException #74744
[SocketException]: New Constructor with string? for SocketException #74744
Conversation
Note regarding the This serves as a reminder for when your PR is modifying a ref *.cs file and adding/modifying public APIs, to please make sure the API implementation in the src *.cs file is documented with triple slash comments, so the PR reviewers can sign off that change. |
Tagging subscribers to this area: @dotnet/ncl Issue DetailsCloses #69266.
|
Thanks, @liveans. Can you please also add tests? Also, part of the work for this is removing the |
Yes, I'll add the necessary tests!
Alright! I'll do this as well. |
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.
Can we add some tests and/or try to address #37150 using the new constructor?
Edit: Haven't noticed Stephen's update.
src/libraries/System.Net.Primitives/src/System/Net/SocketException.cs
Outdated
Show resolved
Hide resolved
src/libraries/System.Net.Primitives/src/System/Net/SocketException.cs
Outdated
Show resolved
Hide resolved
Yes! I'll take a look at it. |
Co-authored-by: Anton Firszov <antonfir@gmail.com>
src/libraries/Common/src/System/Net/Internals/SocketExceptionFactory.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.
A few remarks on tests.
src/libraries/System.Net.Primitives/tests/FunctionalTests/SocketExceptionTest.cs
Outdated
Show resolved
Hide resolved
src/libraries/System.Net.Primitives/tests/FunctionalTests/SocketExceptionTest.cs
Outdated
Show resolved
Hide resolved
src/libraries/System.Net.Primitives/tests/FunctionalTests/SocketExceptionTest.cs
Outdated
Show resolved
Hide resolved
src/libraries/System.Net.Primitives/tests/FunctionalTests/SocketExceptionTest.cs
Outdated
Show resolved
Hide resolved
src/libraries/Common/src/System/Net/Sockets/SocketExceptionFactory.Unix.cs
Outdated
Show resolved
Hide resolved
/azp run runtime-libraries-coreclr outerloop |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run runtime-libraries-coreclr outerloop |
Azure Pipelines successfully started running 1 pipeline(s). |
src/libraries/System.Net.Primitives/tests/FunctionalTests/SocketExceptionTest.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.
Thanks!
/azp run runtime-libraries-coreclr outerloop |
Azure Pipelines successfully started running 1 pipeline(s). |
Outerloop failures are #74468 |
Closes #69266 and #37150.