ReSharper Code Cleanup

c#, resharper

Solution

There is currently no ReSharper option to prefer `String` over `string`.

This same question was recently asked on their community board.

Problem

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); ```

Original source