Skip to content

Implementing partial members is not optional #42442

@deep-outcome

Description

@deep-outcome

Type of issue

Typo

Description

From https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/partial-member

Partial members enable class designers to provide member hooks, similar to event handlers, that developers can decide to implement or not.

I believe that this second comma after handlers is mistake. By its means phrase is read as if developer can opt-in to implementing partial members which is not possible.

Otherwise error CS9248 Partial property '' must have an implementation is inevitable.

cs9428

Page URL

https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/partial-member

Content source URL

https://github.com/dotnet/docs/blob/main/docs/csharp/language-reference/keywords/partial-member.md

Document Version Independent Id

85bf7eb0-b476-94b6-e10a-d0f42fee407b

Article author

@BillWagner

Metadata

  • ID: b4eedbc9-36be-6c79-fcb4-d5fe6998e5b1
  • Service: dotnet-csharp
  • Sub-service: lang-reference

Associated WorkItem - 320289

Metadata

Metadata

Assignees

Labels

📌 seQUESTeredIdentifies that an issue has been imported into Quest.dotnet-csharp/svcin-prThis issue will be closed (fixed) by an active pull request.lang-reference/subsvcokr-qualityContent-quality KR: Concerns article defects (bugs), freshness, or build warnings.

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions