Quantcast
Channel: YouTrackReSharper (RSRP) - Bug and Issue Tracker
Viewing all articles
Browse latest Browse all 106942

RSRP-83063: CA::SurroundWithStringFormat: Special Handling for StringBuilder.AppendFormat Is Needed

$
0
0
Reporter Serge Baltic (baltic) Serge Baltic (baltic)
Created Oct 9, 2008 7:15:37 PM
Updated Mar 27, 2012 5:03:10 PM
Priority Major
Type Usability Problem
Fix versions 7.0
State Open
Assignee Alexey Kuptsov (alexey.kuptsov)
Subsystem Context actions
Affected versions No Affected versions
Fixed in build No Fixed in build
StringBuilder::AppendFormat is the actual implementation of String::Format. So this case is worth some special treatment, as it could be used instead of String::Format in a series of consequent formattings.

When inside the string argument of StringBuilder::Append, the CA should do "Call AppendFormat" instead of "Surround with String::Format", as the latter will create one more stringbuilder.

When inside the string argument of StringBuilder::AppendFormat, the CA should not be available at all.

Viewing all articles
Browse latest Browse all 106942

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>