10000 Fix GetName on TypeMetadataNode by MichalStrehovsky · Pull Request #117307 · dotnet/runtime · GitHub
[go: up one dir, main page]

Skip to content

Fix GetName on TypeMetadataNode #117307

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 1 commit into from
Jul 4, 2025
Merged

Conversation

MichalStrehovsky
Copy link
Member

MethodMetadataNode says "Method metadata", FieldMetadataNode says "Field metadata". TypeMetadataNode should say "Type metadata".

"Reflectable type" is same string as the one used on ReflectedTypeNode, causing extra confusion.

Cc @dotnet/ilc-contrib

`MethodMetadataNode` says "Method metadata", `FieldMetadataNode` says "Field metadata". `TypeMetadataNode` should say "Type metadata".

"Reflectable type" is same string as the one used on `ReflectedTypeNode`, causing extra confusion.
@Copilot Copilot AI review requested due to automatic review settings July 4, 2025 06:21
Copy link
Contributor
@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR updates the GetName method of TypeMetadataNode to return a clearer descriptor for type metadata, aligning it with other metadata node naming conventions.

  • Changed the prefix in GetName from "Reflectable type: " to "Type metadata: ".

Copy link
Contributor

Tagging subscribers to this area: @agocke, @MichalStrehovsky, @jkotas
See info in area-owners.md if you want to be subscribed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0