Skip to content

Include post C# 12.0 "primary constructor" implications to the rule #43353

@zorgoz

Description

@zorgoz

Type of issue

Missing information

Description

A link would be appropriate here to the to the whole primary constructor documentation page, or to the example that demonstrates what looks to be a violation, but it is not, as the emitted code uses the parameter of the constructor directly.

Page URL

https://learn.microsoft.com/en-us/dotnet/csharp/misc/cs0236

Content source URL

https://github.com/dotnet/docs/blob/main/docs/csharp/misc/cs0236.md

Document Version Independent Id

360140ec-e61d-3117-e7a7-92473887f7b6

Article author

@BillWagner

Metadata

  • ID: 19167a3c-283f-e0c1-d1cb-3b773954779b
  • Service: dotnet-csharp
  • Sub-service: errors-warnings

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions