Merge pull request #186 from QuickJack/master
[mono.git] / mcs / class / corlib / System.Runtime.Serialization / OnDeserializedAttribute.cs
index a5294ce63c75cc65f65a0e759ed2346b9a868afe..91df3139e2c559288902bfd5e6b0b7109ee9ef2a 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 OnDeserializedAttribute : Attribute {
+       public sealed class OnDeserializedAttribute : Attribute {
        }
 }
-#endif