Skip to content

Fixes in String.Format()#3348

Merged
josesimoes merged 1 commit into
nanoframework:developfrom
josesimoes:fix-string-format
May 7, 2026
Merged

Fixes in String.Format()#3348
josesimoes merged 1 commit into
nanoframework:developfrom
josesimoes:fix-string-format

Conversation

@josesimoes
Copy link
Copy Markdown
Member

Description

  • Now throws ArgumentNullException, per .NET expected behaviour.
  • Fix N/n format specifier missing thousands separators.

Motivation and Context

How Has This Been Tested?

Screenshots

Types of changes

  • Improvement (non-breaking change that improves a feature, code or algorithm)
  • Bug fix (non-breaking change which fixes an issue with code or algorithm)
  • New feature (non-breaking change which adds functionality to code)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Config and build (change in the configuration and build system, has no impact on code or features)
  • Dev Containers (changes related with Dev Containers, has no impact on code or features)
  • Dependencies/declarations (update dependencies or assembly declarations and changes associated, has no impact on code or features)
  • Documentation (changes or updates in the documentation, has no impact on code or features)

Checklist

  • My code follows the code style of this project (only if there are changes in source code).
  • My changes require an update to the documentation (there are changes that require the docs website to be updated).
  • I have updated the documentation accordingly (the changes require an update on the docs in this repo).
  • I have read the CONTRIBUTING document.
  • I have tested everything locally and all new and existing tests passed (only if there are changes in source code).

@nfbot nfbot added the Type: bug label May 6, 2026
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 6, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository YAML (base), Central YAML (inherited)

Review profile: ASSERTIVE

Plan: Pro

Run ID: 528e0db5-d5a2-4ce4-9485-04668fbb3aaf

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@josesimoes josesimoes changed the title Fix String.Format implementation Fixes in String.Format() May 6, 2026
@josesimoes josesimoes force-pushed the fix-string-format branch from 7e5bc90 to 4d2d51e Compare May 6, 2026 16:57
@josesimoes
Copy link
Copy Markdown
Member Author

@coderabbitai review

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 6, 2026

✅ Actions performed

Review triggered.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@josesimoes josesimoes added the Area: Common libs Everything related with common libraries label May 6, 2026
@josesimoes josesimoes force-pushed the fix-string-format branch 2 times, most recently from 07acb21 to 00de184 Compare May 7, 2026 08:39
- Now throws ArgumentNullException, per .NET expected behaviour.
- Fix N/n format specifier missing thousands separators.
@josesimoes josesimoes force-pushed the fix-string-format branch from 00de184 to 177233c Compare May 7, 2026 10:09
@josesimoes
Copy link
Copy Markdown
Member Author

Merging as any failure on the unit tests will be addressed at #3347

@josesimoes josesimoes merged commit ba14984 into nanoframework:develop May 7, 2026
12 of 23 checks passed
@josesimoes josesimoes deleted the fix-string-format branch May 7, 2026 10:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: Common libs Everything related with common libraries Type: bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants