Adjust primary-constructors.md based on LDM decisions (#7178)

This commit is contained in:
AlekseyTs 2023-05-08 15:29:33 -07:00 коммит произвёл GitHub
Родитель 05105f658b
Коммит 0376b4cc50
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 8 добавлений и 5 удалений

Просмотреть файл

@ -463,6 +463,8 @@ record R2([field: Test]int X) // warning CS0657: 'field' is not a valid attribut
public int X = X;
}
```
#### Conclusion:
Not allowed (https://github.com/dotnet/csharplang/blob/main/meetings/2023/LDM-2023-05-03.md#attributes-on-captured-parameters).
### Warn on shadowing by a member from base
@ -521,9 +523,10 @@ Allowed, no warning (https://github.com/dotnet/csharplang/blob/main/meetings/202
## LDM meetings
https://github.com/dotnet/csharplang/blob/main/meetings/2022/LDM-2022-10-17.md
https://github.com/dotnet/csharplang/blob/main/meetings/2023/LDM-2023-01-18.md
https://github.com/dotnet/csharplang/blob/main/meetings/2023/LDM-2023-02-15.md
https://github.com/dotnet/csharplang/blob/main/meetings/2023/LDM-2023-02-22.md
https://github.com/dotnet/csharplang/blob/main/meetings/2023/LDM-2023-03-13.md
- https://github.com/dotnet/csharplang/blob/main/meetings/2022/LDM-2022-10-17.md
- https://github.com/dotnet/csharplang/blob/main/meetings/2023/LDM-2023-01-18.md
- https://github.com/dotnet/csharplang/blob/main/meetings/2023/LDM-2023-02-15.md
- https://github.com/dotnet/csharplang/blob/main/meetings/2023/LDM-2023-02-22.md
- https://github.com/dotnet/csharplang/blob/main/meetings/2023/LDM-2023-03-13.md
- https://github.com/dotnet/csharplang/blob/main/meetings/2023/LDM-2023-05-03.md#primary-constructors