Esempio n. 1
0
 public override void Rename(ISymbol symbol, string name)
 {
     if (symbol is IEntity)
     {
         RenameRefactoring.Rename((IEntity)symbol, name);
     }
     if (symbol is IVariable)
     {
         RenameRefactoring.RenameVariable((IVariable)symbol, name);
     }
     if (symbol is INamespace)
     {
         RenameRefactoring.RenameNamespace((INamespace)symbol, name);
     }
     if (symbol is ITypeParameter)
     {
         RenameRefactoring.RenameTypeParameter((ITypeParameter)symbol, name);
     }
 }
Esempio n. 2
0
 public override void Rename(IEntity entity, string name)
 {
     RenameRefactoring.Rename(entity, name);
 }