Reporter |
![]() |
---|---|
Created | Nov 17, 2011 2:51:34 AM |
Updated | Jan 26, 2012 5:09:38 PM |
Resolved | Nov 22, 2011 11:42:43 AM |
Priority | Normal |
Type | Bug |
Fix versions | Next |
State | Fixed |
Assignee | Evgeny Pasynkov (pasynkov) |
Subsystem | Code Analysis |
Affected versions | 6.0 EAP, 6.1 |
Fixed in build | 6.1.11.7 |
When calling an Enum's ToString() method, ReSharper recommends formatting it with culture information, like this: .ToString(CultureInfo.InvariantCulture).
If you take Resharper's suggestion, you get the following warning from .Net "The provider argument is not used, please use Enum.ToString()"
So, in the case of Enum.ToString(), ReSharper should not recommend passing culture info.
If you take Resharper's suggestion, you get the following warning from .Net "The provider argument is not used, please use Enum.ToString()"
So, in the case of Enum.ToString(), ReSharper should not recommend passing culture info.