14 references to Encoding
dotnet-svcutil-lib (14)
FrameworkFork\Microsoft.Xml\Xml\Serialization\Compilation.cs (2)
146
if (encodingStyle != Soap.Encoding && encodingStyle != Soap12.
Encoding
)
148
throw new InvalidOperationException(string.Format(ResXml.XmlInvalidEncoding3, encodingStyle, Soap.Encoding, Soap12.
Encoding
));
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationReader.cs (5)
136
_soap12 = (encodingStyle == Soap12.
Encoding
);
147
_soap12NsID = r.NameTable.Add(Soap12.
Encoding
);
1511
string href = _soap12 ? _r.GetAttribute("ref", Soap12.
Encoding
) : _r.GetAttribute("href");
1927
string id = _soap12 ? _r.GetAttribute("id", Soap12.
Encoding
) : _r.GetAttribute("id", null);
1994
if (IsXmlnsAttribute(Reader.Name) || (Reader.Name == "id" && (!_soap12 || Reader.NamespaceURI == Soap12.
Encoding
)))
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationWriter.cs (7)
45
_soap12 = (encodingStyle == Soap12.
Encoding
);
882
_w.WriteAttributeString("ref", Soap12.
Encoding
, GetId(o, true));
920
_w.WriteAttributeString("id", Soap12.
Encoding
, GetId(o, addToReferencesList));
1303
_w.WriteAttributeString("itemType", Soap12.
Encoding
, GetQualifiedName(typeName, typeNs));
1304
_w.WriteAttributeString("arraySize", Soap12.
Encoding
, arrayLength.ToString());
1325
_w.WriteAttributeString("itemType", Soap12.
Encoding
, GetQualifiedName(typeName, typeNs));
1327
_w.WriteAttributeString("arraySize", Soap12.
Encoding
, arrayLength.ToString());