14 references to Encoding
System.Xml (14)
System\Xml\Serialization\Compilation.cs (2)
552
if (encodingStyle != Soap.Encoding && encodingStyle != Soap12.
Encoding
) {
553
throw new InvalidOperationException(Res.GetString(Res.XmlInvalidEncoding3, encodingStyle, Soap.Encoding, Soap12.
Encoding
));
System\Xml\Serialization\XmlSerializationReader.cs (5)
140
this.soap12 = (encodingStyle == Soap12.
Encoding
);
151
soap12NsID = r.NameTable.Add(Soap12.
Encoding
);
1377
string href = soap12 ? r.GetAttribute("ref", Soap12.
Encoding
) : r.GetAttribute("href");
1732
string id = soap12 ? r.GetAttribute("id", Soap12.
Encoding
) : r.GetAttribute("id", null);
1792
if (IsXmlnsAttribute(Reader.Name) || (Reader.Name == "id" && (!soap12 || Reader.NamespaceURI == Soap12.
Encoding
)))
System\Xml\Serialization\XmlSerializationWriter.cs (7)
46
this.soap12 = (encodingStyle == Soap12.
Encoding
);
769
w.WriteAttributeString("ref", Soap12.
Encoding
, GetId(o, true));
801
w.WriteAttributeString("id", Soap12.
Encoding
, GetId(o, addToReferencesList));
1123
w.WriteAttributeString("itemType", Soap12.
Encoding
, GetQualifiedName(typeName, typeNs));
1124
w.WriteAttributeString("arraySize", Soap12.
Encoding
, arrayLength.ToString(CultureInfo.InvariantCulture));
1141
w.WriteAttributeString("itemType", Soap12.
Encoding
, GetQualifiedName(typeName, typeNs));
1143
w.WriteAttributeString("arraySize", Soap12.
Encoding
, arrayLength.ToString(CultureInfo.InvariantCulture));