1 write to reader
System.Private.DataContractSerialization (1)
System\Runtime\Serialization\XmlReaderDelegator.cs (1)
23
this.
reader
= reader;
82 references to reader
System.Private.DataContractSerialization (82)
System\Runtime\Serialization\Json\JsonReaderDelegator.cs (8)
81
XmlDictionaryReader tempDictionaryReader = XmlDictionaryReader.CreateDictionaryReader(
reader
);
98
bool isEmptyElement =
reader
.IsStartElement() &&
reader
.IsEmptyElement;
103
reader
.Read();
108
reader
.ReadStartElement();
110
reader
.ReadEndElement();
262
string value =
reader
.ReadContentAsString();
295
string value =
reader
.ReadElementContentAsString();
System\Runtime\Serialization\XmlReaderDelegator.cs (74)
29
get { return
reader
; }
34
get { return
reader
as ExtensionDataReader; }
39
get { return isEndOfEmptyElement ? 0 :
reader
.AttributeCount; }
44
return isEndOfEmptyElement ? null :
reader
.GetAttribute(name);
49
return isEndOfEmptyElement ? null :
reader
.GetAttribute(name, namespaceUri);
56
return
reader
.GetAttribute(i);
68
return ns ==
reader
.NamespaceURI;
76
return localName ==
reader
.LocalName;
84
return ns.Value ==
reader
.NamespaceURI;
92
return localName.Value ==
reader
.LocalName;
102
if (
reader
.NamespaceURI == ns.Value)
119
return !isEndOfEmptyElement &&
reader
.IsStartElement();
124
return !isEndOfEmptyElement &&
reader
.IsStartElement(localname, ns);
130
return !isEndOfEmptyElement &&
reader
.IsStartElement(localname.Value, ns.Value);
137
return isEndOfEmptyElement ? false :
reader
.MoveToAttribute(name);
142
return isEndOfEmptyElement ? false :
reader
.MoveToAttribute(name, ns);
149
reader
.MoveToAttribute(i);
154
return isEndOfEmptyElement ? false :
reader
.MoveToElement();
159
return isEndOfEmptyElement ? false :
reader
.MoveToFirstAttribute();
164
return isEndOfEmptyElement ? false :
reader
.MoveToNextAttribute();
169
get { return isEndOfEmptyElement ? XmlNodeType.EndElement :
reader
.NodeType; }
176
reader
.MoveToElement();
177
if (!
reader
.IsEmptyElement)
178
return
reader
.Read();
182
return
reader
.Read();
193
return
reader
.MoveToContent();
198
return isEndOfEmptyElement ? false :
reader
.ReadAttributeValue();
206
reader
.ReadEndElement();
371
return
reader
.ReadElementContentAsString();
376
return isEndOfEmptyElement ? string.Empty :
reader
.ReadContentAsString();
384
return
reader
.ReadElementContentAsBoolean();
392
return
reader
.ReadContentAsBoolean();
400
return
reader
.ReadElementContentAsFloat();
408
return
reader
.ReadContentAsFloat();
416
return
reader
.ReadElementContentAsDouble();
424
return
reader
.ReadContentAsDouble();
432
return
reader
.ReadElementContentAsDecimal();
440
return
reader
.ReadContentAsDecimal();
450
return ReadContentAsBase64(
reader
.ReadElementContentAsString());
465
return ReadContentAsBase64(
reader
.ReadContentAsString());
501
return
reader
.ReadElementContentAsDateTime();
509
return
reader
.ReadContentAsDateTime();
517
return
reader
.ReadElementContentAsInt();
525
return
reader
.ReadContentAsInt();
533
return
reader
.ReadElementContentAsLong();
541
return
reader
.ReadContentAsLong();
625
string str =
reader
.ReadElementContentAsString();
635
string str =
reader
.ReadContentAsString();
667
string str =
reader
.ReadElementContentAsString();
673
string str =
reader
.ReadContentAsString();
682
string str =
reader
.ReadElementContentAsString();
703
string str =
reader
.ReadContentAsString();
1014
return (
reader
is IXmlNamespaceResolver) ? ((IXmlNamespaceResolver)
reader
).GetNamespacesInScope(scope) : null;
1020
IXmlLineInfo? iXmlLineInfo =
reader
as IXmlLineInfo;
1028
IXmlLineInfo? iXmlLineInfo =
reader
as IXmlLineInfo;
1037
IXmlLineInfo? iXmlLineInfo =
reader
as IXmlLineInfo;
1047
if (
reader
is not XmlTextReader xmlTextReader)
1049
IXmlTextParser? xmlTextParser =
reader
as IXmlTextParser;
1057
if (
reader
is not XmlTextReader xmlTextReader)
1059
if (
reader
is IXmlTextParser xmlTextParser)
1071
if (
reader
is not XmlTextReader xmlTextReader)
1073
IXmlTextParser? xmlTextParser =
reader
as IXmlTextParser;
1081
if (
reader
is not XmlTextReader xmlTextReader)
1083
if (
reader
is IXmlTextParser xmlTextParser)
1092
internal string Name { get { return
reader
.Name; } }
1093
internal string LocalName { get { return
reader
.LocalName; } }
1094
internal string NamespaceURI { get { return
reader
.NamespaceURI; } }
1095
internal string Value { get { return
reader
.Value; } }
1096
internal Type ValueType { get { return
reader
.ValueType; } }
1097
internal int Depth { get { return
reader
.Depth; } }
1098
internal string? LookupNamespace(string prefix) { return
reader
.LookupNamespace(prefix); }
1099
internal bool EOF { get { return
reader
.EOF; } }
1103
reader
.Skip();