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

RSRP-297955: Use InvariantCulture in string conversion

$
0
0
Reporter Alex Berezoutsky (fergard) Alex Berezoutsky (fergard)
Created Apr 27, 2012 4:17:40 PM
Updated Apr 23, 2018 4:31:39 PM
Subsystem Quick Fixes
Assignee Alisa Afonina (alisa.afonina)
Priority Normal
State Waiting for Info
Type Unspecified
Fix version Backlog
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
e.DisplayText = evalCount.ToString().Trim();

ReSharper ask to change the above to:

e.DisplayText = evalCount.ToString(CultureInfo.InvariantCulture).Trim();

Which gives an error.

Viewing all articles
Browse latest Browse all 106942

Trending Articles



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