Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions standard/expressions.md
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@

> *Example*: For the operation `b * s`, where `b` is a `byte` and `s` is a `short`, overload resolution selects `operator *(int, int)` as the best operator. Thus, the effect is that `b` and `s` are converted to `int`, and the type of the result is `int`. Likewise, for the operation `i * d`, where `i` is an `int` and `d` is a `double`, `overload` resolution selects `operator *(double, double)` as the best operator. *end example*


Check failure on line 301 in standard/expressions.md

View workflow job for this annotation

GitHub Actions / lint

Multiple consecutive blank lines

standard/expressions.md:301 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2] https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md012.md
**End of informative text.**

#### 12.4.7.2 Unary numeric promotions
Expand Down Expand Up @@ -1462,8 +1462,8 @@

fragment Interpolated_Regular_String_Character
// Any character except " (U+0022), \\ (U+005C),
// { (U+007B), } (U+007D), and New_Line_Character.
: ~["\\{}\u000D\u000A\u0085\u2028\u2029]
// { (U+007B), and } (U+007D).
: ~["\\{}]
;

// interpolated verbatim string expressions
Expand Down Expand Up @@ -1542,7 +1542,7 @@

1. If the target of an assignment or method-call argument has type `string`, the expression is processed by the default interpolated string handler, `System.Runtime.CompilerServices.DefaultInterpolatedStringHandler`, and the result has type `string`.
1. If the target of an assignment or method-call argument has type `System.IFormattable` or `System.FormattableString`, a string value is not composed from the interpolated string. Instead an instance of `System.FormattableString` is created.
1. If the target of an assignment or method-call argument has a custom interpolated string handler (§custInterpStrExpHandler) type, then

Check failure on line 1545 in standard/expressions.md

View workflow job for this annotation

GitHub Actions / TOC and Anchor updater

standard/expressions.md#L1545

TOC002::`§custInterpStrExpHandler` not found

- If the interpolated string contains no interpolations, the expression is processed as if the target type was `string`.
- Otherwise, the expression is processed by the custom interpolated string handler and the result has that custom interpolated string handler’s type.
Expand Down
Loading