public static FileNodeFlags SetFlag(this FileNodeFlags flags, FileNodeFlags flag, bool value)
 {
     if (value)
     {
         return(flags | flag);
     }
     else
     {
         return(flags & ~flag);
     }
 }
 protected FolderNode(Win32.Win32FindData find, FileNodeType type, FileNodeFlags rootType)
     : base(find, type, rootType)
 {
 }
 protected FolderNode(FileSystemInfo info, FileNodeType type, FileNodeFlags rootType)
     : base(info, type, rootType)
 {
 }
 protected FolderNode(INtfsNode node, FileNodeType type, FileNodeFlags rootType)
     : base(node, type, rootType)
 {
 }
 protected FolderNode(string name, FileNodeType type, FileNodeFlags rootType)
     : base(name, type, rootType)
 {
 }