* Utilities.cs: New.
[mono.git] / mcs / class / System.Runtime.Remoting / System.Runtime.Remoting.MetadataServices / SUDSParserException.cs
index be20fdbf7e00a9c304e3c8605836aafd9f7e003f..a680289444f8bac29402460588f32bc4b5d8de1e 100644 (file)
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
 
+#if NET_2_0
+using System;
+using System.Runtime.Serialization;
+#endif
+
 namespace System.Runtime.Remoting.MetadataServices
 {
+#if NET_2_0
+       [Serializable]
+#endif
        public class SUDSParserException : Exception
        {
                internal SUDSParserException ()
                {
                }
+
+#if NET_2_0
+               protected SUDSParserException (SerializationInfo info, StreamingContext context)
+                       : base (info, context)
+               {
+               }
+#endif
        }
 }