Why is this change binary compatible and not source compatible? #44434
Labels
dotnet-fundamentals/svc
okr-quality
Content-quality KR: Concerns article defects (bugs), freshness, or build warnings.
waiting-on-feedback
Waiting for feedback from SMEs before they can be merged
Type of issue
Other (describe below)
Description
This question is just one example where I am confused by the compatibility indictors for the listed .NET breaking changes. If I understand the change correctly, nothing changed with the
ObjectResult.StatusCode
API itself, so everything will compile the same, but the run-time behavior in this scenario (returning aT
in a controller action that declares the return typeActionResult
) changed. Doesn't that mean this change is binary incompatible and source compatible according to the documentation's definition?Page URL
https://learn.microsoft.com/en-us/dotnet/core/compatibility/aspnet-core/6.0/actionresult-statuscode
Content source URL
https://github.com/dotnet/docs/blob/main/docs/core/compatibility/aspnet-core/6.0/actionresult-statuscode.md
Document Version Independent Id
64b65b92-b86a-1741-2a38-c1119b7d2ed1
Article author
@CamSoper
Metadata
Related Issues
The text was updated successfully, but these errors were encountered: