public FilePath GetCanonicalFile ()
{
return new FilePath (GetCanonicalPath ());
}
private static FilePath Canonical(FilePath path) { try { return path.GetCanonicalFile(); } catch (IOException) { return path.GetAbsoluteFile(); } }