有没有办法告诉ReSharper的使用String,并Int64键入名称时,字段或方法上使用类型(" static-ally"),但string并long为变量初始化?
例子:
string name = "@user";
// but
int compResult = String.Compare(a, b, ...);
long x = 0;
// but
long x = Int64.Parse(s);
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
299 次 |
| 最近记录: |