2002-07-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
[mono.git] / mcs / class / corlib / System / UnhandledExceptionEventArgs.cs
index 7091a010adb14c30d0b32dc9278fe6b376db7f12..81e318eeec43dd5be9e888a8e7c2c9a5dd5cadb4 100755 (executable)
@@ -12,15 +12,16 @@ using System.Reflection;
 
 namespace System 
 {
+       [Serializable]
        public class UnhandledExceptionEventArgs: EventArgs
        {
-               protected object exception;
-               protected bool isTerminating;
+               private object exception;
+               private bool m_isTerminating;
 
                public UnhandledExceptionEventArgs(object exception, bool isTerminating)
                {
                        this.exception = exception;
-                       this.isTerminating = isTerminating;
+                       this.m_isTerminating = isTerminating;
                }
 
                public object ExceptionObject
@@ -35,7 +36,7 @@ namespace System
                {
                        get
                        {
-                               return isTerminating;
+                               return m_isTerminating;
                        }
                }
        }