Using Roslyn to rename identifiers in c#

Edney Leite 1 Reputation point

I have two c# files in a solution, one has a class, and the other consumes the class.

In Visual Studio I can easily rename an identifier pressing F2 and renaming it. It is very practical.

What I am trying to achieve is the same but in a large soluction where there are many classes.

Is there a way of doing this programatically using Roslyn or some other method?

Can anyone point me a direction?

(Is this the correct place to ask these kinds of questions?)

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
37,725 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Wendy Li_MSFT 1,711 Reputation points Microsoft Vendor

    Welcome to our Microsoft Q&A platform!

    Microsoft Q&A is currently in preview and your question is related to C#. It is not currently supported by the forum.

    You can ask your question in MSDN forum:
    C# Forum

    0 comments No comments