1 //------------------------------------------------------------------------------
3 // System.IAsyncResult.cs
5 // Copyright (C) 2001 Michael Lambert, All Rights Reserved
7 // Author: Michael Lambert, michaellambert@email.com
8 // Created: Mon 08/24/2001
10 //------------------------------------------------------------------------------
13 using System.Threading;
14 using System.Runtime.CompilerServices;
18 public interface IAsyncResult
25 WaitHandle AsyncWaitHandle
30 bool CompletedSynchronously
41 internal class MonoAsyncResult : IAsyncResult {
49 public object AsyncState
56 public WaitHandle AsyncWaitHandle
63 public bool CompletedSynchronously
66 return sync_completed;
70 public bool IsCompleted