Currently, code providers like "Declare Property", "Declare Method", etc. generate variables with non-informative names.
C#void ProcessString(string param1) {
throw new NotImplementedException();
}
void ProcessNum(int param1) {
throw new NotImplementedException();
}
public void MethodName() {
object o = null;
var @string = o.ToString(); // Declare Local
ProcessString("I am a string"); // Declare method
ProcessNum(42); // Declare method
}
These names could be better, for example, like this.
C#void ProcessString(string str) {
throw new NotImplementedException();
}
void ProcessNum(int value) {
throw new NotImplementedException();
}
public void MethodName() {
object o = null;
var str = o.ToString(); // Declare Local
ProcessString("I am a string"); // Declare method
ProcessNum(42); // Declare method
}