Skip to content

Commit 2c2bb77

Browse files
authored
Update docs/csharp/language-reference/operators/operator-overloading.md
1 parent 0f1c66f commit 2c2bb77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/csharp/language-reference/operators/operator-overloading.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ Before C# 14, the compound operators can't be overloaded. Overloading the corres
6969
## Operator overload resolution
7070

7171
> [!IMPORTANT]
72-
> This section applies to C# 14 and later. Before C# 14, compound assignment operators and instance increment and decrement operators aren't allowed.
72+
> This section applies to C# 14 and later. Before C# 14, user-defined compound assignment operators and instance increment and decrement operators aren't allowed.
7373
7474
If `x` is classified as a variable in a compound assignment expression such as `x «op»= y`, instance operators are preferred over any static operator for `«op»`. If an overloaded `«op»=` operator isn't declared for the type of `x` or `x` isn't classified as a variable, the static operators are used.
7575

0 commit comments

Comments
 (0)