Imported Upstream version 3.12.0

Former-commit-id: cf92446697332992ec36726e78eb8703e1f259d7
This commit is contained in:
Jo Shields
2015-01-13 10:44:36 +00:00
parent 8b9b85e7f5
commit 181b81b4a4
659 changed files with 12743 additions and 16300 deletions

View File

@ -30,6 +30,7 @@
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Threading;
@ -240,12 +241,12 @@ namespace System.IO {
return;
/* Removed files */
ArrayList removed = null;
List<string> removed = null;
foreach (string filename in data.Files.Keys) {
FileData fd = (FileData) data.Files [filename];
if (fd.NotExists) {
if (removed == null)
removed = new ArrayList ();
removed = new List<string> ();
removed.Add (filename);
DispatchEvents (data.FSW, FileAction.Removed, filename);
@ -269,7 +270,7 @@ namespace System.IO {
} catch {
/* Deleted */
if (removed == null)
removed = new ArrayList ();
removed = new List<string> ();
removed.Add (filename);
DispatchEvents (data.FSW, FileAction.Removed, filename);