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

RSRP-228909: 'Use string.Format' action must group only [Pure] arguments

$
0
0
Reporter Alexey Kuptsov (alexey.kuptsov) Alexey Kuptsov (alexey.kuptsov)
Created Mar 14, 2011 9:02:10 PM
Updated Apr 28, 2012 12:28:37 AM
Priority Normal
Type Bug
Fix versions No Fix versions
State To be discussed
Assignee Alexey Kuptsov (alexey.kuptsov)
Subsystem Code Analysis
Affected versions No Affected versions
Fixed in build No Fixed in build
Feature described in RSRP-13990 must be applied only for [Pure] (or Expression.IsPure()) argument expressions.

Counter-argument for grouping every equal expressions:
var s = queue.Dequeue() + " blah " + queue.Dequeue();
// Current context action implementation turns it into
var s = string.Format("{0} blah {0}", queue.Dequeue());

Viewing all articles
Browse latest Browse all 106942

Trending Articles



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