[release/7.0-staging] #76881 internal properties in GetRuntimeProperties are not shown#87175
Conversation
|
Tagging subscribers to this area: @dotnet/area-system-reflection Issue DetailsBackport of #77169 to release/7.0-staging /cc @mkhamoyan Customer ImpactTestingRiskIMPORTANT: If this backport is for a servicing release, please verify that:
|
|
/azp run runtime-android |
|
Azure Pipelines could not run because the pipeline triggers exclude this branch/path. |
|
/azp run runtime-extra-platforms |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
@mkhamoyan @lambdageek Today is code complete for the July servicing release. Pleaseget a Tactics approval and merge before EOD if you'd like this to be included in the release. |
|
/azp run runtime-ioslike |
|
Azure Pipelines could not run because the pipeline triggers exclude this branch/path. |
@carlossanlop thank you very much for the information. However, merging this PR is not urgent and we want to make sure that |
|
Failures are related to some infrastructure issues |
|
Shall we try to rerun |
|
/azp run runtime-extra-platforms |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
Failing tests are not related to this PR changes. |
Backport of #77169 to release/7.0-staging
/cc @mkhamoyan
Customer Impact
Customers who upgraded from Xamarin to MAUI experienced a difference in reflection behavior when getting all properties from a type. In MAUI, protected properties from a parent class were not returned reported here: #86149
Testing
Added a test that covers this scenario and it passes.
Risk
Low as by this change while getting all properties for a type, the protected properties declared in inherited type will be returned as well.
IMPORTANT: If this backport is for a servicing release, please verify that:
The PR target branch is
release/X.0-staging, notrelease/X.0.If the change touches code that ships in a NuGet package, you have added the necessary package authoring and gotten it explicitly reviewed.