Skip to content

Conversation

@vcsjones
Copy link
Member

@vcsjones vcsjones commented Jan 19, 2026

Rune had a typo, SYSTEM_PRIVATE_CORLIB instead of SYSTEM_PRIVATE_CORELIB. This led to the very minor issue that the ArgumentException would not use the expected exception message.

We don't typically unit test the text of exception messages, but if we want to do something we can.

@vcsjones vcsjones self-assigned this Jan 19, 2026
Copilot AI review requested due to automatic review settings January 19, 2026 18:21
@dotnet-policy-service
Copy link
Contributor

Tagging subscribers to this area: @dotnet/area-system-runtime
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 typo in a preprocessor directive in Rune.cs. The constant name was misspelled as SYSTEM_PRIVATE_CORLIB instead of the correct SYSTEM_PRIVATE_CORELIB, which prevented the proper exception message from being used when building System.Private.CoreLib.

Changes:

  • Corrected preprocessor directive spelling from SYSTEM_PRIVATE_CORLIB to SYSTEM_PRIVATE_CORELIB

@tannergooding tannergooding enabled auto-merge (squash) January 19, 2026 19:30
@tannergooding tannergooding merged commit d5df04f into dotnet:main Jan 19, 2026
155 of 158 checks passed
@vcsjones vcsjones deleted the rune-typo branch January 19, 2026 21:39
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.

3 participants