2004-08-09 Atsushi Enomoto <atsushi@ximian.com>
authorAtsushi Eno <atsushieno@gmail.com>
Mon, 9 Aug 2004 17:30:49 +0000 (17:30 -0000)
committerAtsushi Eno <atsushieno@gmail.com>
Mon, 9 Aug 2004 17:30:49 +0000 (17:30 -0000)
* CodeGenerator.cs :
  Don't initialize output more than once. TextWriter is wrapped twice.

svn path=/branches/mono-1-0/mcs/; revision=32091

mcs/class/System/System.CodeDom.Compiler/ChangeLog
mcs/class/System/System.CodeDom.Compiler/CodeGenerator.cs

index 3968ed4480dd0e467d0051b12905405e9bd9ab85..a2f6ee391a4f5a64ad1926e5793cdd03cbd563ab 100755 (executable)
@@ -1,3 +1,8 @@
+2004-08-09  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * CodeGenerator.cs :
+         Don't initialize output more than once. TextWriter is wrapped twice.
+
 2004-07-15  Peter Williams  <peter@newton.cx>
 
        * CodeGenerator.cs: Have the basic generator create line pragmas
index d3b0c052fdea52d0259f54d20bd65fb2f1a69bb1..b3f563211bb20e39b31c8b3fb2756db7c1b74923 100755 (executable)
@@ -1008,8 +1008,6 @@ namespace System.CodeDom.Compiler {
                        CodeTypeDeclaration prevType = this.currentType;
                        this.currentType = type;
 
-                       InitOutput (output, options);
-
                        foreach (CodeCommentStatement statement in type.Comments)
                                GenerateCommentStatement (statement);
 
@@ -1026,8 +1024,6 @@ namespace System.CodeDom.Compiler {
                        CodeTypeDeclaration prevType = this.currentType;
                        this.currentType = type;
 
-                       InitOutput (output, options);
-
                        foreach (CodeCommentStatement statement in type.Comments)
                                GenerateCommentStatement (statement);