From 100790809c8dd6faeb72f262753ca63e6c02b2e4 Mon Sep 17 00:00:00 2001 From: AlekseyTs Date: Fri, 25 Jul 2025 12:24:21 -0700 Subject: [PATCH] Update accessibility of marker method in extensions.md --- proposals/extensions.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/proposals/extensions.md b/proposals/extensions.md index 59f9855d6b..b11e0f8ed4 100644 --- a/proposals/extensions.md +++ b/proposals/extensions.md @@ -522,7 +522,8 @@ Each extension marker type contains a single method, the extension marker method If the extension parameter doesn't specify a name, then the parameter name is empty. - It is marked with the `specialname` flag. -Accessibility of the marker method will be based on effective accessibility of the extended type. It gets the least restrictive accessibility that ensures that the extended type is at least as visible as the marker method. +Accessibility of the marker method will be the least restrictive accessibility among corresponding declared +extension members, `private` is used if none are declared. #### Extension members