public override void WriteComment(string text) { WriteStartComment(); WriteUTF8Chars(text); WriteEndComment(); }
public void WriteComment(string value) { ArgumentNullException.ThrowIfNull(value); ThrowIfClosed(); if (_includeComments) { _writer.WriteComment(value); } }