From f67952504991c6aeb6126e0be68e30bdca9826c1 Mon Sep 17 00:00:00 2001 From: Sean Wheeler Date: Mon, 13 Oct 2025 08:05:44 -0500 Subject: [PATCH] Fixes #12432 - Fix syntax example (#12436) * Upcase H2 headers * Fix structure of About files * Fix syntax example --- .../About/about_Classes_Constructors.md | 2 +- .../About/about_Classes_Constructors.md | 4 ++-- .../About/about_Classes_Constructors.md | 4 ++-- .../About/about_Classes_Constructors.md | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/reference/5.1/Microsoft.PowerShell.Core/About/about_Classes_Constructors.md b/reference/5.1/Microsoft.PowerShell.Core/About/about_Classes_Constructors.md index 922c8c7dc5a..6833fa0e61c 100644 --- a/reference/5.1/Microsoft.PowerShell.Core/About/about_Classes_Constructors.md +++ b/reference/5.1/Microsoft.PowerShell.Core/About/about_Classes_Constructors.md @@ -449,7 +449,7 @@ constructor parameters and before the body block. ```Syntax class : { - () : () { + () : () { # initialization code } } diff --git a/reference/7.4/Microsoft.PowerShell.Core/About/about_Classes_Constructors.md b/reference/7.4/Microsoft.PowerShell.Core/About/about_Classes_Constructors.md index 93f115d48d9..6ef41ffa916 100644 --- a/reference/7.4/Microsoft.PowerShell.Core/About/about_Classes_Constructors.md +++ b/reference/7.4/Microsoft.PowerShell.Core/About/about_Classes_Constructors.md @@ -1,7 +1,7 @@ --- description: Describes how to define constructors for PowerShell classes. Locale: en-US -ms.date: 11/13/2023 +ms.date: 10/13/2025 online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_classes_constructors?view=powershell-7.4&WT.mc_id=ps-gethelp schema: 2.0.0 title: about_Classes_Constructors @@ -448,7 +448,7 @@ constructor parameters and before the body block. ```Syntax class : { - () : () { + () : () { # initialization code } } diff --git a/reference/7.5/Microsoft.PowerShell.Core/About/about_Classes_Constructors.md b/reference/7.5/Microsoft.PowerShell.Core/About/about_Classes_Constructors.md index 1dcd106a6f3..7d2594702ab 100644 --- a/reference/7.5/Microsoft.PowerShell.Core/About/about_Classes_Constructors.md +++ b/reference/7.5/Microsoft.PowerShell.Core/About/about_Classes_Constructors.md @@ -1,7 +1,7 @@ --- description: Describes how to define constructors for PowerShell classes. Locale: en-US -ms.date: 11/13/2023 +ms.date: 10/13/2025 online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_classes_constructors?view=powershell-7.5&WT.mc_id=ps-gethelp schema: 2.0.0 title: about_Classes_Constructors @@ -448,7 +448,7 @@ constructor parameters and before the body block. ```Syntax class : { - () : () { + () : () { # initialization code } } diff --git a/reference/7.6/Microsoft.PowerShell.Core/About/about_Classes_Constructors.md b/reference/7.6/Microsoft.PowerShell.Core/About/about_Classes_Constructors.md index 3f3190d6a9b..d15dc0bdf9f 100644 --- a/reference/7.6/Microsoft.PowerShell.Core/About/about_Classes_Constructors.md +++ b/reference/7.6/Microsoft.PowerShell.Core/About/about_Classes_Constructors.md @@ -1,7 +1,7 @@ --- description: Describes how to define constructors for PowerShell classes. Locale: en-US -ms.date: 11/13/2023 +ms.date: 10/13/2025 online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_classes_constructors?view=powershell-7.6&WT.mc_id=ps-gethelp schema: 2.0.0 title: about_Classes_Constructors @@ -448,7 +448,7 @@ constructor parameters and before the body block. ```Syntax class : { - () : () { + () : () { # initialization code } }