public static PathInfo GetPathInfo(string path) { Contract.Requires(path != null); return(PathInfo.Parse(path)); }