diff options
author | Atsushi Eno <atsushieno@gmail.com> | 2004-08-09 21:30:49 +0400 |
---|---|---|
committer | Atsushi Eno <atsushieno@gmail.com> | 2004-08-09 21:30:49 +0400 |
commit | de77a2caa989394f54dc30f76e0df48aa1fac13f (patch) | |
tree | 620cbefa6ef0380c713afa211ccaa2186948c6d6 /mcs | |
parent | 87f23504da0ad7e1506226f0143cb718fc2b06b0 (diff) |
2004-08-09 Atsushi Enomoto <atsushi@ximian.com>
* CodeGenerator.cs :
Don't initialize output more than once. TextWriter is wrapped twice.
svn path=/branches/mono-1-0/mcs/; revision=32091
Diffstat (limited to 'mcs')
-rwxr-xr-x | mcs/class/System/System.CodeDom.Compiler/ChangeLog | 5 | ||||
-rwxr-xr-x | mcs/class/System/System.CodeDom.Compiler/CodeGenerator.cs | 4 |
2 files changed, 5 insertions, 4 deletions
diff --git a/mcs/class/System/System.CodeDom.Compiler/ChangeLog b/mcs/class/System/System.CodeDom.Compiler/ChangeLog index 3968ed4480d..a2f6ee391a4 100755 --- a/mcs/class/System/System.CodeDom.Compiler/ChangeLog +++ b/mcs/class/System/System.CodeDom.Compiler/ChangeLog @@ -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 diff --git a/mcs/class/System/System.CodeDom.Compiler/CodeGenerator.cs b/mcs/class/System/System.CodeDom.Compiler/CodeGenerator.cs index d3b0c052fde..b3f563211bb 100755 --- a/mcs/class/System/System.CodeDom.Compiler/CodeGenerator.cs +++ b/mcs/class/System/System.CodeDom.Compiler/CodeGenerator.cs @@ -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); |