I'm making a .Net 5 Source Generator based json library.
I can optimise string handling by skipping null checks on parsing json string properties if I know they can't be null.
With Nullable Reference Types on I can assume string (without ?) isn't null. However if Nullable References types is off I can't.
How can I determine from the .Net 5 Source Generator if Nullable Reference Types are on or not.