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

RSRP-288268: Boolean.ToString - specify a culture

$
0
0
Reporter Alexander (sash_subscr) Alexander (sash_subscr)
Created Feb 13, 2012 12:25:59 AM
Updated Feb 13, 2012 7:12:51 PM
Resolved Feb 13, 2012 3:26:19 PM
Priority Normal
Type Bug
Fix versions Next
State Fixed
Assignee Unassigned
Subsystem Code Analysis
Affected versions 6.1
Fixed in build 6.5.1.4307
For this case we don't have to specify culture.

// Converts the boolean value of this instance to a String.
public override String ToString() {
if (false == m_value) {
return FalseLiteral;
}
return TrueLiteral;
}

public String ToString(IFormatProvider provider) {
if (false == m_value) {
return FalseLiteral;
}
return TrueLiteral;
}

Viewing all articles
Browse latest Browse all 106942

Trending Articles



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