void OnFileRenamed(object sender, FileCopyEventArgs e) { // The folder path can't be updated because we would be changing // the identity of the object. Another folder object will need // to be created by updating the tree. var e2 = new FileCopyEventArgs (e.Where (i => i.IsDirectory && i.SourceFile == absolutePath)); if (e2.Count > 0 && FolderRenamed != null) FolderRenamed (this, e); }