Exemple #1
0
 private void ValidateStatements(CodeStatementCollection stms) {
     IEnumerator en = stms.GetEnumerator();
     while (en.MoveNext()) {
         ValidateStatement((CodeStatement)en.Current);
     }
 }
 /// <devdoc>
 ///    <para>
 ///       Generates code for the specified CodeDom based statement representations.
 ///    </para>
 /// </devdoc>
 private void GenerateStatements(CodeStatementCollection stms) {
     IEnumerator en = stms.GetEnumerator();
     while (en.MoveNext()) {
         ((ICodeGenerator)this).GenerateCodeFromStatement((CodeStatement)en.Current, output.InnerWriter, options);
     }
 }
 protected void GenerateStatements(CodeStatementCollection stms)
 {
     IEnumerator enumerator = stms.GetEnumerator();
     while (enumerator.MoveNext())
     {
         ((ICodeGenerator) this).GenerateCodeFromStatement((CodeStatement) enumerator.Current, this.output.InnerWriter, this.options);
     }
 }