diff options
author | Jochen Wezel <jochen@mono-cvs.ximian.com> | 2003-12-10 15:15:20 +0300 |
---|---|---|
committer | Jochen Wezel <jochen@mono-cvs.ximian.com> | 2003-12-10 15:15:20 +0300 |
commit | efecb7a220d6307cf748a5e94cbfc6924fa6da2d (patch) | |
tree | 8a1a04e89f535d7584be7959269942a8413c5c85 /mcs/class/System/Microsoft.VisualBasic | |
parent | 6e843126c3aeb11474afbc486b90a17d2c1bfb06 (diff) |
Added workaround for Microsoft.VisualBasic.ChrW()
svn path=/trunk/mcs/; revision=20957
Diffstat (limited to 'mcs/class/System/Microsoft.VisualBasic')
-rw-r--r-- | mcs/class/System/Microsoft.VisualBasic/VBCodeGenerator.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mcs/class/System/Microsoft.VisualBasic/VBCodeGenerator.cs b/mcs/class/System/Microsoft.VisualBasic/VBCodeGenerator.cs index 77ba53b31e3..2f2737c0345 100644 --- a/mcs/class/System/Microsoft.VisualBasic/VBCodeGenerator.cs +++ b/mcs/class/System/Microsoft.VisualBasic/VBCodeGenerator.cs @@ -15,6 +15,8 @@ // 2003-11-08 JW: automatically add Microsoft.VisualBasic
// 2003-11-12 JW: some corrections to allow correct compilation
// 2003-11-28 JW: implementing code differences into current build of this file
+// 2003-12-10 JW: added "String." for the ChrW method because mbas doesn't support it without the String currently / TODO: remove it ASAP! + using System;
using System.Text;
@@ -1072,7 +1074,7 @@ namespace Microsoft.VisualBasic mySBuilder.Append ("\"");
inQuotes = false;
}
- mySBuilder.Append ("&Microsoft.VisualBasic.ChrW(");
+ mySBuilder.Append ("&Microsoft.VisualBasic.Strings.ChrW("); //TODO: remove "String." when mbas supports it
mySBuilder.Append ((int)value[MyCounter]);
mySBuilder.Append (")");
}
|