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

Update code snippets to use .NET 6 features where appropriate #27310

Closed
70 of 71 tasks
tdykstra opened this issue Nov 30, 2021 · 0 comments · Fixed by #28622
Closed
70 of 71 tasks

Update code snippets to use .NET 6 features where appropriate #27310

tdykstra opened this issue Nov 30, 2021 · 0 comments · Fixed by #28622
Assignees
Labels
doc-enhancement Improve the current content [org][type][category] Pri2

Comments

@tdykstra
Copy link
Contributor

tdykstra commented Nov 30, 2021

.NET 6 features to implement in code snippets where appropriate:

  • Implicit usings
  • Nullable reference types (NRT)
  • File-scoped namespace declarations
  • Top-level statements

Not all snippets will be upgraded. For some, the benefit may not be enough to justify the time that would have to be spent.

The following project files target .NET 6 but omit implicit usings and/or NRT:

The following project files target .NET Core 3.1:

The following folders directly or indirectly contain the indicated number of project files that target .NET 5:

@dotnet-bot dotnet-bot added the ⌚ Not Triaged Not triaged label Nov 30, 2021
@tdykstra tdykstra added doc-enhancement Improve the current content [org][type][category] Pri2 and removed ⌚ Not Triaged Not triaged Pri3 labels Nov 30, 2021
@tdykstra tdykstra self-assigned this Dec 3, 2021
@dotnet-bot dotnet-bot added the resolved-by-customer Indicates issues where the customer no longer needs any help. [org][resolution] label Mar 11, 2022
@tdykstra tdykstra removed the resolved-by-customer Indicates issues where the customer no longer needs any help. [org][resolution] label Mar 29, 2022
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] Pri2
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants