public override void WriteAttributes(XmlReader reader, bool defattr)
 {
     CheckAsync();
     CoreWriter.WriteAttributes(reader, defattr);
 }