public override Task WriteEntityRefAsync(string name)
 {
     CheckAsync();
     return(SetLastTask(CoreWriter.WriteEntityRefAsync(name)));
 }