Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mcs/class/corlib/System.Threading/Timer.cs')
-rwxr-xr-xmcs/class/corlib/System.Threading/Timer.cs112
1 files changed, 0 insertions, 112 deletions
diff --git a/mcs/class/corlib/System.Threading/Timer.cs b/mcs/class/corlib/System.Threading/Timer.cs
deleted file mode 100755
index f134d66612a..00000000000
--- a/mcs/class/corlib/System.Threading/Timer.cs
+++ /dev/null
@@ -1,112 +0,0 @@
-//
-// System.Threading.Timer.cs
-//
-// Author:
-// Dick Porter (dick@ximian.com)
-//
-// (C) Ximian, Inc. http://www.ximian.com
-//
-
-
-namespace System.Threading
-{
- public sealed class Timer : MarshalByRefObject, IDisposable
- {
- [MonoTODO]
- public Timer(TimerCallback callback, object state, int dueTime, int period) {
- if(dueTime < -1) {
- throw new ArgumentOutOfRangeException("Due time < -1");
- }
- if(period < -1) {
- throw new ArgumentOutOfRangeException("Period < -1");
- }
-
- // FIXME
- }
-
- [MonoTODO]
- public Timer(TimerCallback callback, object state, long dueTime, long period) {
- if(dueTime < -1) {
- throw new ArgumentOutOfRangeException("Due time < -1");
- }
- if(period < -1) {
- throw new ArgumentOutOfRangeException("Period < -1");
- }
- // FIXME
- }
-
- [MonoTODO]
- public Timer(TimerCallback callback, object state, TimeSpan dueTime, TimeSpan period) {
- if(dueTime.Milliseconds < 0 || dueTime.Milliseconds > Int32.MaxValue) {
- throw new ArgumentOutOfRangeException("Due time out of range");
- }
- if(period.Milliseconds < 0 || period.Milliseconds > Int32.MaxValue) {
- throw new ArgumentOutOfRangeException("Period out of range");
- }
- // FIXME
- }
-
- [CLSCompliant(false)][MonoTODO]
- public Timer(TimerCallback callback, object state, uint dueTime, uint period) {
- // FIXME
- }
-
- [MonoTODO]
- public bool Change(int dueTime, int period) {
- if(dueTime < -1) {
- throw new ArgumentOutOfRangeException("Due time < -1");
- }
- if(period < -1) {
- throw new ArgumentOutOfRangeException("Period < -1");
- }
- // FIXME
- return(false);
- }
-
- [MonoTODO]
- public bool Change(long dueTime, long period) {
- if(dueTime < -1) {
- throw new ArgumentOutOfRangeException("Due time < -1");
- }
- if(period < -1) {
- throw new ArgumentOutOfRangeException("Period < -1");
- }
- if(dueTime > 4294967294) {
- throw new NotSupportedException("Due time too large");
- }
- if(period > 4294967294) {
- throw new NotSupportedException("Period too large");
- }
- // FIXME
- return(false);
- }
-
- [MonoTODO]
- public bool Change(TimeSpan dueTime, TimeSpan period) {
- // FIXME
- return(false);
- }
-
- [CLSCompliant(false)][MonoTODO]
- public bool Change(uint dueTime, uint period) {
- // FIXME
- return(false);
- }
-
- [MonoTODO]
- public void Dispose() {
- // FIXME
- }
-
- [MonoTODO]
- public bool Dispose(WaitHandle notifyObject) {
- // FIXME
- return(false);
- }
-
- [MonoTODO]
- ~Timer() {
- // FIXME
- }
- }
-}