Skip to content

Conversation

jkotas
Copy link
Member

@jkotas jkotas commented Sep 29, 2025

See commit descriptions for details.

@Copilot Copilot AI review requested due to automatic review settings September 29, 2025 03: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 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

Copy link
Contributor

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

@jkotas jkotas merged commit d217d90 into dotnet:main Sep 29, 2025
138 of 140 checks passed
@jkotas jkotas deleted the misc branch September 29, 2025 14:42
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