2 writes to w
System.Xml (2)
System\Xml\Serialization\XmlSerializationWriter.cs (2)
44
this.
w
= w;
67
w
= value;
78 references to w
System.Xml (78)
System\Xml\Serialization\XmlSerializationWriter.cs (78)
64
return
w
;
299
w
.WriteStartElement(type, typeNs);
301
w
.WriteStartElement(name, ns);
320
w
.WriteStartElement(Soap.UrType, XmlSchema.Namespace);
322
w
.WriteStartElement(name, ns);
328
xmlNodes[i].WriteTo(
w
);
330
w
.WriteEndElement();
339
w
.WriteStartElement(type, typeNs);
341
w
.WriteStartElement(name, ns);
347
w
.WriteAttributeString("nil", XmlSchema.InstanceNamespace, "true");
351
XmlCustomFormatter.WriteArrayBase64(
w
, (byte[])o, 0,((byte[])o).Length);
354
w
.WriteRaw(value);
357
w
.WriteString(value);
358
w
.WriteEndElement();
363
string prefix =
w
.LookupPrefix(ns);
441
prefix =
w
.LookupPrefix(ns);
451
w
.WriteStartElement(prefix, name, ns);
463
if (
w
.LookupPrefix(aliasNs) == null) {
520
w
.WriteAttributeString("nil", XmlSchema.InstanceNamespace, "true");
521
w
.WriteEndElement();
534
w
.WriteAttributeString("nil", XmlSchema.InstanceNamespace, "true");
535
w
.WriteEndElement();
548
w
.WriteEndElement();
553
w
.WriteEndElement();
558
w
.WriteEndElement();
582
w
.WriteStartElement(name, ns);
584
serializable.WriteXml(
w
);
586
w
.WriteEndElement();
698
w
.WriteStartElement(name, ns);
700
node.WriteTo(
w
);
703
w
.WriteEndElement();
769
w
.WriteAttributeString("ref", Soap12.Encoding, GetId(o, true));
771
w
.WriteAttributeString("href", "#" + GetId(o, true));
772
w
.WriteEndElement();
801
w
.WriteAttributeString("id", Soap12.Encoding, GetId(o, addToReferencesList));
803
w
.WriteAttributeString("id", GetId(o, addToReferencesList));
841
string prefix =
w
.LookupPrefix(ns);
844
w
.WriteAttributeString(prefix, localName, ns, value);
847
w
.WriteAttributeString(localName, ns, value);
852
w
.WriteAttributeString(prefix, localName.Substring(colon+1), ns, value);
867
string prefix =
w
.LookupPrefix(ns);
870
w
.WriteStartAttribute("xml", localName, ns);
873
w
.WriteStartAttribute(null, localName, ns);
878
prefix =
w
.LookupPrefix(ns);
879
w
.WriteStartAttribute(prefix, localName.Substring(colon+1), ns);
881
XmlCustomFormatter.WriteArrayBase64(
w
, value, 0, value.Length);
882
w
.WriteEndAttribute();
889
w
.WriteAttributeString(localName, null, value);
896
w
.WriteStartAttribute(null, localName, (string)null);
897
XmlCustomFormatter.WriteArrayBase64(
w
, value, 0, value.Length);
898
w
.WriteEndAttribute();
904
w
.WriteAttributeString(prefix, localName, null, value);
910
w
.WriteString(value);
916
XmlCustomFormatter.WriteArrayBase64(
w
, value, 0, value.Length);
921
if (
w
.WriteState == WriteState.Start) {
922
w
.WriteStartDocument();
945
w
.WriteElementString(localName, ns, value);
947
w
.WriteStartElement(localName, ns);
949
w
.WriteString(value);
950
w
.WriteEndElement();
987
w
.WriteStartElement(localName, ns);
990
w
.WriteRaw(value);
991
w
.WriteEndElement();
997
w
.WriteStartElement(localName, ns);
1000
XmlCustomFormatter.WriteArrayBase64(
w
, value, 0, value.Length);
1001
w
.WriteEndElement();
1039
w
.WriteStartElement(localName, ns);
1042
w
.WriteString(FromXmlQualifiedName(value, false));
1043
w
.WriteEndElement();
1123
w
.WriteAttributeString("itemType", Soap12.Encoding, GetQualifiedName(typeName, typeNs));
1124
w
.WriteAttributeString("arraySize", Soap12.Encoding, arrayLength.ToString(CultureInfo.InvariantCulture));
1127
w
.WriteAttributeString("arrayType", Soap.Encoding, GetQualifiedName(typeName, typeNs) + "[" + arrayLength.ToString(CultureInfo.InvariantCulture) + "]");
1141
w
.WriteAttributeString("itemType", Soap12.Encoding, GetQualifiedName(typeName, typeNs));
1143
w
.WriteAttributeString("arraySize", Soap12.Encoding, arrayLength.ToString(CultureInfo.InvariantCulture));
1147
w
.WriteAttributeString("arrayType", Soap.Encoding, GetQualifiedName(typeName, typeNs) + brackets);
1156
w
.WriteEndElement();
1205
w
.WriteEndElement();
1231
w
.WriteEndElement();