[go: nahoru, domu]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
zorgoz opened this issue Nov 6, 2024 · 1 comment
Open

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

zorgoz opened this issue Nov 6, 2024 · 1 comment
Labels
doc-enhancement Improve the current content [org][type][category] dotnet-csharp/svc errors-warnings/subsvc Pri2

Comments

@zorgoz
Copy link
zorgoz commented Nov 6, 2024

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
@zorgoz zorgoz changed the title Include post C# 12.0 exception to the rule Include post C# 12.0 "primary constructor" implications to the rule Nov 6, 2024
@BillWagner BillWagner added the doc-enhancement Improve the current content [org][type][category] label Nov 6, 2024
@BillWagner
Copy link
Member

This is a good suggestion @zorgoz

I've added it to our backlog to address when this page is updated or consolidated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doc-enhancement Improve the current content [org][type][category] dotnet-csharp/svc errors-warnings/subsvc Pri2
Projects
None yet
Development

No branches or pull requests

2 participants