3 writes to _encoding
System.Private.Xml (3)
System\Xml\Core\XmlEncodedRawTextWriter.cs (3)
117this._encoding = writer.Encoding; 139this._encoding = settings.Encoding; 163_encoding = (Encoding)settings.Encoding.Clone();
9 references to _encoding
System.Private.Xml (9)
System\Xml\Core\HtmlEncodedRawTextWriter.cs (1)
461base.RawText(base._encoding!.WebName);
System\Xml\Core\XmlEncodedRawTextWriter.cs (6)
161ReadOnlySpan<byte> bom = _encoding.Preamble; 164_encoding.EncoderFallback = _charEntityFallback; 166_encoder = _encoding.GetEncoder(); 194settings.Encoding = _encoding!; 224if (_encoding != null) 227RawText(_encoding.WebName);
System\Xml\Core\XmlEncodedRawTextWriterAsync.cs (2)
46if (_encoding != null) 49await RawTextAsync(_encoding.WebName).ConfigureAwait(false);