-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Miscellaneous cleanup #120184
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
Miscellaneous cleanup #120184
Conversation
There was a problem hiding this 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 performs miscellaneous cleanup tasks across the codebase, including code simplification, removal of unused functionality, and style consistency improvements.
Key changes include:
- Removal of unused COM apartment initialization code from CoreCLR
- Simplification of platform detection logic
- Code style and formatting improvements in API reference files
Reviewed Changes
Copilot reviewed 11 out of 11 changed files in this pull request and generated 3 comments.
Show a summary per file
File | Description |
---|---|
src/libraries/System.Runtime.Loader/ref/System.Runtime.Loader.cs | Reformatted API reference with consistent attribute syntax and namespace organization |
src/libraries/Common/tests/TestUtilities/System/PlatformDetection.cs | Simplified ArgIterator support detection by removing ARM process check |
src/coreclr/vm/threads.h | Removed unused COM apartment initialization task definitions and methods |
src/coreclr/vm/threads.cpp | Added preprocessor guards and removed COM initialization calls |
src/coreclr/vm/methodtablebuilder.cpp | Simplified comment about fcalls RVA requirement |
src/coreclr/vm/jitinterface.cpp | Removed unused inline helper function and inlined its usage |
src/coreclr/vm/interoputil.h | Removed unused parameters from COM startup function declarations |
src/coreclr/vm/interoputil.cpp | Removed unused parameters from COM startup function implementations |
src/coreclr/vm/finalizerthread.cpp | Removed unused COM apartment initialization code from finalizer thread |
src/coreclr/vm/dllimport.cpp | Fixed typo in comment ("diable" to "disable") |
src/coreclr/vm/comsynchronizable.cpp | Removed COM startup logic from apartment state detection |
Tagging subscribers to this area: @mangod9 |
See commit descriptions for details.