public override void WriteRaw(char[] buffer, int index, int count) { if (!_inAttr && (_inCDataSection || StartCDataSection())) { _wrapped.WriteCData(new string(buffer, index, count)); } else { _wrapped.WriteRaw(buffer, index, count); } }
public override void WriteRaw(string data) { if (TextBlockCreatesWriter(data)) { _wrapped.WriteRaw(data); } else { _eventCache.WriteRaw(data); } }
internal override void WriteChars(char[] chars, int index, int count) { _rawWriter.WriteRaw(chars, index, count); }