Skip to content

Conversation

@AaronRobinsonMSFT
Copy link
Member

Clarify the purpose of a field by renaming.

Clarify the purpose of a field by renaming.
@dotnet-policy-service
Copy link
Contributor

Tagging subscribers to this area: @mangod9
See info in area-owners.md if you want to be subscribed.

@davidwrighton
Copy link
Member

Why are you renaming the flags field to the classification field? It still has things that are not part of the classification of the MethodDesc.

@AaronRobinsonMSFT
Copy link
Member Author

Why are you renaming the flags field to the classification field? It still has things that are not part of the classification of the MethodDesc.

All values seem to come from the MethodDescClassification enum. Did I miss one that isn't from the enum?

@jkotas
Copy link
Member

jkotas commented Apr 25, 2024

All values seem to come from the MethodDescClassification enum. Did I miss one that isn't from the enum?

The enum is poorly named. It has classification and a bunch of other stuff.

@AaronRobinsonMSFT
Copy link
Member Author

All values seem to come from the MethodDescClassification enum. Did I miss one that isn't from the enum?

The enum is poorly named. It has classification and a bunch of other stuff.

Yep. @davidwrighton and I spoke offline. I'm going to rename the enum and change the field name back.

Copy link
Member

@davidwrighton davidwrighton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good.

@AaronRobinsonMSFT AaronRobinsonMSFT merged commit 7a08e67 into dotnet:main Apr 26, 2024
@AaronRobinsonMSFT AaronRobinsonMSFT deleted the methoddesc_update branch April 26, 2024 01:00
matouskozak pushed a commit to matouskozak/runtime that referenced this pull request Apr 30, 2024
* Collect all MethodDesc fields in one place

* Change enum name.

* Remove irrelevant macro - METHOD_MAX_RVA.
michaelgsharp pushed a commit to michaelgsharp/runtime that referenced this pull request May 9, 2024
* Collect all MethodDesc fields in one place

* Change enum name.

* Remove irrelevant macro - METHOD_MAX_RVA.
@github-actions github-actions bot locked and limited conversation to collaborators May 27, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants