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:
authorJb Evain <jbevain@gmail.com>2008-07-17 23:34:47 +0400
committerJb Evain <jbevain@gmail.com>2008-07-17 23:34:47 +0400
commit7eb974a5cc095c642045bfc433046fb22aa3f88c (patch)
treef61841de805770ce45a0d2c7f9b51ad48d102514 /mcs/class/System/System.Timers/Timer.cs
parent69f67ba699ed97077084b58504f1bd3f500957fe (diff)
2008-07-17 Jb Evain <jbevain@novell.com>
* Timer.cs: Fix ArgumentException message. Patch by Paul Burton. svn path=/trunk/mcs/; revision=108172
Diffstat (limited to 'mcs/class/System/System.Timers/Timer.cs')
-rw-r--r--mcs/class/System/System.Timers/Timer.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/mcs/class/System/System.Timers/Timer.cs b/mcs/class/System/System.Timers/Timer.cs
index f0f62449ee1..48166c1688d 100644
--- a/mcs/class/System/System.Timers/Timer.cs
+++ b/mcs/class/System/System.Timers/Timer.cs
@@ -116,7 +116,7 @@ namespace System.Timers
set {
// The doc says 'less than 0', but 0 also throws the exception
if (value <= 0)
- throw new ArgumentException ("Invalid value: " + interval, "interval");
+ throw new ArgumentException ("Invalid value: " + value);
interval = value;
}