public override void WriteEntityRef(string name)
 {
     CheckAsync();
     CoreWriter.WriteEntityRef(name);
 }