-
Notifications
You must be signed in to change notification settings - Fork 394
Change C# templates to have #nullable enabled by default #2979
Copy link
Copy link
Closed
Labels
area: template-contentThe issue is related to content of template packages managed in this repo (/template_feed)The issue is related to content of template packages managed in this repo (/template_feed)need-pm-discussionNeed agreement from PM that the issue aligns to targeted stories for any of the next 2 releasesNeed agreement from PM that the issue aligns to targeted stories for any of the next 2 releasestriagedThe issue was evaluated by the triage team, placed on correct area, next action defined.The issue was evaluated by the triage team, placed on correct area, next action defined.
Metadata
Metadata
Assignees
Labels
area: template-contentThe issue is related to content of template packages managed in this repo (/template_feed)The issue is related to content of template packages managed in this repo (/template_feed)need-pm-discussionNeed agreement from PM that the issue aligns to targeted stories for any of the next 2 releasesNeed agreement from PM that the issue aligns to targeted stories for any of the next 2 releasestriagedThe issue was evaluated by the triage team, placed on correct area, next action defined.The issue was evaluated by the triage team, placed on correct area, next action defined.
Type
Fields
Give feedbackNo fields configured for issues without a type.
It would be great to have nullable reference types enabled by default in new projects.
Because of the breaking changes it's understandable that this is not the default with existing projects, but creating new projects this should be the default, or easily turned on to be the default.
Just turning nullable reference types on with directory properties does not help. Using this, if a project with nullable reference types is copied results in compiler warnings.
At least there should be an option that can be easily configured that new projects should be created with nullable reference types turned on.