I have these 2 types:
Type nrvt = typeof(List<string?>);
// nullable string generic argumentType nnrvt = typeof(List<string>);
// non-nullable string generic argument
Can I tell (via Reflection) which has nullable and which has non-nullable strings in .NET 6
?
There's a NullabilityInfoContext
but handles object-related stuff (Properties, Fields, Events and Parameters). Not finding anything for this case.