2 writes to _w
System.Private.Xml (2)
System\Xml\Serialization\XmlSerializationWriter.cs (2)
47_w = w; 73_w = value;
78 references to _w
System.Private.Xml (78)
System\Xml\Serialization\XmlSerializationWriter.cs (78)
69return _w; 342_w.WriteStartElement(type, typeNs); 344_w.WriteStartElement(name, ns); 374_w.WriteStartElement(Soap.UrType, XmlSchema.Namespace); 376_w.WriteStartElement(name, ns); 383xmlNodes[i].WriteTo(_w); 385_w.WriteEndElement(); 398_w.WriteStartElement(type, typeNs); 400_w.WriteStartElement(name, ns); 408XmlCustomFormatter.WriteArrayBase64(_w, (byte[])o, 0, ((byte[])o).Length); 419_w.WriteRaw(_primitivesBuffer, 0, charsWritten); 424_w.WriteAttributeString("nil", XmlSchema.InstanceNamespace, "true"); 427_w.WriteRaw(value); 430_w.WriteString(value); 433_w.WriteEndElement(); 439string? prefix = _w.LookupPrefix(ns); 522prefix = _w.LookupPrefix(ns); 534_w.WriteStartElement(prefix, name, ns); 551if (_w.LookupPrefix(aliasNs) == null) 614_w.WriteAttributeString("nil", XmlSchema.InstanceNamespace, "true"); 615_w.WriteEndElement(); 628_w.WriteAttributeString("nil", XmlSchema.InstanceNamespace, "true"); 629_w.WriteEndElement(); 642_w.WriteEndElement(); 647_w.WriteEndElement(); 652_w.WriteEndElement(); 679_w.WriteStartElement(name, ns); 681serializable.WriteXml(_w); 684_w.WriteEndElement(); 803_w.WriteStartElement(name, ns); 805node.WriteTo(_w); 808_w.WriteEndElement(); 878_w.WriteAttributeString("ref", Soap12.Encoding, GetId(o, true)); 880_w.WriteAttributeString("href", $"#{GetId(o, true)}"); 882_w.WriteEndElement(); 916_w.WriteAttributeString("id", Soap12.Encoding, GetId(o, addToReferencesList)); 918_w.WriteAttributeString("id", GetId(o, addToReferencesList)); 961string? prefix = _w.LookupPrefix(ns); 967_w.WriteAttributeString(prefix, localName, ns, value); 971_w.WriteAttributeString(localName, ns, value); 977_w.WriteAttributeString(prefix, localName.Substring(colon + 1), ns, value); 994_w.WriteStartAttribute("xml", localName, ns); 998_w.WriteStartAttribute(null, localName, ns); 1003string? prefix = _w.LookupPrefix(ns); 1004_w.WriteStartAttribute(prefix, localName.Substring(colon + 1), ns); 1007XmlCustomFormatter.WriteArrayBase64(_w, value, 0, value.Length); 1008_w.WriteEndAttribute(); 1015_w.WriteAttributeString(localName, null, value); 1022_w.WriteStartAttribute(null, localName, (string?)null); 1023XmlCustomFormatter.WriteArrayBase64(_w, value, 0, value.Length); 1024_w.WriteEndAttribute(); 1030_w.WriteAttributeString(prefix, localName, null, value); 1036_w.WriteString(value); 1042XmlCustomFormatter.WriteArrayBase64(_w, value, 0, value.Length); 1047if (_w.WriteState == WriteState.Start) 1049_w.WriteStartDocument(); 1072_w.WriteElementString(localName, ns, value); 1075_w.WriteStartElement(localName, ns); 1077_w.WriteString(value); 1078_w.WriteEndElement(); 1115_w.WriteStartElement(localName, ns); 1118_w.WriteRaw(value); 1119_w.WriteEndElement(); 1125_w.WriteStartElement(localName, ns); 1128XmlCustomFormatter.WriteArrayBase64(_w, value, 0, value.Length); 1129_w.WriteEndElement(); 1168_w.WriteStartElement(localName, ns); 1171_w.WriteString(FromXmlQualifiedName(value, false)); 1172_w.WriteEndElement(); 1268_w.WriteAttributeString("itemType", Soap12.Encoding, GetQualifiedName(typeName, typeNs)); 1269_w.WriteAttributeString("arraySize", Soap12.Encoding, arrayLength.ToString(CultureInfo.InvariantCulture)); 1273_w.WriteAttributeString("arrayType", Soap.Encoding, $"{GetQualifiedName(typeName, typeNs)}[{arrayLength}]"); 1290_w.WriteAttributeString("itemType", Soap12.Encoding, GetQualifiedName(typeName, typeNs)); 1292_w.WriteAttributeString("arraySize", Soap12.Encoding, arrayLength.ToString(CultureInfo.InvariantCulture)); 1297_w.WriteAttributeString("arrayType", Soap.Encoding, GetQualifiedName(typeName, typeNs) + brackets); 1308_w.WriteEndElement(); 1368_w.WriteEndElement(); 1400_w.WriteEndElement();