Skip to content

Commit f13b7b0

Browse files
committed
Fix object initializers link in meeting notes
1 parent ac56a9f commit f13b7b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

meetings/2025/LDM-2025-04-02.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ Question: https://github.com/dotnet/csharplang/blob/e34ecf622058b53f0fb37705baa8
7171
7272
There are cases where it is appropriate to error if a non-readonly setter is called, that may be reasonable when a `readonly` setter is called. We explored two of those cases that currently error with _CS1918 Member of property ... cannot be assigned with an object initializer because it is of a value type._ Should we include allowing readonly setters in these cases as part of the broader feature.
7373

74-
A change would be needed to the C# spec on object initializers ([§11.18.2](https://github.com/dotnet/csharpstandard/blob/standard-v6/standard/expressions.md#11182-simple-assignment)), which will be added to this proposal.
74+
A change would be needed to the C# spec on object initializers ([§12.8.16.3](https://github.com/dotnet/csharpstandard/blob/standard-v7/standard/expressions.md#128163-object-initializers)), which will be added to this proposal.
7575
7676
It was noted that expansions could be split off and done after the rest of the work in this proposal.
7777

0 commit comments

Comments
 (0)