Skip to content

Conversation

@MichalStrehovsky
Copy link
Member

Fallout from the UTF-8 changes.

Cc @dotnet/ilc-contrib

Fallout from the UTF-8 changes.
@dotnet-policy-service
Copy link
Contributor

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

Copy link
Contributor

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 fixes a build break when compiling with the GVM_RESOLUTION_TRACE conditional compilation flag enabled. The issue was caused by recent UTF-8 changes that modified how method names are accessed in the type system. The Name property now returns ReadOnlySpan<byte> instead of string, and a new GetName() method was introduced to get the string representation.

  • Updated two debug trace statements to use the new GetName() method instead of the deprecated Name property
  • Changes are isolated to conditional compilation blocks that are not built by default

@MichalStrehovsky MichalStrehovsky merged commit c761eb9 into dotnet:main Dec 12, 2025
104 of 105 checks passed
@MichalStrehovsky MichalStrehovsky deleted the getname branch December 12, 2025 22:27
@github-actions github-actions bot locked and limited conversation to collaborators Jan 12, 2026
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.

2 participants