projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
94621f4
)
Fix parameter name in the exception constructor.
author
Rodrigo Kumpera
<kumpera@gmail.com>
Wed, 7 Dec 2011 17:19:37 +0000
(15:19 -0200)
committer
Rodrigo Kumpera
<kumpera@gmail.com>
Wed, 7 Dec 2011 17:19:37 +0000
(15:19 -0200)
mcs/class/corlib/System.Threading/Timer.cs
patch
|
blob
|
history
diff --git
a/mcs/class/corlib/System.Threading/Timer.cs
b/mcs/class/corlib/System.Threading/Timer.cs
index 1c3c1d5c40bfbbe0a03a7e4a16c12e29be2c340f..917c66729ae4a6a5aa1cbdcb06f40bcfb29ed1d8 100644
(file)
--- a/
mcs/class/corlib/System.Threading/Timer.cs
+++ b/
mcs/class/corlib/System.Threading/Timer.cs
@@
-128,10
+128,10
@@
namespace System.Threading
bool Change (long dueTime, long period, bool first)
{
if (dueTime > MaxValue)
- throw new ArgumentOutOfRangeException ("Due time too large");
+ throw new ArgumentOutOfRangeException ("
dueTime", "
Due time too large");
if (period > MaxValue)
- throw new ArgumentOutOfRangeException ("Period too large");
+ throw new ArgumentOutOfRangeException ("
period", "
Period too large");
// Timeout.Infinite == -1, so this accept everything greater than -1
if (dueTime < Timeout.Infinite)