public override void WriteString(XmlDictionaryString value)
{
if (IsClosed)
ThrowClosed();
if (value == null)
throw System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull(nameof(value));
if (value.Value.Length > 0)
{
FlushBase64();
if (_attributeValue != null)
WriteAttributeText(value.Value);
if (!_isXmlnsAttribute)
{
StartContent(value.Value);
_writer.WriteEscapedText(value);
EndContent();
}
}
}