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:
authorGonzalo Paniagua Javier <gonzalo.mono@gmail.com>2006-08-16 00:47:50 +0400
committerGonzalo Paniagua Javier <gonzalo.mono@gmail.com>2006-08-16 00:47:50 +0400
commit4f503bd7b86c39a4dadae5cbb273e5e6ae3c2f21 (patch)
tree97743ef1df1db7dffe93cec134537967d622bf88 /mcs/class/System/System.IO.Ports
parentfc384a1caf91bbdce5bb79066160583d52c27c97 (diff)
oops
svn path=/trunk/mcs/; revision=63791
Diffstat (limited to 'mcs/class/System/System.IO.Ports')
-rw-r--r--mcs/class/System/System.IO.Ports/ChangeLog4
-rw-r--r--mcs/class/System/System.IO.Ports/SerialPort.cs2
2 files changed, 1 insertions, 5 deletions
diff --git a/mcs/class/System/System.IO.Ports/ChangeLog b/mcs/class/System/System.IO.Ports/ChangeLog
index 22d7ce3e565..b54138e95b4 100644
--- a/mcs/class/System/System.IO.Ports/ChangeLog
+++ b/mcs/class/System/System.IO.Ports/ChangeLog
@@ -1,7 +1,3 @@
-2006-08-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
-
- * SerialPort.cs: allow settings StopBits.None.
-
2006-08-14 Chris Toshok <toshok@ximian.com>
* SerialPort.cs: the paths returned by Directory.GetFiles have the
diff --git a/mcs/class/System/System.IO.Ports/SerialPort.cs b/mcs/class/System/System.IO.Ports/SerialPort.cs
index 56f7043edb6..9b877279689 100644
--- a/mcs/class/System/System.IO.Ports/SerialPort.cs
+++ b/mcs/class/System/System.IO.Ports/SerialPort.cs
@@ -380,7 +380,7 @@ namespace System.IO.Ports
return stop_bits;
}
set {
- if (value < StopBits.None || value > StopBits.OnePointFive)
+ if (value < StopBits.One || value > StopBits.OnePointFive)
throw new ArgumentOutOfRangeException ("value");
if (is_open)