diff options
author | Sebastien Pouliot <sebastien@ximian.com> | 2006-11-01 17:20:11 +0300 |
---|---|---|
committer | Sebastien Pouliot <sebastien@ximian.com> | 2006-11-01 17:20:11 +0300 |
commit | 71e6b1a839b92822feb62aedfbd818848068e63c (patch) | |
tree | 7023d7bea4cf4b5e2c295441c033d33ccbe0bbc2 /mcs/class/System/System.IO/FileSystemWatcher.cs | |
parent | b2cf26705dcf2e84f3a34d444d9f216909baf10e (diff) |
2006-11-01 Sebastien Pouliot <sebastien@ximian.com>
* ErrorEventHandler.cs: Remove [Serializable] in NET_2_0.
* FileSystemEventHandler.cs: Remove [Serializable] in NET_2_0.
* FileSystemWatcher.cs: Add missing attributes for NET_2_0.
* InvalidDataException.cs: Seal class and remove serialization ctor.
* NotifyFilters.cs: Remove [Serializable] in NET_2_0.
* RenamedEventHandler.cs: Remove [Serializable] in NET_2_0.
* WatcherChangeTypes.cs: Remove [Serializable] in NET_2_0.
svn path=/trunk/mcs/; revision=67219
Diffstat (limited to 'mcs/class/System/System.IO/FileSystemWatcher.cs')
-rw-r--r-- | mcs/class/System/System.IO/FileSystemWatcher.cs | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/mcs/class/System/System.IO/FileSystemWatcher.cs b/mcs/class/System/System.IO/FileSystemWatcher.cs index 2dba82cd9e6..047492ce32b 100644 --- a/mcs/class/System/System.IO/FileSystemWatcher.cs +++ b/mcs/class/System/System.IO/FileSystemWatcher.cs @@ -7,7 +7,7 @@ // // Copyright (C) Tim Coleman, 2002 // (c) 2003 Ximian, Inc. (http://www.ximian.com) -// (c) 2004 Novell, Inc. (http://www.novell.com) +// Copyright (C) 2004, 2006 Novell, Inc (http://www.novell.com) // // @@ -39,6 +39,9 @@ using System.Threading; namespace System.IO { [DefaultEvent("Changed")] +#if NET_2_0 + [IODescription ("")] +#endif public class FileSystemWatcher : Component, ISupportInitialize { #region Fields @@ -317,6 +320,9 @@ namespace System.IO { [DefaultValue(null)] [IODescription("The object used to marshal the event handler calls resulting from a directory change")] +#if NET_2_0 + [Browsable (false)] +#endif public ISynchronizeInvoke SynchronizingObject { get { return synchronizingObject; } set { synchronizingObject = value; } |