From e6fbbd021abce76eff975992462b3aca994ff210 Mon Sep 17 00:00:00 2001 From: Bill Wagner Date: Thu, 13 Nov 2025 16:53:08 -0500 Subject: [PATCH 1/2] Update code snippet reference for enumeration method Fixes UUF. The referenced snippet was incorrect. --- .../how-to-create-a-new-method-for-an-enumeration.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/csharp/programming-guide/classes-and-structs/how-to-create-a-new-method-for-an-enumeration.md b/docs/csharp/programming-guide/classes-and-structs/how-to-create-a-new-method-for-an-enumeration.md index 05275e0968354..d1a7c2a78b1b2 100644 --- a/docs/csharp/programming-guide/classes-and-structs/how-to-create-a-new-method-for-an-enumeration.md +++ b/docs/csharp/programming-guide/classes-and-structs/how-to-create-a-new-method-for-an-enumeration.md @@ -24,7 +24,7 @@ Beginning with C# 14, you can declare *extension members* in an extension block. You call these new extension properties as though they're declared on the extended type: -:::code language="csharp" source="./snippets/ExtensionMembers/CustomExtensionMembers.cs" id="EnumExtensionMembers"::: +:::code language="csharp" source="./snippets/ExtensionMembers/CustomExtensionMembers.cs" id="ExampleExtendEnum"::: You can learn more about the new extension members in the article on [extension members](./extension-methods.md) and in the language reference article on the ['extension` keyword](../../language-reference/keywords/extension.md). From f1e576641c2edb82b2c294552bd47c4900286463 Mon Sep 17 00:00:00 2001 From: Bill Wagner Date: Fri, 14 Nov 2025 10:34:27 -0500 Subject: [PATCH 2/2] Update docs/csharp/programming-guide/classes-and-structs/how-to-create-a-new-method-for-an-enumeration.md Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- .../how-to-create-a-new-method-for-an-enumeration.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/csharp/programming-guide/classes-and-structs/how-to-create-a-new-method-for-an-enumeration.md b/docs/csharp/programming-guide/classes-and-structs/how-to-create-a-new-method-for-an-enumeration.md index d1a7c2a78b1b2..de3d6a49a61bd 100644 --- a/docs/csharp/programming-guide/classes-and-structs/how-to-create-a-new-method-for-an-enumeration.md +++ b/docs/csharp/programming-guide/classes-and-structs/how-to-create-a-new-method-for-an-enumeration.md @@ -26,7 +26,7 @@ You call these new extension properties as though they're declared on the extend :::code language="csharp" source="./snippets/ExtensionMembers/CustomExtensionMembers.cs" id="ExampleExtendEnum"::: -You can learn more about the new extension members in the article on [extension members](./extension-methods.md) and in the language reference article on the ['extension` keyword](../../language-reference/keywords/extension.md). +You can learn more about the new extension members in the article on [extension members](./extension-methods.md) and in the language reference article on the [`extension` keyword](../../language-reference/keywords/extension.md). ## See also