Skip to content

Commit 24c0c64

Browse files
authored
Update interfaces.md
1 parent a64ec62 commit 24c0c64

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
@@ -235,7 +235,7 @@ interface_member_declaration
235235

236236
An interface declaration declares zero or more members. The members of an interface shall be constants, fields, methods, properties, events, indexers, operators, constructors, and types, some of which may be instance, others static, as described in the subclauses for each interface member kind.
237237

238-
All interface members implicitly have public access; however, an explicit access modifier ([§8.5.2](basic-concepts.md#852-declared-accessibility)) is permitted.
238+
All interface members implicitly have public access; however, an explicit access modifier ([§7.5.2](basic-concepts.md#752-declared-accessibility)) is permitted.
239239

240240
An interface function member whose declaration includes a body is an implicitly `virtual` member unless the `sealed` or `private` modifier is used. The `virtual` modifier may be used on a function member that would otherwise be implicitly `virtual`. Similarly, although `abstract` is implied for interface function members without bodies, that modifier may be given explicitly. A non-virtual function member may be declared using the `sealed` keyword.
241241

@@ -565,7 +565,7 @@ A *static_constructor_declaration* that has a *block* as a *static_constructor_b
565565
The static constructor for a closed interface executes at most once in a given application domain. The execution of a static constructor is triggered by the first of the following actions to occur within an application domain:
566566
567567
- Any of the static members of the interface are referenced.
568-
- Before the Main method is called for an interface containing the Main method ([§8.1](basic-concepts.md#81-application-startup)) in which execution begins.
568+
- Before the Main method is called for an interface containing the Main method ([§7.1](basic-concepts.md#71-application-startup)) in which execution begins.
569569
570570
To initialize a new closed interface type, first a new set of static fields for that particular closed type is created. Each of the static fields is initialized to its default value. Next, the static field initializers are executed for those static fields. Finally, the static constructor is executed.
571571

0 commit comments

Comments
 (0)