// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
-#if NET_2_0
-
namespace System.Threading {
[MonoTODO ("Useless until the runtime supports it")]
- public class HostExecutionContext {
+ public class HostExecutionContext : IDisposable {
private object _state;
get { return _state; }
set { _state = value; }
}
+
+ public void Dispose ()
+ {
+ Dispose (true);
+ GC.SuppressFinalize (this);
+ }
+
+ public virtual void Dispose (bool disposing)
+ {
+ }
}
}
-
-#endif