|
|
|
@ -188,7 +188,7 @@ namespace ICSharpCode.SharpDevelop.Project |
|
|
|
try { |
|
|
|
try { |
|
|
|
FileAttributes attributes = File.GetAttributes(FileName); |
|
|
|
FileAttributes attributes = File.GetAttributes(FileName); |
|
|
|
return ((FileAttributes.ReadOnly & attributes) == FileAttributes.ReadOnly); |
|
|
|
return ((FileAttributes.ReadOnly & attributes) == FileAttributes.ReadOnly); |
|
|
|
} catch (FileNotFoundException) { |
|
|
|
} catch (UnauthorizedAccessException) { |
|
|
|
return false; |
|
|
|
return false; |
|
|
|
} catch (IOException) { |
|
|
|
} catch (IOException) { |
|
|
|
// directory not found, network path not available, etc.
|
|
|
|
// directory not found, network path not available, etc.
|
|
|
|
|