Skip to content

Commit 773fdb8

Browse files
authored
Fix typos (#1202)
7 times change `X` to `x`; 2 times remove "typically"
1 parent 0a611d0 commit 773fdb8

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

standard/expressions.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2296,7 +2296,7 @@ The run-time processing of a postfix increment or decrement operation of the for
22962296
- `x` is evaluated to produce the variable.
22972297
- The value of `x` is saved.
22982298
- The saved value of `x` is converted to the operand type of the selected operator and the operator is invoked with this value as its argument.
2299-
- The value returned by the operator is converted to the type of `X` and stored in the location given by the earlier evaluation of `x`.
2299+
- The value returned by the operator is converted to the type of `x` and stored in the location given by the earlier evaluation of `x`.
23002300
- The saved value of `x` becomes the result of the operation.
23012301
- If `x` is classified as a property or indexer access:
23022302
- The instance expression (if `x` is not `static`) and the argument list (if `x` is an indexer access) associated with `x` are evaluated, and the results are used in the subsequent get and set accessor invocations.
@@ -2305,7 +2305,7 @@ The run-time processing of a postfix increment or decrement operation of the for
23052305
- The value returned by the operator is converted to the type of `x` and the set accessor of `x` is invoked with this value as its value argument.
23062306
- The saved value of `x` becomes the result of the operation.
23072307

2308-
The `++` and `--` operators also support prefix notation ([§12.9.6](expressions.md#1296-prefix-increment-and-decrement-operators)). Typically, the result of `x++` or `x--` is the value of `X` *before* the operation, whereas the result of `++x` or `--x` is the value of `X` *after* the operation. In either case, `x` itself has the same value after the operation.
2308+
The `++` and `--` operators also support prefix notation ([§12.9.6](expressions.md#1296-prefix-increment-and-decrement-operators)). The result of `x++` or `x--` is the value of `x` *before* the operation, whereas the result of `++x` or `--x` is the value of `x` *after* the operation. In either case, `x` itself has the same value after the operation.
23092309

23102310
An operator `++` or operator `--` implementation can be invoked using either postfix or prefix notation. It is not possible to have separate operator implementations for the two notations.
23112311

@@ -3498,12 +3498,12 @@ The run-time processing of a prefix increment or decrement operation of the form
34983498
- and becomes the result of the operation.
34993499
- If `x` is classified as a property or indexer access:
35003500
- The instance expression (if `x` is not `static`) and the argument list (if `x` is an indexer access) associated with `x` are evaluated, and the results are used in the subsequent get and set accessor invocations.
3501-
- The get accessor of `X` is invoked.
3501+
- The get accessor of `x` is invoked.
35023502
- The value returned by the get accessor is converted to the operand type of the selected operator and operator is invoked with this value as its argument.
3503-
- The value returned by the operator is converted to the type of `x`. The set accessor of `X` is invoked with this value as its value argument.
3503+
- The value returned by the operator is converted to the type of `x`. The set accessor of `x` is invoked with this value as its value argument.
35043504
- This value also becomes the result of the operation.
35053505

3506-
The `++` and `--` operators also support postfix notation ([§12.8.16](expressions.md#12816-postfix-increment-and-decrement-operators)). Typically, the result of `x++` or `x--` is the value of `X` before the operation, whereas the result of `++x` or `--x` is the value of `X` after the operation. In either case, `x` itself has the same value after the operation.
3506+
The `++` and `--` operators also support postfix notation ([§12.8.16](expressions.md#12816-postfix-increment-and-decrement-operators)). The result of `x++` or `x--` is the value of `x` before the operation, whereas the result of `++x` or `--x` is the value of `x` after the operation. In either case, `x` itself has the same value after the operation.
35073507

35083508
An operator `++` or operator `--` implementation can be invoked using either postfix or prefix notation. It is not possible to have separate operator implementations for the two notations.
35093509

0 commit comments

Comments
 (0)