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:
authorFrederik Carlier <frederik.carlier@quamotion.mobi>2017-03-18 01:30:35 +0300
committerMarek Safar <marek.safar@gmail.com>2017-03-18 01:30:35 +0300
commit1540749175796f1763ba47d1a56e79007cd4a3bf (patch)
tree3213f64b3c4b72820a1773b5d1046458af99c46a /mcs/class/referencesource
parent463cf3b5c1590df58fef43577b9a3273d5eece3d (diff)
Make System.Drawing code compatible with .NET Core (#4548)
Diffstat (limited to 'mcs/class/referencesource')
-rw-r--r--mcs/class/referencesource/System/compmod/system/componentmodel/EditorAttribute.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/mcs/class/referencesource/System/compmod/system/componentmodel/EditorAttribute.cs b/mcs/class/referencesource/System/compmod/system/componentmodel/EditorAttribute.cs
index c3f493f88dc..436cc7b930e 100644
--- a/mcs/class/referencesource/System/compmod/system/componentmodel/EditorAttribute.cs
+++ b/mcs/class/referencesource/System/compmod/system/componentmodel/EditorAttribute.cs
@@ -35,7 +35,7 @@ namespace System.ComponentModel {
/// name of the editor.</para>
/// </devdoc>
public EditorAttribute(string typeName, string baseTypeName) {
- string temp = typeName.ToUpper(CultureInfo.InvariantCulture);
+ string temp = typeName.ToUpperInvariant ();
Debug.Assert(temp.IndexOf(".DLL") == -1, "Came across: " + typeName + " . Please remove the .dll extension");
this.typeName = typeName;
this.baseTypeName = baseTypeName;
@@ -45,7 +45,7 @@ namespace System.ComponentModel {
/// <para>Initializes a new instance of the <see cref='System.ComponentModel.EditorAttribute'/> class.</para>
/// </devdoc>
public EditorAttribute(string typeName, Type baseType) {
- string temp = typeName.ToUpper(CultureInfo.InvariantCulture);
+ string temp = typeName.ToUpperInvariant ();
Debug.Assert(temp.IndexOf(".DLL") == -1, "Came across: " + typeName + " . Please remove the .dll extension");
this.typeName = typeName;
this.baseTypeName = baseType.AssemblyQualifiedName;