The TypeBuilder.CreateType() method is defined as nullable:
public Type? CreateType();
Under what conditions can it return null? The docs do not say.
I could dig into the source, but that would yield an untrustworthy answer (though interesting). Is there a documented explanation for this signature which I've missed?