Skip to content

Commit

Permalink
missed one anchor (dotnet#7475)
Browse files Browse the repository at this point in the history
Follow up to dotnet#7473
  • Loading branch information
BillWagner authored Aug 16, 2023
1 parent 0f876b2 commit 30ce4ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion proposals/csharp-12.0/collection-expressions.md
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,7 @@ Not having a *known length* does not prevent any result from being created. Howe
The above forms (for arrays and spans) are the base representations of the literal value and are used for the following translation rules.

* If `T` supports [object creation](https://github.com/dotnet/csharplang/blob/main/spec/expressions.md#object-creation-expressions), then [member lookup](https://github.com/dotnet/csharplang/blob/main/spec/expressions.md#member-lookup) on `T` is performed to find an accessible `void Construct(T1 values)` method. If found, and if `T1` is a [*constructible*](#constructible-collection-types) collection type, then the literal is translated as:
* If `T` supports [object creation](https://github.com/dotnet/csharplang/blob/main/spec/expressions.md#object-creation-expressions), then [member lookup](https://github.com/dotnet/csharplang/blob/main/spec/expressions.md#member-lookup) on `T` is performed to find an accessible `void Construct(T1 values)` method. If found, and if `T1` is a [*constructible*](#conversions) collection type, then the literal is translated as:
```c#
// Generate __storage using existing rules.
Expand Down

0 comments on commit 30ce4ff

Please sign in to comment.