Skip to content

Fix inheritdocs for RightShift operator - #121598

Merged
gewarren merged 2 commits into
dotnet:mainfrom
gewarren:tensor-inheritdoc
Nov 17, 2025
Merged

gewarren merged 2 commits into
dotnet:mainfrom
gewarren:tensor-inheritdoc

Conversation

@gewarren

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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.cs changes are correct - arithmetic right shift operators now properly reference their own base documentation instead of left shift.
  • The Tensor.op_UnsignedRightShift.cs changes are incorrect - unsigned/logical right shift operators (>>>, >>>=) should reference op_UnsignedRightShift and op_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 (>>>, >>>=)

@gewarren

Copy link
Copy Markdown
Contributor Author

/ba-g documentation only change

@gewarren
gewarren merged commit 06eb5ad into dotnet:main Nov 17, 2025
@gewarren
gewarren deleted the tensor-inheritdoc branch November 17, 2025 17:16
@github-actions github-actions Bot locked and limited conversation to collaborators Dec 18, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants