X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Fclass%2Fcorlib%2FSystem.Runtime.Serialization%2FOnSerializedAttribute.cs;h=039abd6275a0d9fa5698cce7aa8d8b43a672f9be;hb=2d5a6a0704bc3cb67fb5bfe20d881057dcb34bcc;hp=44c424f9059f88ec00f8b33fbc82c65e67fe1759;hpb=93703b4ef8bdcf1d6cf336e14f534454221730c5;p=mono.git diff --git a/mcs/class/corlib/System.Runtime.Serialization/OnSerializedAttribute.cs b/mcs/class/corlib/System.Runtime.Serialization/OnSerializedAttribute.cs index 44c424f9059..039abd6275a 100644 --- a/mcs/class/corlib/System.Runtime.Serialization/OnSerializedAttribute.cs +++ b/mcs/class/corlib/System.Runtime.Serialization/OnSerializedAttribute.cs @@ -26,16 +26,13 @@ // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // -#if NET_2_0 using System; using System.Runtime.InteropServices; namespace System.Runtime.Serialization { [ComVisible(true)] - [Serializable] [AttributeUsage (AttributeTargets.Method, Inherited=false)] - public class OnSerializedAttribute : Attribute { + public sealed class OnSerializedAttribute : Attribute { } } -#endif