From 9ddfdcca3059230d5421ec6cc4ed2729b794dd46 Mon Sep 17 00:00:00 2001 From: Tom Deseyn Date: Wed, 18 Dec 2024 16:45:22 +0100 Subject: [PATCH] More partial members: be more specific what auto-property declaration can't be used for. (#44004) --- docs/csharp/whats-new/csharp-13.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/csharp/whats-new/csharp-13.md b/docs/csharp/whats-new/csharp-13.md index ab366b5fe698e..e5c508005af49 100644 --- a/docs/csharp/whats-new/csharp-13.md +++ b/docs/csharp/whats-new/csharp-13.md @@ -135,7 +135,7 @@ Learn more in the updates on [`ref struct` types](../language-reference/builtin- ## More partial members -You can declare `partial` properties and `partial` indexers in C# 13. Partial properties and indexers generally follow the same rules as `partial` methods: you create one *declaring declaration* and one *implementing declaration*. The signatures of the two declarations must match. One restriction is that you can't use an auto-property declaration for a partial property. Properties that don't declare a body are considered the *declaring declaration*. +You can declare `partial` properties and `partial` indexers in C# 13. Partial properties and indexers generally follow the same rules as `partial` methods: you create one *declaring declaration* and one *implementing declaration*. The signatures of the two declarations must match. One restriction is that you can't use an auto-property declaration for *implementing* a partial property. Properties that don't declare a body are considered the *declaring declaration*. ```csharp public partial class C