Reporter | Alex Berezoutsky (fergard) |
---|---|
Created | Apr 13, 2012 5:53:17 PM |
Updated | Apr 14, 2012 3:32:14 AM |
Resolved | Apr 13, 2012 7:47:51 PM |
Priority | Show-stopper |
Type | Unspecified |
Fix versions | 7.0 |
State | Fixed |
Assignee | Evgeny Pasynkov (pasynkov) |
Subsystem | No subsystem |
Affected versions | 6.1.1 |
Fixed in build | 7.0.16.75 |
I’m using Resharper 6.1.1 and it gives an error on the following code:
Suggesting to use:
Which does give an error (see attachment).
public static string ToDescription(this Enum enumeration) { return enumeration.ToString(); }
Suggesting to use:
public static string ToDescription(this Enum enumeration) { return enumeration.ToString(CultureInfo.InvariantCulture); }
Which does give an error (see attachment).