Skip to content

Conversation

@BartoszKlonowski
Copy link
Contributor

@BartoszKlonowski BartoszKlonowski commented Nov 29, 2025

As per the issue - the page of records was missing a handy link to overloading the operators of equality and inequality.
This pull request closes #49903 by adding embedded links to equality and inequality operators themself, and adds the "Operator overloading" page to "See also" section.

The issue also mentions adding links to GetHashCode and Equals, but those are already embedded in the page in the same section, so I didn't see a reason to duplicate those links.


Internal previews

📄 File 🔗 Preview link
docs/csharp/language-reference/builtin-types/record.md Records (C# reference)

@BartoszKlonowski BartoszKlonowski requested review from a team and BillWagner as code owners November 29, 2025 17:03
@dotnetrepoman dotnetrepoman bot added this to the November 2025 milestone Nov 29, 2025
@dotnet-policy-service dotnet-policy-service bot added dotnet-csharp/svc lang-reference/subsvc community-contribution Indicates PR is created by someone from the .NET community. labels Nov 29, 2025
Copy link
Member

@BillWagner BillWagner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This LGTM @BartoszKlonowski Thank you again!

@BillWagner BillWagner enabled auto-merge (squash) December 1, 2025 15:59
@BillWagner BillWagner merged commit ef3dee1 into dotnet:main Dec 1, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

community-contribution Indicates PR is created by someone from the .NET community. dotnet-csharp/svc lang-reference/subsvc

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Link to articles on semantics for synthesized methods

2 participants