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
Copy file name to clipboardExpand all lines: docs/csharp/language-reference/compiler-messages/partial-declarations.md
+14Lines changed: 14 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -250,6 +250,20 @@ Certain `partial` method declarations don't require an *implementing declaration
250
250
251
251
When a partial method includes an implementing declaration, both declarations must be identical. Exactly one implementing declaration can be defined.
252
252
253
+
**CS0759** occurs when you have an *implementing declaration* (a partial method with a body) but no corresponding *defining declaration* (the method signature without a body). Every partial method with an implementation must have both declarations.
254
+
255
+
The following example shows code that generates CS0759:
0 commit comments