Skip to content

Commit

Permalink
Fixed bug 43400. (#43406)
Browse files Browse the repository at this point in the history
Co-authored-by: Adit Sheth <adsheth@microsoft.com>
  • Loading branch information
shethaadit and Adit Sheth authored Nov 12, 2024
1 parent 185a410 commit d32f026
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/csharp/language-reference/operators/nameof.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Beginning with C# 11, you can use a `nameof` expression with a method parameter

A `nameof` expression with a parameter is useful when you use the [nullable analysis attributes](../attributes/nullable-analysis.md) or the [CallerArgumentExpression attribute](../attributes/caller-information.md#argument-expressions).

When the operand is a [verbatim identifier](../tokens/verbatim.md), the `@` character isn't the part of a name, as the following example shows:
When the operand is a [verbatim identifier](../tokens/verbatim.md), the `@` character isn't part of the name, as the following example shows:

[!code-csharp-interactive[nameof verbatim](snippets/shared/NameOfOperator.cs#Verbatim)]

Expand Down

0 comments on commit d32f026

Please sign in to comment.