Skip to content

Commit 5e18912

Browse files
authored
Replace chapter/section with clause/subclause, and clause with subclause, as appropriate (#1373)
* change section to subclause * change section to subclause * change clause to subclause * change clause to subclause * change clause to subclause
1 parent 64358b7 commit 5e18912

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

standard/attributes.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -865,7 +865,7 @@ For invocations that occur within declarations of instance constructors, static
865865
866866
#### 22.5.7.1 General
867867
868-
The attributes in this section are used to provide additional information to support a compiler that provides nullability and null-state diagnostics ([§8.9.5](types.md#895-nullabilities-and-null-states)). A compiler isn’t required to perform any null-state diagnostics. The presence or absence of these attributes do not affect the language nor the behavior of a program. A compiler that doesn’t provide null-state diagnostics shall read and ignore the presence of these attributes. A compiler that provides null-state diagnostics shall use the meaning defined in this section for any of these attributes which it uses to inform its diagnostics.
868+
The attributes in this subclause are used to provide additional information to support a compiler that provides nullability and null-state diagnostics ([§8.9.5](types.md#895-nullabilities-and-null-states)). A compiler isn’t required to perform any null-state diagnostics. The presence or absence of these attributes do not affect the language nor the behavior of a program. A compiler that doesn’t provide null-state diagnostics shall read and ignore the presence of these attributes. A compiler that provides null-state diagnostics shall use the meaning defined in this subclause for any of these attributes which it uses to inform its diagnostics.
869869
870870
The code-analysis attributes are declared in namespace `System.Diagnostics.CodeAnalysis`.
871871
@@ -881,7 +881,7 @@ The code-analysis attributes are declared in namespace `System.Diagnostics.CodeA
881881
`DoesNotReturn` ([§22.5.7.4](attributes.md#22574-the-doesnotreturn-attribute)) | This method never returns.
882882
`DoesNotReturnIf` ([§22.5.7.5](attributes.md#22575-the-doesnotreturnif-attribute)) | This method never returns if the associated `bool` parameter has the specified value.
883883
884-
The following sections in [§22.5.7.1](attributes.md#22571-general) are conditionally normative.
884+
The following subclauses in [§22.5.7.1](attributes.md#22571-general) are conditionally normative.
885885
886886
#### 22.5.7.2 The AllowNull attribute
887887

standard/classes.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3365,7 +3365,7 @@ The differences between static and instance members are discussed further in [§
33653365

33663366
### 15.7.3 Accessors
33673367

3368-
*Note*: This clause applies to both properties ([§15.7](classes.md#157-properties)) and indexers ([§15.9](classes.md#159-indexers)). The clause is written in terms of properties, when reading for indexers substitute indexer/indexers for property/properties and consult the list of differences between properties and indexers given in [§15.9.2](classes.md#1592-indexer-and-property-differences). *end note*
3368+
*Note*: This subclause applies to both properties ([§15.7](classes.md#157-properties)) and indexers ([§15.9](classes.md#159-indexers)). The subclause is written in terms of properties, when reading for indexers substitute indexer/indexers for property/properties and consult the list of differences between properties and indexers given in [§15.9.2](classes.md#1592-indexer-and-property-differences). *end note*
33693369

33703370
The *accessor_declarations* of a property specify the executable statements associated with writing and/or reading that property.
33713371

@@ -3922,7 +3922,7 @@ An accessor that is used to implement an interface shall not have an *accessor_m
39223922
39233923
### 15.7.6 Virtual, sealed, override, and abstract accessors
39243924
3925-
*Note*: This clause applies to both properties ([§15.7](classes.md#157-properties)) and indexers ([§15.9](classes.md#159-indexers)). The clause is written in terms of properties, when reading for indexers substitute indexer/indexers for property/properties and consult the list of differences between properties and indexers given in [§15.9.2](classes.md#1592-indexer-and-property-differences). *end note*
3925+
*Note*: This subclause applies to both properties ([§15.7](classes.md#157-properties)) and indexers ([§15.9](classes.md#159-indexers)). The subclause is written in terms of properties, when reading for indexers substitute indexer/indexers for property/properties and consult the list of differences between properties and indexers given in [§15.9.2](classes.md#1592-indexer-and-property-differences). *end note*
39263926
39273927
A virtual property declaration specifies that the accessors of the property are virtual. The `virtual` modifier applies to all non-private accessors of a property. When an accessor of a virtual property has the `private` *accessor_modifier*, the private accessor is implicitly not virtual.
39283928

standard/delegates.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ This definition of compatibility allows covariance in return type and contravari
172172
>
173173
> The `Print` method is compatible with the `Action<string>` delegate type because any invocation of an `Action<string>` delegate would also be a valid invocation of the `Print` method.
174174
>
175-
> If the signature of the `Print` method above were changed to `Print(object value, bool prependTimestamp = false)` for example, the `Print` method would no longer be compatible with `Action<string>` by the rules of this clause.
175+
> If the signature of the `Print` method above were changed to `Print(object value, bool prependTimestamp = false)` for example, the `Print` method would no longer be compatible with `Action<string>` by the rules of this subclause.
176176
>
177177
> *end note*
178178

standard/general-description.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ This specification is intended to be used by implementers, academics, and applic
66

77
This specification is divided into the following subdivisions: front matter; language syntax, constraints, and semantics; and annexes.
88

9-
Examples are provided to illustrate possible forms of the constructions described. References are used to refer to related clauses. Notes are provided to give advice or guidance to implementers or programmers. Annexes provide additional information and summarize the information contained in this specification.
9+
Examples are provided to illustrate possible forms of the constructions described. References are used to refer to related clauses and subclauses. Notes are provided to give advice or guidance to implementers or programmers. Annexes provide additional information and summarize the information contained in this specification.
1010

1111
**End of informative text.**
1212

1313
Informative text is indicated in the following ways:
1414

15-
1. Whole or partial clauses or annexes delimited by “**This clause/text is informative**” and “**End of informative text**”.
15+
1. Whole or partial clauses (or subclauses) or annexes delimited by “**This clause/text is informative**” and “**End of informative text**”.
1616
1. *Example*: The following example … code fragment, possibly with some narrative … *end example* The *Example:* and *end example* markers are in the same paragraph for single paragraph examples. If an example spans multiple paragraphs, the end example marker should be its own paragraph.
1717
1. *Note*: narrative … *end note* The *Note*: and *end note* markers are in the same paragraph for single paragraph notes. If a note spans multiple paragraphs, the *end note* marker should be its own paragraph.
1818

standard/variables.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -614,7 +614,7 @@ A `yield break` statement has no effect on the definite-assignment state.
614614
615615
#### 9.4.4.21 General rules for constant expressions
616616
617-
The following applies to any constant expression, and takes priority over any rules from the following sections that might apply:
617+
The following applies to any constant expression, and takes priority over any rules from the following subclauses that might apply:
618618
619619
For a constant expression with value `true`:
620620

0 commit comments

Comments
 (0)