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

RSRP-304504: Bogus 'redundand String.Format highlighting'

$
0
0
Reporter Sergey Kuks (coox) Sergey Kuks (coox)
Created May 23, 2012 10:15:21 PM
Updated Apr 16, 2018 1:29:53 PM
Resolved Apr 16, 2018 1:29:52 PM
Subsystem Code Analysis - Annotations
Assignee Alisa Afonina (alisa.afonina)
Priority Normal
State Obsolete
Type Bug
Fix version Backlog
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
in the case String.Format is necessary because there's no overload with IFormatProvider in BinaryWriter
BTW there's no QF to remove redundand code
BinaryWriter writer;
writer.WriteLine(String.Format(CultureInfo.InvariantCulture, "{0:d/M/yyyy HH:mm:ss}", entry.FileAccessTime));

Viewing all articles
Browse latest Browse all 106942

Trending Articles



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