3 references to GetEncodingName
System.Private.DataContractSerialization (3)
System\Xml\EncodingStreamWrapper.cs (3)
499throw new XmlException(SR.Format(SR.XmlExpectedEncoding, GetEncodingName(expEnc), GetEncodingName(actualEnc))); 504ThrowEncodingMismatch(declEnc, GetEncodingName(enc));