You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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").
Copy file name to clipboardExpand all lines: standard/interfaces.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -451,9 +451,9 @@ Interface events are declared using *event_declaration*s ([§15.8.1](classes.md#
451
451
452
452
-*event_modifier*shallnotinclude `override`.
453
453
-Aderivedinterfacemay 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.
457
457
- The type of an interface event shall be input-safe.
0 commit comments