-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Example usage of NullabilityInfoContext fails on preview.7 #57920
Comments
@SimonCropp thank you for reporting, you are right, the example is supposed to have a For some reason i thought no need to check generics for value types, but now I think it should work for |
I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label. |
@buyaa-n BTW i discovered this when i was building https://github.com/SimonCropp/NullabilityInfo which exposes the new api to older net frameworks via a code only package. if u have time i would appreciate any feedback on the approach |
thanks @buyaa-n |
here dotnet/core#6444 (comment) the following (slightly modified) example is used
it fails since
tupleInfo.GenericTypeArguments
is empty.I am not sure if this is a bug, or if the API has evolved beyond that example.
Paging @buyaa-n since you posted that usage example
The text was updated successfully, but these errors were encountered: