Skip to content
This repository was archived by the owner on Oct 12, 2022. It is now read-only.

Only suggest StringBuilder for >3 string concats (#26) #38

Merged
merged 3 commits into from
Mar 19, 2018

Conversation

edespong
Copy link
Contributor

When plussing 3 strings, String.Concat(string x, ...) is used. 4 strings or more will allocate string[] as String.Concat(string[] values) is called.

This will remove a lot of noise that was created by the analyzer.

When plussing 3 strings, String.Concat(string x, ...) is used. 4 strings or more will allocate string[] as String.Concat(string[] values) is called.
@mjsabby
Copy link
Contributor

mjsabby commented Mar 19, 2018

Fixes #26

@mjsabby mjsabby merged commit d6af54b into microsoft:master Mar 19, 2018
@edespong edespong deleted the Issue26_DoNotSuggestStringBuilder branch April 2, 2018 07:42
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants