private void AssertTrashBinPath() { if (!Name.Equals("Trash") || !Parent.Path.Equals("/Root")) throw new InvalidOperationException("A TrashBin instance can only be saved under the global location /Root/Trash"); } }