public void Testv2()
 {
     using (Stream stream = Resources.GetXmlDocumentStream("v2-schema"))
     {
         TestCodeGen.TestCSCodeInternal(stream);
     }
 }
 public void TestDiscriminator()
 {
     using (Stream stream = Resources.GetXmlDocumentStream("hierarchy"))
     {
         TestCodeGen.TestCSCodeInternal(stream);
     }
 }
 public void Testv2SingleFile()
 {
     using (Stream stream = Resources.GetXmlDocumentStream("v2-schema"))
     {
         TestCodeGen.TestCSCodeInternal(stream, new WXMLCodeDomGeneratorSettings {
             SingleFile = true
         });
     }
 }