From 71e6b1a839b92822feb62aedfbd818848068e63c Mon Sep 17 00:00:00 2001 From: Sebastien Pouliot Date: Wed, 1 Nov 2006 14:20:11 +0000 Subject: 2006-11-01 Sebastien Pouliot * 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 --- mcs/class/System/System.IO/FileSystemWatcher.cs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'mcs/class/System/System.IO/FileSystemWatcher.cs') 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; } -- cgit v1.2.3