mirror of
https://github.com/BepInEx/dotnet-runtime.git
synced 2026-11-23 03:39:35 -10:00
* Share CFRunLoop for FSEventStreams in FileSystemWatcher on OSX * Address review comments * Add execution context capturing * Fix nits * Add some tests to check multiple watchers * Address review comments * Update FileSystemWatcher tests * Add timeout for non-expected events * Wrap FileSystemWatcher_File_Create_EnablingDisablingNotAffectRaisingEvent test in ExecuteWithRetry helper method and mark it with Outerloop * Wrap FileSystemWatcher_File_Create_WatchOwnPath test in ExecuteWithRetry helper method * Move disposing FileSystemWatcher instances to a finally section in FileSystemWatcher_File_Create_ForceLoopRestart test * Use null-conditional operator before disposing Commit migrated from https://github.com/dotnet/corefx/commit/8a06434b29599950571aa7975458ae5b465d1a0d