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

[C# 12] New feature - primary constructors #34529

Closed
6 tasks done
BillWagner opened this issue Mar 13, 2023 · 1 comment · Fixed by #35742
Closed
6 tasks done

[C# 12] New feature - primary constructors #34529

BillWagner opened this issue Mar 13, 2023 · 1 comment · Fixed by #35742
Assignees
Labels
🏁 Release: .NET 8 Work items for the .NET 8 release doc-idea Indicates issues that are suggestions for new topics [org][type][category] dotnet-csharp/svc Pri1 High priority, do before Pri2 and Pri3 📌 seQUESTered Identifies that an issue has been imported into Quest. resolved-by-customer Indicates issues where the customer no longer needs any help. [org][resolution] whats-new/subsvc

Comments

@BillWagner
Copy link
Member

BillWagner commented Mar 13, 2023

Visual Studio release: 17.6p2

Task list:

  • Add to What's new in C# 12
  • Update language reference
    • Constructors page
    • records page
    • Class / Struct page
  • update compiler messages
  • Update guidance on class vs. struct vs. record vs. tuple
  • consider tutorial on using primary constructors:
    • Include parameter maps to public property
    • Include parameter maps to private field
    • Include parameter used in one or more methods
  • Consider pages on types and construction in fundamentals could be updated.

Associated WorkItem - 69997

@dotnet-bot dotnet-bot added the ⌚ Not Triaged Not triaged label Mar 13, 2023
@BillWagner BillWagner added the 🏁 Release: .NET 8 Work items for the .NET 8 release label Mar 13, 2023
@BillWagner BillWagner added Pri1 High priority, do before Pri2 and Pri3 dotnet-csharp/svc whats-new/subsvc and removed ⌚ Not Triaged Not triaged Pri3 labels Mar 13, 2023
@dotnet-bot dotnet-bot added ⌚ Not Triaged Not triaged labels Mar 13, 2023
@BillWagner BillWagner self-assigned this Mar 13, 2023
@BillWagner BillWagner added 🗺️ reQUEST Triggers an issue to be imported into Quest. and removed ⌚ Not Triaged Not triaged labels Mar 13, 2023
@dotnet-bot dotnet-bot added the ⌚ Not Triaged Not triaged label Mar 13, 2023
@BillWagner
Copy link
Member Author

Note that dotnet/csharplang#7047 might be part of C# 12 as well.
That would impact primary constructors on record, record struct as well.

@github-actions github-actions bot added 📌 seQUESTered Identifies that an issue has been imported into Quest. and removed 🗺️ reQUEST Triggers an issue to be imported into Quest. labels Mar 14, 2023
@BillWagner BillWagner added the doc-idea Indicates issues that are suggestions for new topics [org][type][category] label Mar 14, 2023
@dotnet-bot dotnet-bot removed the ⌚ Not Triaged Not triaged label Mar 14, 2023
@BillWagner BillWagner moved this from 🆕 New to 🔖 Ready in .NET 8.0 work items Apr 3, 2023
@BillWagner BillWagner moved this from 🔖 Ready to 🏗 In progress in dotnet/docs April 2023 sprint Apr 4, 2023
@IEvangelist IEvangelist moved this from 🏗 In progress to 🤭 Slipped in dotnet/docs April 2023 sprint May 2, 2023
@BillWagner BillWagner moved this from 🔖 Ready to 🏗 In progress in dotnet/docs May 2023 sprint May 2, 2023
@BillWagner BillWagner moved this from 🏗 In progress to 👀 In review in dotnet/docs May 2023 sprint May 5, 2023
@BillWagner BillWagner moved this from 👀 In review to 🏗 In progress in dotnet/docs May 2023 sprint May 8, 2023
@BillWagner BillWagner moved this from 🔖 Ready to 🏗 In progress in dotnet/docs June 2023 sprint Jun 1, 2023
@ghost ghost added the in-pr This issue will be closed (fixed) by an active pull request. label Jun 9, 2023
@BillWagner BillWagner moved this from 🔖 Ready to 🏗 In progress in .NET 8.0 work items Jun 19, 2023
@github-project-automation github-project-automation bot moved this from 🏗 In progress to ✅ Done in dotnet/docs June 2023 sprint Jun 21, 2023
@github-project-automation github-project-automation bot moved this from 🏗 In progress to ✅ Done in .NET 8.0 work items Jun 21, 2023
@dotnet-bot dotnet-bot added the resolved-by-customer Indicates issues where the customer no longer needs any help. [org][resolution] label Jun 21, 2023
@ghost ghost removed the in-pr This issue will be closed (fixed) by an active pull request. label Jun 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏁 Release: .NET 8 Work items for the .NET 8 release doc-idea Indicates issues that are suggestions for new topics [org][type][category] dotnet-csharp/svc Pri1 High priority, do before Pri2 and Pri3 📌 seQUESTered Identifies that an issue has been imported into Quest. resolved-by-customer Indicates issues where the customer no longer needs any help. [org][resolution] whats-new/subsvc
Projects
No open projects
Status: Done
Status: 🤭 Slipped
Status: Done
Status: 🏗 In progress
Development

Successfully merging a pull request may close this issue.

2 participants