public static bool IsSingleLocationGeneric(string location) { return location == "." || location == ".."; }