Repository navigation
Do not throw ObjectDisposeException from Socket.EndXyz methods - #73335
Conversation
|
Tagging subscribers to this area: @dotnet/ncl Issue DetailsFixes #61411 and cleans up some null-reference exception handling. Considering (1) the amount of test changes (2) the fact that we are documenting ODE (3) complaints like #41585, I think it's reasonable to mark this change as breaking.
|
|
Added When you commit this breaking change:
Tagging @dotnet/compat for awareness of the breaking change. |
|
/azp run runtime-libraries-coreclr outerloop |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
Triage: Throwing different exception in situation like this is NOT considered a breaking change. It is a technical breaking change, we do not plan to document, unless we see it has real-world impact on customers and causes confusion. Removing the labels. |
Co-authored-by: Miha Zupan <[email protected]>
|
/azp run runtime-libraries-coreclr outerloop |
|
Azure Pipelines successfully started running 1 pipeline(s). |
| throw new ArgumentException(null, nameof(asyncResult)); | ||
| throw asyncResult is null ? | ||
| new ArgumentNullException(nameof(asyncResult)) : | ||
| new ArgumentException(null, nameof(asyncResult)); |
There was a problem hiding this comment.
Is this a separate fix to throw a more specific exception?
There was a problem hiding this comment.
Yes, this is to match the behavior of methods which simply delegate to TaskToApm:
runtime/src/libraries/Common/src/System/Threading/Tasks/TaskToApm.cs
Lines 66 to 71 in 73cf30d
|
/azp run runtime-libraries-coreclr outerloop |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
System.Runtime wasm failure is unrelated, outrloop pipeline seems to be broken. |
Fixes #61411 and cleans up some null-reference exception handling.
Considering (1) the amount of test changes (2) the fact that we are documenting ODE (3) complaints like #41585, I think it's reasonable to mark this change as breaking.