smdn
smdn
@DaZombieKiller, I tried your workaround and that worked fine in my case. Thank you for your comment!
I think that the ByRef type itself never have nullability informations as far as I know, so it could be treated as a _scalar_ type like in case of `Nullable`....
There's a same problem with `ref` properties, and @DaZombieKiller 's workaround also works. [Run on SharpLab](https://sharplab.io/#gist:bafbe69935e7ea27e1ac3840a6bb97f0) ```cs #nullable enable #define WORKAROUND using System; using System.Collections.Generic; using System.Globalization; using System.Reflection; foreach...
@buyaa-n > Further how many users would know they need to check the info.ElementType nullability instead of using info.ReadState or infor.WriteState directly to get the answer? I agree that it...
@madelson > For example consider this case with `out`: Thank you for pointing that out. I had not considered about nullability from the caller's viewpoint. @buyaa-n, @madelson There's a concern...