-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Developers benefit from nullable annotations throughout all netcoreapp and Windows Compat Pack libraries #41720
Comments
@ericstj Do you think we should include the |
I wonder whether the path is smooth enough now (and our guidance up to date?) that community members could help with annotating those. We've had community folks in the past be happy to help with eg dead code and cleaning up analyzer warnings. I know one concern in the past was that it's hard to review/evaluate community PR's for annotations. |
Good suggestion, @danmosemsft. We'll put some effort into ensuring the guidance is fully up to date. I intend do to some more project planning around this and probably spawn issues for each assembly to annotate, with them all on a project board. When we do that, we can consider which of them could be marked as |
I'd be happy to pick up one. |
I also opened: #41724 to keep track of validation. |
@daniel-white items under Group 1 in issue #43605 are also up for grabs once the guidance is up to date for community contributions as explained above by @jeffhandley and @danmosemsft |
Should this be moved to the .NET8 milestone? Is this still being worked on? |
I'm cleaning up the .NET 6 project. This shows as completed on the project dashboard but still open here. Not sure if remaining work should be moved to a new issue @jeffhandley? |
@mairaw I'm sure the checkboxes on this issue description are out of date, but also not entirely completed. We completed our checkpoints for 6.0 and 7.0, so it's accurate that the card was completed on the project board. I'd prefer to leave this issue open though, and I'll leave this on my todo list to update this, refine the list of what's left, and decide what to do from there. |
Sounds good @jeffhandley. |
Across .NET Core 3.0 and .NET 5.0, we annotated 94% of the
netcoreapp
assemblies for nullable reference types. In .NET 6.0/.NET 7.0, we plan to annotate the remaining 6% of that surface area and continue through other assemblies built from the dotnet/runtime repo.This issue represents the assemblies previously tracked in #2339 that did not get completed in .NET 5.0. Following the same practices we used in .NET 5.0, we will:
In .NET 5.0, as was tracked in #2339, we completed groups 1-8, most of group 9, all of group 10, and some items in groups 11 and 12
Planned for .NET 6.0
Group 9
Group 11 (not part of netcoreapp but reference netcoreapp)
Stretch Goal for .NET 6, or Carry Over to .NET 7.0
Group 12 (built from dotnet/runtime but not in netcoreapp and reference netstandard)
With netstandard not annotated, we will need to be cognizant of the fact that all dependencies will be viewed as oblivious:
Lastly
#nullable enable
from individual files after all dependent projects annotatedThe text was updated successfully, but these errors were encountered: