Repository navigation
Return generated GUIDs by value - #135790
Merged
AaronRobinsonMSFT merged 3 commits intoOct 19, 2026
Merged
Conversation
Co-authored-by: Copilot <[email protected]> Copilot-Session: d358047d-745a-4ba8-ae1d-5d797a8341bc
|
Azure Pipelines: Successfully started running 3 pipeline(s). 13 pipeline(s) were filtered out due to trigger conditions. There may be pipelines that require an authorized user to comment /azp run to run. |
Contributor
|
Tagging subscribers to this area: @agocke |
This was referenced Oct 15, 2026
Closed
AaronRobinsonMSFT
marked this pull request as ready for review
October 16, 2026 22:42
This was referenced Oct 17, 2026
AaronRobinsonMSFT
requested review from
elinor-fung and
jkoritzinsky
and
a balanced review from Copilot
October 19, 2026 16:52
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
The focused refactor consistently updates declarations and callers while preserving GUID computation, exception handling, and synchronization.
No open issues 🎉
What changed in this PR
Simplifies CoreCLR GUID generation helpers by returning GUIDs by value while preserving generation behavior.
Changes:
- Changes helper signatures and updates callers.
- Makes
GuidFromNameprivate to its source file. - Removes obsolete output-buffer commentary.
Static review found no blocking issues. Builds and tests were not run.
| File | Description |
|---|---|
| src/coreclr/vm/methodtable.cpp | Assigns the returned GUID. |
| src/coreclr/vm/interoputil.h | Updates the class-interface helper declaration. |
| src/coreclr/vm/interoputil.cpp | Returns GUID values and updates wrapper callers. |
| src/coreclr/vm/comcallablewrapper.cpp | Updates COM interface GUID assignments. |
| src/coreclr/utilcode/guidfromname.cpp | Returns GUID values and makes GuidFromName static. |
| src/coreclr/inc/guidfromname.h | Updates the GUID-generation declaration. |
Review effort: Balanced
elinor-fung
approved these changes
Oct 19, 2026
Member
Author
|
/ba-g known failures. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
GUID generation helpers currently write results through output pointers. Return GUIDs by value, update callers, and make
GuidFromNamestatic.Note
This PR description was generated by GitHub Copilot.