Skip to content
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

Refine Documentation on Verbatim Identifiers: Clarify @ Character Usage to Avoid Misinterpretation #43406

Merged
merged 1 commit into from
Nov 12, 2024

Conversation

shethaadit
Copy link
Contributor

@shethaadit shethaadit commented Nov 11, 2024

Summary

Updated Wording: Revised "isn't the part of a name" to "isn't part of the name," clarifying that @ is a syntactic marker, not included in the identifier name.

Contextual Clarity: By updating the phrasing, we help readers better understand the behavior of the @ character in verbatim identifiers, which is essential for accurate comprehension of the nameof operator.

Fixes #43400


Internal previews

📄 File 🔗 Preview link
docs/csharp/language-reference/operators/nameof.md nameof expression (C# reference)

@shethaadit shethaadit requested review from BillWagner and a team as code owners November 11, 2024 19:34
@dotnetrepoman dotnetrepoman bot added this to the November 2024 milestone Nov 11, 2024
@dotnet-policy-service dotnet-policy-service bot added the community-contribution Indicates PR is created by someone from the .NET community. label Nov 11, 2024
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.

Thanks @shethaadit

I'll merge this as soon as the build finishes.

@BillWagner BillWagner enabled auto-merge (squash) November 12, 2024 14:35
@dotnet-policy-service dotnet-policy-service bot added the okr-quality Content-quality KR: Concerns article defects (bugs), freshness, or build warnings. label Nov 12, 2024
@BillWagner BillWagner merged commit d32f026 into dotnet:main Nov 12, 2024
12 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 okr-quality Content-quality KR: Concerns article defects (bugs), freshness, or build warnings.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

incorrect sentence
2 participants