15 writes to Encoding
System.Data (2)
fx\src\data\Microsoft\SqlServer\Server\ValueUtilsSmi.cs (1)
3611
WriterSettings.
Encoding
= System.Text.Encoding.Unicode;
fx\src\data\System\Data\SQLTypes\SqlXml.cs (1)
193
writerSettings.
Encoding
= Encoding.GetEncoding("utf-16");
System.Data.Entity (2)
System\Data\Common\CommandTrees\Internal\XmlExpressionDumper.cs (1)
39
settings.
Encoding
= encoding;
System\Data\Query\InternalTrees\Dump.cs (1)
49
settings.
Encoding
= encoding;
System.Data.Entity.Design (1)
System\Data\Entity\Design\EntityDesignerUtils.cs (1)
127
settings.
Encoding
= Encoding.UTF8;
System.Data.Services (1)
parent\Client\System\Data\Services\Client\XmlUtil.cs (1)
192
settings.
Encoding
= encoding;
System.Data.Services.Client (1)
System\Data\Services\Client\XmlUtil.cs (1)
192
settings.
Encoding
= encoding;
System.Data.SqlXml (1)
System\Xml\Xsl\Xslt\XsltLoader.cs (1)
549
settings.
Encoding
= encoding;
System.IdentityModel (1)
System\IdentityModel\SignedXml.cs (1)
931
settings.
Encoding
= Encoding.UTF8;
System.ServiceModel.Web (1)
System\ServiceModel\Channels\WebScriptMetadataMessageEncoderFactory.cs (1)
144
settings.
Encoding
= UTF8EncodingWithoutByteOrderMark;
System.Xml (3)
System\Xml\Core\XmlEncodedRawTextWriter.cs (1)
205
settings.
Encoding
= this.encoding;
System\Xml\Core\XmlUtf8RawTextWriter.cs (1)
161
settings.
Encoding
= this.encoding;
System\Xml\Core\XmlWriterSettings.cs (1)
825
Encoding
= Encoding.GetEncoding(reader.ReadInt32());
System.Xml.Linq (2)
System\Xml\Linq\XLinq.cs (2)
5832
ws.
Encoding
= Encoding.GetEncoding(declaration.Encoding);
5875
ws.
Encoding
= Encoding.GetEncoding(declaration.Encoding);
8 references to Encoding
System.Xml (8)
System\Xml\Core\XmlEncodedRawTextWriter.cs (2)
158
this.encoding = settings.
Encoding
;
177
this.encoding = (Encoding)settings.
Encoding
.Clone();
System\Xml\Core\XmlUtf8RawTextWriter.cs (1)
125
this.encoding = settings.
Encoding
;
System\Xml\Core\XmlWriterSettings.cs (5)
499
if (this.
Encoding
.WebName == "utf-8") { // Encoding.CodePage is not supported in Silverlight
776
Debug.Assert(
Encoding
.Equals(Encoding.GetEncoding(
Encoding
.CodePage)), "Cannot serialize encoding correctly");
777
writer.Write(
Encoding
.CodePage);
825
Encoding =
Encoding
.GetEncoding(reader.ReadInt32());