1 write to writer
System.Private.DataContractSerialization (1)
System\Runtime\Serialization\XmlWriterDelegator.cs (1)
22
this.
writer
= writer;
66 references to writer
System.Private.DataContractSerialization (66)
System\Runtime\Serialization\Json\JsonWriterDelegator.cs (19)
43
writer
.WriteString(value.Name);
44
writer
.WriteString(JsonGlobals.NameValueSeparatorString);
45
writer
.WriteString(value.Namespace);
56
writer
.WriteAttributeString(JsonGlobals.typeString, JsonGlobals.numberString);
62
writer
.WriteAttributeString(JsonGlobals.typeString, JsonGlobals.numberString);
68
writer
.WriteAttributeString(JsonGlobals.typeString, JsonGlobals.numberString);
74
writer
.WriteAttributeString(JsonGlobals.typeString, JsonGlobals.numberString);
80
writer
.WriteAttributeString(JsonGlobals.typeString, JsonGlobals.numberString);
86
writer
.WriteAttributeString(JsonGlobals.typeString, JsonGlobals.numberString);
92
writer
.WriteAttributeString(JsonGlobals.typeString, JsonGlobals.numberString);
98
writer
.WriteAttributeString(JsonGlobals.typeString, JsonGlobals.numberString);
104
writer
.WriteAttributeString(JsonGlobals.typeString, JsonGlobals.numberString);
110
writer
.WriteAttributeString(JsonGlobals.typeString, JsonGlobals.booleanString);
116
writer
.WriteAttributeString(JsonGlobals.typeString, JsonGlobals.numberString);
169
writer
.WriteString(value.ToString(_dateTimeFormat.FormatString, _dateTimeFormat.FormatProvider));
202
writer
.WriteString(JsonGlobals.DateTimeStartGuardReader);
203
writer
.WriteValue((value.ToUniversalTime().Ticks - JsonGlobals.unixEpochTicks) / 10000);
212
writer
.WriteString(string.Create(CultureInfo.InvariantCulture, $"{ts.Hours:+00;-00}{ts.Minutes:00;00}"));
217
writer
.WriteString(JsonGlobals.DateTimeEndGuardReader);
System\Runtime\Serialization\XmlWriterDelegator.cs (47)
28
get { return
writer
; }
33
writer
.Flush();
38
return
writer
.LookupPrefix(ns);
43
writer
.WriteEndAttribute();
48
writer
.WriteEndElement();
54
writer
.WriteRaw(buffer, index, count);
59
writer
.WriteRaw(data);
79
writer
.WriteAttributeString("xmlns", string.Empty, null, ns);
86
string? prefix =
writer
.LookupPrefix(ns);
91
writer
.WriteAttributeString("xmlns", prefix, null, ns);
106
writer
.WriteAttributeString("xmlns", prefix, null, ns.Value);
112
writer
.WriteStartAttribute(prefix, localName, ns);
120
writer
.WriteStartAttribute(prefix,
141
writer
.WriteValue(value);
154
writer
.WriteString(value.Value);
168
writer
.WriteValue(value);
180
writer
.WriteValue(value);
193
writer
.WriteQualifiedName(name, ns);
207
writer
.WriteQualifiedName(name.Value, ns.Value);
219
writer
.WriteStartElement(prefix, localName, ns);
234
writer
.WriteStartElement(prefix, localName?.Value!, namespaceUri?.Value);
244
writer
.WriteStartElement(null, localName?.Value!, namespaceUri?.Value);
249
writer
.WriteEndElement();
254
get { return
writer
.WriteState; }
259
get { return
writer
.XmlLang; }
264
get { return
writer
.XmlSpace; }
442
writer
.WriteValue(value);
447
writer
.WriteValue(value);
458
writer
.WriteValue(value);
470
writer
.WriteValue(value);
481
writer
.WriteValue(value);
493
writer
.WriteValue(value);
505
writer
.WriteValue(value);
517
writer
.WriteValue(value);
532
writer
.WriteBase64(bytes, 0, bytes.Length);
537
writer
.WriteValue(value);
549
writer
.WriteValue(value);
561
writer
.WriteValue(value);
573
writer
.WriteValue(value);
585
writer
.WriteRaw(XmlConvert.ToString(value));
596
writer
.WriteValue(value);
608
writer
.WriteValue((int)value);
620
writer
.WriteRaw(XmlConvert.ToString(value));
632
writer
.WriteRaw(value.ToString());
644
writer
.WriteString(value?.GetComponents(UriComponents.SerializationInfoString, UriFormat.UriEscaped));
665
writer
.WriteQualifiedName(localName, ns);
671
writer
.WriteQualifiedName(localName.Value, ns.Value);