Skip to content

Commit 55f0639

Browse files
RexJaeschkeBillWagner
authored andcommitted
Define term "derived interface"
1 parent 4d503b4 commit 55f0639

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

standard/interfaces.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## 18.1 General
44

5-
An interface defines a contract. A class or struct that implements an interface shall adhere to its contract. An interface may inherit from multiple base interfaces, and a class or struct may implement multiple interfaces.
5+
An interface defines a contract. A class or struct that implements an interface shall adhere to its contract. A ***derived interface*** may inherit from multiple ***base interface***s, and a class or struct may implement multiple interfaces.
66

77
Interfaces can contain methods, properties, events, and indexers. The interface itself does not provide implementations for the members that it declares. The interface merely specifies the members that shall be supplied by classes or structs that implement the interface.
88

@@ -149,7 +149,7 @@ The explicit base interfaces of an interface shall be at least as accessible as
149149
150150
It is a compile-time error for an interface to directly or indirectly inherit from itself.
151151

152-
The ***base interfaces*** of an interface are the explicit base interfaces and their base interfaces. In other words, the set of base interfaces is the complete transitive closure of the explicit base interfaces, their explicit base interfaces, and so on. An interface inherits all members of its base interfaces.
152+
The base interfaces of an interface are the explicit base interfaces and their base interfaces. In other words, the set of base interfaces is the complete transitive closure of the explicit base interfaces, their explicit base interfaces, and so on. An interface inherits all members of its base interfaces.
153153

154154
> *Example*: In the following code
155155
>

0 commit comments

Comments
 (0)