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
path: root/mcs
diff options
context:
space:
mode:
authorJackson Harper <jackson@novell.com>2004-06-17 23:27:12 +0400
committerJackson Harper <jackson@novell.com>2004-06-17 23:27:12 +0400
commit13bd73bd49cde91d39cad13d1962490d18271f94 (patch)
treec359ee839291aee200cd5f71b3b082121d4e5ea4 /mcs
parent9fcdd687af88512d55dcf2b9220e182203b85323 (diff)
* CompilerError.cs:
* CodeGenerator.cs: Make sure we are using invariant for non culture sensitive operations. svn path=/trunk/mcs/; revision=29807
Diffstat (limited to 'mcs')
-rwxr-xr-xmcs/class/System/System.CodeDom.Compiler/ChangeLog1
-rw-r--r--mcs/class/System/System.CodeDom.Compiler/CompilerError.cs5
2 files changed, 4 insertions, 2 deletions
diff --git a/mcs/class/System/System.CodeDom.Compiler/ChangeLog b/mcs/class/System/System.CodeDom.Compiler/ChangeLog
index 5c78b9c81fb..a91f5c6b3f9 100755
--- a/mcs/class/System/System.CodeDom.Compiler/ChangeLog
+++ b/mcs/class/System/System.CodeDom.Compiler/ChangeLog
@@ -1,5 +1,6 @@
2004-06-17 Jackson Harper <jackson@ximian.com>
+ * CompilerError.cs:
* CodeGenerator.cs: Make sure we are using invariant for non
culture sensitive operations.
diff --git a/mcs/class/System/System.CodeDom.Compiler/CompilerError.cs b/mcs/class/System/System.CodeDom.Compiler/CompilerError.cs
index 07ca418218c..758bc24e645 100644
--- a/mcs/class/System/System.CodeDom.Compiler/CompilerError.cs
+++ b/mcs/class/System/System.CodeDom.Compiler/CompilerError.cs
@@ -37,8 +37,9 @@ namespace System.CodeDom.Compiler
public override string ToString ()
{
string type = isWarning ? "warning" : "error";
- return String.Format ("{0}({1},{2}) : {3} {4}: {5}", fileName, line, column, type,
- errorNumber, errorText);
+ return String.Format (System.Globalization.CultureInfo.InvariantCulture,
+ "{0}({1},{2}) : {3} {4}: {5}", fileName, line, column, type,
+ errorNumber, errorText);
}
public int Line