I have a case where I pass a method name to a function as a string, but I don't want it hard-coded. for example
void MyMethodName()
{
// some code
}
void SomeOtherMethod()
{
SomeExternalLibrary.ExternalClass.FunctionWithStringParameter("MyMethodName");
}
I want something like this:
FunctionWithStringParameter(MyMethodName.ToString());
THis way I can keep track of method calls by "Find All References", and I can use refactoring without worries.