1 write to _r
System.Private.Xml (1)
System\Xml\Serialization\XmlSerializationReader.cs (1)
117
_r
= r;
166 references to _r
System.Private.Xml (166)
System\Xml\Serialization\XmlSerializationReader.cs (166)
160
return
_r
;
175
_d = new XmlDocument(
_r
.NameTable);
176
_d.SetBaseURI(
_r
.BaseURI);
191
_r
.NameTable.Add(XmlSchema.Namespace);
192
_r
.NameTable.Add(UrtTypes.Namespace);
194
_stringID =
_r
.NameTable.Add("string");
195
_intID =
_r
.NameTable.Add("int");
196
_booleanID =
_r
.NameTable.Add("boolean");
197
_shortID =
_r
.NameTable.Add("short");
198
_longID =
_r
.NameTable.Add("long");
199
_floatID =
_r
.NameTable.Add("float");
200
_doubleID =
_r
.NameTable.Add("double");
201
_decimalID =
_r
.NameTable.Add("decimal");
202
_dateTimeID =
_r
.NameTable.Add("dateTime");
203
_qnameID =
_r
.NameTable.Add("QName");
204
_dateID =
_r
.NameTable.Add("date");
205
_timeID =
_r
.NameTable.Add("time");
206
_hexBinaryID =
_r
.NameTable.Add("hexBinary");
207
_base64BinaryID =
_r
.NameTable.Add("base64Binary");
208
_unsignedByteID =
_r
.NameTable.Add("unsignedByte");
209
_byteID =
_r
.NameTable.Add("byte");
210
_unsignedShortID =
_r
.NameTable.Add("unsignedShort");
211
_unsignedIntID =
_r
.NameTable.Add("unsignedInt");
212
_unsignedLongID =
_r
.NameTable.Add("unsignedLong");
213
_oldDecimalID =
_r
.NameTable.Add("decimal");
214
_oldTimeInstantID =
_r
.NameTable.Add("timeInstant");
215
_charID =
_r
.NameTable.Add("char");
216
_guidID =
_r
.NameTable.Add("guid");
217
_timeSpanID =
_r
.NameTable.Add("TimeSpan");
218
_dateTimeOffsetID =
_r
.NameTable.Add("dateTimeOffset");
219
_base64ID =
_r
.NameTable.Add("base64");
221
_anyURIID =
_r
.NameTable.Add("anyURI");
222
_durationID =
_r
.NameTable.Add("duration");
223
_ENTITYID =
_r
.NameTable.Add("ENTITY");
224
_ENTITIESID =
_r
.NameTable.Add("ENTITIES");
225
_gDayID =
_r
.NameTable.Add("gDay");
226
_gMonthID =
_r
.NameTable.Add("gMonth");
227
_gMonthDayID =
_r
.NameTable.Add("gMonthDay");
228
_gYearID =
_r
.NameTable.Add("gYear");
229
_gYearMonthID =
_r
.NameTable.Add("gYearMonth");
230
_IDID =
_r
.NameTable.Add("ID");
231
_IDREFID =
_r
.NameTable.Add("IDREF");
232
_IDREFSID =
_r
.NameTable.Add("IDREFS");
233
_integerID =
_r
.NameTable.Add("integer");
234
_languageID =
_r
.NameTable.Add("language");
235
_nameID =
_r
.NameTable.Add("Name");
236
_NCNameID =
_r
.NameTable.Add("NCName");
237
_NMTOKENID =
_r
.NameTable.Add("NMTOKEN");
238
_NMTOKENSID =
_r
.NameTable.Add("NMTOKENS");
239
_negativeIntegerID =
_r
.NameTable.Add("negativeInteger");
240
_nonNegativeIntegerID =
_r
.NameTable.Add("nonNegativeInteger");
241
_nonPositiveIntegerID =
_r
.NameTable.Add("nonPositiveInteger");
242
_normalizedStringID =
_r
.NameTable.Add("normalizedString");
243
_NOTATIONID =
_r
.NameTable.Add("NOTATION");
244
_positiveIntegerID =
_r
.NameTable.Add("positiveInteger");
245
_tokenID =
_r
.NameTable.Add("token");
253
string? type =
_r
.GetAttribute(_typeID, _instanceNsID);
256
type =
_r
.GetAttribute(_typeID, _instanceNs2000ID);
259
type =
_r
.GetAttribute(_typeID, _instanceNs1999ID);
433
if (
_r
.IsEmptyElement)
435
_r
.Skip();
438
_r
.ReadStartElement();
439
string retVal =
_r
.ReadString();
448
if (
_r
.IsEmptyElement)
455
_r
.ReadStartElement();
456
s =
_r
.ReadString();
461
_r
.Skip();
489
bytes =
_r
.ReadElementContentAsBase64(buffer, offset, buffer.Length - offset);
493
bytes =
_r
.ReadElementContentAsBinHex(buffer, offset, buffer.Length - offset);
795
attr.Value = $"{
_r
.LookupNamespace("")}:{attr.Value}";
799
attr.Value = $"{
_r
.LookupNamespace(attr.Value.Substring(0, colon))}:{attr.Value.AsSpan(colon + 1)}";
815
if (
_r
.IsEmptyElement)
817
_r
.Skip();
820
_r
.ReadStartElement();
821
while (
_r
.NodeType != XmlNodeType.EndElement)
832
_r
.GetAttribute(_nilID, _instanceNsID) ??
833
_r
.GetAttribute(_nullID, _instanceNsID) ??
834
_r
.GetAttribute(_nullID, _instanceNs2000ID) ??
835
_r
.GetAttribute(_nullID, _instanceNs1999ID);
844
return
_r
.ReadElementString();
861
if (
_r
.IsEmptyElement)
863
XmlQualifiedName empty = new XmlQualifiedName(string.Empty,
_r
.LookupNamespace(""));
864
_r
.Skip();
867
XmlQualifiedName qname = ToXmlQualifiedName(CollapseWhitespace(
_r
.ReadString()));
868
_r
.ReadEndElement();
896
_r
.ReadStartElement();
897
_r
.MoveToContent();
898
if (
_r
.NodeType != XmlNodeType.EndElement)
899
node = Document.ReadNode(
_r
);
900
while (
_r
.NodeType != XmlNodeType.EndElement)
904
_r
.ReadEndElement();
908
node = Document.ReadNode(
_r
);
946
string? arrayType =
_r
.GetAttribute(_arrayTypeID, _soapNsID);
1152
return new XmlQualifiedName(
_r
.NameTable.Add(value),
_r
.LookupNamespace(string.Empty));
1156
string? ns =
_r
.LookupNamespace(prefix);
1162
return new XmlQualifiedName(
_r
.NameTable.Add(localName), ns);
1204
if (
_r
.NodeType == XmlNodeType.None ||
_r
.NodeType == XmlNodeType.Whitespace)
1206
_r
.Read();
1209
if (
_r
.NodeType == XmlNodeType.EndElement)
1213
UnknownNode(Document.ReadNode(
_r
), o, qnames);
1215
else if (
_r
.NodeType == XmlNodeType.Attribute && _events.OnUnknownAttribute == null)
1219
else if (
_r
.NodeType == XmlNodeType.Element && _events.OnUnknownElement == null)
1221
_r
.Skip();
1226
UnknownNode(Document.ReadNode(
_r
), o, qnames);
1272
_r
.NodeType switch
1274
XmlNodeType.Element => $"<{
_r
.LocalName} xmlns='{
_r
.NamespaceURI}'>",
1276
XmlNodeType.Text =>
_r
.Value,
1377
string str =
_r
.ReadString();
1397
name =
_r
.LocalName;
1398
ns =
_r
.NamespaceURI;
1399
_r
.Read();
1400
_r
.MoveToContent();
1402
serializable.ReadXml(
_r
);
1406
while (
_r
.NodeType == XmlNodeType.Whitespace)
_r
.Skip();
1407
if (
_r
.NodeType == XmlNodeType.None)
_r
.Skip();
1408
if (
_r
.NodeType == XmlNodeType.EndElement &&
_r
.LocalName == name &&
_r
.NamespaceURI == ns)
1418
string? href = _soap12 ?
_r
.GetAttribute("ref", Soap12.Encoding) :
_r
.GetAttribute("href");
1433
if (
_r
.IsEmptyElement)
1435
_r
.Skip();
1439
_r
.ReadStartElement();
1560
string? itemType =
_r
.GetAttribute(_itemTypeID, _soap12NsID);
1561
string? arraySize =
_r
.GetAttribute(_arraySizeID, _soap12NsID);
1573
string? arrayType =
_r
.GetAttribute(_arrayTypeID, _soapNsID);
1650
if (
_r
.IsEmptyElement)
1652
_r
.Skip();
1656
_r
.ReadStartElement();
1657
_r
.MoveToContent();
1670
while (
_r
.NodeType != XmlNodeType.EndElement)
1675
_r
.MoveToContent();
1686
while (
_r
.NodeType != XmlNodeType.EndElement)
1691
if (
_r
.NamespaceURI.Length != 0)
1693
type =
_r
.LocalName;
1694
if ((object)
_r
.NamespaceURI == (object)_soapNsID)
1697
typens =
_r
.NamespaceURI;
1708
_r
.MoveToContent();
1761
_r
.MoveToContent();
1762
while (
_r
.NodeType != XmlNodeType.EndElement &&
_r
.NodeType != XmlNodeType.None)
1765
_r
.MoveToContent();
1808
_r
.MoveToContent();
1814
string? id = _soap12 ?
_r
.GetAttribute("id", Soap12.Encoding) :
_r
.GetAttribute("id", null);
1822
typeId = new XmlQualifiedName(
_r
.NameTable.Add(
_r
.LocalName),
_r
.NameTable.Add(
_r
.NamespaceURI));
1824
typeId = new XmlQualifiedName(
_r
.NameTable.Add(name),
_r
.NameTable.Add(ns!));
1849
XmlQualifiedName urType = new XmlQualifiedName(_urTypeID,
_r
.NameTable.Add(XmlSchema.Namespace));
1859
XmlQualifiedName typeName = new XmlQualifiedName(
_r
.NameTable.Add(name),
_r
.NameTable.Add(ns));
1867
while (
_r
.NodeType == XmlNodeType.Whitespace)
_r
.Skip();
1868
if (
_r
.NodeType == XmlNodeType.None)
_r
.Skip();
1869
else
_r
.ReadEndElement();
1909
XmlAttribute xmlAttribute = (XmlAttribute)Document.ReadNode(
_r
)!;
1945
XmlNode xmlNode = Document.ReadNode(
_r
)!;