Skip to content

Use string.Join for file extension error messages - #136732

Merged
stephentoub merged 1 commit into
mainfrom
stephentoub-file-extension-message-formatting
Oct 31, 2026
Merged

stephentoub merged 1 commit into
mainfrom
stephentoub-file-extension-message-formatting

Conversation

@stephentoub

@stephentoub stephentoub commented Oct 30, 2026 •

Copy link
Copy Markdown
Member

Use string.Join to avoid repeatedly copying the growing list of allowed file extensions when formatting an error message.

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 3 pipeline(s).
12 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.

@dotnet-policy-service

Copy link
Copy Markdown
Contributor

Tagging subscribers to this area: @dotnet/area-system-componentmodel-dataannotations
See info in area-owners.md if you want to be subscribed.

@stephentoub
stephentoub merged commit 591622c into main Oct 31, 2026
90 checks passed
@stephentoub
stephentoub deleted the stephentoub-file-extension-message-formatting branch October 31, 2026 11:08
@dotnet-milestone-bot dotnet-milestone-bot Bot added this to the 12.0-preview1 milestone Nov 4, 2026
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