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:
authorLluis Sanchez <lluis@novell.com>2004-04-21 17:56:52 +0400
committerLluis Sanchez <lluis@novell.com>2004-04-21 17:56:52 +0400
commita23b84c5dff342c6844df110dd915ffe897d4082 (patch)
treea6ba2cea733cce6e456b8e22e1d09a8c4f86ec63 /mcs/class/System/System.ComponentModel
parentd24f4a739754cddeeadad2b1a61e1d8f520c1af5 (diff)
* BooleanConverter.cs: GetStandardValues must return an array of booleans,
not an array of strings. svn path=/trunk/mcs/; revision=25775
Diffstat (limited to 'mcs/class/System/System.ComponentModel')
-rw-r--r--mcs/class/System/System.ComponentModel/BooleanConverter.cs2
-rw-r--r--mcs/class/System/System.ComponentModel/ChangeLog5
2 files changed, 6 insertions, 1 deletions
diff --git a/mcs/class/System/System.ComponentModel/BooleanConverter.cs b/mcs/class/System/System.ComponentModel/BooleanConverter.cs
index e6a651ffa50..9f637774b33 100644
--- a/mcs/class/System/System.ComponentModel/BooleanConverter.cs
+++ b/mcs/class/System/System.ComponentModel/BooleanConverter.cs
@@ -44,7 +44,7 @@ namespace System.ComponentModel
public override StandardValuesCollection GetStandardValues (ITypeDescriptorContext context)
{
- return new StandardValuesCollection (new string[2] {"True", "False"} );
+ return new StandardValuesCollection (new bool[2] {true, false} );
}
public override bool GetStandardValuesExclusive (ITypeDescriptorContext context)
diff --git a/mcs/class/System/System.ComponentModel/ChangeLog b/mcs/class/System/System.ComponentModel/ChangeLog
index acc9a004c40..38272f61799 100644
--- a/mcs/class/System/System.ComponentModel/ChangeLog
+++ b/mcs/class/System/System.ComponentModel/ChangeLog
@@ -1,3 +1,8 @@
+2004-04-21 Lluis Sanchez Gual <lluis@ximian.com>
+
+ * BooleanConverter.cs: GetStandardValues must return an array of booleans,
+ not an array of strings.
+
2004-04-16 Lluis Sanchez Gual <lluis@ximian.com>
* ReflectionPropertyDescriptor.cs: Access internal PropertyInfo through