1 write to _attrValueCache
System.Private.Xml (1)
System\Xml\Core\XmlWellFormedWriter.cs (1)
1539_attrValueCache ??= new AttributeValueCache();
44 references to _attrValueCache
System.Private.Xml (44)
System\Xml\Core\XmlWellFormedWriter.cs (23)
743Debug.Assert(_attrValueCache != null); 749value = _attrValueCache.StringValue; 757_attrValueCache.Replay(_rawWriter); 768_attrValueCache.Replay(_writer); 775value = _attrValueCache.StringValue; 794_attrValueCache.Replay(_rawWriter); 805_attrValueCache.Replay(_writer); 812_attrValueCache.Trim(); 813value = _attrValueCache.StringValue; 828_attrValueCache.Replay(_writer); 832value = _attrValueCache.StringValue; 835_attrValueCache.Replay(_writer); 840_attrValueCache.Clear(); 940_attrValueCache!.WriteEntityRef(name); 966_attrValueCache!.WriteCharEntity(ch); 992_attrValueCache!.WriteSurrogateCharEntity(lowChar, highChar); 1019_attrValueCache!.WriteWhitespace(ws); 1045_attrValueCache!.WriteString(text); 1071_attrValueCache!.WriteChars(buffer, index, count); 1097_attrValueCache!.WriteRaw(buffer, index, count); 1123_attrValueCache!.WriteRaw(data); 1447_attrValueCache!.WriteValue(value); 1469_attrValueCache!.WriteValue((string)value);
System\Xml\Core\XmlWellFormedWriterAsync.cs (21)
645Debug.Assert(_attrValueCache != null); 653value = _attrValueCache.StringValue; 661await _attrValueCache.ReplayAsync(_rawWriter).ConfigureAwait(false); 672await _attrValueCache.ReplayAsync(_writer).ConfigureAwait(false); 680value = _attrValueCache.StringValue; 698await _attrValueCache.ReplayAsync(_rawWriter).ConfigureAwait(false); 709await _attrValueCache.ReplayAsync(_writer).ConfigureAwait(false); 716_attrValueCache.Trim(); 717value = _attrValueCache.StringValue; 732await _attrValueCache.ReplayAsync(_writer).ConfigureAwait(false); 736value = _attrValueCache.StringValue; 739await _attrValueCache.ReplayAsync(_writer).ConfigureAwait(false); 744_attrValueCache.Clear(); 841_attrValueCache!.WriteEntityRef(name); 867_attrValueCache!.WriteCharEntity(ch); 893_attrValueCache!.WriteSurrogateCharEntity(lowChar, highChar); 921_attrValueCache!.WriteWhitespace(ws); 968_attrValueCache!.WriteString(text); 1009_attrValueCache!.WriteChars(buffer, index, count); 1035_attrValueCache!.WriteRaw(buffer, index, count); 1061_attrValueCache!.WriteRaw(data);