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)
69
return
_w
;
342
_w
.WriteStartElement(type, typeNs);
344
_w
.WriteStartElement(name, ns);
374
_w
.WriteStartElement(Soap.UrType, XmlSchema.Namespace);
376
_w
.WriteStartElement(name, ns);
383
xmlNodes[i].WriteTo(
_w
);
385
_w
.WriteEndElement();
398
_w
.WriteStartElement(type, typeNs);
400
_w
.WriteStartElement(name, ns);
408
XmlCustomFormatter.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();
439
string? prefix =
_w
.LookupPrefix(ns);
522
prefix =
_w
.LookupPrefix(ns);
534
_w
.WriteStartElement(prefix, name, ns);
551
if (
_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);
681
serializable.WriteXml(
_w
);
684
_w
.WriteEndElement();
803
_w
.WriteStartElement(name, ns);
805
node.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));
961
string? 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);
1003
string? prefix =
_w
.LookupPrefix(ns);
1004
_w
.WriteStartAttribute(prefix, localName.Substring(colon + 1), ns);
1007
XmlCustomFormatter.WriteArrayBase64(
_w
, value, 0, value.Length);
1008
_w
.WriteEndAttribute();
1015
_w
.WriteAttributeString(localName, null, value);
1022
_w
.WriteStartAttribute(null, localName, (string?)null);
1023
XmlCustomFormatter.WriteArrayBase64(
_w
, value, 0, value.Length);
1024
_w
.WriteEndAttribute();
1030
_w
.WriteAttributeString(prefix, localName, null, value);
1036
_w
.WriteString(value);
1042
XmlCustomFormatter.WriteArrayBase64(
_w
, value, 0, value.Length);
1047
if (
_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);
1128
XmlCustomFormatter.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();