If the given argument is not a child of this directory, an ArgumentExceptionwill be thrown.
public string GetRelativePath(IFileSystemDirectory childDirectory) { Contract.Requires(childDirectory != null); Contract.Ensures(Contract.Result<string>() != null); return null; // dummy value }