[corlib] Improve CancellationTokenSource test
[mono.git] / mcs / class / System / System.CodeDom.Compiler / ChangeLog
index 8c4f0e9a08ed435de7502fc8f4c7de2373324e7d..add3550eda216214b5056138759faed01b7d685a 100644 (file)
@@ -1,3 +1,11 @@
+2010-04-13  Jonathan Pryor  <jpryor@novell.com>
+
+       * CodeGenerator.cs: Clear out the current member when beginning Type
+         generation.  This prevents "invalid" `#endregion`s; if the
+         CodeGenerator instance is reused for multiple types, the last member
+         of the first type has an EndDirective, then the EndDirectvies will
+         be generated before any members of the 2nd type.  Don't do that.
+
 2010-04-07  Jb Evain  <jbevain@novell.com>
 
        * Executor.cs: make class static.