* support-test-*.cs: Rename from test-*-p2.cs.
[mono.git] / mcs / class / corlib / System.Runtime.InteropServices / ComObjectInUseException.cs
index 19dba9d498daadda30d1f79b62c606ff87a4301a..0f5d910f1ed89a26f278726417f0356ca2c8e487 100644 (file)
@@ -1,39 +1,40 @@
-//\r
-// System.Runtime.InteropServices.ComObjectInUseException\r
-//\r
-// Author:\r
-//   Kazuki Oikawa  (kazuki@panicode.com)\r
-//\r
-\r
-#if NET_2_0\r
-\r
-using System;\r
-using System.Runtime.Serialization;\r
-\r
-namespace System.Runtime.InteropServices\r
-{\r
-       public class ComObjectInUseException : SystemException\r
-       {\r
-               private const int ErrorCode = -2146233046;\r
-\r
-               public ComObjectInUseException () : base ()\r
-               {\r
-                       HResult = ErrorCode;\r
-               }\r
-\r
-               public ComObjectInUseException (string message) : base (message)\r
-               {\r
-                       HResult = ErrorCode;\r
-               }\r
-\r
-               protected ComObjectInUseException (SerializationInfo info, StreamingContext context) : base (info, context)\r
-               {\r
-               }\r
-\r
-               public ComObjectInUseException (string message, Exception inner) : base (message, inner)\r
-               {\r
-                       HResult = ErrorCode;\r
-               }\r
-       }\r
-}\r
+//
+// System.Runtime.InteropServices.ComObjectInUseException
+//
+// Author:
+//   Kazuki Oikawa  (kazuki@panicode.com)
+//
+
+#if NET_2_0
+
+using System;
+using System.Runtime.Serialization;
+
+namespace System.Runtime.InteropServices
+{
+       [Serializable]
+       public class ComObjectInUseException : SystemException
+       {
+               private const int ErrorCode = -2146233046;
+
+               public ComObjectInUseException () : base ()
+               {
+                       HResult = ErrorCode;
+               }
+
+               public ComObjectInUseException (string message) : base (message)
+               {
+                       HResult = ErrorCode;
+               }
+
+               protected ComObjectInUseException (SerializationInfo info, StreamingContext context) : base (info, context)
+               {
+               }
+
+               public ComObjectInUseException (string message, Exception inner) : base (message, inner)
+               {
+                       HResult = ErrorCode;
+               }
+       }
+}
 #endif
\ No newline at end of file