internal static string MapMonoUriPath (string path)
{
if (path.StartsWith ("file://")) {
return path.Substring (7);
} else if (path.StartsWith ("file:")) {
return path.Substring (5);
} else if (path.StartsWith ("/")) {
return path;
} else {
throw new InvalidOperationException ("Invalid connection string: invalid URI");
}
}