14 references to Encoding
System.Private.Xml (14)
System\Xml\Serialization\Compilation.cs (2)
569
if (encodingStyle != Soap.Encoding && encodingStyle != Soap12.
Encoding
)
571
throw new InvalidOperationException(SR.Format(SR.XmlInvalidEncoding3, encodingStyle, Soap.Encoding, Soap12.
Encoding
));
System\Xml\Serialization\XmlSerializationReader.cs (5)
119
_soap12 = (encodingStyle == Soap12.
Encoding
);
129
_soap12NsID = r.NameTable.Add(Soap12.
Encoding
);
1418
string? href = _soap12 ? _r.GetAttribute("ref", Soap12.
Encoding
) : _r.GetAttribute("href");
1814
string? id = _soap12 ? _r.GetAttribute("id", Soap12.
Encoding
) : _r.GetAttribute("id", null);
1895
if (IsXmlnsAttribute(Reader.Name) || (Reader.Name == "id" && (!_soap12 || Reader.NamespaceURI == Soap12.
Encoding
)))
System\Xml\Serialization\XmlSerializationWriter.cs (7)
49
_soap12 = (encodingStyle == Soap12.
Encoding
);
878
_w.WriteAttributeString("ref", Soap12.
Encoding
, GetId(o, true));
916
_w.WriteAttributeString("id", Soap12.
Encoding
, GetId(o, addToReferencesList));
1268
_w.WriteAttributeString("itemType", Soap12.
Encoding
, GetQualifiedName(typeName, typeNs));
1269
_w.WriteAttributeString("arraySize", Soap12.
Encoding
, arrayLength.ToString(CultureInfo.InvariantCulture));
1290
_w.WriteAttributeString("itemType", Soap12.
Encoding
, GetQualifiedName(typeName, typeNs));
1292
_w.WriteAttributeString("arraySize", Soap12.
Encoding
, arrayLength.ToString(CultureInfo.InvariantCulture));