Skip to content

Conversation

ArturDorochowicz
Copy link
Contributor

@ArturDorochowicz ArturDorochowicz commented Nov 9, 2024

Enable nullable reference types in Oakton project. This enables nullability warnings for the project (a number of them are reported now). Also, it will default newly added files to be nullable-enabled.

Prior nullable-oblivious types are preserved by adding #nullable disable annotations to nearly all files (apart from two that had #nullable enable pragmas, some files in Internal.Conversions that used nullable references in signatures, and some files where the pragma is clearly redundant).

Skipped two files that had `#nullable enable` at the top.

This change allows to preserve the original meaning of declarations w.r.t. nullability.
Some files already used nullable reference types. They don't need disable annotations pragma.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant