[corlib] Fixes security tests failures
[mono.git] / mcs / class / corlib / System.Threading / IOCompletionCallback.cs
index da0ce2ae0387c6b4a0dd7429d35dd8f1fae5ecea..5d73f5b301e4b6b7e583b1690c9e072a54696e6d 100644 (file)
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
 
-#if NET_2_0
 using System.Runtime.InteropServices;
-#endif
 
 namespace System.Threading
 {
        // 'unsafe' wasn't in the spec, but the compiler insists because of
        // the pointer.
-#if NET_2_0
        [ComVisible (true)]
-#else
-       [Serializable]
-#endif
        [CLSCompliant(false)]
        public unsafe delegate void IOCompletionCallback(uint errorCode, uint numBytes, NativeOverlapped *pOVERLAP);
 }