//
using System.Runtime.Serialization;
+using System.Runtime.InteropServices;
namespace System
{
[Serializable]
+#if NET_2_0
+ [ComVisible (true)]
+#endif
public class ObjectDisposedException : InvalidOperationException
{
// Does not override the HResult from InvalidOperationException
msg = message;
}
+#if NET_2_0
+ public ObjectDisposedException (string message, Exception innerException)
+ : base(message, innerException)
+ {
+ }
+#endif
+
protected ObjectDisposedException (SerializationInfo info, StreamingContext context)
: base (info, context)
{