[corlib] Fixed StringBuilder construction bugs in marshalling caused by changes to...
[mono.git] / mcs / class / corlib / System.Runtime.Serialization / OnDeserializingAttribute.cs
index ab1df26ada7383987f099952aa021c0384d87d25..0ee65d47be26ec9d70a8f6cf4356ad20985b5e17 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 OnDeserializingAttribute : Attribute {
+       public sealed class OnDeserializingAttribute : Attribute {
        }
 }
-#endif