Uh oh!
There was an error while loading. Please reload this page.
Move Attribute.CoreCLR.cs to Attribute.cs - #132989
Conversation
|
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. |
Tagging subscribers to this area: @steveisok, @dotnet/area-system-reflection |
There was a problem hiding this comment.
🟡 Changes recommended
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Pull request overview
This PR consolidates the CoreCLR-specific System.Attribute reflection helper implementation by moving the contents of Attribute.CoreCLR.cs into the shared src/libraries/.../Attribute.cs, and removes the now-redundant compilation includes / file.
Changes:
- Moved CoreCLR/NativelyAOT attribute reflection helpers (
GetCustomAttributes/IsDefinedoverload implementations and helpers) intosrc/libraries/System.Private.CoreLib/src/System/Attribute.csunder#if !MONO. - Removed
Attribute.CoreCLR.csfrom CoreCLR and NativeAOT SPCL project compilation inputs. - Deleted
src/coreclr/System.Private.CoreLib/src/System/Attribute.CoreCLR.cs.
File summaries
| File | Description |
|---|---|
| src/libraries/System.Private.CoreLib/src/System/Attribute.cs | Hosts the former Attribute.CoreCLR.cs implementation behind #if !MONO to share it across CoreCLR/NativeAOT. |
| src/coreclr/System.Private.CoreLib/System.Private.CoreLib.csproj | Drops compilation of the removed Attribute.CoreCLR.cs file. |
| src/coreclr/System.Private.CoreLib/src/System/Attribute.CoreCLR.cs | Deleted; content moved to shared Attribute.cs. |
| src/coreclr/nativeaot/System.Private.CoreLib/src/System.Private.CoreLib.csproj | Drops compilation of the removed Attribute.CoreCLR.cs file. |
Review details
- Files reviewed: 4/4 changed files
- Comments generated: 2
- Review effort level: Lite
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
MichalStrehovsky
commented
Sep 1, 2026
/ba-g timeout in a socket test |
Uh oh!
There was an error while loading. Please reload this page.
No description provided.