Correctly uses CancellationToken's ThrowIfCancellationRequested method in SemaphoreSl...
[mono.git] / mcs / class / corlib / System.Threading / NativeOverlapped.cs
index 9257d5512d212b1a78e5feb2c7461160b9addec1..9b93ccad929446953f3e2bf753d101f74906cd3d 100644 (file)
@@ -34,10 +34,11 @@ using System.Runtime.InteropServices;
 
 namespace System.Threading
 {
+       [ComVisible (true)]
        public struct NativeOverlapped {
-               public int EventHandle;
-               public int InternalHigh;
-               public int InternalLow;
+               public IntPtr EventHandle;
+               public IntPtr InternalHigh;
+               public IntPtr InternalLow;
                public int OffsetHigh;
                public int OffsetLow;