Skip to content

Commit 190f508

Browse files
BillWagnerjskeet
authored andcommitted
Fix "instance event"
Replace "instance" with "interface" in three bullet points about event declarations, matching the naming convention used in sibling sections (§19.4.3 "interface method", §19.4.4 "interface property").
1 parent fb1cd06 commit 190f508

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

standard/interfaces.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -451,9 +451,9 @@ Interface events are declared using *event_declaration*s ([§15.8.1](classes.md#
451451
452452
- *event_modifier* shall not include `override`.
453453
- A derived interface may implement an abstract interface event declared in a base interface ([§15.8.5](classes.md#1585-virtual-sealed-override-and-abstract-accessors)).
454-
- It is a compile-time error for *variable_declarators* in an instance *event_declaration* to contain any *variable_initializer*s.
455-
- An instance event with the `virtual` or `sealed` modifiers must declare accessors. It is *never* considered to be an automatically implemented field-like event ([§15.8.2](classes.md#1582-field-like-events)).
456-
- An instance event with the `abstract` modifier must not declare accessors.
454+
- It is a compile-time error for *variable_declarators* in an interface *event_declaration* to contain any *variable_initializer*s.
455+
- An interface event with the `virtual` or `sealed` modifiers must declare accessors. It is *never* considered to be an automatically implemented field-like event ([§15.8.2](classes.md#1582-field-like-events)).
456+
- An interface event with the `abstract` modifier must not declare accessors.
457457
- The type of an interface event shall be input-safe.
458458
459459
### 19.4.6 Interface indexers

0 commit comments

Comments
 (0)