Imported Upstream version 4.0.3.19

Former-commit-id: 3869fd58d5153302a2708e2cc3f80e000b19c35c
This commit is contained in:
Xamarin Public Jenkins
2015-07-24 04:03:39 -04:00
parent 2c051c3d51
commit 5d55bfa52c
28 changed files with 627 additions and 33 deletions

View File

@@ -274,7 +274,6 @@ namespace System.IO {
started = false;
inDispatch = false;
fsw.EnableRaisingEvents = false;
throw exc;
}
if (exc != null)
fsw.DispatchErrorEvents (new ErrorEventArgs (exc));
@@ -382,6 +381,10 @@ namespace System.IO {
}
if ((kevt.fflags & FilterFlags.VNodeDelete) == FilterFlags.VNodeDelete || (kevt.fflags & FilterFlags.VNodeRevoke) == FilterFlags.VNodeRevoke) {
if (pathData.Path == fullPathNoLastSlash)
//The root path is deleted; exit silently
return;
removeQueue.Add (pathData);
continue;
}