X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Fclass%2FSystem%2FSystem.ComponentModel%2FComponent.cs;h=5c61d72eef89da05deee4e4ade0717818f8d4853;hb=d331ccd21f02cc156e5558ed407f6262ac4594f9;hp=5b095216aa8226be7ed58b336f346926175fc31c;hpb=be577e6514b181c24c0eb0552e278bac2b0fe343;p=mono.git diff --git a/mcs/class/System/System.ComponentModel/Component.cs b/mcs/class/System/System.ComponentModel/Component.cs index 5b095216aa8..5c61d72eef8 100644 --- a/mcs/class/System/System.ComponentModel/Component.cs +++ b/mcs/class/System/System.ComponentModel/Component.cs @@ -37,10 +37,8 @@ using System.Runtime.InteropServices; namespace System.ComponentModel { [DesignerCategory ("Component")] -#if NET_2_0 [ComVisible (true)] [ClassInterface (ClassInterfaceType.AutoDispatch)] -#endif public class Component : MarshalByRefObject, IComponent, IDisposable { @@ -53,11 +51,9 @@ namespace System.ComponentModel { event_handlers = null; } -#if NET_2_0 protected virtual bool CanRaiseEvents { get { return false; } } -#endif [Browsable (false), DesignerSerializationVisibility (DesignerSerializationVisibility.Hidden)] public virtual ISite Site