2005-01-31 Zoltan Varga <vargaz@freemail.hu>
[mono.git] / mcs / class / System / Microsoft.VisualBasic / VBCodeGenerator.cs
index b8d504a150473f659195b2a57597c5cc5b7424bc..d4172c7389b0c252c41d697d33ab0b69bdfd05cf 100644 (file)
@@ -417,7 +417,6 @@ namespace Microsoft.VisualBasic
                protected override void GenerateTryCatchFinallyStatement (CodeTryCatchFinallyStatement statement)\r
                {\r
                        TextWriter output = Output;\r
-                       CodeGeneratorOptions options = Options;\r
 \r
                        output.WriteLine ("Try");\r
                        ++Indent;\r
@@ -828,11 +827,8 @@ namespace Microsoft.VisualBasic
                {\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
@@ -1109,7 +1105,7 @@ namespace Microsoft.VisualBasic
                                                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