From 52abada15d371624f61e694efc22d4625e002994 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 2 Oct 2025 12:58:20 +0000 Subject: [PATCH 1/2] Initial plan From e2e02c5fc090fbe275f12fd653030565834b54ef Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 2 Oct 2025 13:04:51 +0000 Subject: [PATCH 2/2] Fix property syntax to show correct attribute positions for get and set Co-authored-by: BillWagner <493969+BillWagner@users.noreply.github.com> --- .../language-reference/members/properties.md | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/docs/fsharp/language-reference/members/properties.md b/docs/fsharp/language-reference/members/properties.md index 33595f0b7ed6e..83cb0d058a6ba 100644 --- a/docs/fsharp/language-reference/members/properties.md +++ b/docs/fsharp/language-reference/members/properties.md @@ -14,18 +14,17 @@ ms.date: 05/16/2016 // Property that has both get and set defined. [ attributes ] [ static ] member [accessibility-modifier] [self-identifier.]PropertyName -with [accessibility-modifier] get() = +with [ attributes-for-get ] [accessibility-modifier] get() = get-function-body -and [accessibility-modifier] set parameter = +and [ attributes-for-set ] [accessibility-modifier] set parameter = set-function-body // Alternative syntax for a property that has get and set. -[ attributes-for-get ] -[ static ] member [accessibility-modifier-for-get] [self-identifier.]PropertyName = +[ static ] member [accessibility-modifier-for-get] [self-identifier.]PropertyName +with [ attributes-for-get ] get() = get-function-body -[ attributes-for-set ] [ static ] member [accessibility-modifier-for-set] [self-identifier.]PropertyName -with set parameter = +with [ attributes-for-set ] set parameter = set-function-body // Property that has get only. @@ -34,15 +33,13 @@ with set parameter = get-function-body // Alternative syntax for property that has get only. -[ attributes ] [ static ] member [accessibility-modifier] [self-identifier.]PropertyName -with get() = +with [ attributes ] get() = get-function-body // Property that has set only. -[ attributes ] [ static ] member [accessibility-modifier] [self-identifier.]PropertyName -with set parameter = +with [ attributes ] set parameter = set-function-body // Automatically implemented properties.