-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Fix inheritdocs for RightShift operator #121598
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
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.
Pull Request Overview
This PR attempts to fix incorrect inheritdoc references in right shift operator documentation by changing references from op_LeftShift to op_RightShift. However, the fix is incomplete for the unsigned right shift operators.
Key Issues:
- The
Tensor.op_RightShift.cschanges are correct - arithmetic right shift operators now properly reference their own base documentation instead of left shift. - The
Tensor.op_UnsignedRightShift.cschanges are incorrect - unsigned/logical right shift operators (>>>,>>>=) should referenceop_UnsignedRightShiftandop_UnsignedRightShiftAssignment, not the arithmetic right shift operators (op_RightShift,op_RightShiftAssignment).
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| Tensor.op_RightShift.cs | Correctly fixes inheritdoc references from op_LeftShift to op_RightShift for arithmetic right shift operators (>>, >>=) |
| Tensor.op_UnsignedRightShift.cs | Incorrectly changes references from op_LeftShift to op_RightShift - should reference op_UnsignedRightShift and op_UnsignedRightShiftAssignment instead for unsigned/logical right shift operators (>>>, >>>=) |
.../System.Numerics.Tensors/src/System/Numerics/Tensors/netcore/Tensor.op_UnsignedRightShift.cs
Outdated
Show resolved
Hide resolved
.../System.Numerics.Tensors/src/System/Numerics/Tensors/netcore/Tensor.op_UnsignedRightShift.cs
Outdated
Show resolved
Hide resolved
.../System.Numerics.Tensors/src/System/Numerics/Tensors/netcore/Tensor.op_UnsignedRightShift.cs
Outdated
Show resolved
Hide resolved
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
|
/ba-g documentation only change |
No description provided.