Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mcs/class/System/System.IO/DefaultWatcher.cs')
-rw-r--r--mcs/class/System/System.IO/DefaultWatcher.cs11
1 files changed, 2 insertions, 9 deletions
diff --git a/mcs/class/System/System.IO/DefaultWatcher.cs b/mcs/class/System/System.IO/DefaultWatcher.cs
index 28186f8451b..cbda2b294aa 100644
--- a/mcs/class/System/System.IO/DefaultWatcher.cs
+++ b/mcs/class/System/System.IO/DefaultWatcher.cs
@@ -79,9 +79,8 @@ namespace System.IO {
return true;
}
- public void StartDispatching (object handle)
+ public void StartDispatching (FileSystemWatcher fsw)
{
- var fsw = handle as FileSystemWatcher;
DefaultWatcherData data;
lock (this) {
if (watches == null)
@@ -117,9 +116,8 @@ namespace System.IO {
}
}
- public void StopDispatching (object handle)
+ public void StopDispatching (FileSystemWatcher fsw)
{
- var fsw = handle as FileSystemWatcher;
DefaultWatcherData data;
lock (this) {
if (watches == null) return;
@@ -134,11 +132,6 @@ namespace System.IO {
}
}
- public void Dispose (object handle)
- {
- // does nothing
- }
-
void Monitor ()
{