有没有一种方法可以告诉ReSharper在类型上使用"String"和"Int64"类型名称时(“静态地”),但在变量初始化时使用"string"和"long"?
例如:
string name = "@user";
// but
int compResult = String.Compare(a, b, ...);
long x = 0;
// but
long x = Int64.Parse(s);
有没有一种方法可以告诉ReSharper在类型上使用"String"和"Int64"类型名称时(“静态地”),但在变量初始化时使用"string"和"long"?
例如:
string name = "@user";
// but
int compResult = String.Compare(a, b, ...);
long x = 0;
// but
long x = Int64.Parse(s);