瀏覽代碼

2002-04-14 Gonzalo Paniagua Javier <[email protected]>

	* IOCompletionCallback.cs: added attributes to the delegate
	(CLSCompliant(false) and Serializable).

svn path=/trunk/mcs/; revision=3808
Gonzalo Paniagua Javier 24 年之前
父節點
當前提交
4ab3c2c2e3

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

@@ -1,3 +1,8 @@
+2002-04-14  Gonzalo Paniagua Javier <[email protected]>
+
+	* IOCompletionCallback.cs: added attributes to the delegate
+	(CLSCompliant(false) and Serializable).
+
 2002-04-14 Patrik Torstensson <[email protected]>
 	* Thread.cs: Fixed IsThreadPoolThread to use a internal property instead of extending 
 				 the threadstate enum.

+ 2 - 0
mcs/class/corlib/System.Threading/IOCompletionCallback.cs

@@ -12,5 +12,7 @@ namespace System.Threading
 {
 	// 'unsafe' wasn't in the spec, but the compiler insists because of
 	// the pointer.
+	[Serializable]
+	[CLSCompliant(false)]
 	public unsafe delegate void IOCompletionCallback(uint errorCode, uint numBytes, NativeOverlapped *pOVERLAP);
 }