/// <summary>
 /// Does the code generation.
 /// </summary>
 /// <param name="inputFileName">The name of the input file.</param>
 /// <param name="inputFileContent">unused</param>
 /// <returns>The generated code bytes.</returns>
 protected override byte[] GenerateCode(string inputFileName, string inputFileContent)
 {
     try
     {
         // old way when there was GetCodeWriter in the base class
         CompositeClassGenerator generator =
             new CompositeClassGenerator(this, CodeProvider, inputFileName);
         string code = generator.GetCode();
         return(Encoding.ASCII.GetBytes(code));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
 /// <summary>
 /// Does the code generation.
 /// </summary>
 /// <param name="inputFileName">The name of the input file.</param>
 /// <param name="inputFileContent">unused</param>
 /// <returns>The generated code bytes.</returns>
 protected override byte[] GenerateCode(string inputFileName, string inputFileContent)
 {
     try
     {
         // old way when there was GetCodeWriter in the base class
         CompositeClassGenerator generator =
             new CompositeClassGenerator(this, CodeProvider, inputFileName);
         string code = generator.GetCode();
         return Encoding.ASCII.GetBytes(code);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }