public void v2()
{
XmlSchemaSet sc = new XmlSchemaSet();
//remove after compile
XmlSchema Schema1 = sc.Add(null, TestData._XsdAuthor);
sc.Compile();
sc.RemoveRecursive(Schema1);
CError.Compare(sc.Count, 0, "Count");
ICollection Col = sc.Schemas();
CError.Compare(Col.Count, 0, "ICollection.Count");
//remove before compile
Schema1 = sc.Add(null, TestData._XsdAuthor);
sc.RemoveRecursive(Schema1);
CError.Compare(sc.Count, 0, "Count");
Col = sc.Schemas();
CError.Compare(Col.Count, 0, "ICollection.Count"); return;
}