protected override void GenerateTryCatchFinallyStatement (CodeTryCatchFinallyStatement statement)\r
{\r
TextWriter output = Output;\r
- CodeGeneratorOptions options = Options;\r
\r
output.WriteLine ("Try");\r
++Indent;\r
{\r
string name = ns.Name;\r
if (name != null && name != string.Empty) {\r
- Output.WriteLine ("'Why is the indentation not working correctly here? --> see in mcs/class/System/Micrisoft.VisualBasic/VBCodeGenerator.cs");
- Output.WriteLine ("'Indent=" + Indent.ToString());
--Indent;\r
Output.WriteLine ("End Namespace");\r
- Output.WriteLine ("'Indent=" + Indent.ToString());
}\r
}\r
\r
mySBuilder.Append ("\"");\r
inQuotes = false;\r
}\r
- mySBuilder.Append ("&Microsoft.VisualBasic.Strings.ChrW("); //TODO: remove "String." when mbas supports it\r
+ mySBuilder.Append ("&Microsoft.VisualBasic.ChrW(");\r
mySBuilder.Append ((int)value[MyCounter]); \r
mySBuilder.Append (")");\r
} \r