Browse Source

2005-01-12 Gonzalo Paniagua Javier <[email protected]>

	* ThreadAbortException.cs: added private serialization .ctor.


svn path=/trunk/mcs/; revision=38821
Gonzalo Paniagua Javier 21 years ago
parent
commit
dbd0122665

+ 4 - 0
mcs/class/corlib/System.Threading/ChangeLog

@@ -1,3 +1,7 @@
+2005-01-12 Gonzalo Paniagua Javier <[email protected]>
+
+	* ThreadAbortException.cs: added private serialization .ctor.
+
 2004-12-20  Sebastien Pouliot  <[email protected]>
 
 	* CompressedStack.cs: Implemented most todo so it's usable for CAS.

+ 5 - 0
mcs/class/corlib/System.Threading/ThreadAbortException.cs

@@ -31,6 +31,7 @@
 //
 
 using System.Runtime.CompilerServices;
+using System.Runtime.Serialization;
 
 namespace System.Threading
 {
@@ -42,6 +43,10 @@ namespace System.Threading
 			HResult = unchecked ((int) 0x80131530);
 		}
 
+		private ThreadAbortException (SerializationInfo info, StreamingContext sc) : base (info, sc)
+		{
+		}
+
 		public object ExceptionState {
 			get {
 				return Thread.CurrentThread.abort_state;