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
@@ -3101,7 +3099,7 @@ Only a defining partial method participates in overload resolution.
3101
3099
3102
3100
Ifanimplementingdeclarationexistsforagivenpartialmethod, theinvocationsofthepartialmethodsareretained. Thepartialmethodgivesrisetoamethoddeclarationsimilartotheimplementingpartialmethoddeclarationexceptfor the following:
3103
3101
3104
-
- All modifiers except the `partial` modifier are combined, including any `extern` or `async` modifier declared on the implementing declaration.
3102
+
- All modifiers except the `partial` modifier are included in the resulting, including any `extern` or `async` modifier declared on the implementing declaration.
3105
3103
- The attributes in the resulting method declaration are the combined attributes of the defining and the implementing partial method declaration in unspecified order. Duplicates are not removed.
3106
3104
- The attributes on the parameters of the resulting method declaration are the combined attributes of the corresponding parameters of the defining and the implementing partial method declaration in unspecified order. Duplicates are not removed.
3107
3105
- Any default arguments (§15.6.2) intheimplementingdeclarationareremoved.
@@ -3207,11 +3205,11 @@ If a defining declaration but not an implementing declaration is given for a res
An unrestriced partial method has an explicit access modifier. There shall be exactly one implementing partial method declaration.
3208
+
An unrestriced partial method declartion incluces an explicit access modifier. There shall be exactly one implementing partial method declaration.
3211
3209
3212
-
The implementing declaration for an unrestricted partial method may be an external method (§15.6.8).
3210
+
The implementing declaration for an unrestricted partial method may be an external method (§15.6.8). The `extern` modifier is modifer allowed on an implementing partial declaration. It shall not be present on a defining partial declaration.
3213
3211
3214
-
> *Note:* The `private` access modifier is required on both the ***defining partial method declaration*** and the ***implementing partial method declaration*** of an unrestricted partial method. *end note*
3212
+
> *Note:* The `private` access modifier is required on both the ***defining partial method declaration*** and the ***implementing partial method declaration*** of a private unrestricted partial method. *end note*
0 commit comments