Skip to content

Reflection nullability API: improve test coverage, fix bug found #58479

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

Merged
merged 5 commits into from
Sep 11, 2021

Conversation

buyaa-n
Copy link
Contributor

@buyaa-n buyaa-n commented Sep 1, 2021

Related to: #58390 (comment) cc @danmoseley

Reflection nullability context API updates

  • Improve test coverage by adding unused members into new/existing tests
  • Removed one unused member
  • fix a bug found in indexing generic type parameters

@danmoseley
Copy link
Member

Seems it was worthwhile if you found a bug - great.

@buyaa-n buyaa-n requested a review from stephentoub September 2, 2021 17:37
@buyaa-n buyaa-n changed the title Reflection nullability API: improve test coverage Reflection nullability API: improve test coverage, fix bug found Sep 3, 2021
@buyaa-n buyaa-n force-pushed the generics_nullability branch from 1608de1 to 027ceec Compare September 3, 2021 20:29
@buyaa-n buyaa-n requested a review from steveharter September 3, 2021 20:31
@jeffhandley
Copy link
Member

@stephentoub I don't believe @steveharter is available to review this. Could you re-review please?

@buyaa-n
Copy link
Contributor Author

buyaa-n commented Sep 8, 2021

@stephentoub @steveharter comments addressed, please take another look

@buyaa-n buyaa-n merged commit 8012edd into dotnet:main Sep 11, 2021
@buyaa-n buyaa-n deleted the generics_nullability branch September 11, 2021 01:08
buyaa-n added a commit that referenced this pull request Sep 11, 2021
)

* Add/remove some tests, fix generics indexing bug
Anipik pushed a commit that referenced this pull request Sep 14, 2021
…58390)

* Set generic type arguments nullability for value types

* Skip test on mono

* Apply commment

* Separate var name parts with _

* Reflection nullability API: improve test coverage, fix bug found (#58479)

* Add/remove some tests, fix generics indexing bug

Co-authored-by: Buyaa Namnan <[email protected]>
@ghost ghost locked as resolved and limited conversation to collaborators Oct 11, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

5 participants