Skip to content
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

#76881 internal properties in GetRuntimeProperties are not shown #77169

Merged
merged 12 commits into from
Nov 3, 2022

Conversation

mkhamoyan
Copy link
Member

@mkhamoyan mkhamoyan commented Oct 18, 2022

Type.GetRuntimeProperties(), Type.GetProperties(..), etc. don't return internal properties that are defined in a base class of the given type when running on net6.0-android. When running the same code as a net6.0 console application or a Xamarin.Android app, the properties are correctly returned.

Fix #76881

@dotnet-issue-labeler
Copy link

I couldn't figure out the best area label to add to this PR. If you have write-permissions please help me learn by adding exactly one area label.

@ghost ghost assigned mkhamoyan Oct 18, 2022
@mkhamoyan
Copy link
Member Author

/azp run runtime-extra-platforms

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mkhamoyan
Copy link
Member Author

/azp run runtime-extra-platforms

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mkhamoyan
Copy link
Member Author

/azp run runtime-extra-platforms

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mkhamoyan
Copy link
Member Author

/azp run runtime-extra-platforms

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mkhamoyan
Copy link
Member Author

/azp run runtime-extra-platforms

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mkhamoyan
Copy link
Member Author

/azp run runtime-extra-platforms

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mkhamoyan
Copy link
Member Author

/azp run runtime-extra-platforms

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mkhamoyan
Copy link
Member Author

/azp run runtime-android

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mkhamoyan
Copy link
Member Author

/azp run runtime-androidemulator

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@steveisok steveisok merged commit a20b31a into dotnet:main Nov 3, 2022
@ghost ghost locked as resolved and limited conversation to collaborators Dec 3, 2022
@ivanpovazan
Copy link
Member

@steveisok @mkhamoyan looking at the changes this PR introduced, it seems it also fixed: #86149 (and other duplicates)
Is this change going to be backported to net7 ?

@steveisok
Copy link
Member

@ivanpovazan Yes, I think we should backport it.

@mkhamoyan
Copy link
Member Author

/backport to release/7.0

@github-actions github-actions bot unlocked this conversation Jun 6, 2023
@github-actions
Copy link
Contributor

github-actions bot commented Jun 6, 2023

Started backporting to release/7.0: https://github.com/dotnet/runtime/actions/runs/5189519775

@github-actions
Copy link
Contributor

github-actions bot commented Jun 6, 2023

@mkhamoyan an error occurred while backporting to release/7.0, please check the run log for details!

Error: @mkhamoyan is not a repo collaborator, backporting is not allowed. If you're a collaborator please make sure your dotnet team membership visibility is set to Public on https://github.com/orgs/dotnet/people?query=mkhamoyan

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 6, 2023
@ivanpovazan
Copy link
Member

Thanks.
Let me doublecheck locally if it would fix the issue before backporting.

@ivanpovazan
Copy link
Member

@mkhamoyan verified locally with release/7.0-staging branch that this change fixes #86149

should we backport it to release/7.0 or release/7.0-staging ?

@mkhamoyan
Copy link
Member Author

@mkhamoyan verified locally with release/7.0-staging branch that this change fixes #86149

should we backport it to release/7.0 or release/7.0-staging ?

Thanks. release/7.0-staging should be.

@mkhamoyan
Copy link
Member Author

/backport to release/7.0-staging

@github-actions github-actions bot unlocked this conversation Jun 6, 2023
@github-actions
Copy link
Contributor

github-actions bot commented Jun 6, 2023

Started backporting to release/7.0-staging: https://github.com/dotnet/runtime/actions/runs/5190285504

@github-actions
Copy link
Contributor

github-actions bot commented Jun 6, 2023

@mkhamoyan an error occurred while backporting to release/7.0-staging, please check the run log for details!

Error: @mkhamoyan is not a repo collaborator, backporting is not allowed. If you're a collaborator please make sure your dotnet team membership visibility is set to Public on https://github.com/orgs/dotnet/people?query=mkhamoyan

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 6, 2023
@mkhamoyan
Copy link
Member Author

/backport to release/7.0-staging

@github-actions github-actions bot unlocked this conversation Jun 6, 2023
@github-actions
Copy link
Contributor

github-actions bot commented Jun 6, 2023

Started backporting to release/7.0-staging: https://github.com/dotnet/runtime/actions/runs/5190331708

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 6, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Android] Inherited internal properties are not returned via reflection
6 participants