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

Enable nullable reference types by default #7130

Merged
merged 6 commits into from
Jan 7, 2022

Commits on Dec 7, 2021

  1. Enable nullable reference types by default

    This turns C# 9's nullable reference types on by default for all projects in the solution, and opts out unannotated files by adding `#nullable disable` to them.
    
    This has two nice properties:
    
    1. New code will be written with nullability in mind as the feature will be on by default.
    2. It's easy to find unannotated code by searching for `#nullable disable`.
    
    We have taken this approach in the .NET Project System and in CPS, and it's worked very well for us.
    
    Code under `Deprecated` is unchanged.
    drewnoakes committed Dec 7, 2021
    Configuration menu
    Copy the full SHA
    cc006b9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1d7f189 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d7724dd View commit details
    Browse the repository at this point in the history

Commits on Dec 17, 2021

  1. Configuration menu
    Copy the full SHA
    65f3150 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    446aeb0 View commit details
    Browse the repository at this point in the history

Commits on Jan 2, 2022

  1. Configuration menu
    Copy the full SHA
    70143be View commit details
    Browse the repository at this point in the history