Quick fix for nullable reference warnings/errors in the generated code. When NRT is enabled (csc.Options.NullableContextOptions != NullableContextOptions.Disable), add #nullable disable to the top of every generated file.
This is easier to code than passing some extra context object into every *Addition object and inserting ? into the right places. 😄 People probably don't care about accessing the *Path properties from nullable-enabled code, so the slight different that could make doesn't seem worth the effort.
Quick fix for nullable reference warnings/errors in the generated code. When NRT is enabled (
csc.Options.NullableContextOptions != NullableContextOptions.Disable
), add#nullable disable
to the top of every generated file.This is easier to code than passing some extra context object into every
*Addition
object and inserting?
into the right places. 😄 People probably don't care about accessing the*Path
properties from nullable-enabled code, so the slight different that could make doesn't seem worth the effort.