I want to move a class form one namespace to another, programmatically. This includes adjusting any dependencies the moved class had in its previous namespace.
I'm guessing that I can make use of the Roslyn project somehow, but I can't finding a starting point.
Edit:
I'm trying to implement an automatic move class refactoring on C# code. Doing it for study purposes - gathering code metrics and studying the changes before and after the refactoring process.
I can do the refactorings by hand, but was wondering If I can do it automatically. This means that I already have the refactoring candidates and their proposed move locations.