/// <inheritdoc /> public Task CopyToAsync(TextWriter writer) { writer = UnWrapRazorTextWriter(writer); return(BufferedWriter.CopyToAsync(writer)); }