Is there a way to tell ReSharper to use the String and Int64 type names when a field or method is used on the type (‘static-ally’), but string and long for variable initialization?
Examples:
string name = "@user";
// but
int compResult = String.Compare(a, b, ...);
long x = 0;
// but
long x = Int64.Parse(s);
There is currently no ReSharper option to prefer
Stringoverstring.This same question was recently asked on their community board.