Skip to content

Whitelist IFormattable#10359

Closed
RumBugen wants to merge 1 commit intoFacepunch:masterfrom
RumBugen:feature/whitelist-iformattable-10191
Closed

Whitelist IFormattable#10359
RumBugen wants to merge 1 commit intoFacepunch:masterfrom
RumBugen:feature/whitelist-iformattable-10191

Conversation

@RumBugen
Copy link
Copy Markdown
Contributor

@RumBugen RumBugen commented Apr 4, 2026

Pull Request

Thanks for contributing to s&box ❤️
Please fill out the sections below to help us review your change efficiently.


Summary

This PR adds System.IFormattable to the whitelist, so custom types can implemented.

Motivation & Context

It was addressed in an issue. I don't think there's anything else to say about it.

Fixes: #10191

Implementation Details

Added "System.Private.CoreLib/System.IFormattable*" to the base access rules. I haven't implemented any tests, since none of the whitelist candidates have done so, at least as far as I can tell from what I saw.

Screenshots / Videos (if applicable)

Checklist

  • Code follows existing style and conventions
  • No unnecessary formatting or unrelated changes
  • Public APIs are documented (if applicable)
  • Unit tests added where applicable and all passing
  • I’m okay with this PR being rejected or requested to change 🙂

@handsomematt handsomematt added the triaged triaged pull-requests are replicated on the internal sbox repo label Apr 5, 2026
@sboxbot sboxbot added the accepted this pull request was accepted, hurrah! label Apr 7, 2026
@sboxbot
Copy link
Copy Markdown
Contributor

sboxbot commented Apr 7, 2026

This PR has been merged upstream.

@sboxbot sboxbot closed this Apr 7, 2026
@RumBugen RumBugen deleted the feature/whitelist-iformattable-10191 branch April 7, 2026 12:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

accepted this pull request was accepted, hurrah! triaged triaged pull-requests are replicated on the internal sbox repo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Whitelist] IFormattable

3 participants