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); } }
public override void Rename(IEntity entity, string name) { RenameRefactoring.Rename(entity, name); }