aspnet / FileSystem

[Archived] Abstraction of file system APIs. Project moved to https://github.com/aspnet/Extensions
Apache License 2.0
171 stars 82 forks source link

Handle flaky OnRenamed events more gracefully #314

Closed natemcmaster closed 6 years ago

natemcmaster commented 6 years ago

In some conditions, System.IO.FileSystemWatcher will raise OnRenamed without the new file name. This causes an ArgumentException when attempting to determine if this file change should trigger a change token.

Resolves https://github.com/aspnet/Home/issues/2536

cc @dpoole73