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:
authorGonzalo Paniagua Javier <gonzalo.mono@gmail.com>2003-03-14 10:00:24 +0300
committerGonzalo Paniagua Javier <gonzalo.mono@gmail.com>2003-03-14 10:00:24 +0300
commit52e995a684fdd6a2947713b14bb32d1d856acb83 (patch)
tree2f5f1296a3ba35ecbb9eae188b6ed949698fed66 /mcs/class/System/System.ComponentModel
parentf637980d2a0d2f44553c659e1e31159a555376e6 (diff)
2003-03-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* MarshalByValueComponent.cs: removed a monotodo. svn path=/trunk/mcs/; revision=12498
Diffstat (limited to 'mcs/class/System/System.ComponentModel')
-rw-r--r--mcs/class/System/System.ComponentModel/ChangeLog4
-rw-r--r--mcs/class/System/System.ComponentModel/MarshalByValueComponent.cs16
2 files changed, 12 insertions, 8 deletions
diff --git a/mcs/class/System/System.ComponentModel/ChangeLog b/mcs/class/System/System.ComponentModel/ChangeLog
index b8cd51723ef..420f2ab1e44 100644
--- a/mcs/class/System/System.ComponentModel/ChangeLog
+++ b/mcs/class/System/System.ComponentModel/ChangeLog
@@ -1,3 +1,7 @@
+2003-03-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+ * MarshalByValueComponent.cs: removed a monotodo.
+
2003-03-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Win32Exception.cs: added error code 2.
diff --git a/mcs/class/System/System.ComponentModel/MarshalByValueComponent.cs b/mcs/class/System/System.ComponentModel/MarshalByValueComponent.cs
index 0a701ff45d7..8ef739d8766 100644
--- a/mcs/class/System/System.ComponentModel/MarshalByValueComponent.cs
+++ b/mcs/class/System/System.ComponentModel/MarshalByValueComponent.cs
@@ -16,10 +16,10 @@ namespace System.ComponentModel
/// </summary>
public class MarshalByValueComponent : IComponent, IDisposable, IServiceProvider
{
- [MonoTODO]
- public MarshalByValueComponent () {
- // TODO: need to implement for some component model
- // but do not throw a NotImplementedException
+ EventHandlerList eventList;
+
+ public MarshalByValueComponent ()
+ {
}
public void Dispose ()
@@ -77,11 +77,11 @@ namespace System.ComponentModel
}
protected EventHandlerList Events {
- [MonoTODO]
get {
- // TODO: need to do, but do not
- // throw a NotImplementedException
- return null;
+ if (eventList == null)
+ eventList = new EventHandlerList ();
+
+ return eventList;
}
}