private static bool CheckForColonInFirstPathSegment(string uriString) { int index = uriString.IndexOfAny(s_pathDelims); return (index >= 0 && uriString[index] == ':'); }