Skip to content

Gradual Removal of #nullable disable Directives #45715

Open
@v-wuzhai

Description

Describe the bug

With the recent merge of the PR that centralized the management of nullable reference types in the main Directory.Build.Props file, we have ensured consistent default behavior across the entire repository. This change also included adding #nullable disable at the top of each .cs file, excluding files in projects where nullable reference types are already enabled.

To further clean up and simplify our codebase, we will gradually remove all #nullable disable directives from the src and test directories. This will avoid duplicate configurations and ensure consistency.

This change is part of our ongoing effort to improve code quality and maintainability. By centralizing the management of nullable reference types, we can ensure a more streamlined and consistent development experience.

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions