Remove NET_1_1 directive from FormatterServices.cs.
[mono.git] / mcs / class / corlib / System.Runtime.Serialization / OnSerializedAttribute.cs
index 44c424f9059f88ec00f8b33fbc82c65e67fe1759..039abd6275a0d9fa5698cce7aa8d8b43a672f9be 100644 (file)
 // 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