1 write to writer
System.Runtime.Serialization (1)
System\Runtime\Serialization\XmlWriterDelegator.cs (1)
29
this.
writer
= writer;
69 references to writer
System.Runtime.Serialization (69)
System\Runtime\Serialization\Json\JsonWriterDelegator.cs (22)
49
writer
.WriteString(value.Name);
50
writer
.WriteString(JsonGlobals.NameValueSeparatorString);
51
writer
.WriteString(value.Namespace);
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.numberString);
116
writer
.WriteAttributeString(JsonGlobals.typeString, JsonGlobals.booleanString);
122
writer
.WriteAttributeString(JsonGlobals.typeString, JsonGlobals.numberString);
195
writer
.WriteString(value.ToString(this.dateTimeFormat.FormatString, this.dateTimeFormat.FormatProvider));
221
writer
.WriteString(JsonGlobals.DateTimeStartGuardReader);
222
writer
.WriteValue((value.ToUniversalTime().Ticks - JsonGlobals.unixEpochTicks) / 10000);
240
writer
.WriteString("-");
244
writer
.WriteString("+");
247
writer
.WriteString((hours < 10) ? "0" + hours : hours.ToString(CultureInfo.InvariantCulture));
249
writer
.WriteString((minutes < 10) ? "0" + minutes : minutes.ToString(CultureInfo.InvariantCulture));
254
writer
.WriteString(JsonGlobals.DateTimeEndGuardReader);
System\Runtime\Serialization\XmlWriterDelegator.cs (47)
35
get { return
writer
; }
40
writer
.Flush();
45
return
writer
.LookupPrefix(ns);
50
writer
.WriteEndAttribute();
55
writer
.WriteEndElement();
61
writer
.WriteRaw(buffer, index, count);
66
writer
.WriteRaw(data);
86
writer
.WriteAttributeString("xmlns", String.Empty, null, ns);
93
string prefix =
writer
.LookupPrefix(ns);
98
writer
.WriteAttributeString("xmlns", prefix, null, ns);
113
writer
.WriteAttributeString("xmlns", prefix, null, ns.Value);
119
writer
.WriteStartAttribute(prefix, localName, ns);
127
writer
.WriteStartAttribute(prefix,
148
writer
.WriteValue(value);
161
writer
.WriteString(value.Value);
175
writer
.WriteValue(value);
187
writer
.WriteValue(value);
200
writer
.WriteQualifiedName(name, ns);
214
writer
.WriteQualifiedName(name.Value, ns.Value);
226
writer
.WriteStartElement(prefix, localName, ns);
241
writer
.WriteStartElement(prefix, (localName == null ? null : localName.Value), (namespaceUri == null ? null : namespaceUri.Value));
251
writer
.WriteStartElement(null, (localName == null ? null : localName.Value), (namespaceUri == null ? null : namespaceUri.Value));
256
writer
.WriteEndElement();
261
get { return
writer
.WriteState; }
266
get { return
writer
.XmlLang; }
271
get { return
writer
.XmlSpace; }
446
writer
.WriteValue(value);
451
writer
.WriteValue(value);
462
writer
.WriteValue(value);
474
writer
.WriteValue(value);
485
writer
.WriteValue(value);
496
writer
.WriteValue(value);
507
writer
.WriteValue(value);
518
writer
.WriteValue(value);
535
writer
.WriteBase64(bytes, 0, bytes.Length);
540
writer
.WriteValue(value);
551
writer
.WriteValue(value);
562
writer
.WriteValue(value);
576
writer
.WriteValue(value);
590
writer
.WriteRaw(XmlConvert.ToString(value));
604
writer
.WriteValue(value);
618
writer
.WriteValue((int)value);
629
writer
.WriteRaw(XmlConvert.ToString(value));
640
writer
.WriteRaw(value.ToString());
651
writer
.WriteString(value.GetComponents(UriComponents.SerializationInfoString, UriFormat.UriEscaped));
665
writer
.WriteQualifiedName(localName, ns);
671
writer
.WriteQualifiedName(localName.Value, ns.Value);