Skip to content

Commit 1c91943

Browse files
authored
Fix parameter scope grammar productions (#569)
1 parent 6a44284 commit 1c91943

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

standard/basic-concepts.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -558,8 +558,8 @@ The ***scope*** of a name is the region of program text within which it is possi
558558
559559
- The scope of a member declared by an *enum_member_declaration* ([§18.4](enums.md#184-enum-members)) is the *enum_body* in which the declaration occurs.
560560
- The scope of a parameter declared in a *method_declaration* ([§14.6](classes.md#146-methods)) is the *method_body* of that *method_declaration*.
561-
- The scope of a parameter declared in an *indexer_declaration* ([§14.9](classes.md#149-indexers)) is the *accessor_declarations* of that *indexer_declaration*.
562-
- The scope of a parameter declared in an *operator_declaration* ([§14.10](classes.md#1410-operators)) is the *block* of that *operator_declaration*.
561+
- The scope of a parameter declared in an *indexer_declaration* ([§14.9](classes.md#149-indexers)) is the *indexer_body* of that *indexer_declaration*.
562+
- The scope of a parameter declared in an *operator_declaration* ([§14.10](classes.md#1410-operators)) is the *operator_body* of that *operator_declaration*.
563563
- The scope of a parameter declared in a *constructor_declaration* ([§14.11](classes.md#1411-instance-constructors)) is the *constructor_initializer* and *block* of that *constructor_declaration*.
564564
- The scope of a parameter declared in a *lambda_expression* ([§11.16](expressions.md#1116-anonymous-function-expressions)) is the *lambda_expression_body* of that *lambda_expression*.
565565
- The scope of a parameter declared in an *anonymous_method_expression* ([§11.16](expressions.md#1116-anonymous-function-expressions)) is the *block* of that *anonymous_method_expression*.

0 commit comments

Comments
 (0)