summaryrefslogtreecommitdiff
path: root/mcs/class/System/System.ComponentModel/Component.cs
diff options
context:
space:
mode:
Diffstat (limited to 'mcs/class/System/System.ComponentModel/Component.cs')
-rw-r--r--mcs/class/System/System.ComponentModel/Component.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/mcs/class/System/System.ComponentModel/Component.cs b/mcs/class/System/System.ComponentModel/Component.cs
index 5c61d72eef..1095161648 100644
--- a/mcs/class/System/System.ComponentModel/Component.cs
+++ b/mcs/class/System/System.ComponentModel/Component.cs
@@ -44,7 +44,7 @@ namespace System.ComponentModel {
private EventHandlerList event_handlers;
private ISite mySite;
- private object disposedEvent = new object ();
+ static readonly object disposedEvent = new object ();
public Component ()
{